@bowl42/keywire 0.0.0-stage → 0.3.1

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 (384) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +118 -2
  3. package/dist/app.d.ts +2 -0
  4. package/dist/app.js +13 -0
  5. package/dist/app.js.map +1 -0
  6. package/dist/bytes.d.ts +1 -0
  7. package/dist/bytes.js +7 -0
  8. package/dist/bytes.js.map +1 -0
  9. package/dist/client.d.ts +66 -0
  10. package/dist/client.js +846 -0
  11. package/dist/client.js.map +1 -0
  12. package/dist/compress/block.d.ts +51 -0
  13. package/dist/compress/block.js +667 -0
  14. package/dist/compress/block.js.map +1 -0
  15. package/dist/compress/deflate.d.ts +7 -0
  16. package/dist/compress/deflate.js +603 -0
  17. package/dist/compress/deflate.js.map +1 -0
  18. package/dist/compress/index.d.ts +6 -0
  19. package/dist/compress/index.js +13 -0
  20. package/dist/compress/index.js.map +1 -0
  21. package/dist/compress/inflate.d.ts +21 -0
  22. package/dist/compress/inflate.js +380 -0
  23. package/dist/compress/inflate.js.map +1 -0
  24. package/dist/compress/wasm.d.ts +50 -0
  25. package/dist/compress/wasm.js +192 -0
  26. package/dist/compress/wasm.js.map +1 -0
  27. package/dist/compress/zlib-wasm.d.ts +15 -0
  28. package/dist/compress/zlib-wasm.js +18 -0
  29. package/dist/compress/zlib-wasm.js.map +1 -0
  30. package/dist/conn.d.ts +126 -0
  31. package/dist/conn.js +685 -0
  32. package/dist/conn.js.map +1 -0
  33. package/dist/dial/index.d.ts +3 -0
  34. package/dist/dial/index.js +10 -0
  35. package/dist/dial/index.js.map +1 -0
  36. package/dist/discovery/index.d.ts +16 -0
  37. package/dist/discovery/index.js +173 -0
  38. package/dist/discovery/index.js.map +1 -0
  39. package/dist/discovery/reach.d.ts +4 -0
  40. package/dist/discovery/reach.js +36 -0
  41. package/dist/discovery/reach.js.map +1 -0
  42. package/dist/domain.d.ts +3 -0
  43. package/dist/domain.js +12 -0
  44. package/dist/domain.js.map +1 -0
  45. package/dist/errors.d.ts +7 -0
  46. package/dist/errors.js +49 -0
  47. package/dist/errors.js.map +1 -0
  48. package/dist/extension.d.ts +53 -0
  49. package/dist/extension.js +158 -0
  50. package/dist/extension.js.map +1 -0
  51. package/dist/forward.d.ts +11 -0
  52. package/dist/forward.js +125 -0
  53. package/dist/forward.js.map +1 -0
  54. package/dist/framed-stream.d.ts +14 -0
  55. package/dist/framed-stream.js +113 -0
  56. package/dist/framed-stream.js.map +1 -0
  57. package/dist/gen/keywire/discovery/v1/discovery_pb.d.ts +105 -0
  58. package/dist/gen/keywire/discovery/v1/discovery_pb.js +57 -0
  59. package/dist/gen/keywire/discovery/v1/discovery_pb.js.map +1 -0
  60. package/dist/gen/keywire/state/v1/state_pb.d.ts +988 -0
  61. package/dist/gen/keywire/state/v1/state_pb.js +184 -0
  62. package/dist/gen/keywire/state/v1/state_pb.js.map +1 -0
  63. package/dist/gen/keywire/v1/forward_pb.d.ts +53 -0
  64. package/dist/gen/keywire/v1/forward_pb.js +58 -0
  65. package/dist/gen/keywire/v1/forward_pb.js.map +1 -0
  66. package/dist/gen/keywire/v1/guest_pb.d.ts +322 -0
  67. package/dist/gen/keywire/v1/guest_pb.js +100 -0
  68. package/dist/gen/keywire/v1/guest_pb.js.map +1 -0
  69. package/dist/gen/keywire/v1/pair_pb.d.ts +106 -0
  70. package/dist/gen/keywire/v1/pair_pb.js +45 -0
  71. package/dist/gen/keywire/v1/pair_pb.js.map +1 -0
  72. package/dist/gen/keywire/v1/relay_pb.d.ts +116 -0
  73. package/dist/gen/keywire/v1/relay_pb.js +20 -0
  74. package/dist/gen/keywire/v1/relay_pb.js.map +1 -0
  75. package/dist/gen/keywire/v1/roster_pb.d.ts +213 -0
  76. package/dist/gen/keywire/v1/roster_pb.js +77 -0
  77. package/dist/gen/keywire/v1/roster_pb.js.map +1 -0
  78. package/dist/gen/keywire/v1/sync_pb.d.ts +68 -0
  79. package/dist/gen/keywire/v1/sync_pb.js +24 -0
  80. package/dist/gen/keywire/v1/sync_pb.js.map +1 -0
  81. package/dist/guest/equal-bytes.d.ts +1 -0
  82. package/dist/guest/equal-bytes.js +10 -0
  83. package/dist/guest/equal-bytes.js.map +1 -0
  84. package/dist/guest/hello.d.ts +4 -0
  85. package/dist/guest/hello.js +42 -0
  86. package/dist/guest/hello.js.map +1 -0
  87. package/dist/guest/invite-frame.d.ts +8 -0
  88. package/dist/guest/invite-frame.js +44 -0
  89. package/dist/guest/invite-frame.js.map +1 -0
  90. package/dist/guest/invite.d.ts +17 -0
  91. package/dist/guest/invite.js +86 -0
  92. package/dist/guest/invite.js.map +1 -0
  93. package/dist/guest/relay-hello.d.ts +2 -0
  94. package/dist/guest/relay-hello.js +38 -0
  95. package/dist/guest/relay-hello.js.map +1 -0
  96. package/dist/guest/revocations.d.ts +12 -0
  97. package/dist/guest/revocations.js +134 -0
  98. package/dist/guest/revocations.js.map +1 -0
  99. package/dist/guest/roster.d.ts +2 -0
  100. package/dist/guest/roster.js +14 -0
  101. package/dist/guest/roster.js.map +1 -0
  102. package/dist/guest/token-payload.d.ts +2 -0
  103. package/dist/guest/token-payload.js +71 -0
  104. package/dist/guest/token-payload.js.map +1 -0
  105. package/dist/guest-conn.d.ts +20 -0
  106. package/dist/guest-conn.js +99 -0
  107. package/dist/guest-conn.js.map +1 -0
  108. package/dist/guest-relay.d.ts +7 -0
  109. package/dist/guest-relay.js +45 -0
  110. package/dist/guest-relay.js.map +1 -0
  111. package/dist/guest.d.ts +20 -0
  112. package/dist/guest.js +99 -0
  113. package/dist/guest.js.map +1 -0
  114. package/dist/index.d.ts +31 -0
  115. package/dist/index.js +28 -0
  116. package/dist/index.js.map +1 -0
  117. package/dist/msg-path.d.ts +9 -0
  118. package/dist/msg-path.js +2 -0
  119. package/dist/msg-path.js.map +1 -0
  120. package/dist/mux/byte-queue.d.ts +9 -0
  121. package/dist/mux/byte-queue.js +62 -0
  122. package/dist/mux/byte-queue.js.map +1 -0
  123. package/dist/mux/codec.d.ts +30 -0
  124. package/dist/mux/codec.js +23 -0
  125. package/dist/mux/codec.js.map +1 -0
  126. package/dist/mux/errors.d.ts +23 -0
  127. package/dist/mux/errors.js +47 -0
  128. package/dist/mux/errors.js.map +1 -0
  129. package/dist/mux/frame.d.ts +44 -0
  130. package/dist/mux/frame.js +161 -0
  131. package/dist/mux/frame.js.map +1 -0
  132. package/dist/mux/nexttask.d.ts +1 -0
  133. package/dist/mux/nexttask.js +19 -0
  134. package/dist/mux/nexttask.js.map +1 -0
  135. package/dist/mux/session.d.ts +69 -0
  136. package/dist/mux/session.js +586 -0
  137. package/dist/mux/session.js.map +1 -0
  138. package/dist/mux/signal.d.ts +5 -0
  139. package/dist/mux/signal.js +14 -0
  140. package/dist/mux/signal.js.map +1 -0
  141. package/dist/mux/stream.d.ts +34 -0
  142. package/dist/mux/stream.js +620 -0
  143. package/dist/mux/stream.js.map +1 -0
  144. package/dist/nodekit/device.d.ts +40 -0
  145. package/dist/nodekit/device.js +188 -0
  146. package/dist/nodekit/device.js.map +1 -0
  147. package/dist/nodekit/index.d.ts +5 -0
  148. package/dist/nodekit/index.js +8 -0
  149. package/dist/nodekit/index.js.map +1 -0
  150. package/dist/nodekit/indexeddb.d.ts +2 -0
  151. package/dist/nodekit/indexeddb.js +114 -0
  152. package/dist/nodekit/indexeddb.js.map +1 -0
  153. package/dist/nodekit/pair-device.d.ts +27 -0
  154. package/dist/nodekit/pair-device.js +44 -0
  155. package/dist/nodekit/pair-device.js.map +1 -0
  156. package/dist/nodekit/sealed-signer.d.ts +22 -0
  157. package/dist/nodekit/sealed-signer.js +74 -0
  158. package/dist/nodekit/sealed-signer.js.map +1 -0
  159. package/dist/nodekit/store.d.ts +22 -0
  160. package/dist/nodekit/store.js +21 -0
  161. package/dist/nodekit/store.js.map +1 -0
  162. package/dist/noise/backend.d.ts +25 -0
  163. package/dist/noise/backend.js +2 -0
  164. package/dist/noise/backend.js.map +1 -0
  165. package/dist/noise/backends.d.ts +4 -0
  166. package/dist/noise/backends.js +19 -0
  167. package/dist/noise/backends.js.map +1 -0
  168. package/dist/noise/cipher.d.ts +18 -0
  169. package/dist/noise/cipher.js +69 -0
  170. package/dist/noise/cipher.js.map +1 -0
  171. package/dist/noise/crypto.d.ts +11 -0
  172. package/dist/noise/crypto.js +47 -0
  173. package/dist/noise/crypto.js.map +1 -0
  174. package/dist/noise/handshake.d.ts +28 -0
  175. package/dist/noise/handshake.js +183 -0
  176. package/dist/noise/handshake.js.map +1 -0
  177. package/dist/noise/import.d.ts +2 -0
  178. package/dist/noise/import.js +16 -0
  179. package/dist/noise/import.js.map +1 -0
  180. package/dist/noise/noble.d.ts +2 -0
  181. package/dist/noise/noble.js +51 -0
  182. package/dist/noise/noble.js.map +1 -0
  183. package/dist/noise/pair-code.d.ts +2 -0
  184. package/dist/noise/pair-code.js +11 -0
  185. package/dist/noise/pair-code.js.map +1 -0
  186. package/dist/noise/pkcs8.d.ts +3 -0
  187. package/dist/noise/pkcs8.js +18 -0
  188. package/dist/noise/pkcs8.js.map +1 -0
  189. package/dist/noise/sealed.d.ts +21 -0
  190. package/dist/noise/sealed.js +40 -0
  191. package/dist/noise/sealed.js.map +1 -0
  192. package/dist/noise/symmetric.d.ts +17 -0
  193. package/dist/noise/symmetric.js +56 -0
  194. package/dist/noise/symmetric.js.map +1 -0
  195. package/dist/noise/webcrypto.d.ts +3 -0
  196. package/dist/noise/webcrypto.js +98 -0
  197. package/dist/noise/webcrypto.js.map +1 -0
  198. package/dist/pair-relay.d.ts +4 -0
  199. package/dist/pair-relay.js +46 -0
  200. package/dist/pair-relay.js.map +1 -0
  201. package/dist/pair.d.ts +7 -0
  202. package/dist/pair.js +50 -0
  203. package/dist/pair.js.map +1 -0
  204. package/dist/paths/link.d.ts +33 -0
  205. package/dist/paths/link.js +132 -0
  206. package/dist/paths/link.js.map +1 -0
  207. package/dist/paths/node-paths.d.ts +10 -0
  208. package/dist/paths/node-paths.js +41 -0
  209. package/dist/paths/node-paths.js.map +1 -0
  210. package/dist/paths/path.d.ts +11 -0
  211. package/dist/paths/path.js +25 -0
  212. package/dist/paths/path.js.map +1 -0
  213. package/dist/paths/race.d.ts +18 -0
  214. package/dist/paths/race.js +157 -0
  215. package/dist/paths/race.js.map +1 -0
  216. package/dist/paths/relay-sessions.d.ts +11 -0
  217. package/dist/paths/relay-sessions.js +93 -0
  218. package/dist/paths/relay-sessions.js.map +1 -0
  219. package/dist/paths/upgrades.d.ts +12 -0
  220. package/dist/paths/upgrades.js +58 -0
  221. package/dist/paths/upgrades.js.map +1 -0
  222. package/dist/relay-server/admission.d.ts +24 -0
  223. package/dist/relay-server/admission.js +140 -0
  224. package/dist/relay-server/admission.js.map +1 -0
  225. package/dist/relay-server/config.d.ts +28 -0
  226. package/dist/relay-server/config.js +47 -0
  227. package/dist/relay-server/config.js.map +1 -0
  228. package/dist/relay-server/discovery/addr.d.ts +18 -0
  229. package/dist/relay-server/discovery/addr.js +211 -0
  230. package/dist/relay-server/discovery/addr.js.map +1 -0
  231. package/dist/relay-server/discovery/directory.d.ts +42 -0
  232. package/dist/relay-server/discovery/directory.js +101 -0
  233. package/dist/relay-server/discovery/directory.js.map +1 -0
  234. package/dist/relay-server/discovery/http.d.ts +10 -0
  235. package/dist/relay-server/discovery/http.js +172 -0
  236. package/dist/relay-server/discovery/http.js.map +1 -0
  237. package/dist/relay-server/discovery/index.d.ts +6 -0
  238. package/dist/relay-server/discovery/index.js +15 -0
  239. package/dist/relay-server/discovery/index.js.map +1 -0
  240. package/dist/relay-server/discovery/listing.d.ts +24 -0
  241. package/dist/relay-server/discovery/listing.js +115 -0
  242. package/dist/relay-server/discovery/listing.js.map +1 -0
  243. package/dist/relay-server/discovery/options.d.ts +39 -0
  244. package/dist/relay-server/discovery/options.js +97 -0
  245. package/dist/relay-server/discovery/options.js.map +1 -0
  246. package/dist/relay-server/discovery/service.d.ts +21 -0
  247. package/dist/relay-server/discovery/service.js +409 -0
  248. package/dist/relay-server/discovery/service.js.map +1 -0
  249. package/dist/relay-server/forward.d.ts +3 -0
  250. package/dist/relay-server/forward.js +97 -0
  251. package/dist/relay-server/forward.js.map +1 -0
  252. package/dist/relay-server/handshake.d.ts +10 -0
  253. package/dist/relay-server/handshake.js +36 -0
  254. package/dist/relay-server/handshake.js.map +1 -0
  255. package/dist/relay-server/index.d.ts +6 -0
  256. package/dist/relay-server/index.js +10 -0
  257. package/dist/relay-server/index.js.map +1 -0
  258. package/dist/relay-server/relay.d.ts +25 -0
  259. package/dist/relay-server/relay.js +392 -0
  260. package/dist/relay-server/relay.js.map +1 -0
  261. package/dist/relay-server/service-read.d.ts +4 -0
  262. package/dist/relay-server/service-read.js +16 -0
  263. package/dist/relay-server/service-read.js.map +1 -0
  264. package/dist/relay-server/service.d.ts +25 -0
  265. package/dist/relay-server/service.js +8 -0
  266. package/dist/relay-server/service.js.map +1 -0
  267. package/dist/relay-server/session.d.ts +60 -0
  268. package/dist/relay-server/session.js +35 -0
  269. package/dist/relay-server/session.js.map +1 -0
  270. package/dist/relay-server/url.d.ts +1 -0
  271. package/dist/relay-server/url.js +8 -0
  272. package/dist/relay-server/url.js.map +1 -0
  273. package/dist/relay-url.d.ts +2 -0
  274. package/dist/relay-url.js +11 -0
  275. package/dist/relay-url.js.map +1 -0
  276. package/dist/relay.d.ts +5 -0
  277. package/dist/relay.js +60 -0
  278. package/dist/relay.js.map +1 -0
  279. package/dist/roster/admission.d.ts +17 -0
  280. package/dist/roster/admission.js +85 -0
  281. package/dist/roster/admission.js.map +1 -0
  282. package/dist/roster/credentials.d.ts +5 -0
  283. package/dist/roster/credentials.js +72 -0
  284. package/dist/roster/credentials.js.map +1 -0
  285. package/dist/roster/digest.d.ts +3 -0
  286. package/dist/roster/digest.js +23 -0
  287. package/dist/roster/digest.js.map +1 -0
  288. package/dist/roster/envelope.d.ts +11 -0
  289. package/dist/roster/envelope.js +35 -0
  290. package/dist/roster/envelope.js.map +1 -0
  291. package/dist/roster/errors.d.ts +6 -0
  292. package/dist/roster/errors.js +11 -0
  293. package/dist/roster/errors.js.map +1 -0
  294. package/dist/roster/limits.d.ts +25 -0
  295. package/dist/roster/limits.js +26 -0
  296. package/dist/roster/limits.js.map +1 -0
  297. package/dist/roster/merge.d.ts +10 -0
  298. package/dist/roster/merge.js +101 -0
  299. package/dist/roster/merge.js.map +1 -0
  300. package/dist/roster/name.d.ts +1 -0
  301. package/dist/roster/name.js +7 -0
  302. package/dist/roster/name.js.map +1 -0
  303. package/dist/roster/order.d.ts +5 -0
  304. package/dist/roster/order.js +22 -0
  305. package/dist/roster/order.js.map +1 -0
  306. package/dist/roster/ownership.d.ts +9 -0
  307. package/dist/roster/ownership.js +42 -0
  308. package/dist/roster/ownership.js.map +1 -0
  309. package/dist/roster/retain.d.ts +2 -0
  310. package/dist/roster/retain.js +55 -0
  311. package/dist/roster/retain.js.map +1 -0
  312. package/dist/roster/revocations.d.ts +5 -0
  313. package/dist/roster/revocations.js +37 -0
  314. package/dist/roster/revocations.js.map +1 -0
  315. package/dist/roster/scan.d.ts +16 -0
  316. package/dist/roster/scan.js +194 -0
  317. package/dist/roster/scan.js.map +1 -0
  318. package/dist/roster/state.d.ts +34 -0
  319. package/dist/roster/state.js +204 -0
  320. package/dist/roster/state.js.map +1 -0
  321. package/dist/roster/statement.d.ts +38 -0
  322. package/dist/roster/statement.js +176 -0
  323. package/dist/roster/statement.js.map +1 -0
  324. package/dist/roster/types.d.ts +35 -0
  325. package/dist/roster/types.js +2 -0
  326. package/dist/roster/types.js.map +1 -0
  327. package/dist/roster/verify.d.ts +3 -0
  328. package/dist/roster/verify.js +63 -0
  329. package/dist/roster/verify.js.map +1 -0
  330. package/dist/roster-sync/apply.d.ts +2 -0
  331. package/dist/roster-sync/apply.js +23 -0
  332. package/dist/roster-sync/apply.js.map +1 -0
  333. package/dist/roster-sync/exchange.d.ts +3 -0
  334. package/dist/roster-sync/exchange.js +25 -0
  335. package/dist/roster-sync/exchange.js.map +1 -0
  336. package/dist/roster-sync/frame.d.ts +17 -0
  337. package/dist/roster-sync/frame.js +66 -0
  338. package/dist/roster-sync/frame.js.map +1 -0
  339. package/dist/roster-sync/records.d.ts +8 -0
  340. package/dist/roster-sync/records.js +78 -0
  341. package/dist/roster-sync/records.js.map +1 -0
  342. package/dist/roster-sync/sync.d.ts +12 -0
  343. package/dist/roster-sync/sync.js +69 -0
  344. package/dist/roster-sync/sync.js.map +1 -0
  345. package/dist/rtc.d.ts +15 -0
  346. package/dist/rtc.js +275 -0
  347. package/dist/rtc.js.map +1 -0
  348. package/dist/state/errors.d.ts +30 -0
  349. package/dist/state/errors.js +72 -0
  350. package/dist/state/errors.js.map +1 -0
  351. package/dist/state/index.d.ts +6 -0
  352. package/dist/state/index.js +11 -0
  353. package/dist/state/index.js.map +1 -0
  354. package/dist/state/limits.d.ts +34 -0
  355. package/dist/state/limits.js +115 -0
  356. package/dist/state/limits.js.map +1 -0
  357. package/dist/state/remote.d.ts +217 -0
  358. package/dist/state/remote.js +1934 -0
  359. package/dist/state/remote.js.map +1 -0
  360. package/dist/state/shared.d.ts +56 -0
  361. package/dist/state/shared.js +300 -0
  362. package/dist/state/shared.js.map +1 -0
  363. package/dist/state/state.d.ts +118 -0
  364. package/dist/state/state.js +1048 -0
  365. package/dist/state/state.js.map +1 -0
  366. package/dist/state/store.d.ts +31 -0
  367. package/dist/state/store.js +375 -0
  368. package/dist/state/store.js.map +1 -0
  369. package/dist/state/wire.d.ts +43 -0
  370. package/dist/state/wire.js +179 -0
  371. package/dist/state/wire.js.map +1 -0
  372. package/dist/strict-proto.d.ts +10 -0
  373. package/dist/strict-proto.js +167 -0
  374. package/dist/strict-proto.js.map +1 -0
  375. package/dist/token.d.ts +18 -0
  376. package/dist/token.js +60 -0
  377. package/dist/token.js.map +1 -0
  378. package/dist/urls.d.ts +7 -0
  379. package/dist/urls.js +117 -0
  380. package/dist/urls.js.map +1 -0
  381. package/dist/ws.d.ts +19 -0
  382. package/dist/ws.js +143 -0
  383. package/dist/ws.js.map +1 -0
  384. package/package.json +72 -3
@@ -0,0 +1,184 @@
1
+ // @generated by protoc-gen-es v2.17.0 with parameter "target=ts,import_extension=ts"
2
+ // @generated from file keywire/state/v1/state.proto (package keywire.state.v1, syntax proto3)
3
+ /* eslint-disable */
4
+ import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
5
+ /**
6
+ * Describes the file keywire/state/v1/state.proto.
7
+ */
8
+ export const file_keywire_state_v1_state = /*@__PURE__*/ fileDesc("ChxrZXl3aXJlL3N0YXRlL3YxL3N0YXRlLnByb3RvEhBrZXl3aXJlLnN0YXRlLnYxIoULCghFbnZlbG9wZRIPCgd2ZXJzaW9uGAEgASgNEi0KBGluZm8YAiABKAsyHS5rZXl3aXJlLnN0YXRlLnYxLkluZm9SZXF1ZXN0SAASMAoJc3Vic2NyaWJlGAMgASgLMhsua2V5d2lyZS5zdGF0ZS52MS5TdWJzY3JpYmVIABI3Cg1zdWJzY3JpYmVfbG9nGAQgASgLMh4ua2V5d2lyZS5zdGF0ZS52MS5TdWJzY3JpYmVMb2dIABItCghyZWFkX2xvZxgFIAEoCzIZLmtleXdpcmUuc3RhdGUudjEuUmVhZExvZ0gAEiwKB2NvbW1hbmQYBiABKAsyGS5rZXl3aXJlLnN0YXRlLnYxLkNvbW1hbmRIABIoCgVxdWVyeRgHIAEoCzIXLmtleXdpcmUuc3RhdGUudjEuUXVlcnlIABIvCglyZWFkX2Jsb2IYCCABKAsyGi5rZXl3aXJlLnN0YXRlLnYxLlJlYWRCbG9iSAASMQoKd3JpdGVfYmxvYhgJIAEoCzIbLmtleXdpcmUuc3RhdGUudjEuV3JpdGVCbG9iSAASNQoMb3Blbl9jaGFubmVsGAogASgLMh0ua2V5d2lyZS5zdGF0ZS52MS5PcGVuQ2hhbm5lbEgAEjIKCXN5bmNfb3BlbhgLIAEoCzIdLmtleXdpcmUuc3RhdGUudjEuU3luY1N1bW1hcnlIABI1CgxyZWFkX291dGNvbWUYDCABKAsyHS5rZ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h1Yi5jb20vQm93bDQyL2tleXdpcmUvZ28vaW50ZXJuYWwvc3RhdGVwYmIGcHJvdG8z");
9
+ /**
10
+ * Describes the message keywire.state.v1.Envelope.
11
+ * Use `create(EnvelopeSchema)` to create a new message.
12
+ */
13
+ export const EnvelopeSchema = /*@__PURE__*/ messageDesc(file_keywire_state_v1_state, 0);
14
+ /**
15
+ * Describes the message keywire.state.v1.InfoRequest.
16
+ * Use `create(InfoRequestSchema)` to create a new message.
17
+ */
18
+ export const InfoRequestSchema = /*@__PURE__*/ messageDesc(file_keywire_state_v1_state, 1);
19
+ /**
20
+ * Describes the message keywire.state.v1.Info.
21
+ * Use `create(InfoSchema)` to create a new message.
22
+ */
23
+ export const InfoSchema = /*@__PURE__*/ messageDesc(file_keywire_state_v1_state, 2);
24
+ /**
25
+ * Describes the message keywire.state.v1.Failure.
26
+ * Use `create(FailureSchema)` to create a new message.
27
+ */
28
+ export const FailureSchema = /*@__PURE__*/ messageDesc(file_keywire_state_v1_state, 3);
29
+ /**
30
+ * Describes the message keywire.state.v1.Cursor.
31
+ * Use `create(CursorSchema)` to create a new message.
32
+ */
33
+ export const CursorSchema = /*@__PURE__*/ messageDesc(file_keywire_state_v1_state, 4);
34
+ /**
35
+ * Describes the message keywire.state.v1.Subscribe.
36
+ * Use `create(SubscribeSchema)` to create a new message.
37
+ */
38
+ export const SubscribeSchema = /*@__PURE__*/ messageDesc(file_keywire_state_v1_state, 5);
39
+ /**
40
+ * Describes the message keywire.state.v1.Row.
41
+ * Use `create(RowSchema)` to create a new message.
42
+ */
43
+ export const RowSchema = /*@__PURE__*/ messageDesc(file_keywire_state_v1_state, 6);
44
+ /**
45
+ * Describes the message keywire.state.v1.RowBatch.
46
+ * Use `create(RowBatchSchema)` to create a new message.
47
+ */
48
+ export const RowBatchSchema = /*@__PURE__*/ messageDesc(file_keywire_state_v1_state, 7);
49
+ /**
50
+ * Describes the message keywire.state.v1.SubscribeLog.
51
+ * Use `create(SubscribeLogSchema)` to create a new message.
52
+ */
53
+ export const SubscribeLogSchema = /*@__PURE__*/ messageDesc(file_keywire_state_v1_state, 8);
54
+ /**
55
+ * Describes the message keywire.state.v1.ReadLog.
56
+ * Use `create(ReadLogSchema)` to create a new message.
57
+ */
58
+ export const ReadLogSchema = /*@__PURE__*/ messageDesc(file_keywire_state_v1_state, 9);
59
+ /**
60
+ * Describes the message keywire.state.v1.LogBatch.
61
+ * Use `create(LogBatchSchema)` to create a new message.
62
+ */
63
+ export const LogBatchSchema = /*@__PURE__*/ messageDesc(file_keywire_state_v1_state, 10);
64
+ /**
65
+ * Describes the message keywire.state.v1.Command.
66
+ * Use `create(CommandSchema)` to create a new message.
67
+ */
68
+ export const CommandSchema = /*@__PURE__*/ messageDesc(file_keywire_state_v1_state, 11);
69
+ /**
70
+ * Describes the message keywire.state.v1.CommandResult.
71
+ * Use `create(CommandResultSchema)` to create a new message.
72
+ */
73
+ export const CommandResultSchema = /*@__PURE__*/ messageDesc(file_keywire_state_v1_state, 12);
74
+ /**
75
+ * Describes the message keywire.state.v1.Accepted.
76
+ * Use `create(AcceptedSchema)` to create a new message.
77
+ */
78
+ export const AcceptedSchema = /*@__PURE__*/ messageDesc(file_keywire_state_v1_state, 13);
79
+ /**
80
+ * Describes the message keywire.state.v1.Rejected.
81
+ * Use `create(RejectedSchema)` to create a new message.
82
+ */
83
+ export const RejectedSchema = /*@__PURE__*/ messageDesc(file_keywire_state_v1_state, 14);
84
+ /**
85
+ * Describes the message keywire.state.v1.ReadOutcome.
86
+ * Use `create(ReadOutcomeSchema)` to create a new message.
87
+ */
88
+ export const ReadOutcomeSchema = /*@__PURE__*/ messageDesc(file_keywire_state_v1_state, 15);
89
+ /**
90
+ * Describes the message keywire.state.v1.OutcomePending.
91
+ * Use `create(OutcomePendingSchema)` to create a new message.
92
+ */
93
+ export const OutcomePendingSchema = /*@__PURE__*/ messageDesc(file_keywire_state_v1_state, 16);
94
+ /**
95
+ * Describes the message keywire.state.v1.OutcomeUnknown.
96
+ * Use `create(OutcomeUnknownSchema)` to create a new message.
97
+ */
98
+ export const OutcomeUnknownSchema = /*@__PURE__*/ messageDesc(file_keywire_state_v1_state, 17);
99
+ /**
100
+ * Describes the message keywire.state.v1.OutcomeResult.
101
+ * Use `create(OutcomeResultSchema)` to create a new message.
102
+ */
103
+ export const OutcomeResultSchema = /*@__PURE__*/ messageDesc(file_keywire_state_v1_state, 18);
104
+ /**
105
+ * Describes the message keywire.state.v1.Query.
106
+ * Use `create(QuerySchema)` to create a new message.
107
+ */
108
+ export const QuerySchema = /*@__PURE__*/ messageDesc(file_keywire_state_v1_state, 19);
109
+ /**
110
+ * Describes the message keywire.state.v1.QueryResult.
111
+ * Use `create(QueryResultSchema)` to create a new message.
112
+ */
113
+ export const QueryResultSchema = /*@__PURE__*/ messageDesc(file_keywire_state_v1_state, 20);
114
+ /**
115
+ * Describes the message keywire.state.v1.ReadBlob.
116
+ * Use `create(ReadBlobSchema)` to create a new message.
117
+ */
118
+ export const ReadBlobSchema = /*@__PURE__*/ messageDesc(file_keywire_state_v1_state, 21);
119
+ /**
120
+ * Describes the message keywire.state.v1.BlobHead.
121
+ * Use `create(BlobHeadSchema)` to create a new message.
122
+ */
123
+ export const BlobHeadSchema = /*@__PURE__*/ messageDesc(file_keywire_state_v1_state, 22);
124
+ /**
125
+ * Describes the message keywire.state.v1.WriteBlob.
126
+ * Use `create(WriteBlobSchema)` to create a new message.
127
+ */
128
+ export const WriteBlobSchema = /*@__PURE__*/ messageDesc(file_keywire_state_v1_state, 23);
129
+ /**
130
+ * Describes the message keywire.state.v1.BlobReady.
131
+ * Use `create(BlobReadySchema)` to create a new message.
132
+ */
133
+ export const BlobReadySchema = /*@__PURE__*/ messageDesc(file_keywire_state_v1_state, 24);
134
+ /**
135
+ * Describes the message keywire.state.v1.BlobHashes.
136
+ * Use `create(BlobHashesSchema)` to create a new message.
137
+ */
138
+ export const BlobHashesSchema = /*@__PURE__*/ messageDesc(file_keywire_state_v1_state, 25);
139
+ /**
140
+ * Describes the message keywire.state.v1.Blob.
141
+ * Use `create(BlobSchema)` to create a new message.
142
+ */
143
+ export const BlobSchema = /*@__PURE__*/ messageDesc(file_keywire_state_v1_state, 26);
144
+ /**
145
+ * Describes the message keywire.state.v1.BlobWritten.
146
+ * Use `create(BlobWrittenSchema)` to create a new message.
147
+ */
148
+ export const BlobWrittenSchema = /*@__PURE__*/ messageDesc(file_keywire_state_v1_state, 27);
149
+ /**
150
+ * Describes the message keywire.state.v1.OpenChannel.
151
+ * Use `create(OpenChannelSchema)` to create a new message.
152
+ */
153
+ export const OpenChannelSchema = /*@__PURE__*/ messageDesc(file_keywire_state_v1_state, 28);
154
+ /**
155
+ * Describes the message keywire.state.v1.ChannelOpened.
156
+ * Use `create(ChannelOpenedSchema)` to create a new message.
157
+ */
158
+ export const ChannelOpenedSchema = /*@__PURE__*/ messageDesc(file_keywire_state_v1_state, 29);
159
+ /**
160
+ * Describes the message keywire.state.v1.ChannelMessage.
161
+ * Use `create(ChannelMessageSchema)` to create a new message.
162
+ */
163
+ export const ChannelMessageSchema = /*@__PURE__*/ messageDesc(file_keywire_state_v1_state, 30);
164
+ /**
165
+ * Describes the message keywire.state.v1.SharedEntry.
166
+ * Use `create(SharedEntrySchema)` to create a new message.
167
+ */
168
+ export const SharedEntrySchema = /*@__PURE__*/ messageDesc(file_keywire_state_v1_state, 31);
169
+ /**
170
+ * Describes the message keywire.state.v1.CollectionDigests.
171
+ * Use `create(CollectionDigestsSchema)` to create a new message.
172
+ */
173
+ export const CollectionDigestsSchema = /*@__PURE__*/ messageDesc(file_keywire_state_v1_state, 32);
174
+ /**
175
+ * Describes the message keywire.state.v1.SyncSummary.
176
+ * Use `create(SyncSummarySchema)` to create a new message.
177
+ */
178
+ export const SyncSummarySchema = /*@__PURE__*/ messageDesc(file_keywire_state_v1_state, 33);
179
+ /**
180
+ * Describes the message keywire.state.v1.SyncBatch.
181
+ * Use `create(SyncBatchSchema)` to create a new message.
182
+ */
183
+ export const SyncBatchSchema = /*@__PURE__*/ messageDesc(file_keywire_state_v1_state, 34);
184
+ //# sourceMappingURL=state_pb.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"state_pb.js","sourceRoot":"","sources":["../../../../../src/gen/keywire/state/v1/state_pb.ts"],"names":[],"mappings":"AAAA,qFAAqF;AACrF,8FAA8F;AAC9F,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAGrE;;GAEG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAY,aAAa,CAC/D,QAAQ,CAAC,8hKAA8hK,CAAC,CAAC;AAqM3iK;;;GAGG;AACH,MAAM,CAAC,MAAM,cAAc,GAAyB,aAAa,CAC/D,WAAW,CAAC,2BAA2B,EAAE,CAAC,CAAC,CAAC;AAQ9C;;;GAGG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAA4B,aAAa,CACrE,WAAW,CAAC,2BAA2B,EAAE,CAAC,CAAC,CAAC;AAsF9C;;;GAGG;AACH,MAAM,CAAC,MAAM,UAAU,GAAqB,aAAa,CACvD,WAAW,CAAC,2BAA2B,EAAE,CAAC,CAAC,CAAC;AAyB9C;;;GAGG;AACH,MAAM,CAAC,MAAM,aAAa,GAAwB,aAAa,CAC7D,WAAW,CAAC,2BAA2B,EAAE,CAAC,CAAC,CAAC;AAmB9C;;;GAGG;AACH,MAAM,CAAC,MAAM,YAAY,GAAuB,aAAa,CAC3D,WAAW,CAAC,2BAA2B,EAAE,CAAC,CAAC,CAAC;AAmB9C;;;GAGG;AACH,MAAM,CAAC,MAAM,eAAe,GAA0B,aAAa,CACjE,WAAW,CAAC,2BAA2B,EAAE,CAAC,CAAC,CAAC;AA2B9C;;;GAGG;AACH,MAAM,CAAC,MAAM,SAAS,GAAoB,aAAa,CACrD,WAAW,CAAC,2BAA2B,EAAE,CAAC,CAAC,CAAC;AAkC9C;;;GAGG;AACH,MAAM,CAAC,MAAM,cAAc,GAAyB,aAAa,CAC/D,WAAW,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,CAAC,CAAC;AAc/C;;;GAGG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAA+B,aAAa,CAC3E,WAAW,CAAC,2BAA2B,EAAE,EAAE,CAAC,CAAC;AAuC/C;;;GAGG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAA4B,aAAa,CACrE,WAAW,CAAC,2BAA2B,EAAE,EAAE,CAAC,CAAC;AAmB/C;;;GAGG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAkC,aAAa,CACjF,WAAW,CAAC,2BAA2B,EAAE,EAAE,CAAC,CAAC;AAc/C;;;GAGG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAA4B,aAAa,CACrE,WAAW,CAAC,2BAA2B,EAAE,EAAE,CAAC,CAAC;AAmB/C;;;GAGG;AACH,MAAM,CAAC,MAAM,eAAe,GAA0B,aAAa,CACjE,WAAW,CAAC,2BAA2B,EAAE,EAAE,CAAC,CAAC"}
@@ -0,0 +1,53 @@
1
+ import type { GenEnum, GenFile } from "@bufbuild/protobuf/codegenv2";
2
+ /**
3
+ * Describes the file keywire/v1/forward.proto.
4
+ */
5
+ export declare const file_keywire_v1_forward: GenFile;
6
+ /**
7
+ * Forwarding needs no messages. On a stream of service 2 the client names
8
+ * the target and reads one status byte (a ForwardStatus value): to a Node,
9
+ * the target device's Noise key (32 bytes); to a relay, the target Node's id
10
+ * (16 bytes, as in its owner-add). After OK the stream carries the
11
+ * end-to-end connection as 4-byte big-endian length-prefixed messages.
12
+ *
13
+ * @generated from enum keywire.v1.ForwardStatus
14
+ */
15
+ export declare enum ForwardStatus {
16
+ /**
17
+ * @generated from enum value: FORWARD_STATUS_UNSPECIFIED = 0;
18
+ */
19
+ UNSPECIFIED = 0,
20
+ /**
21
+ * @generated from enum value: FORWARD_STATUS_OK = 1;
22
+ */
23
+ OK = 1,
24
+ /**
25
+ * The target is no device the forwarding Node admits (an owner not in
26
+ * conflict, or a member), or is the forwarder or the requester itself.
27
+ *
28
+ * @generated from enum value: FORWARD_STATUS_NOT_ADMITTED = 2;
29
+ */
30
+ NOT_ADMITTED = 2,
31
+ /**
32
+ * @generated from enum value: FORWARD_STATUS_UNREACHABLE = 3;
33
+ */
34
+ UNREACHABLE = 3,
35
+ /**
36
+ * Too many forwards on this connection or Node.
37
+ *
38
+ * @generated from enum value: FORWARD_STATUS_BUSY = 4;
39
+ */
40
+ BUSY = 4,
41
+ /**
42
+ * The forwarder takes no forward from this connection: the requester is
43
+ * not admitted, the connection was itself forwarded by a Node (one hop
44
+ * only), or the device asked is no Node.
45
+ *
46
+ * @generated from enum value: FORWARD_STATUS_REFUSED = 5;
47
+ */
48
+ REFUSED = 5
49
+ }
50
+ /**
51
+ * Describes the enum keywire.v1.ForwardStatus.
52
+ */
53
+ export declare const ForwardStatusSchema: GenEnum<ForwardStatus>;
@@ -0,0 +1,58 @@
1
+ // @generated by protoc-gen-es v2.17.0 with parameter "target=ts,import_extension=ts"
2
+ // @generated from file keywire/v1/forward.proto (package keywire.v1, syntax proto3)
3
+ /* eslint-disable */
4
+ import { enumDesc, fileDesc } from "@bufbuild/protobuf/codegenv2";
5
+ /**
6
+ * Describes the file keywire/v1/forward.proto.
7
+ */
8
+ export const file_keywire_v1_forward = /*@__PURE__*/ fileDesc("ChhrZXl3aXJlL3YxL2ZvcndhcmQucHJvdG8SCmtleXdpcmUudjEqvAEKDUZvcndhcmRTdGF0dXMSHgoaRk9SV0FSRF9TVEFUVVNfVU5TUEVDSUZJRUQQABIVChFGT1JXQVJEX1NUQVRVU19PSxABEh8KG0ZPUldBUkRfU1RBVFVTX05PVF9BRE1JVFRFRBACEh4KGkZPUldBUkRfU1RBVFVTX1VOUkVBQ0hBQkxFEAMSFwoTRk9SV0FSRF9TVEFUVVNfQlVTWRAEEhoKFkZPUldBUkRfU1RBVFVTX1JFRlVTRUQQBUIuWixnaXRodWIuY29tL0Jvd2w0Mi9rZXl3aXJlL2dvL2ludGVybmFsL3dpcmVwYmIGcHJvdG8z");
9
+ /**
10
+ * Forwarding needs no messages. On a stream of service 2 the client names
11
+ * the target and reads one status byte (a ForwardStatus value): to a Node,
12
+ * the target device's Noise key (32 bytes); to a relay, the target Node's id
13
+ * (16 bytes, as in its owner-add). After OK the stream carries the
14
+ * end-to-end connection as 4-byte big-endian length-prefixed messages.
15
+ *
16
+ * @generated from enum keywire.v1.ForwardStatus
17
+ */
18
+ export var ForwardStatus;
19
+ (function (ForwardStatus) {
20
+ /**
21
+ * @generated from enum value: FORWARD_STATUS_UNSPECIFIED = 0;
22
+ */
23
+ ForwardStatus[ForwardStatus["UNSPECIFIED"] = 0] = "UNSPECIFIED";
24
+ /**
25
+ * @generated from enum value: FORWARD_STATUS_OK = 1;
26
+ */
27
+ ForwardStatus[ForwardStatus["OK"] = 1] = "OK";
28
+ /**
29
+ * The target is no device the forwarding Node admits (an owner not in
30
+ * conflict, or a member), or is the forwarder or the requester itself.
31
+ *
32
+ * @generated from enum value: FORWARD_STATUS_NOT_ADMITTED = 2;
33
+ */
34
+ ForwardStatus[ForwardStatus["NOT_ADMITTED"] = 2] = "NOT_ADMITTED";
35
+ /**
36
+ * @generated from enum value: FORWARD_STATUS_UNREACHABLE = 3;
37
+ */
38
+ ForwardStatus[ForwardStatus["UNREACHABLE"] = 3] = "UNREACHABLE";
39
+ /**
40
+ * Too many forwards on this connection or Node.
41
+ *
42
+ * @generated from enum value: FORWARD_STATUS_BUSY = 4;
43
+ */
44
+ ForwardStatus[ForwardStatus["BUSY"] = 4] = "BUSY";
45
+ /**
46
+ * The forwarder takes no forward from this connection: the requester is
47
+ * not admitted, the connection was itself forwarded by a Node (one hop
48
+ * only), or the device asked is no Node.
49
+ *
50
+ * @generated from enum value: FORWARD_STATUS_REFUSED = 5;
51
+ */
52
+ ForwardStatus[ForwardStatus["REFUSED"] = 5] = "REFUSED";
53
+ })(ForwardStatus || (ForwardStatus = {}));
54
+ /**
55
+ * Describes the enum keywire.v1.ForwardStatus.
56
+ */
57
+ export const ForwardStatusSchema = /*@__PURE__*/ enumDesc(file_keywire_v1_forward, 0);
58
+ //# sourceMappingURL=forward_pb.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"forward_pb.js","sourceRoot":"","sources":["../../../../src/gen/keywire/v1/forward_pb.ts"],"names":[],"mappings":"AAAA,qFAAqF;AACrF,oFAAoF;AACpF,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAElE;;GAEG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAY,aAAa,CAC3D,QAAQ,CAAC,8XAA8X,CAAC,CAAC;AAE3Y;;;;;;;;GAQG;AACH,MAAM,CAAN,IAAY,aAuCX;AAvCD,WAAY,aAAa;IACvB;;OAEG;IACH,+DAAe,CAAA;IAEf;;OAEG;IACH,6CAAM,CAAA;IAEN;;;;;OAKG;IACH,iEAAgB,CAAA;IAEhB;;OAEG;IACH,+DAAe,CAAA;IAEf;;;;OAIG;IACH,iDAAQ,CAAA;IAER;;;;;;OAMG;IACH,uDAAW,CAAA;AACb,CAAC,EAvCW,aAAa,KAAb,aAAa,QAuCxB;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAA2B,aAAa,CACtE,QAAQ,CAAC,uBAAuB,EAAE,CAAC,CAAC,CAAC"}
@@ -0,0 +1,322 @@
1
+ import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
2
+ import type { Message } from "@bufbuild/protobuf";
3
+ /**
4
+ * Describes the file keywire/v1/guest.proto.
5
+ */
6
+ export declare const file_keywire_v1_guest: GenFile;
7
+ /**
8
+ * Which fields a kind requires (R) or forbids (-); expires_ms is optional
9
+ * (O) for a share, 0 meaning it does not expire:
10
+ *
11
+ * kind node_id expires_ms invite_key share_id grantee grant anonymous
12
+ * invite R R R R - R -
13
+ * share R O - R R R O
14
+ *
15
+ * @generated from message keywire.v1.TokenPayload
16
+ */
17
+ export type TokenPayload = Message<"keywire.v1.TokenPayload"> & {
18
+ /**
19
+ * @generated from field: keywire.v1.TokenKind kind = 1;
20
+ */
21
+ kind: TokenKind;
22
+ /**
23
+ * node_id is the 16-byte id of the Node that signed the token and alone
24
+ * serves it.
25
+ *
26
+ * @generated from field: bytes node_id = 2;
27
+ */
28
+ nodeId: Uint8Array;
29
+ /**
30
+ * expires_ms is when the token stops being honoured, in Unix
31
+ * milliseconds: for an invite at most 24 hours after it was made.
32
+ *
33
+ * @generated from field: int64 expires_ms = 3;
34
+ */
35
+ expiresMs: bigint;
36
+ /**
37
+ * invite_key is an Ed25519 public key. Its private half travels only in
38
+ * the invite link.
39
+ *
40
+ * @generated from field: bytes invite_key = 4;
41
+ */
42
+ inviteKey: Uint8Array;
43
+ /**
44
+ * share_id is 16 random bytes naming the share on its Node; an invite
45
+ * carries the id its share will have.
46
+ *
47
+ * @generated from field: bytes share_id = 5;
48
+ */
49
+ shareId: Uint8Array;
50
+ /**
51
+ * grantee is the Network id the share was made for, or with anonymous
52
+ * the anonymous guest's Noise key.
53
+ *
54
+ * @generated from field: bytes grantee = 6;
55
+ */
56
+ grantee: Uint8Array;
57
+ /**
58
+ * grant is what the token gives, as the application defines it, at most
59
+ * 4 KiB. The transport only carries it.
60
+ *
61
+ * @generated from field: bytes grant = 7;
62
+ */
63
+ grant: Uint8Array;
64
+ /**
65
+ * anonymous makes grantee an anonymous guest's Noise key: only a
66
+ * connection authenticated by that key is let in.
67
+ *
68
+ * @generated from field: bool anonymous = 8;
69
+ */
70
+ anonymous: boolean;
71
+ };
72
+ /**
73
+ * Describes the message keywire.v1.TokenPayload.
74
+ * Use `create(TokenPayloadSchema)` to create a new message.
75
+ */
76
+ export declare const TokenPayloadSchema: GenMessage<TokenPayload>;
77
+ /**
78
+ * @generated from message keywire.v1.Token
79
+ */
80
+ export type Token = Message<"keywire.v1.Token"> & {
81
+ /**
82
+ * envelope is the signed token, as above, at most 8 KiB.
83
+ *
84
+ * @generated from field: bytes envelope = 1;
85
+ */
86
+ envelope: Uint8Array;
87
+ /**
88
+ * chain is the signer's owner-add and the records up to the genesis
89
+ * owner, as in Credentials: at most 16.
90
+ *
91
+ * @generated from field: repeated bytes chain = 2;
92
+ */
93
+ chain: Uint8Array[];
94
+ };
95
+ /**
96
+ * Describes the message keywire.v1.Token.
97
+ * Use `create(TokenSchema)` to create a new message.
98
+ */
99
+ export declare const TokenSchema: GenMessage<Token>;
100
+ /**
101
+ * GuestHello is the payload of the first message of a guest handshake: IK as
102
+ * between devices, but with pattern 5 in the first message and the
103
+ * prologue, whose network id is the Network being entered.
104
+ *
105
+ * The receiving Node admits the dialer as a guest of network when records
106
+ * make its Noise key an unexpired member of that Network (verified against
107
+ * network alone, never against the receiver's roster) and share is a share
108
+ * token of this Node naming network, neither revoked nor expired. Without
109
+ * share, the guest may only open service 4 (InviteAccept). Owner chains are
110
+ * refused: a guest is a device.
111
+ *
112
+ * An anonymous guest gives neither network nor records: it is its Noise key
113
+ * alone, admitted when share is an anonymous share token naming that key.
114
+ * One with records, or a Network guest with an anonymous token, is refused.
115
+ *
116
+ * @generated from message keywire.v1.GuestHello
117
+ */
118
+ export type GuestHello = Message<"keywire.v1.GuestHello"> & {
119
+ /**
120
+ * network is the dialer's own Network id.
121
+ *
122
+ * @generated from field: bytes network = 1;
123
+ */
124
+ network: Uint8Array;
125
+ /**
126
+ * records are the dialer's member record and its chain to its genesis
127
+ * owner, at most 16.
128
+ *
129
+ * @generated from field: repeated bytes records = 2;
130
+ */
131
+ records: Uint8Array[];
132
+ /**
133
+ * @generated from field: keywire.v1.Token share = 3;
134
+ */
135
+ share?: Token | undefined;
136
+ /**
137
+ * The guest's features (spec/compression.md).
138
+ *
139
+ * @generated from field: uint64 features = 4;
140
+ */
141
+ features: bigint;
142
+ };
143
+ /**
144
+ * Describes the message keywire.v1.GuestHello.
145
+ * Use `create(GuestHelloSchema)` to create a new message.
146
+ */
147
+ export declare const GuestHelloSchema: GenMessage<GuestHello>;
148
+ /**
149
+ * GuestReply is the payload of the Node's reply, the second handshake
150
+ * message. It is empty when the Node admits the guest. When share is a
151
+ * share token of this Node for this very guest, but the share has ended
152
+ * (revoked, expired or removed), the Node replies with share_ended set and
153
+ * closes the connection, so the guest stops dialing it. Every other refusal
154
+ * closes the connection without a reply.
155
+ *
156
+ * features are the Node's, only when the GuestHello stated features
157
+ * (spec/compression.md); then an admitting reply that states features is
158
+ * not empty.
159
+ *
160
+ * @generated from message keywire.v1.GuestReply
161
+ */
162
+ export type GuestReply = Message<"keywire.v1.GuestReply"> & {
163
+ /**
164
+ * @generated from field: bool share_ended = 1;
165
+ */
166
+ shareEnded: boolean;
167
+ /**
168
+ * @generated from field: uint64 features = 2;
169
+ */
170
+ features: bigint;
171
+ };
172
+ /**
173
+ * Describes the message keywire.v1.GuestReply.
174
+ * Use `create(GuestReplySchema)` to create a new message.
175
+ */
176
+ export declare const GuestReplySchema: GenMessage<GuestReply>;
177
+ /**
178
+ * Service 4 redeems an invite on a guest connection. The guest writes one
179
+ * InviteAccept, 4-byte big-endian length first, and reads one
180
+ * InviteAccepted the same way; either is at most 64 KiB, and a longer
181
+ * length closes the stream before anything is read.
182
+ *
183
+ * @generated from message keywire.v1.InviteAccept
184
+ */
185
+ export type InviteAccept = Message<"keywire.v1.InviteAccept"> & {
186
+ /**
187
+ * invite is an invite token of the Node this connection reaches.
188
+ *
189
+ * @generated from field: keywire.v1.Token invite = 1;
190
+ */
191
+ invite?: Token | undefined;
192
+ /**
193
+ * signature is the invite key's over "keywire invite v1" 0x00 | the
194
+ * handshake hash of this connection | the guest's Network id, or an
195
+ * anonymous guest's Noise key.
196
+ *
197
+ * @generated from field: bytes signature = 2;
198
+ */
199
+ signature: Uint8Array;
200
+ /**
201
+ * name_records prove the guest Network's name, Network guests only: at
202
+ * most 4 roster records, each a roster envelope, that beside the
203
+ * records of this connection's GuestHello make a fresh roster of the
204
+ * guest's Network that accepts them all and names the Network.
205
+ *
206
+ * @generated from field: repeated bytes name_records = 3;
207
+ */
208
+ nameRecords: Uint8Array[];
209
+ /**
210
+ * data is what the application has the guest bring, at most 1024 bytes,
211
+ * the same for anonymous and Network guests. keywire only bounds it and
212
+ * hands it to the application deciding the redemption.
213
+ *
214
+ * @generated from field: bytes data = 4;
215
+ */
216
+ data: Uint8Array;
217
+ };
218
+ /**
219
+ * Describes the message keywire.v1.InviteAccept.
220
+ * Use `create(InviteAcceptSchema)` to create a new message.
221
+ */
222
+ export declare const InviteAcceptSchema: GenMessage<InviteAccept>;
223
+ /**
224
+ * The same Network, or the same anonymous key, redeeming the same invite
225
+ * again gets the same share; an anonymous redemption gets an anonymous
226
+ * share token.
227
+ *
228
+ * @generated from message keywire.v1.InviteAccepted
229
+ */
230
+ export type InviteAccepted = Message<"keywire.v1.InviteAccepted"> & {
231
+ /**
232
+ * @generated from field: keywire.v1.InviteStatus status = 1;
233
+ */
234
+ status: InviteStatus;
235
+ /**
236
+ * @generated from field: keywire.v1.Token share = 2;
237
+ */
238
+ share?: Token | undefined;
239
+ };
240
+ /**
241
+ * Describes the message keywire.v1.InviteAccepted.
242
+ * Use `create(InviteAcceptedSchema)` to create a new message.
243
+ */
244
+ export declare const InviteAcceptedSchema: GenMessage<InviteAccepted>;
245
+ /**
246
+ * Service 8 carries a Network guest's revocation set to the Node it is a
247
+ * guest of, on a connection admitted with a share. Each message is a
248
+ * 4-byte big-endian length, 1 to 64 KiB, and one GuestRevocations: one
249
+ * batch, merged whole or refused whole. The guest closes its write side
250
+ * after the last batch; the Node closes its own once every batch took
251
+ * effect, and resets the stream with code 1 on the first it refuses.
252
+ *
253
+ * @generated from message keywire.v1.GuestRevocations
254
+ */
255
+ export type GuestRevocations = Message<"keywire.v1.GuestRevocations"> & {
256
+ /**
257
+ * records are roster envelopes of the guest's own Network, of kinds
258
+ * revoke, owner-add and owner-remove only: 1 to 512.
259
+ *
260
+ * @generated from field: repeated bytes records = 1;
261
+ */
262
+ records: Uint8Array[];
263
+ };
264
+ /**
265
+ * Describes the message keywire.v1.GuestRevocations.
266
+ * Use `create(GuestRevocationsSchema)` to create a new message.
267
+ */
268
+ export declare const GuestRevocationsSchema: GenMessage<GuestRevocations>;
269
+ /**
270
+ * @generated from enum keywire.v1.TokenKind
271
+ */
272
+ export declare enum TokenKind {
273
+ /**
274
+ * @generated from enum value: TOKEN_KIND_UNSPECIFIED = 0;
275
+ */
276
+ UNSPECIFIED = 0,
277
+ /**
278
+ * An invite: whoever holds the private half of invite_key may redeem it,
279
+ * once, for a share.
280
+ *
281
+ * @generated from enum value: TOKEN_KIND_INVITE = 1;
282
+ */
283
+ INVITE = 1,
284
+ /**
285
+ * A share: lets grantee in to what grant names.
286
+ *
287
+ * @generated from enum value: TOKEN_KIND_SHARE = 2;
288
+ */
289
+ SHARE = 2
290
+ }
291
+ /**
292
+ * Describes the enum keywire.v1.TokenKind.
293
+ */
294
+ export declare const TokenKindSchema: GenEnum<TokenKind>;
295
+ /**
296
+ * @generated from enum keywire.v1.InviteStatus
297
+ */
298
+ export declare enum InviteStatus {
299
+ /**
300
+ * @generated from enum value: INVITE_STATUS_UNSPECIFIED = 0;
301
+ */
302
+ UNSPECIFIED = 0,
303
+ /**
304
+ * @generated from enum value: INVITE_STATUS_ACCEPTED = 1;
305
+ */
306
+ ACCEPTED = 1,
307
+ /**
308
+ * REFUSED covers a bad, expired, revoked or foreign invite, and an
309
+ * invite another Network or anonymous key redeemed first.
310
+ *
311
+ * @generated from enum value: INVITE_STATUS_REFUSED = 2;
312
+ */
313
+ REFUSED = 2,
314
+ /**
315
+ * @generated from enum value: INVITE_STATUS_BUSY = 3;
316
+ */
317
+ BUSY = 3
318
+ }
319
+ /**
320
+ * Describes the enum keywire.v1.InviteStatus.
321
+ */
322
+ export declare const InviteStatusSchema: GenEnum<InviteStatus>;