This repository has been archived by the owner on Aug 11, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: replace node buffers with uint8arrays (#69)
This module now accepts Uint8Arrays as well as node Buffers and returns Uint8Arrays. Internally it converts non-Buffers into Buffers because the ethereum libs require that. BREAKING CHANGES: - `util.serialize` returns a `Uint8Array` - `util.cid` returns `CID`s with a breaking API change - see multiformats/js-cid#117 for changes
- Loading branch information
1 parent
8dc22d8
commit a8fc4f5
Showing
11 changed files
with
31 additions
and
37 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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,21 +22,20 @@ | |
"license": "MIT", | ||
"dependencies": { | ||
"buffer": "^5.6.0", | ||
"cids": "^0.8.3", | ||
"cids": "^1.0.0", | ||
"ethereumjs-account": "^3.0.0", | ||
"ethereumjs-block": "^2.2.1", | ||
"ethereumjs-tx": "^2.1.1", | ||
"merkle-patricia-tree": "^3.0.0", | ||
"multicodec": "^1.0.0", | ||
"multihashes": "^1.0.1", | ||
"multihashing-async": "^1.0.0", | ||
"multicodec": "^2.0.0", | ||
"multihashes": "^3.0.1", | ||
"multihashing-async": "^2.0.0", | ||
"rlp": "^2.2.4" | ||
}, | ||
"devDependencies": { | ||
"aegir": "^25.0.0", | ||
"chai": "^4.2.0", | ||
"dirty-chai": "^2.0.1", | ||
"promisify-es6": "^1.0.3" | ||
"promisify-es6": "^1.0.3", | ||
"uint8arrays": "^1.0.0" | ||
}, | ||
"contributors": [ | ||
"kumavis <[email protected]>", | ||
|
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
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