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

chore: update dag-pb dep #3070

Merged
merged 3 commits into from
Jul 27, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/traverse-ipld-graphs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"cids": "^0.8.3",
"ipfs": "^0.48.0",
"ipld-block": "^0.9.1",
"ipld-dag-pb": "^0.18.5",
"ipld-dag-pb": "^0.19.0",
"multihashing-async": "^1.0.0"
}
}
2 changes: 1 addition & 1 deletion packages/interface-ipfs-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"ipfs-utils": "^2.2.2",
"ipld-block": "^0.9.1",
"ipld-dag-cbor": "^0.15.2",
"ipld-dag-pb": "^0.18.5",
"ipld-dag-pb": "^0.19.0",
"is-ipfs": "^1.0.3",
"iso-random-stream": "^1.1.1",
"it-all": "^1.0.1",
Expand Down
7 changes: 2 additions & 5 deletions packages/interface-ipfs-core/src/object/links.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,8 @@ module.exports = (common, options) => {
const node1bCid = await ipfs.object.put(node1b)

const links = await ipfs.object.links(node1bCid)
expect(node1b.Links[0]).to.eql({
Hash: links[0].Hash,
Tsize: links[0].Tsize,
Name: links[0].Name
})
expect(links).to.be.an('array').that.has.property('length', 1)
expect(node1b.Links).to.be.deep.equal(links)
})

it('should get links by base58 encoded multihash', async () => {
Expand Down
2 changes: 1 addition & 1 deletion packages/ipfs-http-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"ipfs-utils": "^2.2.2",
"ipld-block": "^0.9.1",
"ipld-dag-cbor": "^0.15.2",
"ipld-dag-pb": "^0.18.5",
"ipld-dag-pb": "^0.19.0",
"ipld-raw": "^5.0.0",
"iso-url": "^0.4.7",
"it-last": "^1.0.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/ipfs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
"ipld-bitcoin": "^0.3.0",
"ipld-block": "^0.9.1",
"ipld-dag-cbor": "^0.15.2",
"ipld-dag-pb": "^0.18.5",
"ipld-dag-pb": "^0.19.0",
"ipld-ethereum": "^4.0.0",
"ipld-git": "^0.5.0",
"ipld-raw": "^5.0.0",
Expand Down