@helia/interop 10.2.1 → 10.2.2
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.
- package/README.md +4 -0
- package/package.json +37 -37
- package/.aegir.js +0 -49
package/README.md
CHANGED
|
@@ -38,6 +38,10 @@ Loading this module through a script tag will make its exports available as `Hel
|
|
|
38
38
|
<script src="https://unpkg.com/@helia/interop/dist/index.min.js"></script>
|
|
39
39
|
```
|
|
40
40
|
|
|
41
|
+
# API Docs
|
|
42
|
+
|
|
43
|
+
- <https://ipfs.github.io/helia/modules/_helia_interop.html>
|
|
44
|
+
|
|
41
45
|
# License
|
|
42
46
|
|
|
43
47
|
Licensed under either of
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@helia/interop",
|
|
3
|
-
"version": "10.2.
|
|
3
|
+
"version": "10.2.2",
|
|
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",
|
|
@@ -27,13 +27,13 @@
|
|
|
27
27
|
"src",
|
|
28
28
|
"dist",
|
|
29
29
|
"!dist/test",
|
|
30
|
-
"!**/*.tsbuildinfo"
|
|
31
|
-
".aegir.js"
|
|
30
|
+
"!**/*.tsbuildinfo"
|
|
32
31
|
],
|
|
33
32
|
"exports": {
|
|
34
33
|
".": {
|
|
35
34
|
"types": "./dist/src/index.d.ts",
|
|
36
|
-
"import": "./dist/src/index.js"
|
|
35
|
+
"import": "./dist/src/index.js",
|
|
36
|
+
"module-sync": "./dist/src/index.js"
|
|
37
37
|
}
|
|
38
38
|
},
|
|
39
39
|
"scripts": {
|
|
@@ -51,46 +51,46 @@
|
|
|
51
51
|
"test:electron-main": "aegir test -t electron-main"
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"@helia/block-brokers": "^5.2.
|
|
55
|
-
"@helia/car": "^5.4.
|
|
56
|
-
"@helia/dag-cbor": "^5.1.
|
|
57
|
-
"@helia/dag-json": "^5.1.
|
|
58
|
-
"@helia/dnslink": "^1.2.
|
|
59
|
-
"@helia/http": "^3.1.
|
|
60
|
-
"@helia/interface": "^6.2.
|
|
61
|
-
"@helia/ipns": "^9.2.
|
|
62
|
-
"@helia/json": "^5.1.
|
|
63
|
-
"@helia/mfs": "^7.1.
|
|
64
|
-
"@helia/routers": "^5.1.
|
|
65
|
-
"@helia/strings": "^5.1.
|
|
66
|
-
"@helia/unixfs": "^7.2.
|
|
67
|
-
"@ipld/car": "^5.4.
|
|
68
|
-
"@ipld/dag-cbor": "^9.2.
|
|
54
|
+
"@helia/block-brokers": "^5.2.2",
|
|
55
|
+
"@helia/car": "^5.4.1",
|
|
56
|
+
"@helia/dag-cbor": "^5.1.1",
|
|
57
|
+
"@helia/dag-json": "^5.1.1",
|
|
58
|
+
"@helia/dnslink": "^1.2.1",
|
|
59
|
+
"@helia/http": "^3.1.2",
|
|
60
|
+
"@helia/interface": "^6.2.1",
|
|
61
|
+
"@helia/ipns": "^9.2.1",
|
|
62
|
+
"@helia/json": "^5.1.1",
|
|
63
|
+
"@helia/mfs": "^7.1.1",
|
|
64
|
+
"@helia/routers": "^5.1.1",
|
|
65
|
+
"@helia/strings": "^5.1.1",
|
|
66
|
+
"@helia/unixfs": "^7.2.1",
|
|
67
|
+
"@ipld/car": "^5.4.3",
|
|
68
|
+
"@ipld/dag-cbor": "^9.2.6",
|
|
69
69
|
"@ipld/dag-pb": "^4.1.5",
|
|
70
|
-
"@libp2p/crypto": "^5.1.
|
|
71
|
-
"@libp2p/floodsub": "^11.0.
|
|
70
|
+
"@libp2p/crypto": "^5.1.15",
|
|
71
|
+
"@libp2p/floodsub": "^11.0.16",
|
|
72
72
|
"@libp2p/interface": "^3.2.0",
|
|
73
|
-
"@libp2p/kad-dht": "^16.
|
|
74
|
-
"@libp2p/keychain": "^6.0.
|
|
73
|
+
"@libp2p/kad-dht": "^16.2.0",
|
|
74
|
+
"@libp2p/keychain": "^6.0.12",
|
|
75
75
|
"@libp2p/peer-id": "^6.0.6",
|
|
76
|
-
"@libp2p/utils": "^7.0.
|
|
77
|
-
"@libp2p/websockets": "^10.
|
|
76
|
+
"@libp2p/utils": "^7.0.15",
|
|
77
|
+
"@libp2p/websockets": "^10.1.8",
|
|
78
78
|
"@multiformats/multiaddr": "^13.0.1",
|
|
79
79
|
"@multiformats/sha3": "^3.0.2",
|
|
80
|
-
"aegir": "^47.
|
|
81
|
-
"helia": "^6.1.
|
|
82
|
-
"ipfs-unixfs-importer": "^16.
|
|
83
|
-
"ipfsd-ctl": "^16.0.
|
|
84
|
-
"ipns": "^10.1.
|
|
85
|
-
"it-all": "^3.0.
|
|
86
|
-
"it-drain": "^3.0.
|
|
87
|
-
"it-last": "^3.0.
|
|
88
|
-
"it-map": "^3.1.
|
|
89
|
-
"it-to-buffer": "^4.0.
|
|
80
|
+
"aegir": "^47.1.5",
|
|
81
|
+
"helia": "^6.1.2",
|
|
82
|
+
"ipfs-unixfs-importer": "^16.1.4",
|
|
83
|
+
"ipfsd-ctl": "^16.0.3",
|
|
84
|
+
"ipns": "^10.1.3",
|
|
85
|
+
"it-all": "^3.0.11",
|
|
86
|
+
"it-drain": "^3.0.12",
|
|
87
|
+
"it-last": "^3.0.11",
|
|
88
|
+
"it-map": "^3.1.5",
|
|
89
|
+
"it-to-buffer": "^4.0.12",
|
|
90
90
|
"kubo": "^0.40.1",
|
|
91
|
-
"kubo-rpc-client": "^6.0
|
|
91
|
+
"kubo-rpc-client": "^6.1.0",
|
|
92
92
|
"libp2p": "^3.2.0",
|
|
93
|
-
"multiformats": "^13.4.
|
|
93
|
+
"multiformats": "^13.4.2",
|
|
94
94
|
"uint8arrays": "^5.1.0",
|
|
95
95
|
"wherearewe": "^2.0.1"
|
|
96
96
|
},
|
package/.aegir.js
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import getPort from 'aegir/get-port'
|
|
2
|
-
import { createServer } from 'ipfsd-ctl'
|
|
3
|
-
import { create } from 'kubo-rpc-client'
|
|
4
|
-
import { path } from 'kubo'
|
|
5
|
-
|
|
6
|
-
/** @type {import('aegir').PartialOptions} */
|
|
7
|
-
export default {
|
|
8
|
-
test: {
|
|
9
|
-
files: './dist/src/*.spec.js',
|
|
10
|
-
before: async (options) => {
|
|
11
|
-
if (options.runner !== 'node') {
|
|
12
|
-
const ipfsdPort = await getPort()
|
|
13
|
-
const ipfsdServer = await createServer({
|
|
14
|
-
host: '127.0.0.1',
|
|
15
|
-
port: ipfsdPort
|
|
16
|
-
}, {
|
|
17
|
-
type: 'kubo',
|
|
18
|
-
bin: path(),
|
|
19
|
-
rpc: create,
|
|
20
|
-
test: true,
|
|
21
|
-
init: {
|
|
22
|
-
config: {
|
|
23
|
-
Addresses: {
|
|
24
|
-
Swarm: [
|
|
25
|
-
"/ip4/0.0.0.0/tcp/0",
|
|
26
|
-
"/ip4/0.0.0.0/tcp/0/ws"
|
|
27
|
-
]
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
}).start()
|
|
32
|
-
|
|
33
|
-
return {
|
|
34
|
-
env: {
|
|
35
|
-
IPFSD_SERVER: `http://127.0.0.1:${ipfsdPort}`
|
|
36
|
-
},
|
|
37
|
-
ipfsdServer
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
return {}
|
|
42
|
-
},
|
|
43
|
-
after: async (options, beforeResult) => {
|
|
44
|
-
if (options.runner !== 'node') {
|
|
45
|
-
await beforeResult.ipfsdServer.stop()
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
}
|