@noy-db/hub 0.7.0-pre.2 → 0.7.0-pre.3

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 (216) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/dist/{api-EQYRTZO2.js → api-CYN6LREU.js} +6 -6
  3. package/dist/as/index.js +5 -5
  4. package/dist/at/index.js +4 -4
  5. package/dist/attestation/index.js +12 -12
  6. package/dist/{backup-Z7ZBTAQ6.js → backup-2M2XJCTF.js} +6 -6
  7. package/dist/blobs/index.js +5 -5
  8. package/dist/broker/index.js +6 -6
  9. package/dist/cargo/index.js +21 -18
  10. package/dist/{chunk-IESNYJXZ.js → chunk-3WDYHATD.js} +4 -4
  11. package/dist/{chunk-ZO252Q5S.js → chunk-4E3UPRQF.js} +4 -4
  12. package/dist/{chunk-WK5FSW7T.js → chunk-5KV6OD5F.js} +4 -4
  13. package/dist/{chunk-5W7YXFV5.js → chunk-5MHTYFGJ.js} +5 -5
  14. package/dist/{chunk-2LPVI4PX.js → chunk-7BUFWUX2.js} +3 -3
  15. package/dist/{chunk-TVIFAHZR.js → chunk-AH5PSDUZ.js} +4 -4
  16. package/dist/{chunk-J4UJ5FRV.js → chunk-AWG7CA5N.js} +3 -3
  17. package/dist/{chunk-3L2MVE36.js → chunk-BCPZQDNV.js} +3 -3
  18. package/dist/{chunk-Y6GZ2P4M.js → chunk-BIB3FMKZ.js} +2 -2
  19. package/dist/{chunk-OWLVBOWO.js → chunk-CDUREIQN.js} +8 -8
  20. package/dist/{chunk-6FOGTKBY.js → chunk-DEZZ6XLD.js} +3 -3
  21. package/dist/{chunk-LR4Z47QD.js → chunk-E22PEEZI.js} +2 -2
  22. package/dist/{chunk-467SKJ65.js → chunk-ESJWYU6V.js} +3 -3
  23. package/dist/{chunk-KN4W2OQ4.js → chunk-EWHDKG4L.js} +5 -5
  24. package/dist/{chunk-4LPF226H.js → chunk-FJKEHBR6.js} +4 -4
  25. package/dist/{chunk-QI5NWLVW.js → chunk-FOU7MCGC.js} +5 -5
  26. package/dist/{chunk-6EW2UCVF.js → chunk-GMMCFQ6G.js} +3 -3
  27. package/dist/{chunk-F23WQK3G.js → chunk-GS3WHSCX.js} +4 -4
  28. package/dist/{chunk-57JTHWLQ.js → chunk-IJJHXE7X.js} +3 -3
  29. package/dist/{chunk-YMLQBZFJ.js → chunk-JHWEKNK3.js} +2 -2
  30. package/dist/{chunk-DBNYPLWY.js → chunk-JPQNAGHR.js} +2 -2
  31. package/dist/{chunk-ALUNQEBY.js → chunk-JVNMMHWL.js} +2 -2
  32. package/dist/{chunk-S35S77YU.js → chunk-K65OK6RC.js} +8 -8
  33. package/dist/{chunk-YXA2TCTZ.js → chunk-KL2UUIDX.js} +3 -3
  34. package/dist/{chunk-LF6DMX4C.js → chunk-LA6APPYL.js} +2 -2
  35. package/dist/{chunk-RC4BROYR.js → chunk-LMKIFCOL.js} +2 -2
  36. package/dist/{chunk-Z2WK53N6.js → chunk-LNA4NGAD.js} +2 -2
  37. package/dist/{chunk-DKWPJOYH.js → chunk-LYI6NCN7.js} +2 -2
  38. package/dist/{chunk-VTG7327U.js → chunk-M3VU6OO4.js} +2 -2
  39. package/dist/{chunk-PQ6Z2TAP.js → chunk-MSUJXPAG.js} +2 -2
  40. package/dist/{chunk-CN6B5PEN.js → chunk-N4NRT4LR.js} +3 -3
  41. package/dist/{chunk-H4M7ADXY.js → chunk-NTTJP7BJ.js} +6 -6
  42. package/dist/{chunk-HM4JSXX2.js → chunk-OYAF2WV3.js} +2 -2
  43. package/dist/{chunk-X62MEF2O.js → chunk-P2J6YCAI.js} +2 -2
  44. package/dist/{chunk-GK4DRVUD.js → chunk-P5SMZZ64.js} +2 -2
  45. package/dist/{chunk-ISSU3OH6.js → chunk-Q6PVNNMO.js} +6 -6
  46. package/dist/{chunk-A2YW5EMU.js → chunk-QHEQUFMH.js} +3 -3
  47. package/dist/{chunk-PCQDY6QN.js → chunk-QTOHMAVB.js} +4 -4
  48. package/dist/{chunk-H36KSN6X.js → chunk-QU6CNBV3.js} +4 -4
  49. package/dist/{chunk-N4CNVSUF.js → chunk-QUUWGF6T.js} +2 -2
  50. package/dist/{chunk-H7HP56F6.js → chunk-RJGOYXU5.js} +3 -3
  51. package/dist/{chunk-ALB64CZM.js → chunk-SKPYLVRJ.js} +3 -3
  52. package/dist/{chunk-MTBXJAS4.js → chunk-SLKGSB6T.js} +3 -3
  53. package/dist/{chunk-H3VG6XBC.js → chunk-TKP665FN.js} +10 -10
  54. package/dist/{chunk-PGFKIOR3.js → chunk-UNFHINQI.js} +3 -3
  55. package/dist/{chunk-DFAUMLD7.js → chunk-UZOBUKOI.js} +3 -3
  56. package/dist/{chunk-5AFMP532.js → chunk-V7RXWHU4.js} +3 -3
  57. package/dist/{chunk-3SMSERQU.js → chunk-WEJCZQYR.js} +52 -52
  58. package/dist/{chunk-RK7N4OQ5.js → chunk-WO7YGWEG.js} +3 -1
  59. package/dist/chunk-WO7YGWEG.js.map +1 -0
  60. package/dist/{chunk-QGJ4XIA7.js → chunk-XK4AND32.js} +2 -2
  61. package/dist/{chunk-L6GTLZRK.js → chunk-YNLC6R2S.js} +2 -2
  62. package/dist/{chunk-QHJKK77B.js → chunk-ZR5BF5RA.js} +6 -6
  63. package/dist/classified/index.js +3 -3
  64. package/dist/{classified-marker-BSQHU4JT.js → classified-marker-QRPTN524.js} +3 -3
  65. package/dist/{collection-facade-LG3NYZVB.js → collection-facade-QLWPSU62.js} +8 -8
  66. package/dist/consent/index.js +4 -4
  67. package/dist/cover/index.js +4 -4
  68. package/dist/custody/index.js +6 -6
  69. package/dist/{dead-filter-QKU56XTQ.js → dead-filter-KLGJARMK.js} +2 -2
  70. package/dist/{delegation-XWRPYODW.js → delegation-2J4CENTN.js} +4 -4
  71. package/dist/derivations/index.js +3 -3
  72. package/dist/{derive-CXHCY46K.js → derive-FW6QRNRE.js} +4 -4
  73. package/dist/directory/index.js +5 -5
  74. package/dist/{dispatch-4AP4PUZU.js → dispatch-KEFEGTT5.js} +9 -9
  75. package/dist/{dispatch-VR4LRXZ7.js → dispatch-MYSCHX3X.js} +5 -5
  76. package/dist/{enclave-NYPT7WA7.js → enclave-U3N6ZVSO.js} +4 -4
  77. package/dist/{executor-3KFRQETS.js → executor-NBQCDFZH.js} +8 -8
  78. package/dist/{export-accessible-BX2ILB4C.js → export-accessible-NFABO6AN.js} +7 -7
  79. package/dist/{extract-partition-UPOVITFI.js → extract-partition-4XJIHFK2.js} +10 -10
  80. package/dist/{fanout-sidecar-IWP3R4RC.js → fanout-sidecar-ZVPO5GE5.js} +4 -4
  81. package/dist/forget/index.js +4 -4
  82. package/dist/history/index.js +7 -7
  83. package/dist/i18n/index.js +6 -6
  84. package/dist/index.d.ts +1 -1
  85. package/dist/index.js +50 -48
  86. package/dist/index.js.map +1 -1
  87. package/dist/introspection/index.js +5 -5
  88. package/dist/{issue-G53NB6EW.js → issue-ABD3J2ZX.js} +6 -6
  89. package/dist/kernel/types.d.ts +28 -0
  90. package/dist/{ledger-T5K4P2D7.js → ledger-TXO2XPKD.js} +6 -6
  91. package/dist/liberate-3MW57V3X.js +25 -0
  92. package/dist/{link-set-76JZ6YB4.js → link-set-MC5EUME7.js} +5 -5
  93. package/dist/{managed-secret-6YC32VXG.js → managed-secret-7Q3W3PTI.js} +5 -5
  94. package/dist/materialized-views/index.js +8 -8
  95. package/dist/{noydb-4VV2ZGLZ.js → noydb-F72H6XBF.js} +27 -27
  96. package/dist/periods/index.js +6 -6
  97. package/dist/pod/index.js +30 -30
  98. package/dist/{pod-handle-P6DPBM5U.js → pod-handle-R52FX5EJ.js} +4 -4
  99. package/dist/policy/index.js +5 -5
  100. package/dist/port/to/index.d.ts +1 -0
  101. package/dist/portability/index.js +6 -6
  102. package/dist/{post-register-53O7AJRZ.js → post-register-YTELLNK5.js} +4 -4
  103. package/dist/{register-6TCBR6XD.js → register-5ZHNWRNM.js} +10 -10
  104. package/dist/{registry-YC3IFG3A.js → registry-IKK2MPOS.js} +4 -4
  105. package/dist/{registry-DH2L4O2V.js → registry-VJXAOCFP.js} +4 -4
  106. package/dist/{request-withdrawal-NM5VYR6F.js → request-withdrawal-YV4YBICE.js} +9 -9
  107. package/dist/{reveal-XBIMHAXR.js → reveal-R6ESKT2U.js} +3 -3
  108. package/dist/{revoke-MJNYWO72.js → revoke-XQMWSGDI.js} +6 -6
  109. package/dist/sealed-record/index.js +6 -6
  110. package/dist/search/index.js +1 -1
  111. package/dist/{seed-NSNIGYXE.js → seed-KNDATLFP.js} +6 -6
  112. package/dist/sequence/index.js +4 -4
  113. package/dist/session/index.js +3 -3
  114. package/dist/{signer-6XVS2AU3.js → signer-NSMW4SWL.js} +5 -5
  115. package/dist/snapshots/index.js +5 -5
  116. package/dist/{stale-MCS46TFO.js → stale-IW5OSZSH.js} +5 -5
  117. package/dist/{storage-ZXUT476I.js → storage-GT3WNVMB.js} +5 -5
  118. package/dist/{store-coordination-provider-6FM26VQM.js → store-coordination-provider-IJXF72NL.js} +5 -5
  119. package/dist/sync/index.js +4 -4
  120. package/dist/team/index.js +8 -8
  121. package/dist/tiers/index.js +4 -4
  122. package/dist/to/index.js +4 -0
  123. package/dist/to/index.js.map +1 -1
  124. package/dist/vault-head/index.js +3 -3
  125. package/dist/{walk-JNEOYCAU.js → walk-FJH2777J.js} +6 -6
  126. package/dist/with-cargo/index.d.ts +1 -0
  127. package/dist/{withdraw-accessible-ILTSXTIE.js → withdraw-accessible-TB7HL3W2.js} +8 -8
  128. package/package.json +3 -3
  129. package/dist/chunk-RK7N4OQ5.js.map +0 -1
  130. package/dist/liberate-VEOZRESE.js +0 -25
  131. /package/dist/{api-EQYRTZO2.js.map → api-CYN6LREU.js.map} +0 -0
  132. /package/dist/{backup-Z7ZBTAQ6.js.map → backup-2M2XJCTF.js.map} +0 -0
  133. /package/dist/{chunk-IESNYJXZ.js.map → chunk-3WDYHATD.js.map} +0 -0
  134. /package/dist/{chunk-ZO252Q5S.js.map → chunk-4E3UPRQF.js.map} +0 -0
  135. /package/dist/{chunk-WK5FSW7T.js.map → chunk-5KV6OD5F.js.map} +0 -0
  136. /package/dist/{chunk-5W7YXFV5.js.map → chunk-5MHTYFGJ.js.map} +0 -0
  137. /package/dist/{chunk-2LPVI4PX.js.map → chunk-7BUFWUX2.js.map} +0 -0
  138. /package/dist/{chunk-TVIFAHZR.js.map → chunk-AH5PSDUZ.js.map} +0 -0
  139. /package/dist/{chunk-J4UJ5FRV.js.map → chunk-AWG7CA5N.js.map} +0 -0
  140. /package/dist/{chunk-3L2MVE36.js.map → chunk-BCPZQDNV.js.map} +0 -0
  141. /package/dist/{chunk-Y6GZ2P4M.js.map → chunk-BIB3FMKZ.js.map} +0 -0
  142. /package/dist/{chunk-OWLVBOWO.js.map → chunk-CDUREIQN.js.map} +0 -0
  143. /package/dist/{chunk-6FOGTKBY.js.map → chunk-DEZZ6XLD.js.map} +0 -0
  144. /package/dist/{chunk-LR4Z47QD.js.map → chunk-E22PEEZI.js.map} +0 -0
  145. /package/dist/{chunk-467SKJ65.js.map → chunk-ESJWYU6V.js.map} +0 -0
  146. /package/dist/{chunk-KN4W2OQ4.js.map → chunk-EWHDKG4L.js.map} +0 -0
  147. /package/dist/{chunk-4LPF226H.js.map → chunk-FJKEHBR6.js.map} +0 -0
  148. /package/dist/{chunk-QI5NWLVW.js.map → chunk-FOU7MCGC.js.map} +0 -0
  149. /package/dist/{chunk-6EW2UCVF.js.map → chunk-GMMCFQ6G.js.map} +0 -0
  150. /package/dist/{chunk-F23WQK3G.js.map → chunk-GS3WHSCX.js.map} +0 -0
  151. /package/dist/{chunk-57JTHWLQ.js.map → chunk-IJJHXE7X.js.map} +0 -0
  152. /package/dist/{chunk-YMLQBZFJ.js.map → chunk-JHWEKNK3.js.map} +0 -0
  153. /package/dist/{chunk-DBNYPLWY.js.map → chunk-JPQNAGHR.js.map} +0 -0
  154. /package/dist/{chunk-ALUNQEBY.js.map → chunk-JVNMMHWL.js.map} +0 -0
  155. /package/dist/{chunk-S35S77YU.js.map → chunk-K65OK6RC.js.map} +0 -0
  156. /package/dist/{chunk-YXA2TCTZ.js.map → chunk-KL2UUIDX.js.map} +0 -0
  157. /package/dist/{chunk-LF6DMX4C.js.map → chunk-LA6APPYL.js.map} +0 -0
  158. /package/dist/{chunk-RC4BROYR.js.map → chunk-LMKIFCOL.js.map} +0 -0
  159. /package/dist/{chunk-Z2WK53N6.js.map → chunk-LNA4NGAD.js.map} +0 -0
  160. /package/dist/{chunk-DKWPJOYH.js.map → chunk-LYI6NCN7.js.map} +0 -0
  161. /package/dist/{chunk-VTG7327U.js.map → chunk-M3VU6OO4.js.map} +0 -0
  162. /package/dist/{chunk-PQ6Z2TAP.js.map → chunk-MSUJXPAG.js.map} +0 -0
  163. /package/dist/{chunk-CN6B5PEN.js.map → chunk-N4NRT4LR.js.map} +0 -0
  164. /package/dist/{chunk-H4M7ADXY.js.map → chunk-NTTJP7BJ.js.map} +0 -0
  165. /package/dist/{chunk-HM4JSXX2.js.map → chunk-OYAF2WV3.js.map} +0 -0
  166. /package/dist/{chunk-X62MEF2O.js.map → chunk-P2J6YCAI.js.map} +0 -0
  167. /package/dist/{chunk-GK4DRVUD.js.map → chunk-P5SMZZ64.js.map} +0 -0
  168. /package/dist/{chunk-ISSU3OH6.js.map → chunk-Q6PVNNMO.js.map} +0 -0
  169. /package/dist/{chunk-A2YW5EMU.js.map → chunk-QHEQUFMH.js.map} +0 -0
  170. /package/dist/{chunk-PCQDY6QN.js.map → chunk-QTOHMAVB.js.map} +0 -0
  171. /package/dist/{chunk-H36KSN6X.js.map → chunk-QU6CNBV3.js.map} +0 -0
  172. /package/dist/{chunk-N4CNVSUF.js.map → chunk-QUUWGF6T.js.map} +0 -0
  173. /package/dist/{chunk-H7HP56F6.js.map → chunk-RJGOYXU5.js.map} +0 -0
  174. /package/dist/{chunk-ALB64CZM.js.map → chunk-SKPYLVRJ.js.map} +0 -0
  175. /package/dist/{chunk-MTBXJAS4.js.map → chunk-SLKGSB6T.js.map} +0 -0
  176. /package/dist/{chunk-H3VG6XBC.js.map → chunk-TKP665FN.js.map} +0 -0
  177. /package/dist/{chunk-PGFKIOR3.js.map → chunk-UNFHINQI.js.map} +0 -0
  178. /package/dist/{chunk-DFAUMLD7.js.map → chunk-UZOBUKOI.js.map} +0 -0
  179. /package/dist/{chunk-5AFMP532.js.map → chunk-V7RXWHU4.js.map} +0 -0
  180. /package/dist/{chunk-3SMSERQU.js.map → chunk-WEJCZQYR.js.map} +0 -0
  181. /package/dist/{chunk-QGJ4XIA7.js.map → chunk-XK4AND32.js.map} +0 -0
  182. /package/dist/{chunk-L6GTLZRK.js.map → chunk-YNLC6R2S.js.map} +0 -0
  183. /package/dist/{chunk-QHJKK77B.js.map → chunk-ZR5BF5RA.js.map} +0 -0
  184. /package/dist/{classified-marker-BSQHU4JT.js.map → classified-marker-QRPTN524.js.map} +0 -0
  185. /package/dist/{collection-facade-LG3NYZVB.js.map → collection-facade-QLWPSU62.js.map} +0 -0
  186. /package/dist/{dead-filter-QKU56XTQ.js.map → dead-filter-KLGJARMK.js.map} +0 -0
  187. /package/dist/{delegation-XWRPYODW.js.map → delegation-2J4CENTN.js.map} +0 -0
  188. /package/dist/{derive-CXHCY46K.js.map → derive-FW6QRNRE.js.map} +0 -0
  189. /package/dist/{dispatch-4AP4PUZU.js.map → dispatch-KEFEGTT5.js.map} +0 -0
  190. /package/dist/{dispatch-VR4LRXZ7.js.map → dispatch-MYSCHX3X.js.map} +0 -0
  191. /package/dist/{enclave-NYPT7WA7.js.map → enclave-U3N6ZVSO.js.map} +0 -0
  192. /package/dist/{executor-3KFRQETS.js.map → executor-NBQCDFZH.js.map} +0 -0
  193. /package/dist/{export-accessible-BX2ILB4C.js.map → export-accessible-NFABO6AN.js.map} +0 -0
  194. /package/dist/{extract-partition-UPOVITFI.js.map → extract-partition-4XJIHFK2.js.map} +0 -0
  195. /package/dist/{fanout-sidecar-IWP3R4RC.js.map → fanout-sidecar-ZVPO5GE5.js.map} +0 -0
  196. /package/dist/{issue-G53NB6EW.js.map → issue-ABD3J2ZX.js.map} +0 -0
  197. /package/dist/{ledger-T5K4P2D7.js.map → ledger-TXO2XPKD.js.map} +0 -0
  198. /package/dist/{liberate-VEOZRESE.js.map → liberate-3MW57V3X.js.map} +0 -0
  199. /package/dist/{link-set-76JZ6YB4.js.map → link-set-MC5EUME7.js.map} +0 -0
  200. /package/dist/{managed-secret-6YC32VXG.js.map → managed-secret-7Q3W3PTI.js.map} +0 -0
  201. /package/dist/{noydb-4VV2ZGLZ.js.map → noydb-F72H6XBF.js.map} +0 -0
  202. /package/dist/{pod-handle-P6DPBM5U.js.map → pod-handle-R52FX5EJ.js.map} +0 -0
  203. /package/dist/{post-register-53O7AJRZ.js.map → post-register-YTELLNK5.js.map} +0 -0
  204. /package/dist/{register-6TCBR6XD.js.map → register-5ZHNWRNM.js.map} +0 -0
  205. /package/dist/{registry-DH2L4O2V.js.map → registry-IKK2MPOS.js.map} +0 -0
  206. /package/dist/{registry-YC3IFG3A.js.map → registry-VJXAOCFP.js.map} +0 -0
  207. /package/dist/{request-withdrawal-NM5VYR6F.js.map → request-withdrawal-YV4YBICE.js.map} +0 -0
  208. /package/dist/{reveal-XBIMHAXR.js.map → reveal-R6ESKT2U.js.map} +0 -0
  209. /package/dist/{revoke-MJNYWO72.js.map → revoke-XQMWSGDI.js.map} +0 -0
  210. /package/dist/{seed-NSNIGYXE.js.map → seed-KNDATLFP.js.map} +0 -0
  211. /package/dist/{signer-6XVS2AU3.js.map → signer-NSMW4SWL.js.map} +0 -0
  212. /package/dist/{stale-MCS46TFO.js.map → stale-IW5OSZSH.js.map} +0 -0
  213. /package/dist/{storage-ZXUT476I.js.map → storage-GT3WNVMB.js.map} +0 -0
  214. /package/dist/{store-coordination-provider-6FM26VQM.js.map → store-coordination-provider-IJXF72NL.js.map} +0 -0
  215. /package/dist/{walk-JNEOYCAU.js.map → walk-FJH2777J.js.map} +0 -0
  216. /package/dist/{withdraw-accessible-ILTSXTIE.js.map → withdraw-accessible-TB7HL3W2.js.map} +0 -0
@@ -5,15 +5,15 @@ import {
5
5
  compileSequenceFormat,
6
6
  resolveSequenceKey,
7
7
  withSequence
8
- } from "../chunk-CN6B5PEN.js";
9
- import "../chunk-2LPVI4PX.js";
10
- import "../chunk-N4CNVSUF.js";
8
+ } from "../chunk-N4NRT4LR.js";
9
+ import "../chunk-7BUFWUX2.js";
10
+ import "../chunk-QUUWGF6T.js";
11
11
  import "../chunk-FOG7YEJP.js";
12
12
  import "../chunk-KDJGJR7F.js";
13
13
  import "../chunk-LKFKXS5K.js";
14
14
  import "../chunk-LP7BEXCT.js";
15
15
  import "../chunk-W5LHQXZU.js";
16
- import "../chunk-RK7N4OQ5.js";
16
+ import "../chunk-WO7YGWEG.js";
17
17
  import {
18
18
  SequenceNotEnabledError
19
19
  } from "../chunk-JBIV4FLR.js";
@@ -17,14 +17,14 @@ import {
17
17
  NO_SESSION
18
18
  } from "../chunk-VKQCVU2Z.js";
19
19
  import "../chunk-4AOERLTV.js";
20
- import "../chunk-2LPVI4PX.js";
21
- import "../chunk-N4CNVSUF.js";
20
+ import "../chunk-7BUFWUX2.js";
21
+ import "../chunk-QUUWGF6T.js";
22
22
  import "../chunk-FOG7YEJP.js";
23
23
  import "../chunk-KDJGJR7F.js";
24
24
  import "../chunk-LKFKXS5K.js";
25
25
  import "../chunk-LP7BEXCT.js";
26
26
  import "../chunk-W5LHQXZU.js";
27
- import "../chunk-RK7N4OQ5.js";
27
+ import "../chunk-WO7YGWEG.js";
28
28
  import {
29
29
  SessionExpiredError,
30
30
  SessionNotFoundError,
@@ -4,15 +4,15 @@ import {
4
4
  SIGNER_RECORD_ID,
5
5
  loadOrCreateSigner,
6
6
  loadSigner
7
- } from "./chunk-3L2MVE36.js";
8
- import "./chunk-2LPVI4PX.js";
9
- import "./chunk-N4CNVSUF.js";
7
+ } from "./chunk-BCPZQDNV.js";
8
+ import "./chunk-7BUFWUX2.js";
9
+ import "./chunk-QUUWGF6T.js";
10
10
  import "./chunk-FOG7YEJP.js";
11
11
  import "./chunk-KDJGJR7F.js";
12
12
  import "./chunk-LKFKXS5K.js";
13
13
  import "./chunk-LP7BEXCT.js";
14
14
  import "./chunk-W5LHQXZU.js";
15
- import "./chunk-RK7N4OQ5.js";
15
+ import "./chunk-WO7YGWEG.js";
16
16
  import "./chunk-JBIV4FLR.js";
17
17
  import "./chunk-PZ5AY32C.js";
18
18
  export {
@@ -22,4 +22,4 @@ export {
22
22
  loadOrCreateSigner,
23
23
  loadSigner
24
24
  };
25
- //# sourceMappingURL=signer-6XVS2AU3.js.map
25
+ //# sourceMappingURL=signer-NSMW4SWL.js.map
@@ -4,16 +4,16 @@ import {
4
4
  import {
5
5
  readPod,
6
6
  writePod
7
- } from "../chunk-6FOGTKBY.js";
8
- import "../chunk-LF6DMX4C.js";
9
- import "../chunk-2LPVI4PX.js";
10
- import "../chunk-N4CNVSUF.js";
7
+ } from "../chunk-DEZZ6XLD.js";
8
+ import "../chunk-LA6APPYL.js";
9
+ import "../chunk-7BUFWUX2.js";
10
+ import "../chunk-QUUWGF6T.js";
11
11
  import "../chunk-FOG7YEJP.js";
12
12
  import "../chunk-KDJGJR7F.js";
13
13
  import "../chunk-LKFKXS5K.js";
14
14
  import "../chunk-LP7BEXCT.js";
15
15
  import "../chunk-W5LHQXZU.js";
16
- import "../chunk-RK7N4OQ5.js";
16
+ import "../chunk-WO7YGWEG.js";
17
17
  import {
18
18
  SnapshotNotFoundError
19
19
  } from "../chunk-JBIV4FLR.js";
@@ -6,16 +6,16 @@ import {
6
6
  isMVStale,
7
7
  markMVStale,
8
8
  resolveStaleMVOnRead
9
- } from "./chunk-PGFKIOR3.js";
9
+ } from "./chunk-UNFHINQI.js";
10
10
  import "./chunk-5D2ALSM5.js";
11
- import "./chunk-2LPVI4PX.js";
12
- import "./chunk-N4CNVSUF.js";
11
+ import "./chunk-7BUFWUX2.js";
12
+ import "./chunk-QUUWGF6T.js";
13
13
  import "./chunk-FOG7YEJP.js";
14
14
  import "./chunk-KDJGJR7F.js";
15
15
  import "./chunk-LKFKXS5K.js";
16
16
  import "./chunk-LP7BEXCT.js";
17
17
  import "./chunk-W5LHQXZU.js";
18
- import "./chunk-RK7N4OQ5.js";
18
+ import "./chunk-WO7YGWEG.js";
19
19
  import "./chunk-JBIV4FLR.js";
20
20
  import "./chunk-PZ5AY32C.js";
21
21
  export {
@@ -27,4 +27,4 @@ export {
27
27
  markMVStale,
28
28
  resolveStaleMVOnRead
29
29
  };
30
- //# sourceMappingURL=stale-MCS46TFO.js.map
30
+ //# sourceMappingURL=stale-IW5OSZSH.js.map
@@ -3,15 +3,15 @@ import {
3
3
  loadPersistedSchema,
4
4
  loadPersistedSchemaEntry,
5
5
  savePersistedSchema
6
- } from "./chunk-YXA2TCTZ.js";
7
- import "./chunk-2LPVI4PX.js";
8
- import "./chunk-N4CNVSUF.js";
6
+ } from "./chunk-KL2UUIDX.js";
7
+ import "./chunk-7BUFWUX2.js";
8
+ import "./chunk-QUUWGF6T.js";
9
9
  import "./chunk-FOG7YEJP.js";
10
10
  import "./chunk-KDJGJR7F.js";
11
11
  import "./chunk-LKFKXS5K.js";
12
12
  import "./chunk-LP7BEXCT.js";
13
13
  import "./chunk-W5LHQXZU.js";
14
- import "./chunk-RK7N4OQ5.js";
14
+ import "./chunk-WO7YGWEG.js";
15
15
  import "./chunk-JBIV4FLR.js";
16
16
  import "./chunk-PZ5AY32C.js";
17
17
  export {
@@ -20,4 +20,4 @@ export {
20
20
  loadPersistedSchemaEntry,
21
21
  savePersistedSchema
22
22
  };
23
- //# sourceMappingURL=storage-ZXUT476I.js.map
23
+ //# sourceMappingURL=storage-GT3WNVMB.js.map
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  loadFence,
3
3
  saveFence
4
- } from "./chunk-Y6GZ2P4M.js";
5
- import "./chunk-2LPVI4PX.js";
4
+ } from "./chunk-BIB3FMKZ.js";
5
+ import "./chunk-7BUFWUX2.js";
6
6
  import {
7
7
  buildRecordEnvelope
8
- } from "./chunk-N4CNVSUF.js";
8
+ } from "./chunk-QUUWGF6T.js";
9
9
  import "./chunk-FOG7YEJP.js";
10
10
  import "./chunk-KDJGJR7F.js";
11
11
  import "./chunk-LKFKXS5K.js";
12
12
  import "./chunk-LP7BEXCT.js";
13
13
  import "./chunk-W5LHQXZU.js";
14
- import "./chunk-RK7N4OQ5.js";
14
+ import "./chunk-WO7YGWEG.js";
15
15
  import "./chunk-JBIV4FLR.js";
16
16
  import "./chunk-PZ5AY32C.js";
17
17
 
@@ -146,4 +146,4 @@ function unref(timer) {
146
146
  export {
147
147
  StoreMesh
148
148
  };
149
- //# sourceMappingURL=store-coordination-provider-6FM26VQM.js.map
149
+ //# sourceMappingURL=store-coordination-provider-IJXF72NL.js.map
@@ -2,19 +2,19 @@ import {
2
2
  PresenceHandle,
3
3
  SyncEngine,
4
4
  SyncTransaction
5
- } from "../chunk-H36KSN6X.js";
5
+ } from "../chunk-QU6CNBV3.js";
6
6
  import {
7
7
  NO_SYNC
8
8
  } from "../chunk-T7IR4N2S.js";
9
9
  import "../chunk-Z7ZXZL6Y.js";
10
- import "../chunk-2LPVI4PX.js";
11
- import "../chunk-N4CNVSUF.js";
10
+ import "../chunk-7BUFWUX2.js";
11
+ import "../chunk-QUUWGF6T.js";
12
12
  import "../chunk-FOG7YEJP.js";
13
13
  import "../chunk-KDJGJR7F.js";
14
14
  import "../chunk-LKFKXS5K.js";
15
15
  import "../chunk-LP7BEXCT.js";
16
16
  import "../chunk-W5LHQXZU.js";
17
- import "../chunk-RK7N4OQ5.js";
17
+ import "../chunk-WO7YGWEG.js";
18
18
  import "../chunk-JBIV4FLR.js";
19
19
  import "../chunk-PZ5AY32C.js";
20
20
 
@@ -2,7 +2,7 @@ import {
2
2
  MemoryDeviceSeal,
3
3
  beginEchoUnlock,
4
4
  withTeam
5
- } from "../chunk-X62MEF2O.js";
5
+ } from "../chunk-P2J6YCAI.js";
6
6
  import {
7
7
  NO_TEAM,
8
8
  burnPaperRecoveryEntry,
@@ -31,8 +31,8 @@ import {
31
31
  unwrapMagicLinkGrant,
32
32
  updateAuthenticator,
33
33
  writeMagicLinkGrant
34
- } from "../chunk-H4M7ADXY.js";
35
- import "../chunk-PQ6Z2TAP.js";
34
+ } from "../chunk-NTTJP7BJ.js";
35
+ import "../chunk-MSUJXPAG.js";
36
36
  import {
37
37
  buildEchoBlock,
38
38
  buildRecipientKeyringFile,
@@ -53,18 +53,18 @@ import {
53
53
  updateKeyringIdentity,
54
54
  verifyPrompt,
55
55
  verifyTypedEcho
56
- } from "../chunk-5W7YXFV5.js";
57
- import "../chunk-DFAUMLD7.js";
56
+ } from "../chunk-5MHTYFGJ.js";
57
+ import "../chunk-UZOBUKOI.js";
58
58
  import "../chunk-HTGRQZFB.js";
59
59
  import "../chunk-POS53FG6.js";
60
- import "../chunk-2LPVI4PX.js";
61
- import "../chunk-N4CNVSUF.js";
60
+ import "../chunk-7BUFWUX2.js";
61
+ import "../chunk-QUUWGF6T.js";
62
62
  import "../chunk-FOG7YEJP.js";
63
63
  import "../chunk-KDJGJR7F.js";
64
64
  import "../chunk-LKFKXS5K.js";
65
65
  import "../chunk-LP7BEXCT.js";
66
66
  import "../chunk-W5LHQXZU.js";
67
- import "../chunk-RK7N4OQ5.js";
67
+ import "../chunk-WO7YGWEG.js";
68
68
  import {
69
69
  TeamNotEnabledError
70
70
  } from "../chunk-JBIV4FLR.js";
@@ -11,17 +11,17 @@ import {
11
11
  putAtTier,
12
12
  syncDerivedOutputs,
13
13
  withTiers
14
- } from "../chunk-WK5FSW7T.js";
14
+ } from "../chunk-5KV6OD5F.js";
15
15
  import "../chunk-HTGRQZFB.js";
16
16
  import "../chunk-POS53FG6.js";
17
- import "../chunk-2LPVI4PX.js";
18
- import "../chunk-N4CNVSUF.js";
17
+ import "../chunk-7BUFWUX2.js";
18
+ import "../chunk-QUUWGF6T.js";
19
19
  import "../chunk-FOG7YEJP.js";
20
20
  import "../chunk-KDJGJR7F.js";
21
21
  import "../chunk-LKFKXS5K.js";
22
22
  import "../chunk-LP7BEXCT.js";
23
23
  import "../chunk-W5LHQXZU.js";
24
- import "../chunk-RK7N4OQ5.js";
24
+ import "../chunk-WO7YGWEG.js";
25
25
  import {
26
26
  TiersNotEnabledError
27
27
  } from "../chunk-JBIV4FLR.js";
package/dist/to/index.js CHANGED
@@ -1,3 +1,6 @@
1
+ import {
2
+ NOYDB_ENVELOPE_GENERATION
3
+ } from "../chunk-WO7YGWEG.js";
1
4
  import {
2
5
  ConflictError,
3
6
  DuplicateStoreKindError,
@@ -39,6 +42,7 @@ function createStoreLocator() {
39
42
  export {
40
43
  ConflictError,
41
44
  DuplicateStoreKindError,
45
+ NOYDB_ENVELOPE_GENERATION,
42
46
  NetworkError,
43
47
  PodVersionConflictError,
44
48
  StoreCapabilityError,
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/port/to/locator.ts"],"sourcesContent":["/**\n * The Locator seam (#945 Task 1): a serializable, CREDENTIALLESS store\n * descriptor plus a factory registry that reconstructs a `NoydbStore` from\n * data.\n *\n * A `StoreDescriptor` is the pod-portable \"what store and where\" — kind,\n * broad topology class, and a kind-specific serializable address/options\n * bag. It is deliberately dumb data: no field on it is ever typed as a\n * function, a `StoreCredentialSource`, or a `StoreCredentials` value, so a\n * descriptor can be written into a pod / manifest / sync payload without an\n * audit for leaked secrets. Anything that must resolve device-side or\n * user-side — a short-lived credential, a device-local directory override,\n * a mounted drive handle — travels out-of-band via `resolve()`'s `opts`,\n * never through the descriptor itself.\n *\n * This module is pure TypeScript: no imports beyond the kernel's own types\n * and errors, no Node built-ins, no crypto. It adds zero runtime\n * dependencies to `@noy-db/hub/to`.\n */\nimport type { NoydbStore, NoydbPodStore, StoreCredentialSource } from '../../kernel/types.js'\nimport { DuplicateStoreKindError, UnknownStoreKindError } from '../../kernel/errors.js'\n\n/**\n * The broad topology bucket a store descriptor's kind falls into —\n * used by callers/UI to group or filter descriptors without knowing every\n * concrete `kind` string.\n */\nexport type StoreClass = 'local' | 'browser' | 'lan' | 'cloud'\n\n/**\n * A serializable, CREDENTIALLESS description of a store instance: enough\n * data to reconstruct a `NoydbStore` via a registered `StoreFactory`, and\n * safe to persist or transmit as-is.\n *\n * CREDENTIALLESS BY CONSTRUCTION: no field here may be typed as a function,\n * a `StoreCredentialSource`, or a `StoreCredentials` value. Credentials\n * NEVER ride the descriptor — they are supplied separately (as a\n * `StoreCredentialSource`) to `StoreLocator.resolve()` at resolve time.\n */\nexport interface StoreDescriptor {\n /** The registered factory key (e.g. `'file'`, `'aws-s3'`, `'webdav'`). */\n readonly kind: string\n /** The broad topology bucket this kind falls into. */\n readonly class: StoreClass\n /** Kind-specific serializable location (e.g. `{ dir }`, `{ bucket, region }`). */\n readonly address: unknown\n /** Kind-specific serializable tuning options. */\n readonly options?: unknown\n}\n\n/**\n * A kind-specific, device-local supplement to a `StoreDescriptor` — a\n * directory override, a mount point, a drive handle — that is resolved\n * device-side and never carried inside a pod alongside the descriptor.\n */\nexport type StoreBinding = unknown\n\n/**\n * Either store shape a factory may produce: the 6-method KV `NoydbStore`, or\n * the whole-vault `NoydbPodStore` implemented by `to-drive` / `to-icloud`.\n *\n * The two are DISJOINT, not sub/supertypes — a pod store has none of the six\n * KV methods — which is why moving between them needs a double cast and why\n * `isPodStore()` exists to narrow instead.\n */\nexport type AnyNoydbStore = NoydbStore | NoydbPodStore\n\n/**\n * Narrow an `AnyNoydbStore` to the pod shape. Discriminates on the\n * `kind: 'bundle'` tag `NoydbPodStore` carries for exactly this purpose; a\n * `NoydbStore` has no `kind` field at all.\n *\n * Use this at a `resolve()` boundary instead of casting — a store resolved\n * from a descriptor read out of a pod is only known to be one of the two\n * shapes at runtime.\n */\nexport function isPodStore(store: AnyNoydbStore): store is NoydbPodStore {\n return (store as NoydbPodStore).kind === 'bundle'\n}\n\n/**\n * Reconstructs a live store from a `StoreDescriptor`. Registered against a\n * `StoreLocator` under the descriptor's `kind`.\n *\n * The type parameter says WHICH shape this factory builds. It defaults to\n * `NoydbStore`, so a bare `StoreFactory` means exactly what it always has;\n * a pod-store factory declares `StoreFactory<NoydbPodStore>` and registers\n * without a cast (#988).\n */\nexport type StoreFactory<S extends AnyNoydbStore = NoydbStore> = (\n descriptor: StoreDescriptor,\n opts: { binding?: StoreBinding; credentials?: StoreCredentialSource },\n) => S | Promise<S>\n\n/** A registry of `StoreFactory`s, keyed by `StoreDescriptor.kind`. */\nexport interface StoreLocator {\n /**\n * Register a factory for `kind`. Throws if `kind` is already registered.\n *\n * Accepts a factory building EITHER store shape — `S` is inferred from the\n * factory's own return type, so a `NoydbPodStore` factory needs no cast.\n */\n register<S extends AnyNoydbStore>(kind: string, factory: StoreFactory<S>): void\n /**\n * Resolve `descriptor` to a live store via its kind's registered factory.\n *\n * Returns `NoydbStore`. If the `kind` was registered with a pod-store\n * factory, the resolved value is really a `NoydbPodStore`: this signature\n * is the seam's remaining unsoundness, kept because widening it to\n * `AnyNoydbStore` would break every existing caller. Where the descriptor's\n * kind is not statically known, prefer `resolveAny()` and `isPodStore()`.\n */\n resolve(\n descriptor: StoreDescriptor,\n opts?: { binding?: StoreBinding; credentials?: StoreCredentialSource },\n ): NoydbStore | Promise<NoydbStore>\n /**\n * As `resolve()`, but typed honestly: the registry is keyed by a runtime\n * `kind` string, so which of the two shapes comes back is not knowable\n * statically. Narrow the result with `isPodStore()`.\n */\n resolveAny(\n descriptor: StoreDescriptor,\n opts?: { binding?: StoreBinding; credentials?: StoreCredentialSource },\n ): AnyNoydbStore | Promise<AnyNoydbStore>\n}\n\n/**\n * Creates a fresh, empty `StoreLocator`.\n *\n * DUPLICATE REGISTRATION: `register()` throws if `kind` is already\n * registered, rather than silently overwriting it (last-wins). A\n * composition root that registers the same kind twice is almost always a\n * mistake — a copy-pasted setup block, two satellite packages fighting\n * over the same kind string — and last-wins would hide it behind whichever\n * registration happened to run last. This mirrors the\n * `DuplicateBehaviorNameError` philosophy (#947): fail loudly at the\n * mistake's source instead of silently at some unrelated `resolve()` call\n * later.\n */\nexport function createStoreLocator(): StoreLocator {\n const factories = new Map<string, StoreFactory<AnyNoydbStore>>()\n\n function lookup(kind: string): StoreFactory<AnyNoydbStore> {\n const factory = factories.get(kind)\n if (!factory) {\n throw new UnknownStoreKindError(kind, [...factories.keys()].sort())\n }\n return factory\n }\n\n return {\n register(kind, factory) {\n if (factories.has(kind)) {\n throw new DuplicateStoreKindError(kind)\n }\n factories.set(kind, factory)\n },\n resolve(descriptor, opts = {}) {\n // The one place the seam's `resolve(): NoydbStore` signature is paid\n // for. A pod-store `kind` really returns a `NoydbPodStore`; the registry\n // is keyed by a runtime string so nothing here can prove otherwise.\n // Concentrated in the module that owns the invariant rather than\n // duplicated as `as unknown as StoreFactory` in every pod-store package\n // (#988). `resolveAny()` is the honest signature over the same call.\n return lookup(descriptor.kind)(descriptor, opts) as NoydbStore | Promise<NoydbStore>\n },\n resolveAny(descriptor, opts = {}) {\n return lookup(descriptor.kind)(descriptor, opts)\n },\n }\n}\n"],"mappings":";;;;;;;;;;;AA4EO,SAAS,WAAW,OAA8C;AACvE,SAAQ,MAAwB,SAAS;AAC3C;AA8DO,SAAS,qBAAmC;AACjD,QAAM,YAAY,oBAAI,IAAyC;AAE/D,WAAS,OAAO,MAA2C;AACzD,UAAM,UAAU,UAAU,IAAI,IAAI;AAClC,QAAI,CAAC,SAAS;AACZ,YAAM,IAAI,sBAAsB,MAAM,CAAC,GAAG,UAAU,KAAK,CAAC,EAAE,KAAK,CAAC;AAAA,IACpE;AACA,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL,SAAS,MAAM,SAAS;AACtB,UAAI,UAAU,IAAI,IAAI,GAAG;AACvB,cAAM,IAAI,wBAAwB,IAAI;AAAA,MACxC;AACA,gBAAU,IAAI,MAAM,OAAO;AAAA,IAC7B;AAAA,IACA,QAAQ,YAAY,OAAO,CAAC,GAAG;AAO7B,aAAO,OAAO,WAAW,IAAI,EAAE,YAAY,IAAI;AAAA,IACjD;AAAA,IACA,WAAW,YAAY,OAAO,CAAC,GAAG;AAChC,aAAO,OAAO,WAAW,IAAI,EAAE,YAAY,IAAI;AAAA,IACjD;AAAA,EACF;AACF;","names":[]}
1
+ {"version":3,"sources":["../../src/port/to/locator.ts"],"sourcesContent":["/**\n * The Locator seam (#945 Task 1): a serializable, CREDENTIALLESS store\n * descriptor plus a factory registry that reconstructs a `NoydbStore` from\n * data.\n *\n * A `StoreDescriptor` is the pod-portable \"what store and where\" — kind,\n * broad topology class, and a kind-specific serializable address/options\n * bag. It is deliberately dumb data: no field on it is ever typed as a\n * function, a `StoreCredentialSource`, or a `StoreCredentials` value, so a\n * descriptor can be written into a pod / manifest / sync payload without an\n * audit for leaked secrets. Anything that must resolve device-side or\n * user-side — a short-lived credential, a device-local directory override,\n * a mounted drive handle — travels out-of-band via `resolve()`'s `opts`,\n * never through the descriptor itself.\n *\n * This module is pure TypeScript: no imports beyond the kernel's own types\n * and errors, no Node built-ins, no crypto. It adds zero runtime\n * dependencies to `@noy-db/hub/to`.\n */\nimport type { NoydbStore, NoydbPodStore, StoreCredentialSource } from '../../kernel/types.js'\nimport { DuplicateStoreKindError, UnknownStoreKindError } from '../../kernel/errors.js'\n\n/**\n * The broad topology bucket a store descriptor's kind falls into —\n * used by callers/UI to group or filter descriptors without knowing every\n * concrete `kind` string.\n */\nexport type StoreClass = 'local' | 'browser' | 'lan' | 'cloud'\n\n/**\n * A serializable, CREDENTIALLESS description of a store instance: enough\n * data to reconstruct a `NoydbStore` via a registered `StoreFactory`, and\n * safe to persist or transmit as-is.\n *\n * CREDENTIALLESS BY CONSTRUCTION: no field here may be typed as a function,\n * a `StoreCredentialSource`, or a `StoreCredentials` value. Credentials\n * NEVER ride the descriptor — they are supplied separately (as a\n * `StoreCredentialSource`) to `StoreLocator.resolve()` at resolve time.\n */\nexport interface StoreDescriptor {\n /** The registered factory key (e.g. `'file'`, `'aws-s3'`, `'webdav'`). */\n readonly kind: string\n /** The broad topology bucket this kind falls into. */\n readonly class: StoreClass\n /** Kind-specific serializable location (e.g. `{ dir }`, `{ bucket, region }`). */\n readonly address: unknown\n /** Kind-specific serializable tuning options. */\n readonly options?: unknown\n}\n\n/**\n * A kind-specific, device-local supplement to a `StoreDescriptor` — a\n * directory override, a mount point, a drive handle — that is resolved\n * device-side and never carried inside a pod alongside the descriptor.\n */\nexport type StoreBinding = unknown\n\n/**\n * Either store shape a factory may produce: the 6-method KV `NoydbStore`, or\n * the whole-vault `NoydbPodStore` implemented by `to-drive` / `to-icloud`.\n *\n * The two are DISJOINT, not sub/supertypes — a pod store has none of the six\n * KV methods — which is why moving between them needs a double cast and why\n * `isPodStore()` exists to narrow instead.\n */\nexport type AnyNoydbStore = NoydbStore | NoydbPodStore\n\n/**\n * Narrow an `AnyNoydbStore` to the pod shape. Discriminates on the\n * `kind: 'bundle'` tag `NoydbPodStore` carries for exactly this purpose; a\n * `NoydbStore` has no `kind` field at all.\n *\n * Use this at a `resolve()` boundary instead of casting — a store resolved\n * from a descriptor read out of a pod is only known to be one of the two\n * shapes at runtime.\n */\nexport function isPodStore(store: AnyNoydbStore): store is NoydbPodStore {\n return (store as NoydbPodStore).kind === 'bundle'\n}\n\n/**\n * Reconstructs a live store from a `StoreDescriptor`. Registered against a\n * `StoreLocator` under the descriptor's `kind`.\n *\n * The type parameter says WHICH shape this factory builds. It defaults to\n * `NoydbStore`, so a bare `StoreFactory` means exactly what it always has;\n * a pod-store factory declares `StoreFactory<NoydbPodStore>` and registers\n * without a cast (#988).\n */\nexport type StoreFactory<S extends AnyNoydbStore = NoydbStore> = (\n descriptor: StoreDescriptor,\n opts: { binding?: StoreBinding; credentials?: StoreCredentialSource },\n) => S | Promise<S>\n\n/** A registry of `StoreFactory`s, keyed by `StoreDescriptor.kind`. */\nexport interface StoreLocator {\n /**\n * Register a factory for `kind`. Throws if `kind` is already registered.\n *\n * Accepts a factory building EITHER store shape — `S` is inferred from the\n * factory's own return type, so a `NoydbPodStore` factory needs no cast.\n */\n register<S extends AnyNoydbStore>(kind: string, factory: StoreFactory<S>): void\n /**\n * Resolve `descriptor` to a live store via its kind's registered factory.\n *\n * Returns `NoydbStore`. If the `kind` was registered with a pod-store\n * factory, the resolved value is really a `NoydbPodStore`: this signature\n * is the seam's remaining unsoundness, kept because widening it to\n * `AnyNoydbStore` would break every existing caller. Where the descriptor's\n * kind is not statically known, prefer `resolveAny()` and `isPodStore()`.\n */\n resolve(\n descriptor: StoreDescriptor,\n opts?: { binding?: StoreBinding; credentials?: StoreCredentialSource },\n ): NoydbStore | Promise<NoydbStore>\n /**\n * As `resolve()`, but typed honestly: the registry is keyed by a runtime\n * `kind` string, so which of the two shapes comes back is not knowable\n * statically. Narrow the result with `isPodStore()`.\n */\n resolveAny(\n descriptor: StoreDescriptor,\n opts?: { binding?: StoreBinding; credentials?: StoreCredentialSource },\n ): AnyNoydbStore | Promise<AnyNoydbStore>\n}\n\n/**\n * Creates a fresh, empty `StoreLocator`.\n *\n * DUPLICATE REGISTRATION: `register()` throws if `kind` is already\n * registered, rather than silently overwriting it (last-wins). A\n * composition root that registers the same kind twice is almost always a\n * mistake — a copy-pasted setup block, two satellite packages fighting\n * over the same kind string — and last-wins would hide it behind whichever\n * registration happened to run last. This mirrors the\n * `DuplicateBehaviorNameError` philosophy (#947): fail loudly at the\n * mistake's source instead of silently at some unrelated `resolve()` call\n * later.\n */\nexport function createStoreLocator(): StoreLocator {\n const factories = new Map<string, StoreFactory<AnyNoydbStore>>()\n\n function lookup(kind: string): StoreFactory<AnyNoydbStore> {\n const factory = factories.get(kind)\n if (!factory) {\n throw new UnknownStoreKindError(kind, [...factories.keys()].sort())\n }\n return factory\n }\n\n return {\n register(kind, factory) {\n if (factories.has(kind)) {\n throw new DuplicateStoreKindError(kind)\n }\n factories.set(kind, factory)\n },\n resolve(descriptor, opts = {}) {\n // The one place the seam's `resolve(): NoydbStore` signature is paid\n // for. A pod-store `kind` really returns a `NoydbPodStore`; the registry\n // is keyed by a runtime string so nothing here can prove otherwise.\n // Concentrated in the module that owns the invariant rather than\n // duplicated as `as unknown as StoreFactory` in every pod-store package\n // (#988). `resolveAny()` is the honest signature over the same call.\n return lookup(descriptor.kind)(descriptor, opts) as NoydbStore | Promise<NoydbStore>\n },\n resolveAny(descriptor, opts = {}) {\n return lookup(descriptor.kind)(descriptor, opts)\n },\n }\n}\n"],"mappings":";;;;;;;;;;;;;;AA4EO,SAAS,WAAW,OAA8C;AACvE,SAAQ,MAAwB,SAAS;AAC3C;AA8DO,SAAS,qBAAmC;AACjD,QAAM,YAAY,oBAAI,IAAyC;AAE/D,WAAS,OAAO,MAA2C;AACzD,UAAM,UAAU,UAAU,IAAI,IAAI;AAClC,QAAI,CAAC,SAAS;AACZ,YAAM,IAAI,sBAAsB,MAAM,CAAC,GAAG,UAAU,KAAK,CAAC,EAAE,KAAK,CAAC;AAAA,IACpE;AACA,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL,SAAS,MAAM,SAAS;AACtB,UAAI,UAAU,IAAI,IAAI,GAAG;AACvB,cAAM,IAAI,wBAAwB,IAAI;AAAA,MACxC;AACA,gBAAU,IAAI,MAAM,OAAO;AAAA,IAC7B;AAAA,IACA,QAAQ,YAAY,OAAO,CAAC,GAAG;AAO7B,aAAO,OAAO,WAAW,IAAI,EAAE,YAAY,IAAI;AAAA,IACjD;AAAA,IACA,WAAW,YAAY,OAAO,CAAC,GAAG;AAChC,aAAO,OAAO,WAAW,IAAI,EAAE,YAAY,IAAI;AAAA,IACjD;AAAA,EACF;AACF;","names":[]}
@@ -6,10 +6,10 @@ import {
6
6
  import {
7
7
  buildRecordAad,
8
8
  openEnvelopeJson
9
- } from "../chunk-2LPVI4PX.js";
9
+ } from "../chunk-7BUFWUX2.js";
10
10
  import {
11
11
  buildRecordEnvelope
12
- } from "../chunk-N4CNVSUF.js";
12
+ } from "../chunk-QUUWGF6T.js";
13
13
  import "../chunk-FOG7YEJP.js";
14
14
  import "../chunk-KDJGJR7F.js";
15
15
  import "../chunk-LKFKXS5K.js";
@@ -17,7 +17,7 @@ import "../chunk-LP7BEXCT.js";
17
17
  import {
18
18
  encrypt
19
19
  } from "../chunk-W5LHQXZU.js";
20
- import "../chunk-RK7N4OQ5.js";
20
+ import "../chunk-WO7YGWEG.js";
21
21
  import "../chunk-JBIV4FLR.js";
22
22
  import "../chunk-PZ5AY32C.js";
23
23
 
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  dumpVaultSchema
3
- } from "./chunk-HM4JSXX2.js";
3
+ } from "./chunk-OYAF2WV3.js";
4
4
  import "./chunk-KHKKD62N.js";
5
5
  import "./chunk-P6ASQOZR.js";
6
6
  import "./chunk-Y2NBBT6K.js";
7
- import "./chunk-YXA2TCTZ.js";
8
- import "./chunk-2LPVI4PX.js";
9
- import "./chunk-N4CNVSUF.js";
7
+ import "./chunk-KL2UUIDX.js";
8
+ import "./chunk-7BUFWUX2.js";
9
+ import "./chunk-QUUWGF6T.js";
10
10
  import "./chunk-FOG7YEJP.js";
11
11
  import "./chunk-KDJGJR7F.js";
12
12
  import "./chunk-LKFKXS5K.js";
13
13
  import "./chunk-LP7BEXCT.js";
14
14
  import "./chunk-W5LHQXZU.js";
15
- import "./chunk-RK7N4OQ5.js";
15
+ import "./chunk-WO7YGWEG.js";
16
16
  import "./chunk-JBIV4FLR.js";
17
17
  import "./chunk-PZ5AY32C.js";
18
18
  export {
19
19
  dumpVaultSchema
20
20
  };
21
- //# sourceMappingURL=walk-JNEOYCAU.js.map
21
+ //# sourceMappingURL=walk-FJH2777J.js.map
@@ -22,6 +22,7 @@ export type { DeedMarker } from '../with-party/team/deed.js';
22
22
  export type { NoydbSealer } from '../with-party/team/managed-secret.js';
23
23
  export { diffVault } from './vault-diff.js';
24
24
  export { STATE_VAULT_NAME } from '../kernel/constants.js';
25
+ export { NOYDB_ENVELOPE_GENERATION } from '../kernel/types.js';
25
26
  export { withCargo } from './active.js';
26
27
  export { NO_CARGO } from './strategy.js';
27
28
  export type { CargoStrategy } from './strategy.js';
@@ -4,18 +4,18 @@ import {
4
4
  freezeSnapshotOnly,
5
5
  randomId,
6
6
  withdrawAccessibleData
7
- } from "./chunk-H7HP56F6.js";
8
- import "./chunk-DKWPJOYH.js";
9
- import "./chunk-6FOGTKBY.js";
10
- import "./chunk-LF6DMX4C.js";
11
- import "./chunk-2LPVI4PX.js";
12
- import "./chunk-N4CNVSUF.js";
7
+ } from "./chunk-RJGOYXU5.js";
8
+ import "./chunk-LYI6NCN7.js";
9
+ import "./chunk-DEZZ6XLD.js";
10
+ import "./chunk-LA6APPYL.js";
11
+ import "./chunk-7BUFWUX2.js";
12
+ import "./chunk-QUUWGF6T.js";
13
13
  import "./chunk-FOG7YEJP.js";
14
14
  import "./chunk-KDJGJR7F.js";
15
15
  import "./chunk-LKFKXS5K.js";
16
16
  import "./chunk-LP7BEXCT.js";
17
17
  import "./chunk-W5LHQXZU.js";
18
- import "./chunk-RK7N4OQ5.js";
18
+ import "./chunk-WO7YGWEG.js";
19
19
  import "./chunk-JBIV4FLR.js";
20
20
  import "./chunk-PZ5AY32C.js";
21
21
  export {
@@ -25,4 +25,4 @@ export {
25
25
  randomId,
26
26
  withdrawAccessibleData
27
27
  };
28
- //# sourceMappingURL=withdraw-accessible-ILTSXTIE.js.map
28
+ //# sourceMappingURL=withdraw-accessible-TB7HL3W2.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@noy-db/hub",
3
- "version": "0.7.0-pre.2",
3
+ "version": "0.7.0-pre.3",
4
4
  "description": "Zero-knowledge, offline-first, encrypted document store — core library with AES-256-GCM, PBKDF2, multi-user keyring, and sync engine",
5
5
  "license": "MIT",
6
6
  "author": "vLannaAi <vicio@lanna.ai>",
@@ -233,14 +233,14 @@
233
233
  "node": ">=22.0.0"
234
234
  },
235
235
  "dependencies": {
236
- "@noy-db/attestation": "0.7.0-pre.2"
236
+ "@noy-db/attestation": "0.7.0-pre.3"
237
237
  },
238
238
  "devDependencies": {
239
239
  "@types/node": "^22.0.0",
240
240
  "esbuild": "^0.25.0",
241
241
  "zod": "^4.0.0",
242
242
  "zod-to-json-schema": "^3.25.2",
243
- "@noy-db/on-shamir": "0.7.0-pre.2"
243
+ "@noy-db/on-shamir": "0.7.0-pre.3"
244
244
  },
245
245
  "peerDependencies": {
246
246
  "zod-to-json-schema": "^3.25.0"