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
Describe the bug
i'm using an api that uses jsonwebtoken module with unstable flag but I am seeing the following error: Not implemented: crypto.createSecretKey
i traced it back to sign in file
const{createSecretKey}=require("crypto")
Steps to Reproduce
as I said i'm using an module that uses jsonwebtoken
error: Uncaught Error: Not implemented: crypto.createSecretKey at notImplemented (ext:deno_node/_utils.ts:7:11) at createSecretKey (ext:deno_node/internal/crypto/keys.ts:129:5) at module.exports (file:///C:/Users/Badra/AppData/Local/deno/npm/registry.npmjs.org/jsonwebtoken/9.0.0/sign.js:113:30) at JWT.tokenGenerate (file:///C:/Users/Badra/AppData/Local/deno/npm/registry.npmjs.org/@vonage/jwt/1.1.2/dist/jwt.js:27:40) at tokenGenerate (file:///C:/Users/Badra/AppData/Local/deno/npm/registry.npmjs.org/@vonage/jwt/1.1.2/dist/index.js:8:21) at Auth.createBearerHeader (file:///C:/Users/Badra/AppData/Local/deno/npm/registry.npmjs.org/@vonage/auth/1.1.2/dist/auth.js:46:52) at Voice.addAuthenticationToRequest (file:///C:/Users/Badra/AppData/Local/deno/npm/registry.npmjs.org/@vonage/server-client/1.2.0/dist/client.js:69:52) at Voice.sendRequest (file:///C:/Users/Badra/AppData/Local/deno/npm/registry.npmjs.org/@vonage/server-client/1.2.0/dist/client.js:165:30) at Voice.sendPostRequest (file:///C:/Users/Badra/AppData/Local/deno/npm/registry.npmjs.org/@vonage/server-client/1.2.0/dist/client.js:148:27) at Voice.createOutboundCall (file:///C:/Users/Badra/AppData/Local/deno/npm/registry.npmjs.org/@vonage/voice/1.2.0/dist/voice.js:18:33)
Expected behavior
Environment
OS: Windows 10
deno version: 1.32.1
std version:
The text was updated successfully, but these errors were encountered:
Describe the bug
i'm using an api that uses jsonwebtoken module with unstable flag but I am seeing the following error:
Not implemented: crypto.createSecretKey
i traced it back to
sign in
fileSteps to Reproduce
as I said i'm using an module that uses jsonwebtoken
Expected behavior
Environment
The text was updated successfully, but these errors were encountered: