@libp2p/interface-compliance-tests 5.1.3-2e464c099 → 5.1.3-72f0e09f7

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@libp2p/interface-compliance-tests",
3
- "version": "5.1.3-2e464c099",
3
+ "version": "5.1.3-72f0e09f7",
4
4
  "description": "Compliance tests for JS libp2p interfaces",
5
5
  "license": "Apache-2.0 OR MIT",
6
6
  "homepage": "https://github.com/libp2p/js-libp2p/tree/main/packages/interface-compliance-tests#readme",
@@ -60,10 +60,6 @@
60
60
  "types": "./dist/src/is-valid-tick.d.ts",
61
61
  "import": "./dist/src/is-valid-tick.js"
62
62
  },
63
- "./matchers": {
64
- "types": "./dist/src/matchers.d.ts",
65
- "import": "./dist/src/matchers.js"
66
- },
67
63
  "./mocks": {
68
64
  "types": "./dist/src/mocks/index.d.ts",
69
65
  "import": "./dist/src/mocks/index.js"
@@ -111,14 +107,14 @@
111
107
  "test:electron-main": "aegir test -t electron-main"
112
108
  },
113
109
  "dependencies": {
114
- "@libp2p/interface": "1.1.2-2e464c099",
115
- "@libp2p/interface-internal": "1.0.7-2e464c099",
116
- "@libp2p/logger": "4.0.5-2e464c099",
117
- "@libp2p/multistream-select": "5.1.2-2e464c099",
118
- "@libp2p/peer-collections": "5.1.5-2e464c099",
119
- "@libp2p/peer-id": "4.0.5-2e464c099",
120
- "@libp2p/peer-id-factory": "4.0.5-2e464c099",
121
- "@libp2p/utils": "5.2.2-2e464c099",
110
+ "@libp2p/interface": "1.1.2-72f0e09f7",
111
+ "@libp2p/interface-internal": "1.0.7-72f0e09f7",
112
+ "@libp2p/logger": "4.0.5-72f0e09f7",
113
+ "@libp2p/multistream-select": "5.1.2-72f0e09f7",
114
+ "@libp2p/peer-collections": "5.1.5-72f0e09f7",
115
+ "@libp2p/peer-id": "4.0.5-72f0e09f7",
116
+ "@libp2p/peer-id-factory": "4.0.5-72f0e09f7",
117
+ "@libp2p/utils": "5.2.2-72f0e09f7",
122
118
  "@multiformats/multiaddr": "^12.1.10",
123
119
  "abortable-iterator": "^5.0.1",
124
120
  "aegir": "^42.0.0",
@@ -1,6 +0,0 @@
1
- import Sinon from 'sinon';
2
- import type { PeerId } from '@libp2p/interface';
3
- import type { Multiaddr } from '@multiformats/multiaddr';
4
- export declare function matchPeerId(peerId: PeerId): Sinon.SinonMatcher;
5
- export declare function matchMultiaddr(ma: Multiaddr): Sinon.SinonMatcher;
6
- //# sourceMappingURL=matchers.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"matchers.d.ts","sourceRoot":"","sources":["../../src/matchers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAC/C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAA;AAExD,wBAAgB,WAAW,CAAE,MAAM,EAAE,MAAM,GAAG,KAAK,CAAC,YAAY,CAE/D;AAED,wBAAgB,cAAc,CAAE,EAAE,EAAE,SAAS,GAAG,KAAK,CAAC,YAAY,CAEjE"}
@@ -1,8 +0,0 @@
1
- import Sinon from 'sinon';
2
- export function matchPeerId(peerId) {
3
- return Sinon.match(p => p.toString() === peerId.toString());
4
- }
5
- export function matchMultiaddr(ma) {
6
- return Sinon.match(m => m.toString() === ma.toString());
7
- }
8
- //# sourceMappingURL=matchers.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"matchers.js","sourceRoot":"","sources":["../../src/matchers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,MAAM,UAAU,WAAW,CAAE,MAAc;IACzC,OAAO,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,QAAQ,EAAE,KAAK,MAAM,CAAC,QAAQ,EAAE,CAAC,CAAA;AAC7D,CAAC;AAED,MAAM,UAAU,cAAc,CAAE,EAAa;IAC3C,OAAO,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,QAAQ,EAAE,KAAK,EAAE,CAAC,QAAQ,EAAE,CAAC,CAAA;AACzD,CAAC"}
package/src/matchers.ts DELETED
@@ -1,11 +0,0 @@
1
- import Sinon from 'sinon'
2
- import type { PeerId } from '@libp2p/interface'
3
- import type { Multiaddr } from '@multiformats/multiaddr'
4
-
5
- export function matchPeerId (peerId: PeerId): Sinon.SinonMatcher {
6
- return Sinon.match(p => p.toString() === peerId.toString())
7
- }
8
-
9
- export function matchMultiaddr (ma: Multiaddr): Sinon.SinonMatcher {
10
- return Sinon.match(m => m.toString() === ma.toString())
11
- }