Skip to content

Commit 50ebaf5

Browse files
committed
Add @hexagon/base64 dependency
This supports encoding/decoding strings into ArrayBuffers across different platforms. Currently node requires the Buffer instance and browsers only have the very legacy `atob` and `btoa` functions that use Latin-1 encodings.
1 parent 4d4c548 commit 50ebaf5

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

package-lock.json

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,5 +45,8 @@
4545
"publint": "^0.2.7",
4646
"ts-jest": "^29.1.0",
4747
"typescript": "^5.0.2"
48+
},
49+
"dependencies": {
50+
"@hexagon/base64": "^1.1.28"
4851
}
4952
}

0 commit comments

Comments
 (0)