@ac-kit/net-webrtc 0.0.0 → 0.1.0
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/CHANGELOG.md +35 -0
- package/package.json +11 -11
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# @ac-kit/net-webrtc
|
|
2
|
+
|
|
3
|
+
## 0.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- a484936: `@ac-kit/net-webrtc`: WebRTC data channels for Node.js, interoperable with
|
|
8
|
+
Chromium, Firefox and Safari's WebKit.
|
|
9
|
+
|
|
10
|
+
- `WebRtcPeerConnection`, with browser-shaped descriptions and candidates:
|
|
11
|
+
`setLocalDescription`, `setRemoteDescription`, `addIceCandidate`, trickled
|
|
12
|
+
`candidate` events, connection, ICE, gathering and signalling states,
|
|
13
|
+
`connected()`, and closing through `close()` or an `AbortSignal`.
|
|
14
|
+
- `WebRtcDataChannel`: reliable or partially reliable (`ordered`,
|
|
15
|
+
`maxRetransmits`, `maxPacketLifeTime`), binary and text messages,
|
|
16
|
+
`bufferedAmount` and `bufferedAmountLow` for pacing.
|
|
17
|
+
- Host candidates on every local IPv4 address, server-reflexive ones from
|
|
18
|
+
`stun:` servers, and browsers' `.local` (mDNS) candidates resolved by
|
|
19
|
+
multicast DNS. A `turn:` URL throws `WebRtcTurnUnsupportedError`.
|
|
20
|
+
- `localFingerprints`, `remoteFingerprints` and `parseSdpFingerprints`, to check
|
|
21
|
+
the DTLS certificates against a trusted channel.
|
|
22
|
+
- ICE, DTLS and SCTP run in webrtc-rs's sans-I/O `rtc`, a native binding
|
|
23
|
+
prebuilt per platform (`@ac-kit/net-webrtc-<platform>`, optional
|
|
24
|
+
dependencies); the UDP sockets and the timer are the JavaScript side's.
|
|
25
|
+
|
|
26
|
+
### Patch Changes
|
|
27
|
+
|
|
28
|
+
- Updated dependencies [99ca4b9]
|
|
29
|
+
- Updated dependencies [99ca4b9]
|
|
30
|
+
- Updated dependencies [99ca4b9]
|
|
31
|
+
- Updated dependencies [99ca4b9]
|
|
32
|
+
- @ac-kit/async@0.4.0
|
|
33
|
+
- @ac-kit/core@0.8.0
|
|
34
|
+
- @ac-kit/net-address@0.4.0
|
|
35
|
+
- @ac-kit/node@0.8.0
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ac-kit/net-webrtc",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.1.0",
|
|
4
4
|
"description": "WebRTC data channels for Node.js, interoperable with browsers: peer connections signalled by the caller, reliable and partially reliable channels, over a native sans-I/O binding to webrtc-rs.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"datachannel",
|
|
@@ -49,10 +49,10 @@
|
|
|
49
49
|
"prepack": "yarn build"
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
|
-
"@ac-kit/async": "^0.
|
|
53
|
-
"@ac-kit/core": "^0.
|
|
54
|
-
"@ac-kit/net-address": "^0.
|
|
55
|
-
"@ac-kit/node": "^0.
|
|
52
|
+
"@ac-kit/async": "^0.4.0",
|
|
53
|
+
"@ac-kit/core": "^0.8.0",
|
|
54
|
+
"@ac-kit/net-address": "^0.4.0",
|
|
55
|
+
"@ac-kit/node": "^0.8.0",
|
|
56
56
|
"@types/node": "^26.5.1"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
@@ -60,17 +60,17 @@
|
|
|
60
60
|
"@ac-kit/typedoc-config": "0.1.0",
|
|
61
61
|
"@ac-kit/vitest-config": "0.1.1",
|
|
62
62
|
"@typescript/native": "typescript@7.0.2",
|
|
63
|
-
"playwright-core": "1.
|
|
63
|
+
"playwright-core": "1.65.1",
|
|
64
64
|
"rimraf": "6.1.4",
|
|
65
65
|
"typedoc": "0.28.20",
|
|
66
66
|
"typescript": "@typescript/typescript6@6.0.2"
|
|
67
67
|
},
|
|
68
68
|
"optionalDependencies": {
|
|
69
|
-
"@ac-kit/net-webrtc-darwin-arm64": "0.
|
|
70
|
-
"@ac-kit/net-webrtc-darwin-x64": "0.
|
|
71
|
-
"@ac-kit/net-webrtc-linux-arm64-gnu": "0.
|
|
72
|
-
"@ac-kit/net-webrtc-linux-x64-gnu": "0.
|
|
73
|
-
"@ac-kit/net-webrtc-win32-x64-msvc": "0.
|
|
69
|
+
"@ac-kit/net-webrtc-darwin-arm64": "0.1.0",
|
|
70
|
+
"@ac-kit/net-webrtc-darwin-x64": "0.1.0",
|
|
71
|
+
"@ac-kit/net-webrtc-linux-arm64-gnu": "0.1.0",
|
|
72
|
+
"@ac-kit/net-webrtc-linux-x64-gnu": "0.1.0",
|
|
73
|
+
"@ac-kit/net-webrtc-win32-x64-msvc": "0.1.0"
|
|
74
74
|
},
|
|
75
75
|
"engines": {
|
|
76
76
|
"node": ">=24"
|