You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems commonjs compatibility might still have some issues.
I tried using WebhookReceiver - which partially works.
When hitting the sha validation of the body i get: (0 , import_digest.default) is not a function TypeError: (0 , import_digest.default) is not a function
Unfortunately, I did not find the time to inspect the cjs building stuff here throughly but maybe someone involved can spot the issue.
I had a quick look at the transpiled code and suspiciously only the digest has a __toESM() while other imports are untouched...
// in WebhookReceiver.cjs// ... line 35module.exports=__toCommonJS(WebhookReceiver_exports);varimport_protocol=require("@livekit/protocol");varimport_AccessToken=require("./AccessToken.cjs");varimport_digest=__toESM(require("./digest.cjs"),1);constauthorizeHeader="Authorize";
The text was updated successfully, but these errors were encountered:
It seems commonjs compatibility might still have some issues.
I tried using WebhookReceiver - which partially works.
When hitting the sha validation of the body i get:
(0 , import_digest.default) is not a function TypeError: (0 , import_digest.default) is not a function
Unfortunately, I did not find the time to inspect the cjs building stuff here throughly but maybe someone involved can spot the issue.
I had a quick look at the transpiled code and suspiciously only the digest has a
__toESM()
while other imports are untouched...The text was updated successfully, but these errors were encountered: