diff --git a/.changeset/config.json b/.changeset/config.json index 2ded1e3..d48d216 100644 --- a/.changeset/config.json +++ b/.changeset/config.json @@ -12,5 +12,5 @@ "access": "restricted", "baseBranch": "main", "updateInternalDependencies": "patch", - "ignore": [] + "ignore": ["*-demo"] } diff --git a/packages/common/src/utils/buffer.ts b/packages/common/src/utils/buffer.ts index 1e4339a..8e00d7e 100644 --- a/packages/common/src/utils/buffer.ts +++ b/packages/common/src/utils/buffer.ts @@ -105,3 +105,7 @@ export function hexToString(hex: string): string { str += String.fromCharCode(parseInt(hex.substr(i, 2), 16)) return str } + +export function base64urlToHex(s: string) { + return bufferToHex(base64URLStringToBuffer(s)) +}