@libp2p/webrtc 4.0.22 → 4.0.23
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 +1 -1
- package/dist/index.min.js +6 -6
- package/dist/src/index.d.ts +1 -1
- package/dist/src/index.js +1 -1
- package/package.json +14 -14
- package/src/index.ts +1 -1
package/dist/src/index.d.ts
CHANGED
|
@@ -111,7 +111,7 @@
|
|
|
111
111
|
* await delay(1000)
|
|
112
112
|
* }
|
|
113
113
|
*
|
|
114
|
-
* // the
|
|
114
|
+
* // the dialer has Circuit Relay, WebSocket and WebRTC transports to dial
|
|
115
115
|
* // the listener via the relay, complete the SDP handshake and establish a
|
|
116
116
|
* // direct WebRTC connection
|
|
117
117
|
* const dialer = await createLibp2p({
|
package/dist/src/index.js
CHANGED
|
@@ -111,7 +111,7 @@
|
|
|
111
111
|
* await delay(1000)
|
|
112
112
|
* }
|
|
113
113
|
*
|
|
114
|
-
* // the
|
|
114
|
+
* // the dialer has Circuit Relay, WebSocket and WebRTC transports to dial
|
|
115
115
|
* // the listener via the relay, complete the SDP handshake and establish a
|
|
116
116
|
* // direct WebRTC connection
|
|
117
117
|
* const dialer = await createLibp2p({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@libp2p/webrtc",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.23",
|
|
4
4
|
"description": "A libp2p transport using WebRTC connections",
|
|
5
5
|
"license": "Apache-2.0 OR MIT",
|
|
6
6
|
"homepage": "https://github.com/libp2p/js-libp2p/tree/main/packages/transport-webrtc#readme",
|
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
"scripts": {
|
|
40
40
|
"generate": "protons src/private-to-private/pb/message.proto src/pb/message.proto",
|
|
41
41
|
"build": "aegir build",
|
|
42
|
-
"test": "aegir test -t node -t browser
|
|
43
|
-
"test:node": "aegir test -t node --cov
|
|
42
|
+
"test": "aegir test -t node -t browser",
|
|
43
|
+
"test:node": "aegir test -t node --cov",
|
|
44
44
|
"test:chrome": "aegir test -t browser --cov",
|
|
45
45
|
"test:firefox": "aegir test -t browser -- --browser firefox",
|
|
46
46
|
"lint": "aegir lint",
|
|
@@ -51,10 +51,10 @@
|
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
53
|
"@chainsafe/libp2p-noise": "^15.0.0",
|
|
54
|
-
"@libp2p/interface": "^1.1.
|
|
55
|
-
"@libp2p/interface-internal": "^1.0.
|
|
56
|
-
"@libp2p/peer-id": "^4.0.
|
|
57
|
-
"@libp2p/utils": "^5.2.
|
|
54
|
+
"@libp2p/interface": "^1.1.5",
|
|
55
|
+
"@libp2p/interface-internal": "^1.0.10",
|
|
56
|
+
"@libp2p/peer-id": "^4.0.8",
|
|
57
|
+
"@libp2p/utils": "^5.2.7",
|
|
58
58
|
"@multiformats/mafmt": "^12.1.6",
|
|
59
59
|
"@multiformats/multiaddr": "^12.1.14",
|
|
60
60
|
"@multiformats/multiaddr-matcher": "^1.1.2",
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"it-stream-types": "^2.0.1",
|
|
66
66
|
"multiformats": "^13.1.0",
|
|
67
67
|
"multihashes": "^4.0.3",
|
|
68
|
-
"node-datachannel": "^0.5.
|
|
68
|
+
"node-datachannel": "^0.5.5",
|
|
69
69
|
"p-defer": "^4.0.0",
|
|
70
70
|
"p-event": "^6.0.0",
|
|
71
71
|
"p-timeout": "^6.1.2",
|
|
@@ -77,11 +77,11 @@
|
|
|
77
77
|
},
|
|
78
78
|
"devDependencies": {
|
|
79
79
|
"@chainsafe/libp2p-yamux": "^6.0.2",
|
|
80
|
-
"@libp2p/circuit-relay-v2": "^1.0.
|
|
81
|
-
"@libp2p/interface-compliance-tests": "^5.3.
|
|
82
|
-
"@libp2p/logger": "^4.0.
|
|
83
|
-
"@libp2p/peer-id-factory": "^4.0.
|
|
84
|
-
"@libp2p/websockets": "^8.0.
|
|
80
|
+
"@libp2p/circuit-relay-v2": "^1.0.17",
|
|
81
|
+
"@libp2p/interface-compliance-tests": "^5.3.3",
|
|
82
|
+
"@libp2p/logger": "^4.0.8",
|
|
83
|
+
"@libp2p/peer-id-factory": "^4.0.8",
|
|
84
|
+
"@libp2p/websockets": "^8.0.17",
|
|
85
85
|
"@types/sinon": "^17.0.3",
|
|
86
86
|
"aegir": "^42.2.4",
|
|
87
87
|
"delay": "^6.0.0",
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
"it-pair": "^2.0.6",
|
|
92
92
|
"it-pipe": "^3.0.1",
|
|
93
93
|
"it-to-buffer": "^4.0.5",
|
|
94
|
-
"libp2p": "^1.3.
|
|
94
|
+
"libp2p": "^1.3.1",
|
|
95
95
|
"p-retry": "^6.2.0",
|
|
96
96
|
"protons": "^7.5.0",
|
|
97
97
|
"sinon": "^17.0.1",
|
package/src/index.ts
CHANGED
|
@@ -111,7 +111,7 @@
|
|
|
111
111
|
* await delay(1000)
|
|
112
112
|
* }
|
|
113
113
|
*
|
|
114
|
-
* // the
|
|
114
|
+
* // the dialer has Circuit Relay, WebSocket and WebRTC transports to dial
|
|
115
115
|
* // the listener via the relay, complete the SDP handshake and establish a
|
|
116
116
|
* // direct WebRTC connection
|
|
117
117
|
* const dialer = await createLibp2p({
|