Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.

Commit 09735ca

Browse files
authored
chore: update dag-pb dep (#3070)
1 parent b450890 commit 09735ca

File tree

5 files changed

+6
-9
lines changed

5 files changed

+6
-9
lines changed

examples/traverse-ipld-graphs/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"cids": "^0.8.3",
1717
"ipfs": "^0.48.0",
1818
"ipld-block": "^0.9.1",
19-
"ipld-dag-pb": "^0.18.5",
19+
"ipld-dag-pb": "^0.19.0",
2020
"multihashing-async": "^1.0.0"
2121
}
2222
}

packages/interface-ipfs-core/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"ipfs-utils": "^2.2.2",
4545
"ipld-block": "^0.9.1",
4646
"ipld-dag-cbor": "^0.15.2",
47-
"ipld-dag-pb": "^0.18.5",
47+
"ipld-dag-pb": "^0.19.0",
4848
"is-ipfs": "^1.0.3",
4949
"iso-random-stream": "^1.1.1",
5050
"it-all": "^1.0.1",

packages/interface-ipfs-core/src/object/links.js

+2-5
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,8 @@ module.exports = (common, options) => {
5959
const node1bCid = await ipfs.object.put(node1b)
6060

6161
const links = await ipfs.object.links(node1bCid)
62-
expect(node1b.Links[0]).to.eql({
63-
Hash: links[0].Hash,
64-
Tsize: links[0].Tsize,
65-
Name: links[0].Name
66-
})
62+
expect(links).to.be.an('array').that.has.property('length', 1)
63+
expect(node1b.Links).to.be.deep.equal(links)
6764
})
6865

6966
it('should get links by base58 encoded multihash', async () => {

packages/ipfs-http-client/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"ipfs-utils": "^2.2.2",
5252
"ipld-block": "^0.9.1",
5353
"ipld-dag-cbor": "^0.15.2",
54-
"ipld-dag-pb": "^0.18.5",
54+
"ipld-dag-pb": "^0.19.0",
5555
"ipld-raw": "^5.0.0",
5656
"iso-url": "^0.4.7",
5757
"it-last": "^1.0.1",

packages/ipfs/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@
106106
"ipld-bitcoin": "^0.3.0",
107107
"ipld-block": "^0.9.1",
108108
"ipld-dag-cbor": "^0.15.2",
109-
"ipld-dag-pb": "^0.18.5",
109+
"ipld-dag-pb": "^0.19.0",
110110
"ipld-ethereum": "^4.0.0",
111111
"ipld-git": "^0.5.0",
112112
"ipld-raw": "^5.0.0",

0 commit comments

Comments
 (0)