@libp2p/webrtc 4.0.9 → 4.0.10-230afea4b

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.
@@ -0,0 +1,2 @@
1
+ export { RTCIceCandidate, RTCPeerConnection, RTCSessionDescription } from 'react-native-webrtc';
2
+ //# sourceMappingURL=index.react-native.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.react-native.d.ts","sourceRoot":"","sources":["../../../src/webrtc/index.react-native.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,eAAe,EACf,iBAAiB,EACjB,qBAAqB,EACtB,MAAM,qBAAqB,CAAA"}
@@ -0,0 +1,2 @@
1
+ export { RTCIceCandidate, RTCPeerConnection, RTCSessionDescription } from 'react-native-webrtc';
2
+ //# sourceMappingURL=index.react-native.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.react-native.js","sourceRoot":"","sources":["../../../src/webrtc/index.react-native.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,eAAe,EACf,iBAAiB,EACjB,qBAAqB,EACtB,MAAM,qBAAqB,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@libp2p/webrtc",
3
- "version": "4.0.9",
3
+ "version": "4.0.10-230afea4b",
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",
@@ -50,11 +50,11 @@
50
50
  },
51
51
  "dependencies": {
52
52
  "@chainsafe/libp2p-noise": "^14.0.0",
53
- "@libp2p/interface": "^1.0.1",
54
- "@libp2p/interface-internal": "^1.0.2",
55
- "@libp2p/logger": "^4.0.1",
56
- "@libp2p/peer-id": "^4.0.1",
57
- "@libp2p/utils": "^5.0.2",
53
+ "@libp2p/interface": "1.0.2-230afea4b",
54
+ "@libp2p/interface-internal": "1.0.3-230afea4b",
55
+ "@libp2p/logger": "4.0.2-230afea4b",
56
+ "@libp2p/peer-id": "4.0.2-230afea4b",
57
+ "@libp2p/utils": "5.0.3-230afea4b",
58
58
  "@multiformats/mafmt": "^12.1.6",
59
59
  "@multiformats/multiaddr": "^12.1.10",
60
60
  "@multiformats/multiaddr-matcher": "^1.1.0",
@@ -73,15 +73,16 @@
73
73
  "p-timeout": "^6.1.2",
74
74
  "protons-runtime": "^5.0.0",
75
75
  "race-signal": "^1.0.0",
76
+ "react-native-webrtc": "^118.0.0",
76
77
  "uint8arraylist": "^2.4.3",
77
- "uint8arrays": "^4.0.6"
78
+ "uint8arrays": "^5.0.0"
78
79
  },
79
80
  "devDependencies": {
80
81
  "@chainsafe/libp2p-yamux": "^6.0.1",
81
- "@libp2p/circuit-relay-v2": "^1.0.6",
82
- "@libp2p/interface-compliance-tests": "^5.0.6",
83
- "@libp2p/peer-id-factory": "^4.0.0",
84
- "@libp2p/websockets": "^8.0.6",
82
+ "@libp2p/circuit-relay-v2": "1.0.7-230afea4b",
83
+ "@libp2p/interface-compliance-tests": "5.0.7-230afea4b",
84
+ "@libp2p/peer-id-factory": "4.0.1-230afea4b",
85
+ "@libp2p/websockets": "8.0.7-230afea4b",
85
86
  "@types/sinon": "^17.0.0",
86
87
  "aegir": "^41.0.2",
87
88
  "delay": "^6.0.0",
@@ -89,7 +90,7 @@
89
90
  "it-length": "^3.0.2",
90
91
  "it-map": "^3.0.3",
91
92
  "it-pair": "^2.0.6",
92
- "libp2p": "^1.0.9",
93
+ "libp2p": "1.0.10-230afea4b",
93
94
  "p-retry": "^6.1.0",
94
95
  "protons": "^7.3.0",
95
96
  "sinon": "^17.0.0",
@@ -97,5 +98,8 @@
97
98
  },
98
99
  "browser": {
99
100
  "./dist/src/webrtc/index.js": "./dist/src/webrtc/index.browser.js"
101
+ },
102
+ "react-native": {
103
+ "./dist/src/webrtc/index.js": "./dist/src/webrtc/index.react-native.js"
100
104
  }
101
105
  }
@@ -0,0 +1,5 @@
1
+ export {
2
+ RTCIceCandidate,
3
+ RTCPeerConnection,
4
+ RTCSessionDescription
5
+ } from 'react-native-webrtc'
@@ -1,8 +0,0 @@
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
- }