@libp2p/interop 1.0.3 → 2.0.1
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 +27 -13
- package/package.json +7 -6
- package/src/dht/peer-routing.ts +1 -1
package/README.md
CHANGED
|
@@ -1,21 +1,31 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @libp2p/interop <!-- omit in toc -->
|
|
2
2
|
|
|
3
|
-
[](http://libp2p.io/)
|
|
4
|
+
[](http://webchat.freenode.net/?channels=%23libp2p)
|
|
5
|
+
[](https://discuss.libp2p.io)
|
|
6
|
+
[](https://codecov.io/gh/libp2p/interop)
|
|
7
|
+
[](https://github.com/libp2p/interop/actions/workflows/js-test-and-release.yml)
|
|
7
8
|
|
|
8
|
-
> Interoperability
|
|
9
|
+
> Interoperability Tests for libp2p
|
|
9
10
|
|
|
10
|
-
|
|
11
|
+
## Table of contents <!-- omit in toc -->
|
|
11
12
|
|
|
12
|
-
|
|
13
|
+
- [Install](#install)
|
|
14
|
+
- [Usage](#usage)
|
|
15
|
+
- [Running the tests](#running-the-tests)
|
|
16
|
+
- [Contribute](#contribute)
|
|
17
|
+
- [License](#license)
|
|
18
|
+
- [Contribution](#contribution)
|
|
13
19
|
|
|
14
|
-
|
|
20
|
+
## Install
|
|
15
21
|
|
|
22
|
+
```console
|
|
23
|
+
$ npm i @libp2p/interop
|
|
16
24
|
```
|
|
17
|
-
|
|
18
|
-
|
|
25
|
+
|
|
26
|
+
This repository will be used for interop tests.
|
|
27
|
+
|
|
28
|
+
## Usage
|
|
19
29
|
|
|
20
30
|
### Running the tests
|
|
21
31
|
|
|
@@ -67,5 +77,9 @@ This repository falls under the IPFS [Code of Conduct](https://github.com/ipfs/c
|
|
|
67
77
|
|
|
68
78
|
Licensed under either of
|
|
69
79
|
|
|
70
|
-
|
|
71
|
-
|
|
80
|
+
- Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / <http://www.apache.org/licenses/LICENSE-2.0>)
|
|
81
|
+
- MIT ([LICENSE-MIT](LICENSE-MIT) / <http://opensource.org/licenses/MIT>)
|
|
82
|
+
|
|
83
|
+
## Contribution
|
|
84
|
+
|
|
85
|
+
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@libp2p/interop",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.1",
|
|
4
4
|
"description": "Interoperability Tests for libp2p",
|
|
5
5
|
"license": "Apache-2.0 OR MIT",
|
|
6
6
|
"homepage": "https://github.com/libp2p/interop#readme",
|
|
@@ -28,6 +28,7 @@
|
|
|
28
28
|
],
|
|
29
29
|
"exports": {
|
|
30
30
|
".": {
|
|
31
|
+
"types": "./src/index.d.ts",
|
|
31
32
|
"import": "./dist/src/index.js"
|
|
32
33
|
}
|
|
33
34
|
},
|
|
@@ -127,9 +128,9 @@
|
|
|
127
128
|
"release": "aegir release"
|
|
128
129
|
},
|
|
129
130
|
"dependencies": {
|
|
130
|
-
"@libp2p/daemon-client": "^
|
|
131
|
-
"@libp2p/
|
|
132
|
-
"@libp2p/logger": "^
|
|
131
|
+
"@libp2p/daemon-client": "^2.0.1",
|
|
132
|
+
"@libp2p/interface-peer-info": "^1.0.1",
|
|
133
|
+
"@libp2p/logger": "^2.0.0",
|
|
133
134
|
"@libp2p/peer-id": "^1.1.8",
|
|
134
135
|
"@multiformats/multiaddr": "^10.1.8",
|
|
135
136
|
"it-all": "^1.0.6",
|
|
@@ -139,9 +140,9 @@
|
|
|
139
140
|
"uint8arrays": "^3.0.0"
|
|
140
141
|
},
|
|
141
142
|
"devDependencies": {
|
|
142
|
-
"aegir": "^37.0
|
|
143
|
+
"aegir": "^37.2.0"
|
|
143
144
|
},
|
|
144
145
|
"peerDependencies": {
|
|
145
|
-
"aegir": "^37.0
|
|
146
|
+
"aegir": "^37.2.0"
|
|
146
147
|
}
|
|
147
148
|
}
|
package/src/dht/peer-routing.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import { expect } from 'aegir/chai'
|
|
4
4
|
import type { Daemon, DaemonFactory, NodeType, SpawnOptions } from '../index.js'
|
|
5
5
|
import pRetry from 'p-retry'
|
|
6
|
-
import type { PeerInfo } from '@libp2p/
|
|
6
|
+
import type { PeerInfo } from '@libp2p/interface-peer-info'
|
|
7
7
|
|
|
8
8
|
export function peerRoutingTests (factory: DaemonFactory) {
|
|
9
9
|
const nodeTypes: NodeType[] = ['js', 'go']
|