@noy-db/hub 0.6.0-pre.16 → 0.6.0-pre.17

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 (209) hide show
  1. package/dist/{api-NAY63UIE.js → api-AEIN3KAQ.js} +6 -6
  2. package/dist/attestation/index.js +12 -12
  3. package/dist/{backup-M2VND2VS.js → backup-7X3PFTSI.js} +6 -6
  4. package/dist/blobs/index.js +5 -5
  5. package/dist/broker/index.js +6 -6
  6. package/dist/cargo/index.js +18 -18
  7. package/dist/{chunk-RRMXMJUP.js → chunk-2RGQNFJB.js} +3 -3
  8. package/dist/{chunk-B4G3JPH5.js → chunk-4GR422R5.js} +3 -3
  9. package/dist/{chunk-SFY6NT7D.js → chunk-5UGEGEIJ.js} +1 -1
  10. package/dist/chunk-5UGEGEIJ.js.map +1 -0
  11. package/dist/{chunk-6UAVKAG6.js → chunk-5VVBZ6E4.js} +2 -2
  12. package/dist/{chunk-4XEUSZWN.js → chunk-67XA44HH.js} +2 -2
  13. package/dist/{chunk-A3WHDOWI.js → chunk-6JRIYG2C.js} +3 -3
  14. package/dist/{chunk-6EF3N2MH.js → chunk-6VAM5THN.js} +10 -10
  15. package/dist/{chunk-56W3T5O2.js → chunk-7TZTQS4H.js} +4 -4
  16. package/dist/{chunk-T6CCRXD3.js → chunk-AKFNLRA2.js} +3 -3
  17. package/dist/{chunk-HNX47VTC.js → chunk-APUP2J5M.js} +6 -6
  18. package/dist/{chunk-LTVETWDH.js → chunk-BKYQNNO3.js} +31 -3
  19. package/dist/chunk-BKYQNNO3.js.map +1 -0
  20. package/dist/{chunk-JZVXGOJE.js → chunk-BMDF4TLU.js} +2 -2
  21. package/dist/{chunk-5CH4DWQA.js → chunk-C3YP5KKS.js} +3 -3
  22. package/dist/{chunk-4VRZDYRE.js → chunk-C52CJDFO.js} +2 -2
  23. package/dist/{chunk-35RIRCGW.js → chunk-D6E5N2O3.js} +3 -3
  24. package/dist/{chunk-OPGKH5RD.js → chunk-DEP24EE3.js} +2 -2
  25. package/dist/{chunk-OJEDR25M.js → chunk-EEBMKMA7.js} +5 -5
  26. package/dist/{chunk-343FH4S5.js → chunk-EMFFWSAD.js} +2 -2
  27. package/dist/{chunk-NY6RQBUN.js → chunk-ES36R3U2.js} +3 -3
  28. package/dist/{chunk-TTAND7MR.js → chunk-FHFMWYGM.js} +4 -4
  29. package/dist/{chunk-CZV57HHC.js → chunk-GWI65NDQ.js} +2 -2
  30. package/dist/{chunk-AD2PJGSS.js → chunk-I7JF5TNL.js} +2 -2
  31. package/dist/{chunk-5TF5DUQ5.js → chunk-IEA3TZJE.js} +4 -4
  32. package/dist/{chunk-YX6J3Z3Z.js → chunk-IRHOQFA7.js} +2 -2
  33. package/dist/{chunk-55B3KHZW.js → chunk-JAHIL6WO.js} +2 -2
  34. package/dist/{chunk-4JDTLWUZ.js → chunk-JHYISAID.js} +8 -8
  35. package/dist/{chunk-KKRFL5E2.js → chunk-JV2CNEX2.js} +51 -51
  36. package/dist/{chunk-NBLLQOMR.js → chunk-LUFZPROB.js} +4 -4
  37. package/dist/{chunk-53PWELSC.js → chunk-N4GAJSRQ.js} +2 -2
  38. package/dist/{chunk-I5OLA3H6.js → chunk-N7HOHWKF.js} +2 -2
  39. package/dist/{chunk-TWPTRJEU.js → chunk-NWPR2V5W.js} +2 -2
  40. package/dist/{chunk-WMZQCXZ5.js → chunk-OAWVM5L6.js} +6 -6
  41. package/dist/{chunk-IQGIPRSE.js → chunk-OXRPH6AR.js} +3 -3
  42. package/dist/{chunk-TY6N3PAC.js → chunk-P5ARVLNW.js} +3 -3
  43. package/dist/{chunk-IGE6XWKK.js → chunk-QC2HGYFX.js} +3 -3
  44. package/dist/{chunk-PZLIA5R3.js → chunk-QJBXB4WU.js} +3 -3
  45. package/dist/{chunk-H5U4T6JK.js → chunk-QKRJUPAC.js} +5 -5
  46. package/dist/{chunk-6E2JZRBD.js → chunk-RGPB25DB.js} +2 -2
  47. package/dist/{chunk-THUITYH7.js → chunk-SDEHNGWW.js} +3 -3
  48. package/dist/{chunk-PJGMBELR.js → chunk-SJOK23XT.js} +3 -3
  49. package/dist/{chunk-WMUN7ZUD.js → chunk-UKKBKEUI.js} +2 -2
  50. package/dist/{chunk-MKSTUVMJ.js → chunk-UNR6G3EJ.js} +8 -8
  51. package/dist/{chunk-VUUUIKRG.js → chunk-URVL4EKU.js} +3 -3
  52. package/dist/{chunk-4CSG6KBX.js → chunk-V3OLO4TK.js} +3 -3
  53. package/dist/{chunk-76FBDG6M.js → chunk-VEA35MQP.js} +4 -4
  54. package/dist/{chunk-4DJQU3PH.js → chunk-VQQUOEON.js} +2 -2
  55. package/dist/{chunk-UVFO25FJ.js → chunk-VUQZYVYX.js} +4 -4
  56. package/dist/{chunk-LJDW6LQJ.js → chunk-WBHQX6ME.js} +34 -16
  57. package/dist/chunk-WBHQX6ME.js.map +1 -0
  58. package/dist/{chunk-3OEWD45V.js → chunk-X2FXEEQT.js} +5 -5
  59. package/dist/{chunk-MKV2KYRV.js → chunk-XTC5EKST.js} +2 -2
  60. package/dist/{chunk-LGGLPURL.js → chunk-Z2OFE6IX.js} +2 -2
  61. package/dist/classified/index.js +3 -3
  62. package/dist/{classified-marker-L7LXKS6Q.js → classified-marker-W2PUYC3K.js} +3 -3
  63. package/dist/{collection-facade-KN3UFKZ4.js → collection-facade-CRXN72DU.js} +8 -8
  64. package/dist/consent/index.js +4 -4
  65. package/dist/cover/index.js +2 -2
  66. package/dist/custody/index.js +6 -6
  67. package/dist/{dead-filter-6HG5FP3I.js → dead-filter-MVFQCLXY.js} +2 -2
  68. package/dist/{delegation-7EGBYBRN.js → delegation-I7XXO5LL.js} +4 -4
  69. package/dist/derivations/index.js +3 -3
  70. package/dist/{derive-XKAYJ2OA.js → derive-NL7X2EFT.js} +4 -4
  71. package/dist/directory/index.js +5 -5
  72. package/dist/{dispatch-56T7VPGE.js → dispatch-K3MDLCXG.js} +5 -5
  73. package/dist/{dispatch-BM5GNCE2.js → dispatch-PY5RUHJF.js} +9 -9
  74. package/dist/{enclave-KDLGVX5Z.js → enclave-77K7UDLS.js} +8 -4
  75. package/dist/{executor-LFHRV6JH.js → executor-FNGVGDW3.js} +8 -8
  76. package/dist/{export-accessible-HFBJ4JJY.js → export-accessible-QWUYY2OY.js} +7 -7
  77. package/dist/{extract-partition-7ZRFN6QP.js → extract-partition-CGCURVS4.js} +10 -10
  78. package/dist/{fanout-sidecar-MT2OBMZB.js → fanout-sidecar-JI3MUPQV.js} +4 -4
  79. package/dist/forget/index.js +4 -4
  80. package/dist/history/index.js +6 -6
  81. package/dist/i18n/index.js +6 -6
  82. package/dist/index.js +47 -47
  83. package/dist/introspection/index.js +5 -5
  84. package/dist/{issue-LCOOEH45.js → issue-7IPUNAFA.js} +6 -6
  85. package/dist/kernel/enclave/index.d.ts +1 -0
  86. package/dist/kernel/enclave/record-keys/rekey.d.ts +62 -0
  87. package/dist/kernel/types.d.ts +15 -0
  88. package/dist/{ledger-6IHXJHDD.js → ledger-3RDSSMGD.js} +6 -6
  89. package/dist/liberate-2DNJ7AJ7.js +24 -0
  90. package/dist/{link-set-XRVHGYWC.js → link-set-VJIWWUZO.js} +5 -5
  91. package/dist/{managed-secret-IDAOXSSX.js → managed-secret-XGGJ3BC3.js} +3 -3
  92. package/dist/materialized-views/index.js +8 -8
  93. package/dist/{noydb-M5WII7RP.js → noydb-CLQP36JR.js} +25 -25
  94. package/dist/periods/index.js +6 -6
  95. package/dist/pod/index.js +28 -28
  96. package/dist/{pod-handle-BYUSBXCT.js → pod-handle-7BVSWP5B.js} +4 -4
  97. package/dist/policy/index.js +3 -3
  98. package/dist/portability/index.js +6 -6
  99. package/dist/{post-register-O3YW6CGS.js → post-register-W3T4U57K.js} +4 -4
  100. package/dist/{register-XHOOX37G.js → register-YUVC4G27.js} +10 -10
  101. package/dist/{registry-OFMM4WAC.js → registry-BPKJX562.js} +4 -4
  102. package/dist/{registry-CYAFB35H.js → registry-HRFRBFDV.js} +4 -4
  103. package/dist/{request-withdrawal-GCE2SLNW.js → request-withdrawal-CXTQLMJK.js} +9 -9
  104. package/dist/{reveal-UHBP5IH3.js → reveal-G7W7N3AZ.js} +3 -3
  105. package/dist/{revoke-6KY4VGZY.js → revoke-ZX3TZUI6.js} +6 -6
  106. package/dist/sealed-record/index.js +6 -6
  107. package/dist/search/index.js +1 -1
  108. package/dist/{seed-DGLQTCIO.js → seed-2FUULTQV.js} +6 -6
  109. package/dist/sequence/index.js +4 -4
  110. package/dist/session/index.js +3 -3
  111. package/dist/{signer-SLOMB6HS.js → signer-FPUIX63Z.js} +5 -5
  112. package/dist/snapshots/index.js +5 -5
  113. package/dist/{stale-26ZJLNLG.js → stale-42FPALK2.js} +5 -5
  114. package/dist/{storage-N3IMFNGS.js → storage-6QODT6K5.js} +5 -5
  115. package/dist/{store-coordination-provider-RGHCIRWV.js → store-coordination-provider-Y3VXBHPL.js} +3 -3
  116. package/dist/sync/index.js +4 -4
  117. package/dist/team/index.js +8 -8
  118. package/dist/tiers/index.js +4 -4
  119. package/dist/{walk-B4YFJJ7S.js → walk-5PGJI3ND.js} +6 -6
  120. package/dist/with-party/team/keyring.d.ts +5 -0
  121. package/dist/{withdraw-accessible-OYG7YZUR.js → withdraw-accessible-PFCQQGNP.js} +8 -8
  122. package/package.json +3 -3
  123. package/dist/chunk-LJDW6LQJ.js.map +0 -1
  124. package/dist/chunk-LTVETWDH.js.map +0 -1
  125. package/dist/chunk-SFY6NT7D.js.map +0 -1
  126. package/dist/liberate-UEYC4QLJ.js +0 -24
  127. /package/dist/{api-NAY63UIE.js.map → api-AEIN3KAQ.js.map} +0 -0
  128. /package/dist/{backup-M2VND2VS.js.map → backup-7X3PFTSI.js.map} +0 -0
  129. /package/dist/{chunk-RRMXMJUP.js.map → chunk-2RGQNFJB.js.map} +0 -0
  130. /package/dist/{chunk-B4G3JPH5.js.map → chunk-4GR422R5.js.map} +0 -0
  131. /package/dist/{chunk-6UAVKAG6.js.map → chunk-5VVBZ6E4.js.map} +0 -0
  132. /package/dist/{chunk-4XEUSZWN.js.map → chunk-67XA44HH.js.map} +0 -0
  133. /package/dist/{chunk-A3WHDOWI.js.map → chunk-6JRIYG2C.js.map} +0 -0
  134. /package/dist/{chunk-6EF3N2MH.js.map → chunk-6VAM5THN.js.map} +0 -0
  135. /package/dist/{chunk-56W3T5O2.js.map → chunk-7TZTQS4H.js.map} +0 -0
  136. /package/dist/{chunk-T6CCRXD3.js.map → chunk-AKFNLRA2.js.map} +0 -0
  137. /package/dist/{chunk-HNX47VTC.js.map → chunk-APUP2J5M.js.map} +0 -0
  138. /package/dist/{chunk-JZVXGOJE.js.map → chunk-BMDF4TLU.js.map} +0 -0
  139. /package/dist/{chunk-5CH4DWQA.js.map → chunk-C3YP5KKS.js.map} +0 -0
  140. /package/dist/{chunk-4VRZDYRE.js.map → chunk-C52CJDFO.js.map} +0 -0
  141. /package/dist/{chunk-35RIRCGW.js.map → chunk-D6E5N2O3.js.map} +0 -0
  142. /package/dist/{chunk-OPGKH5RD.js.map → chunk-DEP24EE3.js.map} +0 -0
  143. /package/dist/{chunk-OJEDR25M.js.map → chunk-EEBMKMA7.js.map} +0 -0
  144. /package/dist/{chunk-343FH4S5.js.map → chunk-EMFFWSAD.js.map} +0 -0
  145. /package/dist/{chunk-NY6RQBUN.js.map → chunk-ES36R3U2.js.map} +0 -0
  146. /package/dist/{chunk-TTAND7MR.js.map → chunk-FHFMWYGM.js.map} +0 -0
  147. /package/dist/{chunk-CZV57HHC.js.map → chunk-GWI65NDQ.js.map} +0 -0
  148. /package/dist/{chunk-AD2PJGSS.js.map → chunk-I7JF5TNL.js.map} +0 -0
  149. /package/dist/{chunk-5TF5DUQ5.js.map → chunk-IEA3TZJE.js.map} +0 -0
  150. /package/dist/{chunk-YX6J3Z3Z.js.map → chunk-IRHOQFA7.js.map} +0 -0
  151. /package/dist/{chunk-55B3KHZW.js.map → chunk-JAHIL6WO.js.map} +0 -0
  152. /package/dist/{chunk-4JDTLWUZ.js.map → chunk-JHYISAID.js.map} +0 -0
  153. /package/dist/{chunk-KKRFL5E2.js.map → chunk-JV2CNEX2.js.map} +0 -0
  154. /package/dist/{chunk-NBLLQOMR.js.map → chunk-LUFZPROB.js.map} +0 -0
  155. /package/dist/{chunk-53PWELSC.js.map → chunk-N4GAJSRQ.js.map} +0 -0
  156. /package/dist/{chunk-I5OLA3H6.js.map → chunk-N7HOHWKF.js.map} +0 -0
  157. /package/dist/{chunk-TWPTRJEU.js.map → chunk-NWPR2V5W.js.map} +0 -0
  158. /package/dist/{chunk-WMZQCXZ5.js.map → chunk-OAWVM5L6.js.map} +0 -0
  159. /package/dist/{chunk-IQGIPRSE.js.map → chunk-OXRPH6AR.js.map} +0 -0
  160. /package/dist/{chunk-TY6N3PAC.js.map → chunk-P5ARVLNW.js.map} +0 -0
  161. /package/dist/{chunk-IGE6XWKK.js.map → chunk-QC2HGYFX.js.map} +0 -0
  162. /package/dist/{chunk-PZLIA5R3.js.map → chunk-QJBXB4WU.js.map} +0 -0
  163. /package/dist/{chunk-H5U4T6JK.js.map → chunk-QKRJUPAC.js.map} +0 -0
  164. /package/dist/{chunk-6E2JZRBD.js.map → chunk-RGPB25DB.js.map} +0 -0
  165. /package/dist/{chunk-THUITYH7.js.map → chunk-SDEHNGWW.js.map} +0 -0
  166. /package/dist/{chunk-PJGMBELR.js.map → chunk-SJOK23XT.js.map} +0 -0
  167. /package/dist/{chunk-WMUN7ZUD.js.map → chunk-UKKBKEUI.js.map} +0 -0
  168. /package/dist/{chunk-MKSTUVMJ.js.map → chunk-UNR6G3EJ.js.map} +0 -0
  169. /package/dist/{chunk-VUUUIKRG.js.map → chunk-URVL4EKU.js.map} +0 -0
  170. /package/dist/{chunk-4CSG6KBX.js.map → chunk-V3OLO4TK.js.map} +0 -0
  171. /package/dist/{chunk-76FBDG6M.js.map → chunk-VEA35MQP.js.map} +0 -0
  172. /package/dist/{chunk-4DJQU3PH.js.map → chunk-VQQUOEON.js.map} +0 -0
  173. /package/dist/{chunk-UVFO25FJ.js.map → chunk-VUQZYVYX.js.map} +0 -0
  174. /package/dist/{chunk-3OEWD45V.js.map → chunk-X2FXEEQT.js.map} +0 -0
  175. /package/dist/{chunk-MKV2KYRV.js.map → chunk-XTC5EKST.js.map} +0 -0
  176. /package/dist/{chunk-LGGLPURL.js.map → chunk-Z2OFE6IX.js.map} +0 -0
  177. /package/dist/{classified-marker-L7LXKS6Q.js.map → classified-marker-W2PUYC3K.js.map} +0 -0
  178. /package/dist/{collection-facade-KN3UFKZ4.js.map → collection-facade-CRXN72DU.js.map} +0 -0
  179. /package/dist/{dead-filter-6HG5FP3I.js.map → dead-filter-MVFQCLXY.js.map} +0 -0
  180. /package/dist/{delegation-7EGBYBRN.js.map → delegation-I7XXO5LL.js.map} +0 -0
  181. /package/dist/{derive-XKAYJ2OA.js.map → derive-NL7X2EFT.js.map} +0 -0
  182. /package/dist/{dispatch-56T7VPGE.js.map → dispatch-K3MDLCXG.js.map} +0 -0
  183. /package/dist/{dispatch-BM5GNCE2.js.map → dispatch-PY5RUHJF.js.map} +0 -0
  184. /package/dist/{enclave-KDLGVX5Z.js.map → enclave-77K7UDLS.js.map} +0 -0
  185. /package/dist/{executor-LFHRV6JH.js.map → executor-FNGVGDW3.js.map} +0 -0
  186. /package/dist/{export-accessible-HFBJ4JJY.js.map → export-accessible-QWUYY2OY.js.map} +0 -0
  187. /package/dist/{extract-partition-7ZRFN6QP.js.map → extract-partition-CGCURVS4.js.map} +0 -0
  188. /package/dist/{fanout-sidecar-MT2OBMZB.js.map → fanout-sidecar-JI3MUPQV.js.map} +0 -0
  189. /package/dist/{issue-LCOOEH45.js.map → issue-7IPUNAFA.js.map} +0 -0
  190. /package/dist/{ledger-6IHXJHDD.js.map → ledger-3RDSSMGD.js.map} +0 -0
  191. /package/dist/{liberate-UEYC4QLJ.js.map → liberate-2DNJ7AJ7.js.map} +0 -0
  192. /package/dist/{link-set-XRVHGYWC.js.map → link-set-VJIWWUZO.js.map} +0 -0
  193. /package/dist/{managed-secret-IDAOXSSX.js.map → managed-secret-XGGJ3BC3.js.map} +0 -0
  194. /package/dist/{noydb-M5WII7RP.js.map → noydb-CLQP36JR.js.map} +0 -0
  195. /package/dist/{pod-handle-BYUSBXCT.js.map → pod-handle-7BVSWP5B.js.map} +0 -0
  196. /package/dist/{post-register-O3YW6CGS.js.map → post-register-W3T4U57K.js.map} +0 -0
  197. /package/dist/{register-XHOOX37G.js.map → register-YUVC4G27.js.map} +0 -0
  198. /package/dist/{registry-CYAFB35H.js.map → registry-BPKJX562.js.map} +0 -0
  199. /package/dist/{registry-OFMM4WAC.js.map → registry-HRFRBFDV.js.map} +0 -0
  200. /package/dist/{request-withdrawal-GCE2SLNW.js.map → request-withdrawal-CXTQLMJK.js.map} +0 -0
  201. /package/dist/{reveal-UHBP5IH3.js.map → reveal-G7W7N3AZ.js.map} +0 -0
  202. /package/dist/{revoke-6KY4VGZY.js.map → revoke-ZX3TZUI6.js.map} +0 -0
  203. /package/dist/{seed-DGLQTCIO.js.map → seed-2FUULTQV.js.map} +0 -0
  204. /package/dist/{signer-SLOMB6HS.js.map → signer-FPUIX63Z.js.map} +0 -0
  205. /package/dist/{stale-26ZJLNLG.js.map → stale-42FPALK2.js.map} +0 -0
  206. /package/dist/{storage-N3IMFNGS.js.map → storage-6QODT6K5.js.map} +0 -0
  207. /package/dist/{store-coordination-provider-RGHCIRWV.js.map → store-coordination-provider-Y3VXBHPL.js.map} +0 -0
  208. /package/dist/{walk-B4YFJJ7S.js.map → walk-5PGJI3ND.js.map} +0 -0
  209. /package/dist/{withdraw-accessible-OYG7YZUR.js.map → withdraw-accessible-PFCQQGNP.js.map} +0 -0
@@ -3,22 +3,22 @@ import {
3
3
  } from "./chunk-EPFF7LOX.js";
4
4
  import {
5
5
  loadFence
6
- } from "./chunk-4VRZDYRE.js";
6
+ } from "./chunk-C52CJDFO.js";
7
7
  import {
8
8
  SCHEMAS_COLLECTION,
9
9
  loadPersistedSchema
10
- } from "./chunk-A3WHDOWI.js";
10
+ } from "./chunk-6JRIYG2C.js";
11
11
  import {
12
12
  canonicalJson,
13
13
  sha256Hex
14
- } from "./chunk-53PWELSC.js";
14
+ } from "./chunk-N4GAJSRQ.js";
15
15
  import {
16
16
  openEnvelopeJson,
17
17
  writeEnvelopeBody
18
- } from "./chunk-LTVETWDH.js";
18
+ } from "./chunk-BKYQNNO3.js";
19
19
  import {
20
20
  NOYDB_FORMAT_VERSION
21
- } from "./chunk-SFY6NT7D.js";
21
+ } from "./chunk-5UGEGEIJ.js";
22
22
 
23
23
  // src/with-shape/manifest/types.ts
24
24
  var MANIFEST_SCHEMA_RECORD_ID = "schema";
@@ -88,4 +88,4 @@ export {
88
88
  saveSchemaManifest,
89
89
  deriveSchemaManifest
90
90
  };
91
- //# sourceMappingURL=chunk-WMZQCXZ5.js.map
91
+ //# sourceMappingURL=chunk-OAWVM5L6.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  envelopePayloadHash
3
- } from "./chunk-53PWELSC.js";
3
+ } from "./chunk-N4GAJSRQ.js";
4
4
  import {
5
5
  NOYDB_FORMAT_VERSION
6
- } from "./chunk-SFY6NT7D.js";
6
+ } from "./chunk-5UGEGEIJ.js";
7
7
  import {
8
8
  DictKeyMissingError,
9
9
  PermissionDeniedError
@@ -389,4 +389,4 @@ export {
389
389
  dictCollectionName,
390
390
  LookupHandle
391
391
  };
392
- //# sourceMappingURL=chunk-IQGIPRSE.js.map
392
+ //# sourceMappingURL=chunk-OXRPH6AR.js.map
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  buildAccessibleBundle,
3
3
  resolveAccessibleCollections
4
- } from "./chunk-TWPTRJEU.js";
4
+ } from "./chunk-NWPR2V5W.js";
5
5
  import {
6
6
  sha256Hex
7
7
  } from "./chunk-QTDAPDDV.js";
8
8
  import {
9
9
  NOYDB_FORMAT_VERSION
10
- } from "./chunk-SFY6NT7D.js";
10
+ } from "./chunk-5UGEGEIJ.js";
11
11
  import {
12
12
  ReadOnlyError
13
13
  } from "./chunk-I64WQSN3.js";
@@ -114,4 +114,4 @@ export {
114
114
  freezeAndDeleteClosure,
115
115
  withdrawAccessibleData
116
116
  };
117
- //# sourceMappingURL=chunk-TY6N3PAC.js.map
117
+ //# sourceMappingURL=chunk-P5ARVLNW.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  grant,
3
3
  revoke
4
- } from "./chunk-LJDW6LQJ.js";
4
+ } from "./chunk-WBHQX6ME.js";
5
5
  import {
6
6
  CustodyNotEnabledError
7
7
  } from "./chunk-I64WQSN3.js";
@@ -16,7 +16,7 @@ function withCustody() {
16
16
  return host._revokeCustodianImpl(revoke, vault, options, factors);
17
17
  },
18
18
  async liberate(vault, opts) {
19
- const { liberateVault } = await import("./liberate-UEYC4QLJ.js");
19
+ const { liberateVault } = await import("./liberate-2DNJ7AJ7.js");
20
20
  return liberateVault(vault, opts);
21
21
  }
22
22
  };
@@ -74,4 +74,4 @@ export {
74
74
  withCustody,
75
75
  CustodyApi
76
76
  };
77
- //# sourceMappingURL=chunk-IGE6XWKK.js.map
77
+ //# sourceMappingURL=chunk-QC2HGYFX.js.map
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  openEnvelopeJson
3
- } from "./chunk-LTVETWDH.js";
3
+ } from "./chunk-BKYQNNO3.js";
4
4
  import {
5
5
  encrypt
6
6
  } from "./chunk-QTDAPDDV.js";
7
7
  import {
8
8
  NOYDB_FORMAT_VERSION
9
- } from "./chunk-SFY6NT7D.js";
9
+ } from "./chunk-5UGEGEIJ.js";
10
10
  import {
11
11
  ConflictError,
12
12
  USER_ENVELOPE_COLLECTION,
@@ -148,4 +148,4 @@ export {
148
148
  deleteUserEnvelope,
149
149
  listUserEnvelopeIds
150
150
  };
151
- //# sourceMappingURL=chunk-PZLIA5R3.js.map
151
+ //# sourceMappingURL=chunk-QJBXB4WU.js.map
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  freezeSnapshotOnly
3
- } from "./chunk-TY6N3PAC.js";
3
+ } from "./chunk-P5ARVLNW.js";
4
4
  import {
5
5
  resolveManagedSecret
6
- } from "./chunk-55B3KHZW.js";
6
+ } from "./chunk-JAHIL6WO.js";
7
7
  import {
8
8
  createOwnerKeyring
9
- } from "./chunk-LJDW6LQJ.js";
9
+ } from "./chunk-WBHQX6ME.js";
10
10
  import {
11
11
  wrapKey
12
12
  } from "./chunk-QTDAPDDV.js";
13
13
  import {
14
14
  NOYDB_FORMAT_VERSION
15
- } from "./chunk-SFY6NT7D.js";
15
+ } from "./chunk-5UGEGEIJ.js";
16
16
  import {
17
17
  PermissionDeniedError
18
18
  } from "./chunk-I64WQSN3.js";
@@ -131,4 +131,4 @@ export {
131
131
  isDeedVault,
132
132
  liberateVault
133
133
  };
134
- //# sourceMappingURL=chunk-H5U4T6JK.js.map
134
+ //# sourceMappingURL=chunk-QKRJUPAC.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  NOYDB_FORMAT_VERSION
3
- } from "./chunk-SFY6NT7D.js";
3
+ } from "./chunk-5UGEGEIJ.js";
4
4
 
5
5
  // src/kernel/enclave/record-envelope.ts
6
6
  function buildRecordEnvelope(identity, body) {
@@ -57,4 +57,4 @@ export {
57
57
  isDeleteMarker,
58
58
  buildDeleteMarker
59
59
  };
60
- //# sourceMappingURL=chunk-6E2JZRBD.js.map
60
+ //# sourceMappingURL=chunk-RGPB25DB.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  pickLocale
3
- } from "./chunk-I5OLA3H6.js";
3
+ } from "./chunk-N7HOHWKF.js";
4
4
  import {
5
5
  sha256Hex
6
6
  } from "./chunk-QTDAPDDV.js";
@@ -812,7 +812,7 @@ async function applySatelliteLivenessFilter(vault, dumpJson) {
812
812
  if (!backup.collections || typeof backup.collections !== "object") return dumpJson;
813
813
  if (typeof vault._introspectState !== "function") return dumpJson;
814
814
  const { adapter, name, getDEK } = vault._introspectState();
815
- const { liveBaseIdSetsForBundle } = await import("./dead-filter-6HG5FP3I.js");
815
+ const { liveBaseIdSetsForBundle } = await import("./dead-filter-MVFQCLXY.js");
816
816
  const satLive = await liveBaseIdSetsForBundle(adapter, name, Object.keys(backup.collections), getDEK);
817
817
  if (satLive.size === 0) return dumpJson;
818
818
  const next = {};
@@ -1058,4 +1058,4 @@ export {
1058
1058
  readPodRedirect,
1059
1059
  readPod
1060
1060
  };
1061
- //# sourceMappingURL=chunk-THUITYH7.js.map
1061
+ //# sourceMappingURL=chunk-SDEHNGWW.js.map
@@ -3,10 +3,10 @@ import {
3
3
  } from "./chunk-5D2ALSM5.js";
4
4
  import {
5
5
  RecordCodec
6
- } from "./chunk-LTVETWDH.js";
6
+ } from "./chunk-BKYQNNO3.js";
7
7
 
8
8
  // src/with-formula/materialized-views/stale.ts
9
- var loadMVExecutor = lazy(() => import("./executor-LFHRV6JH.js"));
9
+ var loadMVExecutor = lazy(() => import("./executor-FNGVGDW3.js"));
10
10
  var _staleByRegistry = /* @__PURE__ */ new WeakMap();
11
11
  function markMVStale(registry, mvName) {
12
12
  let set = _staleByRegistry.get(registry);
@@ -134,4 +134,4 @@ export {
134
134
  clearMVStale,
135
135
  clearMVStaleFully
136
136
  };
137
- //# sourceMappingURL=chunk-PJGMBELR.js.map
137
+ //# sourceMappingURL=chunk-SJOK23XT.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  loadVaultPolicy,
3
3
  saveVaultPolicy
4
- } from "./chunk-JZVXGOJE.js";
4
+ } from "./chunk-BMDF4TLU.js";
5
5
  import {
6
6
  PolicyDeniedError,
7
7
  ValidationError
@@ -364,4 +364,4 @@ export {
364
364
  describeGate,
365
365
  createNoydbPolicy
366
366
  };
367
- //# sourceMappingURL=chunk-WMUN7ZUD.js.map
367
+ //# sourceMappingURL=chunk-UKKBKEUI.js.map
@@ -5,14 +5,14 @@ import {
5
5
  BLOB_INTENT_COLLECTION,
6
6
  BLOB_SLOTS_PREFIX,
7
7
  BLOB_VERSIONS_PREFIX
8
- } from "./chunk-NY6RQBUN.js";
8
+ } from "./chunk-ES36R3U2.js";
9
9
  import {
10
10
  SCHEMAS_COLLECTION
11
- } from "./chunk-A3WHDOWI.js";
11
+ } from "./chunk-6JRIYG2C.js";
12
12
  import {
13
13
  assemblePodContainer,
14
14
  buildExtractedPartitionWrapper
15
- } from "./chunk-THUITYH7.js";
15
+ } from "./chunk-SDEHNGWW.js";
16
16
  import {
17
17
  generateULID
18
18
  } from "./chunk-4AOERLTV.js";
@@ -23,14 +23,14 @@ import {
23
23
  canonicalJson,
24
24
  envelopePayloadHash,
25
25
  hashEntry
26
- } from "./chunk-53PWELSC.js";
26
+ } from "./chunk-N4GAJSRQ.js";
27
27
  import {
28
28
  openEnvelopeJson,
29
29
  writeEnvelopeBody
30
- } from "./chunk-LTVETWDH.js";
30
+ } from "./chunk-BKYQNNO3.js";
31
31
  import {
32
32
  buildRecordEnvelope
33
- } from "./chunk-6E2JZRBD.js";
33
+ } from "./chunk-RGPB25DB.js";
34
34
  import {
35
35
  bufferToBase64,
36
36
  decrypt,
@@ -43,7 +43,7 @@ import {
43
43
  } from "./chunk-QTDAPDDV.js";
44
44
  import {
45
45
  NOYDB_BACKUP_VERSION
46
- } from "./chunk-SFY6NT7D.js";
46
+ } from "./chunk-5UGEGEIJ.js";
47
47
  import {
48
48
  PartitionExtractionError
49
49
  } from "./chunk-I64WQSN3.js";
@@ -490,4 +490,4 @@ export {
490
490
  extractPartition,
491
491
  extractPartitionCore
492
492
  };
493
- //# sourceMappingURL=chunk-MKSTUVMJ.js.map
493
+ //# sourceMappingURL=chunk-UNR6G3EJ.js.map
@@ -3,13 +3,13 @@ import {
3
3
  } from "./chunk-4AOERLTV.js";
4
4
  import {
5
5
  openEnvelopeJson
6
- } from "./chunk-LTVETWDH.js";
6
+ } from "./chunk-BKYQNNO3.js";
7
7
  import {
8
8
  encrypt
9
9
  } from "./chunk-QTDAPDDV.js";
10
10
  import {
11
11
  NOYDB_FORMAT_VERSION
12
- } from "./chunk-SFY6NT7D.js";
12
+ } from "./chunk-5UGEGEIJ.js";
13
13
 
14
14
  // src/with-audit/consent/consent.ts
15
15
  var CONSENT_AUDIT_COLLECTION = "_consent_audit";
@@ -75,4 +75,4 @@ export {
75
75
  writeConsentEntry,
76
76
  loadConsentEntries
77
77
  };
78
- //# sourceMappingURL=chunk-VUUUIKRG.js.map
78
+ //# sourceMappingURL=chunk-URVL4EKU.js.map
@@ -4,13 +4,13 @@ import {
4
4
  } from "./chunk-S6CP5FWF.js";
5
5
  import {
6
6
  openEnvelopeJson
7
- } from "./chunk-LTVETWDH.js";
7
+ } from "./chunk-BKYQNNO3.js";
8
8
  import {
9
9
  encrypt
10
10
  } from "./chunk-QTDAPDDV.js";
11
11
  import {
12
12
  NOYDB_FORMAT_VERSION
13
- } from "./chunk-SFY6NT7D.js";
13
+ } from "./chunk-5UGEGEIJ.js";
14
14
  import {
15
15
  NoydbError
16
16
  } from "./chunk-I64WQSN3.js";
@@ -127,4 +127,4 @@ export {
127
127
  LinkSet,
128
128
  LinkEndpointError
129
129
  };
130
- //# sourceMappingURL=chunk-4CSG6KBX.js.map
130
+ //# sourceMappingURL=chunk-V3OLO4TK.js.map
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  freezeAndDeleteClosure,
3
3
  randomId
4
- } from "./chunk-TY6N3PAC.js";
4
+ } from "./chunk-P5ARVLNW.js";
5
5
  import {
6
6
  buildAccessibleBundle,
7
7
  resolveAccessibleCollections
8
- } from "./chunk-TWPTRJEU.js";
8
+ } from "./chunk-NWPR2V5W.js";
9
9
  import {
10
10
  NOYDB_FORMAT_VERSION
11
- } from "./chunk-SFY6NT7D.js";
11
+ } from "./chunk-5UGEGEIJ.js";
12
12
  import {
13
13
  NoydbError
14
14
  } from "./chunk-I64WQSN3.js";
@@ -161,4 +161,4 @@ export {
161
161
  approveWithdrawal,
162
162
  rejectWithdrawal
163
163
  };
164
- //# sourceMappingURL=chunk-76FBDG6M.js.map
164
+ //# sourceMappingURL=chunk-VEA35MQP.js.map
@@ -11,7 +11,7 @@ import {
11
11
  } from "./chunk-3JQVA527.js";
12
12
  import {
13
13
  putDerivedOutput
14
- } from "./chunk-OPGKH5RD.js";
14
+ } from "./chunk-DEP24EE3.js";
15
15
  import {
16
16
  DEFAULT_JOIN_MAX_ROWS
17
17
  } from "./chunk-QI2KXQOM.js";
@@ -307,4 +307,4 @@ async function listOutputIds(outputColl) {
307
307
  export {
308
308
  MaterializedViewExecutor
309
309
  };
310
- //# sourceMappingURL=chunk-4DJQU3PH.js.map
310
+ //# sourceMappingURL=chunk-VQQUOEON.js.map
@@ -5,11 +5,11 @@ import {
5
5
  import {
6
6
  applyRewrappedBody,
7
7
  rewrapBodyToDek
8
- } from "./chunk-LTVETWDH.js";
8
+ } from "./chunk-BKYQNNO3.js";
9
9
  import {
10
10
  isDeleteMarker,
11
11
  isTombstoneShape
12
- } from "./chunk-6E2JZRBD.js";
12
+ } from "./chunk-RGPB25DB.js";
13
13
  import {
14
14
  decrypt,
15
15
  encrypt,
@@ -17,7 +17,7 @@ import {
17
17
  } from "./chunk-QTDAPDDV.js";
18
18
  import {
19
19
  NOYDB_FORMAT_VERSION
20
- } from "./chunk-SFY6NT7D.js";
20
+ } from "./chunk-5UGEGEIJ.js";
21
21
  import {
22
22
  PersistedIndexCompensationError,
23
23
  TierDemoteDeniedError,
@@ -378,4 +378,4 @@ export {
378
378
  demote,
379
379
  classifySealedShred
380
380
  };
381
- //# sourceMappingURL=chunk-UVFO25FJ.js.map
381
+ //# sourceMappingURL=chunk-VUQZYVYX.js.map
@@ -5,16 +5,17 @@ import {
5
5
  readDirectoryConfig,
6
6
  readUserVisibility,
7
7
  saveUserEnvelope
8
- } from "./chunk-PZLIA5R3.js";
8
+ } from "./chunk-QJBXB4WU.js";
9
+ import {
10
+ rekeyEnvelopeIfNeeded
11
+ } from "./chunk-BKYQNNO3.js";
9
12
  import {
10
13
  base64ToBuffer,
11
14
  bufferToBase64,
12
- decrypt,
13
15
  deriveEchoKey,
14
16
  deriveKey,
15
17
  deriveSecretKey,
16
18
  encodeEchoParts,
17
- encrypt,
18
19
  generateDEK,
19
20
  generateIV,
20
21
  generateSalt,
@@ -24,7 +25,7 @@ import {
24
25
  import {
25
26
  NOYDB_FORMAT_VERSION,
26
27
  NOYDB_KEYRING_VERSION
27
- } from "./chunk-SFY6NT7D.js";
28
+ } from "./chunk-5UGEGEIJ.js";
28
29
  import {
29
30
  DirectoryDisabledError,
30
31
  EchoCeremonyRequiredError,
@@ -343,6 +344,13 @@ async function loadKeyring(store, vault, opts) {
343
344
  if (firstUnwrapError === null) firstUnwrapError = err;
344
345
  }
345
346
  }
347
+ const pendingDeks = /* @__PURE__ */ new Map();
348
+ for (const [collName, wrapped] of Object.entries(keyringFile.pending_deks ?? {})) {
349
+ try {
350
+ pendingDeks.set(collName, await unwrapKey(wrapped, kek));
351
+ } catch {
352
+ }
353
+ }
346
354
  if (canaryOk === true) {
347
355
  if (failedCollections.length > 0) {
348
356
  throw new KeyringCorruptError({ failedCollections, intactCount: deks.size });
@@ -369,6 +377,7 @@ async function loadKeyring(store, vault, opts) {
369
377
  role: keyringFile.role,
370
378
  permissions: keyringFile.permissions,
371
379
  deks,
380
+ pendingDeks,
372
381
  kek,
373
382
  salt,
374
383
  authenticators: keyringFile.authenticators ?? [],
@@ -556,6 +565,11 @@ async function findAdminDescendants(store, vault, rootUserId) {
556
565
  async function revoke(store, vault, callerKeyring, options) {
557
566
  const targetFound = await readKeyringFile(store, vault, options.userId);
558
567
  if (!targetFound) {
568
+ const pending = [...callerKeyring.pendingDeks?.keys() ?? []];
569
+ if (pending.length > 0) {
570
+ await rotateKeys(store, vault, callerKeyring, { collections: pending });
571
+ return;
572
+ }
559
573
  throw new NoAccessError(`User "${options.userId}" has no keyring in vault "${vault}"`);
560
574
  }
561
575
  const targetKeyring = targetFound.file;
@@ -636,8 +650,14 @@ async function rotateKeys(store, vault, callerKeyring, opts) {
636
650
  }
637
651
  const newDeks = /* @__PURE__ */ new Map();
638
652
  for (const collName of collections) {
639
- newDeks.set(collName, await generateDEK());
653
+ newDeks.set(collName, callerKeyring.pendingDeks?.get(collName) ?? await generateDEK());
654
+ }
655
+ const pending = callerKeyring.pendingDeks ?? /* @__PURE__ */ new Map();
656
+ callerKeyring.pendingDeks = pending;
657
+ for (const [collName, newDek] of newDeks) {
658
+ pending.set(collName, newDek);
640
659
  }
660
+ await persistKeyring(store, vault, callerKeyring);
641
661
  for (const collName of collections) {
642
662
  const oldDek = callerKeyring.deks.get(collName);
643
663
  const newDek = newDeks.get(collName);
@@ -646,20 +666,13 @@ async function rotateKeys(store, vault, callerKeyring, opts) {
646
666
  for (const id of ids) {
647
667
  const envelope = await store.get(vault, collName, id);
648
668
  if (!envelope || !envelope._iv) continue;
649
- const plaintext = await decrypt(envelope._iv, envelope._data, oldDek);
650
- const { iv, data } = await encrypt(plaintext, newDek);
651
- const newEnvelope = {
652
- _noydb: NOYDB_FORMAT_VERSION,
653
- _v: envelope._v,
654
- _ts: (/* @__PURE__ */ new Date()).toISOString(),
655
- _iv: iv,
656
- _data: data
657
- };
658
- await store.put(vault, collName, id, newEnvelope);
669
+ const newEnvelope = await rekeyEnvelopeIfNeeded(envelope, oldDek, newDek);
670
+ if (newEnvelope !== null) await store.put(vault, collName, id, newEnvelope);
659
671
  }
660
672
  }
661
673
  for (const [collName, newDek] of newDeks) {
662
674
  callerKeyring.deks.set(collName, newDek);
675
+ callerKeyring.pendingDeks?.delete(collName);
663
676
  }
664
677
  await persistKeyring(store, vault, callerKeyring);
665
678
  const needsRegrant = [];
@@ -916,6 +929,10 @@ async function persistKeyring(store, vault, keyring) {
916
929
  for (const [collName, dek] of keyring.deks) {
917
930
  wrappedDeks[collName] = await wrapKey(dek, keyring.kek);
918
931
  }
932
+ const wrappedPending = {};
933
+ for (const [collName, dek] of keyring.pendingDeks ?? []) {
934
+ wrappedPending[collName] = await wrapKey(dek, keyring.kek);
935
+ }
919
936
  const canary = await mintKeyringCanary(keyring.kek);
920
937
  const keyringFile = {
921
938
  _noydb_keyring: NOYDB_KEYRING_VERSION,
@@ -924,6 +941,7 @@ async function persistKeyring(store, vault, keyring) {
924
941
  role: keyring.role,
925
942
  permissions: keyring.permissions,
926
943
  deks: wrappedDeks,
944
+ ...Object.keys(wrappedPending).length > 0 ? { pending_deks: wrappedPending } : {},
927
945
  salt: bufferToBase64(keyring.salt),
928
946
  created_at: existingCreatedAt ?? (/* @__PURE__ */ new Date()).toISOString(),
929
947
  granted_by: existingGrantedBy ?? keyring.userId,
@@ -1024,4 +1042,4 @@ export {
1024
1042
  hasImportCapability,
1025
1043
  evaluateImportCapability
1026
1044
  };
1027
- //# sourceMappingURL=chunk-LJDW6LQJ.js.map
1045
+ //# sourceMappingURL=chunk-WBHQX6ME.js.map