wire-mesh-core 1.45.2 → 1.47.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 (93) hide show
  1. package/dist/adapters/frame-codec.d.cts +1 -1
  2. package/dist/adapters/frame-codec.d.mts +1 -1
  3. package/dist/adapters/node-fs-storage.cjs +3 -24
  4. package/dist/adapters/node-identity.d.cts +2 -2
  5. package/dist/adapters/node-identity.d.mts +2 -2
  6. package/dist/adapters/tcp-transport.d.cts +1 -1
  7. package/dist/adapters/tcp-transport.d.mts +1 -1
  8. package/dist/adapters/threshold-identity.cjs +42 -0
  9. package/dist/adapters/threshold-identity.d.cts +33 -0
  10. package/dist/adapters/threshold-identity.d.mts +33 -0
  11. package/dist/adapters/threshold-identity.mjs +41 -0
  12. package/dist/adapters/threshold-wasm.cjs +139 -0
  13. package/dist/adapters/threshold-wasm.d.cts +63 -0
  14. package/dist/adapters/threshold-wasm.d.mts +63 -0
  15. package/dist/adapters/threshold-wasm.mjs +123 -0
  16. package/dist/adapters/tls-transport.d.cts +1 -1
  17. package/dist/adapters/tls-transport.d.mts +1 -1
  18. package/dist/domain/bulk.cjs +26 -0
  19. package/dist/domain/bulk.d.cts +10 -2
  20. package/dist/domain/bulk.d.mts +10 -2
  21. package/dist/domain/bulk.mjs +26 -1
  22. package/dist/domain/capability-grant.cjs +1 -1
  23. package/dist/domain/capability-grant.d.cts +3 -3
  24. package/dist/domain/capability-grant.d.mts +3 -3
  25. package/dist/domain/capability-grant.mjs +1 -1
  26. package/dist/domain/capability-request.cjs +1 -1
  27. package/dist/domain/capability-request.d.cts +2 -2
  28. package/dist/domain/capability-request.d.mts +2 -2
  29. package/dist/domain/capability-request.mjs +1 -1
  30. package/dist/domain/data-sync.d.cts +2 -2
  31. package/dist/domain/data-sync.d.mts +2 -2
  32. package/dist/domain/device-id.d.cts +1 -1
  33. package/dist/domain/device-id.d.mts +1 -1
  34. package/dist/domain/grant-candidates.d.cts +1 -1
  35. package/dist/domain/grant-candidates.d.mts +1 -1
  36. package/dist/domain/handshake.d.cts +1 -1
  37. package/dist/domain/handshake.d.mts +1 -1
  38. package/dist/domain/mesh-session.d.cts +3 -3
  39. package/dist/domain/mesh-session.d.mts +3 -3
  40. package/dist/domain/notice-board.d.cts +3 -3
  41. package/dist/domain/notice-board.d.mts +3 -3
  42. package/dist/domain/relay-hub.d.cts +2 -2
  43. package/dist/domain/relay-hub.d.mts +2 -2
  44. package/dist/domain/relay-use-gate.d.cts +2 -2
  45. package/dist/domain/relay-use-gate.d.mts +2 -2
  46. package/dist/domain/revocation-view.cjs +1 -1
  47. package/dist/domain/revocation-view.d.cts +2 -2
  48. package/dist/domain/revocation-view.d.mts +2 -2
  49. package/dist/domain/revocation-view.mjs +1 -1
  50. package/dist/domain/room-rekey.d.cts +3 -3
  51. package/dist/domain/room-rekey.d.mts +3 -3
  52. package/dist/domain/room-token-verification.cjs +1 -1
  53. package/dist/domain/room-token-verification.d.cts +1 -1
  54. package/dist/domain/room-token-verification.d.mts +1 -1
  55. package/dist/domain/room-token-verification.mjs +1 -1
  56. package/dist/domain/room.d.cts +4 -4
  57. package/dist/domain/room.d.mts +4 -4
  58. package/dist/domain/shard-manifest.d.cts +1 -1
  59. package/dist/domain/shard-manifest.d.mts +1 -1
  60. package/dist/domain/threshold-subject.cjs +35 -0
  61. package/dist/domain/threshold-subject.d.cts +33 -0
  62. package/dist/domain/threshold-subject.d.mts +33 -0
  63. package/dist/domain/threshold-subject.mjs +32 -0
  64. package/dist/domain/tokens.cjs +2 -1
  65. package/dist/domain/tokens.d.cts +2 -2
  66. package/dist/domain/tokens.d.mts +2 -2
  67. package/dist/domain/tokens.mjs +2 -2
  68. package/dist/domain/webrtc-signaling.cjs +107 -0
  69. package/dist/domain/webrtc-signaling.d.cts +38 -0
  70. package/dist/domain/webrtc-signaling.d.mts +38 -0
  71. package/dist/domain/webrtc-signaling.mjs +93 -0
  72. package/dist/generated/protocol.cjs +97 -1
  73. package/dist/generated/protocol.d.cts +2 -2
  74. package/dist/generated/protocol.d.mts +2 -2
  75. package/dist/generated/protocol.mjs +85 -2
  76. package/dist/{identity-B4XBWkqg.d.cts → identity-9TmmK7vP.d.mts} +1 -1
  77. package/dist/{identity-CIb9dGkJ.d.mts → identity-CUkDHCRK.d.cts} +1 -1
  78. package/dist/ports/identity.d.cts +1 -1
  79. package/dist/ports/identity.d.mts +1 -1
  80. package/dist/ports/transport.d.cts +1 -1
  81. package/dist/ports/transport.d.mts +1 -1
  82. package/dist/{protocol-gbXtNeOc.d.cts → protocol-CNFRVx9w.d.cts} +333 -1
  83. package/dist/{protocol-gbXtNeOc.d.mts → protocol-CNFRVx9w.d.mts} +333 -1
  84. package/dist/rolldown-runtime-VH7oDXx4.cjs +28 -0
  85. package/dist/{room-token-verification-BggPfYr8.d.mts → room-token-verification-BdtM1rQ4.d.mts} +2 -2
  86. package/dist/{room-token-verification-CkQV0Iq7.d.cts → room-token-verification-DpOfZOdl.d.cts} +2 -2
  87. package/dist/{tokens-CdQwzCyJ.mjs → tokens-B0dpTLhS.mjs} +2 -2
  88. package/dist/{tokens-k172l0Iy.d.mts → tokens-CVyPoJ6l.d.mts} +5 -3
  89. package/dist/{tokens-C9Kwy0Gk.d.cts → tokens-Cl8sQo7o.d.cts} +5 -3
  90. package/dist/{tokens-DxGVURpB.cjs → tokens-Dh6mG6p_.cjs} +7 -1
  91. package/dist/{transport-DAsFqDDS.d.cts → transport-C7KVkhgb.d.mts} +1 -1
  92. package/dist/{transport-Dy4h2eNY.d.mts → transport-De0zHlaA.d.cts} +1 -1
  93. package/package.json +50 -34
package/package.json CHANGED
@@ -1,36 +1,6 @@
1
1
  {
2
2
  "name": "wire-mesh-core",
3
- "version": "1.45.2",
4
- "type": "module",
5
- "packageManager": "pnpm@12.4.1+sha512.2e81e399d73fe8390dab25e06aa788ab7a5908248d2f5a370f82b481147a6a7a367bf8048f9a6fdb6460f21a66f0542dedb8b94ca2c8723596741920b1656d4c",
6
- "repository": {
7
- "type": "git",
8
- "url": "https://github.com/ExaDev/wire-mesh.git",
9
- "directory": "ts/packages/core"
10
- },
11
- "publishConfig": {
12
- "provenance": true,
13
- "access": "public"
14
- },
15
- "files": [
16
- "dist"
17
- ],
18
- "scripts": {
19
- "build": "turbo run _build",
20
- "_build": "tsdown",
21
- "generate": "turbo run _generate",
22
- "_generate": "node generate.ts",
23
- "test": "turbo run _test",
24
- "_test": "vitest run",
25
- "typecheck": "turbo run _typecheck",
26
- "_typecheck": "tsc -p tsconfig.json --noEmit && tsc -p tsconfig.node.json --noEmit",
27
- "lint": "turbo run _lint",
28
- "_lint": "eslint . --fix --cache --max-warnings 0",
29
- "conformance-check": "turbo run _conformance-check",
30
- "_conformance-check": "vitest run test/conformance.test.ts",
31
- "mutation": "turbo run _mutation",
32
- "_mutation": "stryker run stryker.config.ts"
33
- },
3
+ "version": "1.47.0",
34
4
  "dependencies": {
35
5
  "cbor2": "2.3.0",
36
6
  "cddl.js": "1.0.1",
@@ -39,7 +9,7 @@
39
9
  },
40
10
  "devDependencies": {
41
11
  "@arethetypeswrong/cli": "0.18.5",
42
- "@exadev/eslint-config": "2.12.1",
12
+ "@exadev/eslint-config": "2.18.0",
43
13
  "@semantic-release/commit-analyzer": "13.0.1",
44
14
  "@semantic-release/github": "12.0.9",
45
15
  "@semantic-release/npm": "13.1.5",
@@ -48,7 +18,6 @@
48
18
  "@stryker-mutator/core": "10.0.0",
49
19
  "@stryker-mutator/typescript-checker": "10.0.0",
50
20
  "@types/node": "26.4.1",
51
- "conventional-changelog-conventionalcommits": "10.4.0",
52
21
  "eslint": "10.10.0",
53
22
  "eslint-config-prettier": "10.1.8",
54
23
  "eslint-plugin-prettier": "5.5.6",
@@ -86,6 +55,14 @@
86
55
  "import": "./dist/adapters/tcp-transport.mjs",
87
56
  "require": "./dist/adapters/tcp-transport.cjs"
88
57
  },
58
+ "./adapters/threshold-identity": {
59
+ "import": "./dist/adapters/threshold-identity.mjs",
60
+ "require": "./dist/adapters/threshold-identity.cjs"
61
+ },
62
+ "./adapters/threshold-wasm": {
63
+ "import": "./dist/adapters/threshold-wasm.mjs",
64
+ "require": "./dist/adapters/threshold-wasm.cjs"
65
+ },
89
66
  "./adapters/tls-transport": {
90
67
  "import": "./dist/adapters/tls-transport.mjs",
91
68
  "require": "./dist/adapters/tls-transport.cjs"
@@ -166,10 +143,18 @@
166
143
  "import": "./dist/domain/shard-manifest.mjs",
167
144
  "require": "./dist/domain/shard-manifest.cjs"
168
145
  },
146
+ "./domain/threshold-subject": {
147
+ "import": "./dist/domain/threshold-subject.mjs",
148
+ "require": "./dist/domain/threshold-subject.cjs"
149
+ },
169
150
  "./domain/tokens": {
170
151
  "import": "./dist/domain/tokens.mjs",
171
152
  "require": "./dist/domain/tokens.cjs"
172
153
  },
154
+ "./domain/webrtc-signaling": {
155
+ "import": "./dist/domain/webrtc-signaling.mjs",
156
+ "require": "./dist/domain/webrtc-signaling.cjs"
157
+ },
173
158
  "./generated/protocol": {
174
159
  "import": "./dist/generated/protocol.mjs",
175
160
  "require": "./dist/generated/protocol.cjs"
@@ -195,5 +180,36 @@
195
180
  "require": "./dist/ports/transport.cjs"
196
181
  },
197
182
  "./package.json": "./package.json"
198
- }
183
+ },
184
+ "files": [
185
+ "dist",
186
+ "wasm-dist"
187
+ ],
188
+ "packageManager": "pnpm@12.4.1+sha512.2e81e399d73fe8390dab25e06aa788ab7a5908248d2f5a370f82b481147a6a7a367bf8048f9a6fdb6460f21a66f0542dedb8b94ca2c8723596741920b1656d4c",
189
+ "publishConfig": {
190
+ "provenance": true,
191
+ "access": "public"
192
+ },
193
+ "repository": {
194
+ "type": "git",
195
+ "url": "https://github.com/ExaDev/wire-mesh.git",
196
+ "directory": "ts/packages/core"
197
+ },
198
+ "scripts": {
199
+ "_build": "tsdown",
200
+ "_conformance-check": "vitest run test/conformance.unit.test.ts",
201
+ "_generate": "node generate.ts",
202
+ "_lint": "eslint . --fix --cache --max-warnings 0",
203
+ "_mutation": "stryker run stryker.config.ts",
204
+ "_test": "vitest run",
205
+ "_typecheck": "tsc -p tsconfig.json --noEmit && tsc -p tsconfig.node.json --noEmit",
206
+ "build": "turbo run _build",
207
+ "conformance-check": "turbo run _conformance-check",
208
+ "generate": "turbo run _generate",
209
+ "lint": "turbo run _lint",
210
+ "mutation": "turbo run _mutation",
211
+ "test": "turbo run _test",
212
+ "typecheck": "turbo run _typecheck"
213
+ },
214
+ "type": "module"
199
215
  }