We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 62c6946 commit 4cc38a0Copy full SHA for 4cc38a0
2 files changed
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "browser.js",
3
- "version": "1.0.0",
+ "version": "1.0.1",
4
"description": "",
5
"type": "module",
6
"keywords": [],
packages/scramjet/packages/core/src/shared/util.ts
@@ -14,8 +14,9 @@ function bytesToBase64Fallback(bytes: Uint8Array): string {
14
return btoa(binString);
15
}
16
17
-const bytesToBase64Native: ((this: Uint8Array) => string) | undefined =
18
- (Uint8Array.prototype as any).toBase64;
+const bytesToBase64Native: ((this: Uint8Array) => string) | undefined = (
+ Uint8Array.prototype as any
19
+).toBase64;
20
21
export const bytesToBase64: (bytes: Uint8Array) => string =
22
typeof bytesToBase64Native === "function"
0 commit comments