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

Commit 3c0fca1

Browse files
committed
feat: add pure data model interop for dag-pb
1 parent 23cace0 commit 3c0fca1

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

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": "git://github.com/gozala/js-ipld-dag-pb.git#pure-data-model",
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

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ module.exports = (common, options) => {
6060
const node1bCid = await ipfs.object.put(node1b)
6161

6262
const links = await ipfs.object.links(node1bCid)
63-
expect(node1b.Links[0]).to.eql({
63+
expect(node1b.Links[0]).to.containSubset({
6464
Hash: links[0].Hash,
6565
Tsize: links[0].Tsize,
6666
Name: links[0].Name

packages/ipfs-http-client/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
"ipfs-utils": "^2.2.2",
5151
"ipld-block": "^0.9.1",
5252
"ipld-dag-cbor": "^0.15.2",
53-
"ipld-dag-pb": "^0.18.5",
53+
"ipld-dag-pb": "git://github.com/gozala/js-ipld-dag-pb.git#pure-data-model",
5454
"ipld-raw": "^4.0.1",
5555
"iso-url": "^0.4.7",
5656
"it-tar": "^1.2.2",

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": "git://github.com/gozala/js-ipld-dag-pb.git#pure-data-model",
110110
"ipld-ethereum": "^4.0.0",
111111
"ipld-git": "^0.5.0",
112112
"ipld-raw": "^4.0.1",

0 commit comments

Comments
 (0)