@kubun/plugin-p2p 0.15.0 → 0.16.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.
Files changed (35) hide show
  1. package/lib/groups/did-cache-seed.d.ts +26 -0
  2. package/lib/groups/did-cache-seed.js +38 -0
  3. package/lib/groups/group-crypto.d.ts +8 -9
  4. package/lib/groups/group-crypto.js +51 -55
  5. package/lib/groups/group-handlers.d.ts +50 -14
  6. package/lib/groups/group-handlers.js +190 -24
  7. package/lib/groups/group-peer-manager.d.ts +52 -12
  8. package/lib/groups/group-peer-manager.js +215 -58
  9. package/lib/groups/group-protocols.d.ts +407 -0
  10. package/lib/groups/group-protocols.js +279 -11
  11. package/lib/groups/mls-codec.d.ts +19 -13
  12. package/lib/groups/mls-codec.js +28 -15
  13. package/lib/groups/peer-presence.d.ts +6 -0
  14. package/lib/groups/peer-presence.js +5 -0
  15. package/lib/hub/http-client.js +6 -1
  16. package/lib/hub/hub-like.js +5 -2
  17. package/lib/hub/loopback-log-hub.js +4 -1
  18. package/lib/hub/peer-scoped-hub-view.d.ts +6 -0
  19. package/lib/hub/peer-scoped-hub-view.js +11 -1
  20. package/lib/hub/wiring.d.ts +36 -7
  21. package/lib/hub/wiring.js +18 -0
  22. package/lib/index.js +95 -20
  23. package/lib/sync/hub-tunnel-service-listener.d.ts +9 -0
  24. package/lib/sync/hub-tunnel-service-listener.js +6 -1
  25. package/lib/sync/hub-tunnel-sync-listener.d.ts +8 -1
  26. package/lib/sync/hub-tunnel-sync-listener.js +6 -1
  27. package/lib/sync/service-tunnel-listeners.d.ts +7 -1
  28. package/lib/sync/service-tunnel-listeners.js +18 -0
  29. package/lib/sync/sync-manager.d.ts +1 -5
  30. package/lib/sync/sync-manager.js +0 -5
  31. package/lib/sync/tunnel-listeners.d.ts +7 -1
  32. package/lib/sync/tunnel-listeners.js +18 -0
  33. package/lib/types.d.ts +15 -1
  34. package/lib/types.js +4 -0
  35. package/package.json +48 -47
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kubun/plugin-p2p",
3
- "version": "0.15.0",
3
+ "version": "0.16.0",
4
4
  "license": "see LICENSE.md",
5
5
  "sideEffects": false,
6
6
  "type": "module",
@@ -14,44 +14,45 @@
14
14
  "LICENSE.md"
15
15
  ],
16
16
  "dependencies": {
17
- "@enkaku/client": "^0.21.1",
17
+ "@enkaku/client": "^0.21.2",
18
18
  "@enkaku/http-fetch": "^0.21.0",
19
19
  "@enkaku/http-serve": "^0.21.0",
20
- "@enkaku/protocol": "^0.21.0",
20
+ "@enkaku/protocol": "^0.21.1",
21
21
  "@enkaku/server": "^0.21.2",
22
22
  "@enkaku/transport": "^0.21.0",
23
23
  "@kokuin/capability": "^0.3.0",
24
24
  "@kokuin/controller": "^0.1.0",
25
25
  "@kokuin/token": "^0.5.0",
26
- "@kubun/credential": "^0.15.0",
27
- "@kubun/db": "^0.15.0",
28
- "@kubun/db-adapter": "^0.15.0",
29
- "@kubun/engine": "^0.15.0",
30
- "@kubun/graphql": "^0.15.0",
31
- "@kubun/hlc": "^0.15.0",
32
- "@kubun/http-util": "^0.15.0",
33
- "@kubun/id": "^0.15.0",
34
- "@kubun/logger": "^0.15.0",
35
- "@kubun/mutation": "^0.15.0",
36
- "@kubun/plugin-blob-api": "^0.15.0",
37
- "@kubun/plugin-http": "^0.15.0",
38
- "@kubun/plugin-http-api": "^0.15.0",
39
- "@kubun/plugin-service-api": "^0.15.0",
40
- "@kubun/plugin-workflow-api": "^0.15.0",
41
- "@kubun/protocol": "^0.15.0",
42
- "@kubun/store-blob": "^0.15.0",
43
- "@kubun/store-controller": "^0.15.0",
44
- "@kubun/store-credential": "^0.15.0",
45
- "@kubun/store-delegation": "^0.15.0",
46
- "@kubun/store-graph": "^0.15.0",
47
- "@kubun/store-p2p": "^0.15.0",
48
- "@kumiai/broadcast": "^0.8.0",
49
- "@kumiai/hub-protocol": "^0.8.0",
50
- "@kumiai/hub-server": "^0.8.0",
51
- "@kumiai/hub-tunnel": "^0.8.0",
52
- "@kumiai/mls": "^0.8.0",
53
- "@kumiai/mls-rpc": "^0.8.0",
54
- "@kumiai/rpc": "^0.8.0",
26
+ "@kubun/credential": "^0.16.0",
27
+ "@kubun/db": "^0.16.0",
28
+ "@kubun/db-adapter": "^0.16.0",
29
+ "@kubun/engine": "^0.16.0",
30
+ "@kubun/graphql": "^0.16.0",
31
+ "@kubun/hlc": "^0.16.0",
32
+ "@kubun/http-util": "^0.16.0",
33
+ "@kubun/id": "^0.16.0",
34
+ "@kubun/logger": "^0.16.0",
35
+ "@kubun/mutation": "^0.16.0",
36
+ "@kubun/plugin-blob-api": "^0.16.0",
37
+ "@kubun/plugin-http": "^0.16.0",
38
+ "@kubun/plugin-http-api": "^0.16.0",
39
+ "@kubun/plugin-p2p-api": "^0.16.0",
40
+ "@kubun/plugin-service-api": "^0.16.0",
41
+ "@kubun/plugin-workflow-api": "^0.16.0",
42
+ "@kubun/protocol": "^0.16.0",
43
+ "@kubun/store-blob": "^0.16.0",
44
+ "@kubun/store-controller": "^0.16.0",
45
+ "@kubun/store-credential": "^0.16.0",
46
+ "@kubun/store-delegation": "^0.16.0",
47
+ "@kubun/store-graph": "^0.16.0",
48
+ "@kubun/store-p2p": "^0.16.0",
49
+ "@kumiai/broadcast": "^0.9.0",
50
+ "@kumiai/hub-protocol": "^0.9.0",
51
+ "@kumiai/hub-server": "^0.9.0",
52
+ "@kumiai/hub-tunnel": "^0.9.0",
53
+ "@kumiai/mls": "^0.9.0",
54
+ "@kumiai/mls-rpc": "^0.9.0",
55
+ "@kumiai/rpc": "^0.9.0",
55
56
  "@noble/ciphers": "^2.4.0",
56
57
  "@noble/hashes": "^2.4.0",
57
58
  "@sozai/async": "^0.2.1",
@@ -66,21 +67,21 @@
66
67
  "ts-mls": "2.0.0-rc.13"
67
68
  },
68
69
  "devDependencies": {
69
- "@kubun/blob-backend": "^0.15.0",
70
- "@kubun/client": "^0.15.0",
71
- "@kubun/db-better-sqlite": "^0.15.0",
72
- "@kubun/db-node-sqlite": "^0.15.0",
73
- "@kubun/db-postgres": "^0.15.0",
74
- "@kubun/hub": "^0.15.0",
75
- "@kubun/plugin-blob": "^0.15.0",
76
- "@kubun/plugin-connector": "^0.15.0",
77
- "@kubun/plugin-service-server": "^0.15.0",
78
- "@kubun/plugin-workflow": "^0.15.0",
79
- "@kubun/service-graph-api": "^0.15.0",
80
- "@kubun/store-workflow": "^0.15.0",
81
- "@kubun/test-utils": "^0.13.0",
82
- "@kumiai/hub-conformance": "^0.8.0",
83
- "@kumiai/rpc-conformance": "^0.8.0",
70
+ "@kubun/blob-backend": "^0.16.0",
71
+ "@kubun/client": "^0.16.0",
72
+ "@kubun/db-better-sqlite": "^0.16.0",
73
+ "@kubun/db-node-sqlite": "^0.16.0",
74
+ "@kubun/db-postgres": "^0.16.0",
75
+ "@kubun/hub": "^0.16.0",
76
+ "@kubun/plugin-blob": "^0.16.0",
77
+ "@kubun/plugin-connector": "^0.16.0",
78
+ "@kubun/plugin-service-server": "^0.16.0",
79
+ "@kubun/plugin-workflow": "^0.16.0",
80
+ "@kubun/service-graph-api": "^0.16.0",
81
+ "@kubun/store-workflow": "^0.16.0",
82
+ "@kubun/test-utils": "^0.0.0",
83
+ "@kumiai/hub-conformance": "^0.9.0",
84
+ "@kumiai/rpc-conformance": "^0.9.0",
84
85
  "@testcontainers/postgresql": "^12.1.0",
85
86
  "get-port": "^7.2.0"
86
87
  },