diff --git a/src/utils/helpers/CryptoUtils.ts b/src/utils/helpers/CryptoUtils.ts index 246b5ce..42f8ed1 100644 --- a/src/utils/helpers/CryptoUtils.ts +++ b/src/utils/helpers/CryptoUtils.ts @@ -189,7 +189,7 @@ export class CryptoUtils { const encoder = new TextEncoder(); const key = await globalThis.crypto.subtle.importKey( "raw", - encoder.encode(secret), + encoder.encode(secret) as BufferSource, { name: "HMAC", hash: algorithm }, false, ["sign"]