Skip to content
This repository was archived by the owner on Mar 10, 2020. It is now read-only.

Commit 471e58b

Browse files
vmxAlan Shaw
authored and
Alan Shaw
committed
chore: upgrade ipld-dag-cbor to 0.13.0 (#379)
This 0.13.0 ipld-dag-dbor release contains breaking changes hence special care is needed.
1 parent 332cefb commit 471e58b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

js/src/dag/get.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ module.exports = (createCommon, options) => {
7373
(cb) => {
7474
nodeCbor = {
7575
someData: 'I am inside a Cbor object',
76-
pb: { '/': cidPb.toBaseEncodedString() }
76+
pb: cidPb
7777
}
7878

7979
dagCBOR.util.cid(nodeCbor, (err, cid) => {

js/src/dag/tree.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ module.exports = (createCommon, options) => {
5858
(cb) => {
5959
nodeCbor = {
6060
someData: 'I am inside a Cbor object',
61-
pb: { '/': cidPb.toBaseEncodedString() }
61+
pb: cidPb
6262
}
6363

6464
dagCBOR.util.cid(nodeCbor, (err, cid) => {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"hat": "0.0.3",
4444
"ipfs-block": "~0.7.1",
4545
"ipfs-unixfs": "~0.1.15",
46-
"ipld-dag-cbor": "~0.12.1",
46+
"ipld-dag-cbor": "~0.13.0",
4747
"ipld-dag-pb": "~0.14.5",
4848
"is-ipfs": "~0.4.2",
4949
"libp2p-crypto": "~0.13.0",

0 commit comments

Comments
 (0)