@caprid/relay-websocket 0.4.0 → 0.5.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/README.md +2 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -14,7 +14,8 @@ the deviations recorded there, and passes its conformance suite in Node, Chromiu
|
|
|
14
14
|
|
|
15
15
|
## Use
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
Install it next to `@caprid/relay` (`npm install @caprid/relay @caprid/relay-websocket`), and pass one of its
|
|
18
|
+
factories as the SDK's `createTransport`. Build it once and reuse it for every connection.
|
|
18
19
|
|
|
19
20
|
```ts
|
|
20
21
|
import { connectRelaySubscriber } from '@caprid/relay';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@caprid/relay-websocket",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"description": "QMux-over-WebSocket transport adapter for the Relay SDK, for networks and browsers without WebTransport",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@moq/qmux": "0.3.3",
|
|
25
|
-
"@caprid/moq-core": "0.
|
|
25
|
+
"@caprid/moq-core": "0.5.0"
|
|
26
26
|
},
|
|
27
27
|
"engines": {
|
|
28
28
|
"node": ">=24"
|