@libp2p/interface-compliance-tests 7.0.22-ed1ad1f26 → 7.0.23-29797a5bb

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,4 +1,4 @@
1
- import type { TestSetup } from '../index.js';
1
+ import type { TestSetup } from '../index.ts';
2
2
  import type { ConnectionEncrypter, PrivateKey } from '@libp2p/interface';
3
3
  export interface ConnectionEncrypterSetupArgs {
4
4
  privateKey: PrivateKey;
@@ -1,4 +1,4 @@
1
- import type { TestSetup } from '../index.js';
1
+ import type { TestSetup } from '../index.ts';
2
2
  import type { PeerDiscovery } from '@libp2p/interface';
3
3
  declare const _default: (common: TestSetup<PeerDiscovery>) => void;
4
4
  export default _default;
@@ -1,4 +1,4 @@
1
- import type { TestSetup } from '../index.js';
1
+ import type { TestSetup } from '../index.ts';
2
2
  import type { StreamMuxerFactory } from '@libp2p/interface';
3
3
  declare const _default: (common: TestSetup<StreamMuxerFactory>) => void;
4
4
  export default _default;
@@ -1,4 +1,4 @@
1
- import type { TestSetup } from '../index.js';
1
+ import type { TestSetup } from '../index.ts';
2
2
  import type { StreamMuxerFactory } from '@libp2p/interface';
3
3
  declare const _default: (common: TestSetup<StreamMuxerFactory>) => void;
4
4
  export default _default;
@@ -1,4 +1,4 @@
1
- import type { TestSetup } from '../index.js';
1
+ import type { TestSetup } from '../index.ts';
2
2
  import type { StreamMuxerFactory } from '@libp2p/interface';
3
3
  declare const _default: (common: TestSetup<StreamMuxerFactory>) => void;
4
4
  export default _default;
@@ -1,4 +1,4 @@
1
- import type { TestSetup } from '../index.js';
1
+ import type { TestSetup } from '../index.ts';
2
2
  import type { StreamMuxerFactory } from '@libp2p/interface';
3
3
  declare const _default: (common: TestSetup<StreamMuxerFactory>) => void;
4
4
  export default _default;
@@ -1,4 +1,4 @@
1
- import type { TestSetup } from '../index.js';
1
+ import type { TestSetup } from '../index.ts';
2
2
  import type { Multiaddr } from '@multiformats/multiaddr';
3
3
  import type { MultiaddrMatcher } from '@multiformats/multiaddr-matcher';
4
4
  import type { Libp2pInit } from 'libp2p';
@@ -12,7 +12,7 @@ import pWaitFor from 'p-wait-for';
12
12
  import { raceSignal } from 'race-signal';
13
13
  import { Uint8ArrayList } from 'uint8arraylist';
14
14
  import { concat as uint8ArrayConcat } from 'uint8arrays';
15
- import { isValidTick } from '../is-valid-tick.js';
15
+ import { isValidTick } from "../is-valid-tick.js";
16
16
  import { createPeer, getTransportManager, getUpgrader } from "./utils.js";
17
17
  async function getSetup(common) {
18
18
  const setup = await common.setup();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@libp2p/interface-compliance-tests",
3
- "version": "7.0.22-ed1ad1f26",
3
+ "version": "7.0.23-29797a5bb",
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",
@@ -86,25 +86,25 @@
86
86
  "test:electron-main": "aegir test -t electron-main"
87
87
  },
88
88
  "dependencies": {
89
- "@libp2p/crypto": "5.1.18-ed1ad1f26",
90
- "@libp2p/echo": "3.1.5-ed1ad1f26",
91
- "@libp2p/interface": "3.2.2-ed1ad1f26",
92
- "@libp2p/interface-internal": "3.1.5-ed1ad1f26",
93
- "@libp2p/logger": "6.2.7-ed1ad1f26",
94
- "@libp2p/memory": "2.0.20-ed1ad1f26",
95
- "@libp2p/peer-id": "6.0.9-ed1ad1f26",
96
- "@libp2p/plaintext": "3.0.20-ed1ad1f26",
97
- "@libp2p/utils": "7.2.1-ed1ad1f26",
89
+ "@libp2p/crypto": "5.1.18-29797a5bb",
90
+ "@libp2p/echo": "3.1.5-29797a5bb",
91
+ "@libp2p/interface": "3.2.2-29797a5bb",
92
+ "@libp2p/interface-internal": "3.1.5-29797a5bb",
93
+ "@libp2p/logger": "6.2.7-29797a5bb",
94
+ "@libp2p/memory": "2.0.20-29797a5bb",
95
+ "@libp2p/peer-id": "6.0.9-29797a5bb",
96
+ "@libp2p/plaintext": "3.0.20-29797a5bb",
97
+ "@libp2p/utils": "7.2.1-29797a5bb",
98
98
  "@multiformats/multiaddr": "^13.0.1",
99
99
  "@multiformats/multiaddr-matcher": "^3.0.1",
100
- "aegir": "^47.0.22",
100
+ "aegir": "^48.0.11",
101
101
  "delay": "^7.0.0",
102
102
  "it-all": "^3.0.9",
103
103
  "it-drain": "^3.0.10",
104
104
  "it-map": "^3.1.4",
105
105
  "it-pushable": "^3.2.3",
106
106
  "it-to-buffer": "^4.0.10",
107
- "libp2p": "3.3.1-ed1ad1f26",
107
+ "libp2p": "3.3.2-29797a5bb",
108
108
  "p-defer": "^4.0.1",
109
109
  "p-event": "^7.0.0",
110
110
  "p-retry": "^8.0.0",
@@ -113,7 +113,7 @@
113
113
  "race-signal": "^2.0.0",
114
114
  "sinon": "^21.0.0",
115
115
  "uint8arraylist": "^2.4.8",
116
- "uint8arrays": "^5.1.0"
116
+ "uint8arrays": "^6.1.1"
117
117
  },
118
118
  "devDependencies": {
119
119
  "protons": "^8.1.1"
@@ -6,7 +6,7 @@ import all from 'it-all'
6
6
  import toBuffer from 'it-to-buffer'
7
7
  import { pEvent } from 'p-event'
8
8
  import { fromString as uint8ArrayFromString } from 'uint8arrays/from-string'
9
- import type { TestSetup } from '../index.js'
9
+ import type { TestSetup } from '../index.ts'
10
10
  import type { ConnectionEncrypter, PeerId, PrivateKey } from '@libp2p/interface'
11
11
 
12
12
  export interface ConnectionEncrypterSetupArgs {
@@ -3,7 +3,7 @@ import { isMultiaddr } from '@multiformats/multiaddr'
3
3
  import { expect } from 'aegir/chai'
4
4
  import delay from 'delay'
5
5
  import pDefer from 'p-defer'
6
- import type { TestSetup } from '../index.js'
6
+ import type { TestSetup } from '../index.ts'
7
7
  import type { PeerDiscovery } from '@libp2p/interface'
8
8
 
9
9
  export default (common: TestSetup<PeerDiscovery>): void => {
@@ -2,7 +2,7 @@ import { multiaddrConnectionPair, byteStream } from '@libp2p/utils'
2
2
  import { expect } from 'aegir/chai'
3
3
  import { pEvent } from 'p-event'
4
4
  import { fromString as uint8ArrayFromString } from 'uint8arrays/from-string'
5
- import type { TestSetup } from '../index.js'
5
+ import type { TestSetup } from '../index.ts'
6
6
  import type { Stream, StreamMuxer, StreamMuxerFactory } from '@libp2p/interface'
7
7
 
8
8
  export default (common: TestSetup<StreamMuxerFactory>): void => {
@@ -8,7 +8,7 @@ import { pEvent } from 'p-event'
8
8
  import { Uint8ArrayList } from 'uint8arraylist'
9
9
  import { fromString as uint8ArrayFromString } from 'uint8arrays/from-string'
10
10
  import { Message } from './fixtures/pb/message.ts'
11
- import type { TestSetup } from '../index.js'
11
+ import type { TestSetup } from '../index.ts'
12
12
  import type { MultiaddrConnection, Stream, StreamCloseEvent, StreamMuxer, StreamMuxerFactory } from '@libp2p/interface'
13
13
 
14
14
  function randomBuffer (): Uint8Array {
@@ -2,7 +2,7 @@ import baseTest from './base-test.ts'
2
2
  import closeTest from './close-test.ts'
3
3
  import steamTest from './stream-test.ts'
4
4
  import stressTest from './stress-test.ts'
5
- import type { TestSetup } from '../index.js'
5
+ import type { TestSetup } from '../index.ts'
6
6
  import type { StreamMuxerFactory } from '@libp2p/interface'
7
7
 
8
8
  export default (common: TestSetup<StreamMuxerFactory>): void => {
@@ -3,7 +3,7 @@ import { expect } from 'aegir/chai'
3
3
  import { pEvent } from 'p-event'
4
4
  import { fromString as uint8ArrayFromString } from 'uint8arrays/from-string'
5
5
  import { toString as uint8ArrayToString } from 'uint8arrays/to-string'
6
- import type { TestSetup } from '../index.js'
6
+ import type { TestSetup } from '../index.ts'
7
7
  import type { StreamMuxerFactory, StreamMuxer, MultiaddrConnection } from '@libp2p/interface'
8
8
 
9
9
  async function * messages (nMsg: number): AsyncGenerator<Uint8Array> {
@@ -12,9 +12,9 @@ import pWaitFor from 'p-wait-for'
12
12
  import { raceSignal } from 'race-signal'
13
13
  import { Uint8ArrayList } from 'uint8arraylist'
14
14
  import { concat as uint8ArrayConcat } from 'uint8arrays'
15
- import { isValidTick } from '../is-valid-tick.js'
15
+ import { isValidTick } from '../is-valid-tick.ts'
16
16
  import { createPeer, getTransportManager, getUpgrader } from './utils.ts'
17
- import type { TestSetup } from '../index.js'
17
+ import type { TestSetup } from '../index.ts'
18
18
  import type { Echo } from '@libp2p/echo'
19
19
  import type { Connection, Libp2p, Stream, StreamHandler } from '@libp2p/interface'
20
20
  import type { Multiaddr } from '@multiformats/multiaddr'