We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1c20933 commit cfa70ceCopy full SHA for cfa70ce
2 files changed
.changeset/tired-oranges-run.md
@@ -0,0 +1,5 @@
1
+---
2
+"@clerk/shared": patch
3
4
+
5
+Use `globalThis` instead of `global` in `encodeB64`
packages/shared/src/internal/clerk-js/encoders.ts
@@ -1,5 +1,5 @@
export function encodeB64(input: string) {
- return global.btoa(input);
+ return globalThis.btoa(input);
}
// https://stackoverflow.com/questions/30106476/
0 commit comments