@libp2p/interop 1.0.2 → 2.0.0

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 CHANGED
@@ -1,21 +1,31 @@
1
- # Interoperability Tests for libp2p
1
+ # @libp2p/interop <!-- omit in toc -->
2
2
 
3
- [![](https://img.shields.io/badge/made%20by-Protocol%20Labs-blue.svg?style=flat-square)](https://protocol.ai/)
4
- [![](https://img.shields.io/badge/project-libp2p-yellow.svg?style=flat-square)](http://libp2p.io/)
5
- [![](https://img.shields.io/badge/freenode-%23ipfs-blue.svg?style=flat-square)](http://webchat.freenode.net/?channels=%23libp2p)
6
- [![Discourse posts](https://img.shields.io/discourse/https/discuss.libp2p.io/posts.svg)](https://discuss.libp2p.io)
3
+ [![libp2p.io](https://img.shields.io/badge/project-libp2p-yellow.svg?style=flat-square)](http://libp2p.io/)
4
+ [![IRC](https://img.shields.io/badge/freenode-%23libp2p-yellow.svg?style=flat-square)](http://webchat.freenode.net/?channels=%23libp2p)
5
+ [![Discuss](https://img.shields.io/discourse/https/discuss.libp2p.io/posts.svg?style=flat-square)](https://discuss.libp2p.io)
6
+ [![codecov](https://img.shields.io/codecov/c/github/libp2p/interop.svg?style=flat-square)](https://codecov.io/gh/libp2p/interop)
7
+ [![CI](https://img.shields.io/github/workflow/status/libp2p/js-libp2p-interfaces/test%20&%20maybe%20release/master?style=flat-square)](https://github.com/libp2p/interop/actions/workflows/js-test-and-release.yml)
7
8
 
8
- > Interoperability tests for libp2p Implementations
9
+ > Interoperability Tests for libp2p
9
10
 
10
- This repository will be used for interop tests.
11
+ ## Table of contents <!-- omit in toc -->
11
12
 
12
- ## Usage
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
- ### Install
20
+ ## Install
15
21
 
22
+ ```console
23
+ $ npm i @libp2p/interop
16
24
  ```
17
- > npm install @libp2p/interop
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
- * Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / http://www.apache.org/licenses/LICENSE-2.0)
71
- * MIT ([LICENSE-MIT](LICENSE-MIT) / http://opensource.org/licenses/MIT)
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.
@@ -0,0 +1 @@
1
+ `��‘�W��ע���Fv=�E�O*bb��eJK"��Pk�a��W��bs��|��������8*�y+���Pk�a��W��bs��|��������8*�y+�
@@ -0,0 +1 @@
1
+  {��ܥg� oT+.�\�L� Y��Jb���G�q7�
@@ -0,0 +1 @@
1
+ `F́o��.ux��7f�v71��{�z���9*x7Ӟ�g��Q�g,�FhŒ�0������]3�7Ӟ�g��Q�g,�FhŒ�0������]3�
@@ -0,0 +1 @@
1
+  �z�m�/�kPa�ࡓ$�Z���p"�>v��
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@libp2p/interop",
3
- "version": "1.0.2",
3
+ "version": "2.0.0",
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
  },
@@ -128,8 +129,8 @@
128
129
  },
129
130
  "dependencies": {
130
131
  "@libp2p/daemon-client": "^1.0.0",
131
- "@libp2p/interfaces": "^1.3.17",
132
- "@libp2p/logger": "^1.1.2",
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.6"
143
+ "aegir": "^37.2.0"
143
144
  },
144
145
  "peerDependencies": {
145
- "aegir": "^37.0.6"
146
+ "aegir": "^37.2.0"
146
147
  }
147
148
  }
@@ -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/interfaces/peer-info'
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']