@helia/interop 10.1.4-080e4f91 → 10.1.4-397f2d86
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
import { randomBytes } from '@libp2p/crypto';
|
|
1
2
|
import { multiaddr } from '@multiformats/multiaddr';
|
|
2
3
|
import { expect } from 'aegir/chai';
|
|
4
|
+
import drain from 'it-drain';
|
|
3
5
|
import toBuffer from 'it-to-buffer';
|
|
4
6
|
import { CID } from 'multiformats/cid';
|
|
5
7
|
import * as raw from 'multiformats/codecs/raw';
|
|
@@ -26,7 +28,7 @@ describe('helia - blockstore', () => {
|
|
|
26
28
|
}
|
|
27
29
|
});
|
|
28
30
|
it('should be able to send a block', async () => {
|
|
29
|
-
const input =
|
|
31
|
+
const input = randomBytes(10);
|
|
30
32
|
const digest = await sha256.digest(input);
|
|
31
33
|
const cid = CID.createV1(raw.code, digest);
|
|
32
34
|
await helia.blockstore.put(cid, input);
|
|
@@ -34,7 +36,7 @@ describe('helia - blockstore', () => {
|
|
|
34
36
|
expect(output).to.equalBytes(input);
|
|
35
37
|
});
|
|
36
38
|
it('should be able to receive a block', async () => {
|
|
37
|
-
const input =
|
|
39
|
+
const input = randomBytes(10);
|
|
38
40
|
const { cid } = await kubo.api.add({ content: input }, {
|
|
39
41
|
cidVersion: 1,
|
|
40
42
|
rawLeaves: true
|
|
@@ -42,5 +44,42 @@ describe('helia - blockstore', () => {
|
|
|
42
44
|
const output = await toBuffer(helia.blockstore.get(CID.parse(cid.toString())));
|
|
43
45
|
expect(output).to.equalBytes(input);
|
|
44
46
|
});
|
|
47
|
+
it('should yield routing events', async () => {
|
|
48
|
+
const input = randomBytes(10);
|
|
49
|
+
const { cid } = await kubo.api.add({ content: input }, {
|
|
50
|
+
cidVersion: 1,
|
|
51
|
+
rawLeaves: true
|
|
52
|
+
});
|
|
53
|
+
const events = new Map();
|
|
54
|
+
await drain(helia.blockstore.get(CID.parse(cid.toString()), {
|
|
55
|
+
onProgress(evt) {
|
|
56
|
+
let count = events.get(evt.type) ?? 0;
|
|
57
|
+
count++;
|
|
58
|
+
events.set(evt.type, count);
|
|
59
|
+
}
|
|
60
|
+
}));
|
|
61
|
+
expect(events.get('helia:routing:find-providers:start')).to.be.greaterThan(0);
|
|
62
|
+
expect(events.get('helia:routing:find-providers:provider')).to.be.greaterThan(0);
|
|
63
|
+
expect(events.get('helia:routing:find-providers:end')).to.be.greaterThan(0);
|
|
64
|
+
});
|
|
65
|
+
it('should yield block broker events', async () => {
|
|
66
|
+
const input = randomBytes(10);
|
|
67
|
+
const { cid } = await kubo.api.add({ content: input }, {
|
|
68
|
+
cidVersion: 1,
|
|
69
|
+
rawLeaves: true
|
|
70
|
+
});
|
|
71
|
+
const events = new Map();
|
|
72
|
+
await drain(helia.blockstore.get(CID.parse(cid.toString()), {
|
|
73
|
+
onProgress(evt) {
|
|
74
|
+
let count = events.get(evt.type) ?? 0;
|
|
75
|
+
count++;
|
|
76
|
+
events.set(evt.type, count);
|
|
77
|
+
}
|
|
78
|
+
}));
|
|
79
|
+
expect(events.get('helia:block-broker:connect')).to.be.greaterThan(0);
|
|
80
|
+
expect(events.get('helia:block-broker:connected')).to.be.greaterThan(0);
|
|
81
|
+
expect(events.get('helia:block-broker:request-block')).to.be.greaterThan(0);
|
|
82
|
+
expect(events.get('helia:block-broker:receive-block')).to.be.greaterThan(0);
|
|
83
|
+
});
|
|
45
84
|
});
|
|
46
85
|
//# sourceMappingURL=helia-blockstore.spec.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"helia-blockstore.spec.js","sourceRoot":"","sources":["../../src/helia-blockstore.spec.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAA;AACnD,OAAO,EAAE,MAAM,EAAE,MAAM,YAAY,CAAA;AACnC,OAAO,QAAQ,MAAM,cAAc,CAAA;AACnC,OAAO,EAAE,GAA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C,GAAG,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC,EAAE;YAC1D,UAAU,CAAE,GAAG;gBACb,IAAI,KAAK,GAAG,MAAM,CAAC,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;gBACrC,KAAK,EAAE,CAAA;gBACP,MAAM,CAAC,GAAG,CAAC,GAAG,CAAC,IAAI,EAAE,KAAK,CAAC,CAAA;YAC7B,CAAC;SACF,CAAC,CAAC,CAAA;QAEH,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,4BAA4B,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,WAAW,CAAC,CAAC,CAAC,CAAA;QACrE,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,8BAA8B,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,WAAW,CAAC,CAAC,CAAC,CAAA;QACvE,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,kCAAkC,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,WAAW,CAAC,CAAC,CAAC,CAAA;QAC3E,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,kCAAkC,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,WAAW,CAAC,CAAC,CAAC,CAAA;IAC7E,CAAC,CAAC,CAAA;AACJ,CAAC,CAAC,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@helia/interop",
|
|
3
|
-
"version": "10.1.4-
|
|
3
|
+
"version": "10.1.4-397f2d86",
|
|
4
4
|
"description": "Interop tests for Helia",
|
|
5
5
|
"license": "Apache-2.0 OR MIT",
|
|
6
6
|
"homepage": "https://github.com/ipfs/helia/tree/main/packages/interop#readme",
|
|
@@ -51,34 +51,34 @@
|
|
|
51
51
|
"test:electron-main": "aegir test -t electron-main"
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"@helia/block-brokers": "5.1.4-
|
|
55
|
-
"@helia/
|
|
56
|
-
"@helia/
|
|
57
|
-
"@helia/dag-
|
|
58
|
-
"@helia/
|
|
59
|
-
"@helia/http": "3.0.22-
|
|
60
|
-
"@helia/interface": "6.1.1-
|
|
61
|
-
"@helia/ipns": "9.1.9-
|
|
62
|
-
"@helia/json": "5.0.7-
|
|
63
|
-
"@helia/mfs": "7.0.5-
|
|
64
|
-
"@helia/routers": "5.0.3-
|
|
65
|
-
"@helia/strings": "5.0.7-
|
|
66
|
-
"@helia/unixfs": "7.1.0-
|
|
54
|
+
"@helia/block-brokers": "5.1.4-397f2d86",
|
|
55
|
+
"@helia/car": "5.3.10-397f2d86",
|
|
56
|
+
"@helia/dag-cbor": "5.0.7-397f2d86",
|
|
57
|
+
"@helia/dag-json": "5.0.7-397f2d86",
|
|
58
|
+
"@helia/dnslink": "1.1.4-397f2d86",
|
|
59
|
+
"@helia/http": "3.0.22-397f2d86",
|
|
60
|
+
"@helia/interface": "6.1.1-397f2d86",
|
|
61
|
+
"@helia/ipns": "9.1.9-397f2d86",
|
|
62
|
+
"@helia/json": "5.0.7-397f2d86",
|
|
63
|
+
"@helia/mfs": "7.0.5-397f2d86",
|
|
64
|
+
"@helia/routers": "5.0.3-397f2d86",
|
|
65
|
+
"@helia/strings": "5.0.7-397f2d86",
|
|
66
|
+
"@helia/unixfs": "7.1.0-397f2d86",
|
|
67
67
|
"@ipld/car": "^5.4.2",
|
|
68
68
|
"@ipld/dag-cbor": "^9.2.5",
|
|
69
69
|
"@ipld/dag-pb": "^4.1.5",
|
|
70
70
|
"@libp2p/crypto": "^5.1.12",
|
|
71
71
|
"@libp2p/floodsub": "^11.0.6",
|
|
72
|
-
"@libp2p/interface": "^3.
|
|
72
|
+
"@libp2p/interface": "^3.2.0",
|
|
73
73
|
"@libp2p/kad-dht": "^16.1.0",
|
|
74
74
|
"@libp2p/keychain": "^6.0.5",
|
|
75
|
-
"@libp2p/peer-id": "^6.0.
|
|
75
|
+
"@libp2p/peer-id": "^6.0.6",
|
|
76
76
|
"@libp2p/utils": "^7.0.5",
|
|
77
77
|
"@libp2p/websockets": "^10.0.6",
|
|
78
78
|
"@multiformats/multiaddr": "^13.0.1",
|
|
79
79
|
"@multiformats/sha3": "^3.0.2",
|
|
80
80
|
"aegir": "^47.0.22",
|
|
81
|
-
"helia": "6.0.22-
|
|
81
|
+
"helia": "6.0.22-397f2d86",
|
|
82
82
|
"ipfs-unixfs-importer": "^16.0.1",
|
|
83
83
|
"ipfsd-ctl": "^16.0.0",
|
|
84
84
|
"ipns": "^10.1.2",
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
"it-to-buffer": "^4.0.10",
|
|
90
90
|
"kubo": "^0.40.1",
|
|
91
91
|
"kubo-rpc-client": "^6.0.2",
|
|
92
|
-
"libp2p": "^3.0
|
|
92
|
+
"libp2p": "^3.2.0",
|
|
93
93
|
"multiformats": "^13.4.1",
|
|
94
94
|
"uint8arrays": "^5.1.0",
|
|
95
95
|
"wherearewe": "^2.0.1"
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
import { randomBytes } from '@libp2p/crypto'
|
|
1
2
|
import { multiaddr } from '@multiformats/multiaddr'
|
|
2
3
|
import { expect } from 'aegir/chai'
|
|
4
|
+
import drain from 'it-drain'
|
|
3
5
|
import toBuffer from 'it-to-buffer'
|
|
4
6
|
import { CID } from 'multiformats/cid'
|
|
5
7
|
import * as raw from 'multiformats/codecs/raw'
|
|
@@ -34,7 +36,7 @@ describe('helia - blockstore', () => {
|
|
|
34
36
|
})
|
|
35
37
|
|
|
36
38
|
it('should be able to send a block', async () => {
|
|
37
|
-
const input =
|
|
39
|
+
const input = randomBytes(10)
|
|
38
40
|
const digest = await sha256.digest(input)
|
|
39
41
|
const cid = CID.createV1(raw.code, digest)
|
|
40
42
|
await helia.blockstore.put(cid, input)
|
|
@@ -44,7 +46,7 @@ describe('helia - blockstore', () => {
|
|
|
44
46
|
})
|
|
45
47
|
|
|
46
48
|
it('should be able to receive a block', async () => {
|
|
47
|
-
const input =
|
|
49
|
+
const input = randomBytes(10)
|
|
48
50
|
const { cid } = await kubo.api.add({ content: input }, {
|
|
49
51
|
cidVersion: 1,
|
|
50
52
|
rawLeaves: true
|
|
@@ -53,4 +55,45 @@ describe('helia - blockstore', () => {
|
|
|
53
55
|
|
|
54
56
|
expect(output).to.equalBytes(input)
|
|
55
57
|
})
|
|
58
|
+
|
|
59
|
+
it('should yield routing events', async () => {
|
|
60
|
+
const input = randomBytes(10)
|
|
61
|
+
const { cid } = await kubo.api.add({ content: input }, {
|
|
62
|
+
cidVersion: 1,
|
|
63
|
+
rawLeaves: true
|
|
64
|
+
})
|
|
65
|
+
const events = new Map<string, number>()
|
|
66
|
+
await drain(helia.blockstore.get(CID.parse(cid.toString()), {
|
|
67
|
+
onProgress (evt) {
|
|
68
|
+
let count = events.get(evt.type) ?? 0
|
|
69
|
+
count++
|
|
70
|
+
events.set(evt.type, count)
|
|
71
|
+
}
|
|
72
|
+
}))
|
|
73
|
+
|
|
74
|
+
expect(events.get('helia:routing:find-providers:start')).to.be.greaterThan(0)
|
|
75
|
+
expect(events.get('helia:routing:find-providers:provider')).to.be.greaterThan(0)
|
|
76
|
+
expect(events.get('helia:routing:find-providers:end')).to.be.greaterThan(0)
|
|
77
|
+
})
|
|
78
|
+
|
|
79
|
+
it('should yield block broker events', async () => {
|
|
80
|
+
const input = randomBytes(10)
|
|
81
|
+
const { cid } = await kubo.api.add({ content: input }, {
|
|
82
|
+
cidVersion: 1,
|
|
83
|
+
rawLeaves: true
|
|
84
|
+
})
|
|
85
|
+
const events = new Map<string, number>()
|
|
86
|
+
await drain(helia.blockstore.get(CID.parse(cid.toString()), {
|
|
87
|
+
onProgress (evt) {
|
|
88
|
+
let count = events.get(evt.type) ?? 0
|
|
89
|
+
count++
|
|
90
|
+
events.set(evt.type, count)
|
|
91
|
+
}
|
|
92
|
+
}))
|
|
93
|
+
|
|
94
|
+
expect(events.get('helia:block-broker:connect')).to.be.greaterThan(0)
|
|
95
|
+
expect(events.get('helia:block-broker:connected')).to.be.greaterThan(0)
|
|
96
|
+
expect(events.get('helia:block-broker:request-block')).to.be.greaterThan(0)
|
|
97
|
+
expect(events.get('helia:block-broker:receive-block')).to.be.greaterThan(0)
|
|
98
|
+
})
|
|
56
99
|
})
|