@noy-db/by-peer 0.7.0 → 0.7.1-pre.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 +9 -0
- package/package.json +4 -5
package/README.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @noy-db/by-peer
|
|
2
2
|
|
|
3
|
+
<!-- prose-preamble
|
|
4
|
+
// Bindings the illustrative blocks below elide. Typed on purpose (#1310).
|
|
5
|
+
import { servePeerStore, peerStore, type PeerChannel } from '@noy-db/by-peer'
|
|
6
|
+
import type { NoydbStore } from '@noy-db/hub'
|
|
7
|
+
declare const channel: PeerChannel
|
|
8
|
+
declare const local: NoydbStore
|
|
9
|
+
declare const inviteToken: string
|
|
10
|
+
-->
|
|
11
|
+
|
|
3
12
|
WebRTC peer-to-peer transport for [noy-db](https://github.com/vLannaAi/noy-db) — no server in the middle.
|
|
4
13
|
|
|
5
14
|
> First member of the `by-*` family of session-share transports. See [`docs/packages/by-transports.md`](https://github.com/vLannaAi/noy-db-docs/blob/main/content/docs/packages/by-transports.md) for the family contract and roster.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@noy-db/by-peer",
|
|
3
|
-
"version": "0.7.0",
|
|
3
|
+
"version": "0.7.1-pre.0",
|
|
4
4
|
"description": "WebRTC peer-to-peer transport for noy-db — direct browser-to-browser channel with signaling-agnostic handshake",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "vLannaAi <vicio@lanna.ai>",
|
|
@@ -32,12 +32,11 @@
|
|
|
32
32
|
"node": ">=22.0.0"
|
|
33
33
|
},
|
|
34
34
|
"peerDependencies": {
|
|
35
|
-
"@noy-db/hub": "^0.7.0"
|
|
35
|
+
"@noy-db/hub": "^0.7.1-pre.0"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@noy-db/
|
|
39
|
-
"@noy-db/
|
|
40
|
-
"@noy-db/hub": "0.7.0"
|
|
38
|
+
"@noy-db/hub": "0.7.1-pre.0",
|
|
39
|
+
"@noy-db/test-mesh-conformance": "0.7.1-pre.0"
|
|
41
40
|
},
|
|
42
41
|
"keywords": [
|
|
43
42
|
"noy-db",
|