@libp2p/webtransport 2.0.2-d853d124 → 2.0.2-daeb43d8
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/dist/index.min.js +10 -10
- package/dist/src/index.d.ts +2 -2
- package/dist/src/index.js +1 -1
- package/package.json +6 -9
- package/src/index.ts +4 -4
package/dist/src/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type Transport } from '@libp2p/interface
|
|
2
|
-
import type { PeerId } from '@libp2p/interface
|
|
1
|
+
import { type Transport } from '@libp2p/interface/transport';
|
|
2
|
+
import type { PeerId } from '@libp2p/interface/peer-id';
|
|
3
3
|
declare global {
|
|
4
4
|
var WebTransport: any;
|
|
5
5
|
}
|
package/dist/src/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { noise } from '@chainsafe/libp2p-noise';
|
|
2
|
-
import { symbol } from '@libp2p/interface
|
|
2
|
+
import { symbol } from '@libp2p/interface/transport';
|
|
3
3
|
import { logger } from '@libp2p/logger';
|
|
4
4
|
import { peerIdFromString } from '@libp2p/peer-id';
|
|
5
5
|
import { protocols } from '@multiformats/multiaddr';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@libp2p/webtransport",
|
|
3
|
-
"version": "2.0.2-
|
|
3
|
+
"version": "2.0.2-daeb43d8",
|
|
4
4
|
"description": "JavaScript implementation of the WebTransport module that libp2p uses and that implements the interface-transport spec",
|
|
5
5
|
"license": "Apache-2.0 OR MIT",
|
|
6
6
|
"homepage": "https://github.com/libp2p/js-libp2p/tree/master/packages/transport-webtransport#readme",
|
|
@@ -65,20 +65,17 @@
|
|
|
65
65
|
},
|
|
66
66
|
"dependencies": {
|
|
67
67
|
"@chainsafe/libp2p-noise": "^12.0.1",
|
|
68
|
-
"@libp2p/interface
|
|
69
|
-
"@libp2p/
|
|
70
|
-
"@libp2p/
|
|
71
|
-
"@libp2p/interface-transport": "4.0.3-d853d124",
|
|
72
|
-
"@libp2p/logger": "2.1.1-d853d124",
|
|
73
|
-
"@libp2p/peer-id": "2.0.3-d853d124",
|
|
68
|
+
"@libp2p/interface": "0.0.1-daeb43d8",
|
|
69
|
+
"@libp2p/logger": "2.1.1-daeb43d8",
|
|
70
|
+
"@libp2p/peer-id": "2.0.3-daeb43d8",
|
|
74
71
|
"@multiformats/multiaddr": "^12.1.3",
|
|
75
72
|
"it-stream-types": "^2.0.1",
|
|
76
|
-
"multiformats": "^
|
|
73
|
+
"multiformats": "^12.0.1",
|
|
77
74
|
"uint8arraylist": "^2.4.3"
|
|
78
75
|
},
|
|
79
76
|
"devDependencies": {
|
|
80
77
|
"aegir": "^39.0.10",
|
|
81
|
-
"libp2p": "0.45.9-
|
|
78
|
+
"libp2p": "0.45.9-daeb43d8",
|
|
82
79
|
"p-defer": "^4.0.0"
|
|
83
80
|
},
|
|
84
81
|
"browser": {
|
package/src/index.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { noise } from '@chainsafe/libp2p-noise'
|
|
2
|
-
import { type Transport, symbol, type CreateListenerOptions, type DialOptions, type Listener } from '@libp2p/interface
|
|
2
|
+
import { type Transport, symbol, type CreateListenerOptions, type DialOptions, type Listener } from '@libp2p/interface/transport'
|
|
3
3
|
import { logger } from '@libp2p/logger'
|
|
4
4
|
import { peerIdFromString } from '@libp2p/peer-id'
|
|
5
5
|
import { type Multiaddr, protocols } from '@multiformats/multiaddr'
|
|
6
6
|
import { bases, digest } from 'multiformats/basics'
|
|
7
7
|
import { Uint8ArrayList } from 'uint8arraylist'
|
|
8
|
-
import type { Connection, Direction, MultiaddrConnection, Stream } from '@libp2p/interface
|
|
9
|
-
import type { PeerId } from '@libp2p/interface
|
|
10
|
-
import type { StreamMuxerFactory, StreamMuxerInit, StreamMuxer } from '@libp2p/interface
|
|
8
|
+
import type { Connection, Direction, MultiaddrConnection, Stream } from '@libp2p/interface/connection'
|
|
9
|
+
import type { PeerId } from '@libp2p/interface/peer-id'
|
|
10
|
+
import type { StreamMuxerFactory, StreamMuxerInit, StreamMuxer } from '@libp2p/interface/stream-muxer'
|
|
11
11
|
import type { Duplex, Source } from 'it-stream-types'
|
|
12
12
|
import type { MultihashDigest } from 'multiformats/hashes/interface'
|
|
13
13
|
|