-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
We accept strings as values to publish, but the actual datatype is Uint8Array. Likewise these Uint8Arrays get turned into strings when passed back, but in JavaScript this can be a lossy translation as bytes values above 127 are interpreted as multi-byte UTF8 code points. This PR removes strings as acceptible input types and only accepts Uint8Arrays. BREAKING CHANGE: strings are no longer accepted as valid values to publish
- Loading branch information
1 parent
20031ce
commit 5c589da
Showing
2 changed files
with
25 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters