Skip to content

Commit 4cc38a0

Browse files
committed
[PUBLISH]
1 parent 62c6946 commit 4cc38a0

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "browser.js",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"description": "",
55
"type": "module",
66
"keywords": [],

packages/scramjet/packages/core/src/shared/util.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,9 @@ function bytesToBase64Fallback(bytes: Uint8Array): string {
1414
return btoa(binString);
1515
}
1616

17-
const bytesToBase64Native: ((this: Uint8Array) => string) | undefined =
18-
(Uint8Array.prototype as any).toBase64;
17+
const bytesToBase64Native: ((this: Uint8Array) => string) | undefined = (
18+
Uint8Array.prototype as any
19+
).toBase64;
1920

2021
export const bytesToBase64: (bytes: Uint8Array) => string =
2122
typeof bytesToBase64Native === "function"

0 commit comments

Comments
 (0)