@libp2p/webrtc 4.0.22-bf720c045 → 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/src/index.d.ts +1 -1
- package/dist/src/index.js +1 -1
- package/dist/typedoc-urls.json +8 -0
- package/package.json +11 -11
- package/src/index.ts +1 -1
package/README.md
CHANGED
|
@@ -134,7 +134,7 @@ while (true) {
|
|
|
134
134
|
await delay(1000)
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
-
// the
|
|
137
|
+
// the dialer has Circuit Relay, WebSocket and WebRTC transports to dial
|
|
138
138
|
// the listener via the relay, complete the SDP handshake and establish a
|
|
139
139
|
// direct WebRTC connection
|
|
140
140
|
const dialer = await createLibp2p({
|
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({
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
{
|
|
2
|
+
"DataChannelOptions": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_webrtc.DataChannelOptions.html",
|
|
3
|
+
".:DataChannelOptions": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_webrtc.DataChannelOptions.html",
|
|
4
|
+
"webRTC": "https://libp2p.github.io/js-libp2p/functions/_libp2p_webrtc.webRTC.html",
|
|
5
|
+
".:webRTC": "https://libp2p.github.io/js-libp2p/functions/_libp2p_webrtc.webRTC.html",
|
|
6
|
+
"webRTCDirect": "https://libp2p.github.io/js-libp2p/functions/_libp2p_webrtc.webRTCDirect.html",
|
|
7
|
+
".:webRTCDirect": "https://libp2p.github.io/js-libp2p/functions/_libp2p_webrtc.webRTCDirect.html"
|
|
8
|
+
}
|
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",
|
|
@@ -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",
|
|
@@ -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({
|