@noy-db/hub 0.6.0-pre.13 → 0.6.0-pre.14

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 (367) hide show
  1. package/dist/api-6IBOZN6F.js +20 -0
  2. package/dist/attestation/index.js +19 -19
  3. package/dist/{backup-JNCS4OMI.js → backup-FNAYQMLF.js} +12 -12
  4. package/dist/blobs/index.js +13 -13
  5. package/dist/broker/index.js +12 -12
  6. package/dist/cargo/index.js +30 -30
  7. package/dist/{chunk-M3VRXAVD.js → chunk-42IDLU5V.js} +2 -2
  8. package/dist/{chunk-FWZ7WYAH.js → chunk-4444HN72.js} +4 -4
  9. package/dist/{chunk-WX5ABQSL.js → chunk-466KGOQB.js} +2 -2
  10. package/dist/{chunk-ZJADGNYF.js → chunk-4AOERLTV.js} +1 -1
  11. package/dist/chunk-4AOERLTV.js.map +1 -0
  12. package/dist/{chunk-GAELDPIH.js → chunk-4LNFXGNW.js} +63 -63
  13. package/dist/chunk-4LNFXGNW.js.map +1 -0
  14. package/dist/{chunk-YZC4DWJQ.js → chunk-4NI5PR5S.js} +2 -2
  15. package/dist/{chunk-ZFO26ZZR.js → chunk-4YUIVHII.js} +5 -5
  16. package/dist/{chunk-2KX6MT3D.js → chunk-5NKSNW25.js} +2 -2
  17. package/dist/{chunk-ALBA4CET.js → chunk-5SK5AFYH.js} +2 -2
  18. package/dist/{chunk-DKJXAZWF.js → chunk-6U7M7AX6.js} +2 -2
  19. package/dist/{chunk-7GWC6RI5.js → chunk-6ZFTVY3O.js} +1 -1
  20. package/dist/chunk-6ZFTVY3O.js.map +1 -0
  21. package/dist/{chunk-MLMDO4OQ.js → chunk-7EIPPOEL.js} +2 -2
  22. package/dist/{chunk-KOM2GMTW.js → chunk-7J6YERYT.js} +10 -10
  23. package/dist/{chunk-R6V4M2JO.js → chunk-7VIIEXQ2.js} +12 -12
  24. package/dist/chunk-7VIIEXQ2.js.map +1 -0
  25. package/dist/{chunk-YRTS5MWY.js → chunk-A4JJUWSV.js} +3 -3
  26. package/dist/{chunk-VFBJMTLJ.js → chunk-AFSMT3WI.js} +3 -3
  27. package/dist/{chunk-C5N3ZWGJ.js → chunk-AMKCY454.js} +2 -2
  28. package/dist/{chunk-SX4HK6FU.js → chunk-BVYRPAB2.js} +7 -7
  29. package/dist/{chunk-IHKRTVJQ.js → chunk-C66T4W5P.js} +3 -3
  30. package/dist/{chunk-M3XBZPLU.js → chunk-C6MI5OCF.js} +6 -6
  31. package/dist/{chunk-2KHT6EP3.js → chunk-CAJ7QAPC.js} +3 -3
  32. package/dist/{chunk-DMRDPZQ7.js → chunk-CK6Z5DJQ.js} +4 -4
  33. package/dist/{chunk-EPUDMBVL.js → chunk-CK7IRIRY.js} +5 -5
  34. package/dist/{chunk-C6RYZ4ZD.js → chunk-CNA3QRLM.js} +2 -2
  35. package/dist/chunk-CNA3QRLM.js.map +1 -0
  36. package/dist/{chunk-KYIXANXU.js → chunk-CWX6YIX5.js} +7 -7
  37. package/dist/{chunk-TJGB5I4J.js → chunk-D763JZRO.js} +3 -3
  38. package/dist/{chunk-AS53PYO6.js → chunk-DZWRTWN2.js} +81 -81
  39. package/dist/{chunk-AS53PYO6.js.map → chunk-DZWRTWN2.js.map} +1 -1
  40. package/dist/{chunk-OERLXUF5.js → chunk-ESABIXMQ.js} +4 -4
  41. package/dist/{chunk-H6UFT22R.js → chunk-FMZV43QY.js} +4 -4
  42. package/dist/{chunk-YRMA7CJH.js → chunk-FSZPQCDR.js} +3 -3
  43. package/dist/{chunk-65NL6YZM.js → chunk-GBTLOHJM.js} +5 -5
  44. package/dist/{chunk-4TLFWYZG.js → chunk-GE2AGI67.js} +3 -3
  45. package/dist/{chunk-Y6C67PJX.js → chunk-GJX6DOGD.js} +5 -5
  46. package/dist/{chunk-PV76W4KB.js → chunk-GLS7OSZT.js} +7 -7
  47. package/dist/{chunk-IQVVUZ6Z.js → chunk-H545OIWE.js} +2 -2
  48. package/dist/{chunk-CM7MGRP3.js → chunk-HJAFOPTN.js} +6 -6
  49. package/dist/{chunk-HRQF23XS.js → chunk-HNOBRU24.js} +2 -2
  50. package/dist/{chunk-GNMGX4FY.js → chunk-HVPQ5QIZ.js} +8 -8
  51. package/dist/{chunk-CUEWN4FX.js → chunk-HVR74IBG.js} +2 -2
  52. package/dist/{chunk-CT35TQV7.js → chunk-I64WQSN3.js} +7 -7
  53. package/dist/chunk-I64WQSN3.js.map +1 -0
  54. package/dist/{chunk-LVLXWIBF.js → chunk-IMYGJ5HU.js} +2 -2
  55. package/dist/{chunk-OFGLLNQW.js → chunk-IYYGLI2K.js} +6 -6
  56. package/dist/{chunk-LOLK4EAT.js → chunk-JBMSNYOS.js} +5 -5
  57. package/dist/{chunk-JTZRLD47.js → chunk-JU3JKOY5.js} +3 -3
  58. package/dist/{chunk-A7BP42KY.js → chunk-K2MR7ROB.js} +2 -2
  59. package/dist/{chunk-M44ZBLL3.js → chunk-KCLNKE4W.js} +6 -6
  60. package/dist/{chunk-OGQSJJWF.js → chunk-KPD6HNQD.js} +12 -12
  61. package/dist/chunk-KPD6HNQD.js.map +1 -0
  62. package/dist/{chunk-A5AB7EZU.js → chunk-KTCQKXHW.js} +3 -3
  63. package/dist/{chunk-GGM3JCEG.js → chunk-LBQIKMBH.js} +2 -2
  64. package/dist/{chunk-S7UTUFPU.js → chunk-LWOSNMHE.js} +8 -8
  65. package/dist/{chunk-4TRAQICY.js → chunk-MVG67SMN.js} +2 -2
  66. package/dist/{chunk-45UIDGPY.js → chunk-N6OJLR2M.js} +3 -3
  67. package/dist/{chunk-OOOU3F5Y.js → chunk-P2UFDX2F.js} +5 -5
  68. package/dist/{chunk-LQEHLFFF.js → chunk-PCXAUC65.js} +2 -2
  69. package/dist/{chunk-V3WLQXDF.js → chunk-PJ5TGJ7U.js} +2 -2
  70. package/dist/{chunk-Z7PW63ZC.js → chunk-QEYXKICE.js} +2 -2
  71. package/dist/{chunk-LQFNJRMI.js → chunk-QI2KXQOM.js} +2 -2
  72. package/dist/{chunk-MUE2CQX2.js → chunk-QJYTGH5V.js} +7 -7
  73. package/dist/{chunk-Y2FDCDLY.js → chunk-QLMUW7OC.js} +2 -2
  74. package/dist/{chunk-MRDQ6HJS.js → chunk-QQP5KJMS.js} +4 -4
  75. package/dist/{chunk-WJD5VF2N.js → chunk-QTDAPDDV.js} +2 -2
  76. package/dist/{chunk-Q4AU3NJE.js → chunk-QWNYUTI2.js} +2 -2
  77. package/dist/{chunk-H3BDH7DA.js → chunk-R7E7X4CQ.js} +3 -3
  78. package/dist/{chunk-3IJK5FRG.js → chunk-RBTZLXZJ.js} +2 -2
  79. package/dist/{chunk-6FXQZ3T7.js → chunk-RDPZMUCX.js} +2 -2
  80. package/dist/{chunk-4WXISHDI.js → chunk-RJTGXZT6.js} +2 -2
  81. package/dist/{chunk-4R4N5PRM.js → chunk-ROFEKKMI.js} +4 -4
  82. package/dist/{chunk-7DK6CYXO.js → chunk-RVTOCAHQ.js} +2 -2
  83. package/dist/{chunk-J6EBSGIR.js → chunk-RWPNRCK2.js} +2 -2
  84. package/dist/{chunk-YVGJLRXN.js → chunk-S6CP5FWF.js} +2 -2
  85. package/dist/{chunk-LZHDIO64.js → chunk-S77LTWCZ.js} +7 -7
  86. package/dist/{chunk-TEOL6VAV.js → chunk-SGEI3IJK.js} +2 -2
  87. package/dist/{chunk-EWTAUGAK.js → chunk-SZZEDEIU.js} +3 -3
  88. package/dist/{chunk-ZG7MXW5J.js → chunk-T7AEAFEE.js} +4 -4
  89. package/dist/{chunk-KMLMEIWV.js → chunk-THYGVKZB.js} +7 -7
  90. package/dist/chunk-THYGVKZB.js.map +1 -0
  91. package/dist/{chunk-TAFRRVFR.js → chunk-TQ7IRULX.js} +2 -2
  92. package/dist/{chunk-MVWO6KXU.js → chunk-TQLYMYOK.js} +2 -2
  93. package/dist/{chunk-MSCXCF4T.js → chunk-UTQLKPBS.js} +6 -6
  94. package/dist/{chunk-QLFLX5VA.js → chunk-V2BEYLNR.js} +6 -6
  95. package/dist/{chunk-P7A2FX5Y.js → chunk-V4M4BZNW.js} +2 -2
  96. package/dist/{chunk-PLJ622XY.js → chunk-VTTRWLOR.js} +2 -2
  97. package/dist/{chunk-QNGRTWGM.js → chunk-VVMSDWRG.js} +5 -5
  98. package/dist/{chunk-PRN65IDE.js → chunk-WLZKVY33.js} +6 -6
  99. package/dist/{chunk-3EFQV2XQ.js → chunk-XHX3NTRP.js} +4 -4
  100. package/dist/{chunk-CFM6GBNF.js → chunk-Y7MJSOZ7.js} +5 -5
  101. package/dist/{chunk-CFM6GBNF.js.map → chunk-Y7MJSOZ7.js.map} +1 -1
  102. package/dist/{chunk-ALDFGMO7.js → chunk-YDJXGYYA.js} +2 -2
  103. package/dist/{chunk-VDQZKDED.js → chunk-YGJZLOSR.js} +2 -2
  104. package/dist/{chunk-IONRKUH4.js → chunk-YH65A6WM.js} +2 -2
  105. package/dist/{chunk-YKDAFWWS.js → chunk-YKEJ5P3H.js} +5 -5
  106. package/dist/{chunk-J5LO2H42.js → chunk-YODIXNV4.js} +4 -4
  107. package/dist/{chunk-37M5QBAS.js → chunk-YVOW35HH.js} +2 -2
  108. package/dist/{chunk-NW3PSKAN.js → chunk-YZ7BRD26.js} +2 -2
  109. package/dist/{chunk-2BBXXSAD.js → chunk-Z3U2YVNM.js} +4 -4
  110. package/dist/{chunk-SX2ZKKZS.js → chunk-ZHDMT2MJ.js} +6 -6
  111. package/dist/{chunk-EZYLQKHP.js → chunk-ZWPUYBNK.js} +8 -8
  112. package/dist/classified/index.js +5 -5
  113. package/dist/{classified-marker-IYWA7L6U.js → classified-marker-3STDEUFT.js} +3 -3
  114. package/dist/collection-facade-SGTS3TRS.js +45 -0
  115. package/dist/{computed-B3BJQSU5.js → computed-5E2OM6EN.js} +3 -3
  116. package/dist/consent/index.js +10 -10
  117. package/dist/cover/index.js +3 -3
  118. package/dist/custody/index.js +11 -11
  119. package/dist/{dead-filter-QV7ORQS3.js → dead-filter-ZNWVGV5U.js} +2 -2
  120. package/dist/debug/index.js +1 -1
  121. package/dist/{delegation-UPE5PUKB.js → delegation-LZWFOST7.js} +11 -11
  122. package/dist/derivations/index.js +12 -12
  123. package/dist/derive-BWXA2L7D.js +22 -0
  124. package/dist/directory/index.js +10 -10
  125. package/dist/{dispatch-BW2W2LXV.js → dispatch-S34AUC43.js} +18 -18
  126. package/dist/{dispatch-OBZS537P.js → dispatch-TIYW3UDN.js} +5 -5
  127. package/dist/{enclave-LXFVDJLO.js → enclave-Y6GMYQMS.js} +9 -9
  128. package/dist/executor-JDMH2IGK.js +29 -0
  129. package/dist/executor-PCZN2LTY.js +9 -0
  130. package/dist/executor-WFTHIDT7.js +9 -0
  131. package/dist/export-accessible-U6GXZZMQ.js +23 -0
  132. package/dist/extract-partition-IDI6NDUR.js +38 -0
  133. package/dist/{fanout-sidecar-BD4ZSPER.js → fanout-sidecar-BVFOEJTP.js} +9 -9
  134. package/dist/find-VBNMB42N.js +11 -0
  135. package/dist/forget/index.js +9 -9
  136. package/dist/guards/index.js +4 -4
  137. package/dist/history/index.js +12 -12
  138. package/dist/i18n/index.js +14 -14
  139. package/dist/index.d.ts +7 -7
  140. package/dist/index.js +103 -103
  141. package/dist/indexing/index.js +2 -2
  142. package/dist/introspection/index.js +11 -11
  143. package/dist/issue-TEGTAN7N.js +19 -0
  144. package/dist/kernel/errors.d.ts +6 -6
  145. package/dist/kernel/types.d.ts +1 -1
  146. package/dist/kernel/vault.d.ts +4 -4
  147. package/dist/{ledger-6EMFGJRU.js → ledger-NFLBQASD.js} +11 -11
  148. package/dist/liberate-SG2PPGAJ.js +24 -0
  149. package/dist/{link-set-GUKFJQGW.js → link-set-IPS57KDM.js} +11 -11
  150. package/dist/{managed-secret-T6X4VHB2.js → managed-secret-GFYGPLNI.js} +3 -3
  151. package/dist/materialized-views/index.js +20 -20
  152. package/dist/money/index.js +4 -4
  153. package/dist/noydb-TN2VIJJO.js +83 -0
  154. package/dist/overlay-views/index.js +4 -4
  155. package/dist/periods/index.js +12 -12
  156. package/dist/pod/index.js +71 -71
  157. package/dist/{bundle-handle-RJZXOFXE.js → pod-handle-I4ZME246.js} +6 -6
  158. package/dist/pod-handle-I4ZME246.js.map +1 -0
  159. package/dist/policy/index.js +4 -4
  160. package/dist/portability/index.js +8 -8
  161. package/dist/{post-register-XKYJDDZL.js → post-register-JUSV3X4E.js} +6 -6
  162. package/dist/query/index.js +3 -3
  163. package/dist/reduce/index.js +4 -4
  164. package/dist/register-UTMPUAQW.js +32 -0
  165. package/dist/registry-B2S4UNUI.js +19 -0
  166. package/dist/registry-E4FM32KD.js +9 -0
  167. package/dist/registry-HACMULJJ.js +9 -0
  168. package/dist/registry-NDLBGQLJ.js +18 -0
  169. package/dist/request-withdrawal-Q5G43PR7.js +31 -0
  170. package/dist/{reveal-IN2ZBB5U.js → reveal-YJU7GUYJ.js} +6 -6
  171. package/dist/revoke-NXOUPYS3.js +24 -0
  172. package/dist/satellites/index.js +1 -1
  173. package/dist/schema-update/index.js +2 -2
  174. package/dist/sealed-record/index.js +12 -12
  175. package/dist/search/index.js +4 -4
  176. package/dist/{seed-D623RNG3.js → seed-XXLR4KXU.js} +11 -11
  177. package/dist/sequence/index.js +9 -9
  178. package/dist/session/index.js +10 -10
  179. package/dist/shadow/index.js +2 -2
  180. package/dist/share-link/index.js +1 -1
  181. package/dist/signer-FCGAUB6E.js +25 -0
  182. package/dist/snapshots/index.js +10 -10
  183. package/dist/snapshots/index.js.map +1 -1
  184. package/dist/{stale-O3CZVYMO.js → stale-OT5NMBXU.js} +10 -10
  185. package/dist/storage-EWWIFB43.js +23 -0
  186. package/dist/{store-coordination-provider-RKBDHHN4.js → store-coordination-provider-PPLVM2I2.js} +3 -3
  187. package/dist/sync/index.js +10 -10
  188. package/dist/team/index.js +14 -14
  189. package/dist/tiers/index.js +10 -10
  190. package/dist/to/index.js +1 -1
  191. package/dist/transactions/index.js +4 -4
  192. package/dist/{ulid-PTAIMDG4.js → ulid-VQW6ERQN.js} +2 -2
  193. package/dist/util/index.js +1 -1
  194. package/dist/{verify-GB7SBYC3.js → verify-SHJXGZGM.js} +5 -5
  195. package/dist/walk-4NIT2ZBH.js +21 -0
  196. package/dist/with-cargo/adopt-partition.d.ts +1 -1
  197. package/dist/with-cargo/extract-partition.d.ts +1 -1
  198. package/dist/with-cargo/index.d.ts +1 -1
  199. package/dist/with-party/team/index.d.ts +1 -1
  200. package/dist/with-party/team/keyring.d.ts +2 -2
  201. package/dist/with-pod/format.d.ts +10 -10
  202. package/dist/with-pod/index.d.ts +7 -7
  203. package/dist/with-pod/open.d.ts +2 -2
  204. package/dist/with-pod/{bundle-handle.d.ts → pod-handle.d.ts} +2 -2
  205. package/dist/with-pod/{bundle.d.ts → pod.d.ts} +8 -8
  206. package/dist/with-pod/ulid.d.ts +1 -1
  207. package/dist/withdraw-accessible-LJG66PZQ.js +28 -0
  208. package/package.json +3 -3
  209. package/dist/api-FYF5WE2E.js +0 -20
  210. package/dist/bundle-handle-RJZXOFXE.js.map +0 -1
  211. package/dist/chunk-7GWC6RI5.js.map +0 -1
  212. package/dist/chunk-C6RYZ4ZD.js.map +0 -1
  213. package/dist/chunk-CT35TQV7.js.map +0 -1
  214. package/dist/chunk-GAELDPIH.js.map +0 -1
  215. package/dist/chunk-KMLMEIWV.js.map +0 -1
  216. package/dist/chunk-OGQSJJWF.js.map +0 -1
  217. package/dist/chunk-R6V4M2JO.js.map +0 -1
  218. package/dist/chunk-ZJADGNYF.js.map +0 -1
  219. package/dist/collection-facade-FLXXGAPR.js +0 -45
  220. package/dist/derive-R7ALNQRH.js +0 -22
  221. package/dist/executor-4WZG7D46.js +0 -9
  222. package/dist/executor-5RWPUTGR.js +0 -29
  223. package/dist/executor-VOD4C6ZA.js +0 -9
  224. package/dist/export-accessible-TCVU6B72.js +0 -23
  225. package/dist/extract-partition-UNUQF5MD.js +0 -38
  226. package/dist/find-QJPVK6CY.js +0 -11
  227. package/dist/issue-QYCCTU4S.js +0 -19
  228. package/dist/liberate-ZJDLMKOW.js +0 -24
  229. package/dist/noydb-IP2QPER4.js +0 -83
  230. package/dist/register-GFYFTV74.js +0 -32
  231. package/dist/registry-BY7Z54RJ.js +0 -9
  232. package/dist/registry-D6NSZUVQ.js +0 -9
  233. package/dist/registry-KQPWMFIP.js +0 -19
  234. package/dist/registry-P7RU4TPR.js +0 -18
  235. package/dist/request-withdrawal-6RA6PGWD.js +0 -31
  236. package/dist/revoke-ETYVUNHE.js +0 -24
  237. package/dist/signer-FLW4HHWM.js +0 -25
  238. package/dist/storage-7GVHLKVJ.js +0 -23
  239. package/dist/walk-77FSILOU.js +0 -21
  240. package/dist/withdraw-accessible-XMWJWDZP.js +0 -28
  241. /package/dist/{api-FYF5WE2E.js.map → api-6IBOZN6F.js.map} +0 -0
  242. /package/dist/{backup-JNCS4OMI.js.map → backup-FNAYQMLF.js.map} +0 -0
  243. /package/dist/{chunk-M3VRXAVD.js.map → chunk-42IDLU5V.js.map} +0 -0
  244. /package/dist/{chunk-FWZ7WYAH.js.map → chunk-4444HN72.js.map} +0 -0
  245. /package/dist/{chunk-WX5ABQSL.js.map → chunk-466KGOQB.js.map} +0 -0
  246. /package/dist/{chunk-YZC4DWJQ.js.map → chunk-4NI5PR5S.js.map} +0 -0
  247. /package/dist/{chunk-ZFO26ZZR.js.map → chunk-4YUIVHII.js.map} +0 -0
  248. /package/dist/{chunk-2KX6MT3D.js.map → chunk-5NKSNW25.js.map} +0 -0
  249. /package/dist/{chunk-ALBA4CET.js.map → chunk-5SK5AFYH.js.map} +0 -0
  250. /package/dist/{chunk-DKJXAZWF.js.map → chunk-6U7M7AX6.js.map} +0 -0
  251. /package/dist/{chunk-MLMDO4OQ.js.map → chunk-7EIPPOEL.js.map} +0 -0
  252. /package/dist/{chunk-KOM2GMTW.js.map → chunk-7J6YERYT.js.map} +0 -0
  253. /package/dist/{chunk-YRTS5MWY.js.map → chunk-A4JJUWSV.js.map} +0 -0
  254. /package/dist/{chunk-VFBJMTLJ.js.map → chunk-AFSMT3WI.js.map} +0 -0
  255. /package/dist/{chunk-C5N3ZWGJ.js.map → chunk-AMKCY454.js.map} +0 -0
  256. /package/dist/{chunk-SX4HK6FU.js.map → chunk-BVYRPAB2.js.map} +0 -0
  257. /package/dist/{chunk-IHKRTVJQ.js.map → chunk-C66T4W5P.js.map} +0 -0
  258. /package/dist/{chunk-M3XBZPLU.js.map → chunk-C6MI5OCF.js.map} +0 -0
  259. /package/dist/{chunk-2KHT6EP3.js.map → chunk-CAJ7QAPC.js.map} +0 -0
  260. /package/dist/{chunk-DMRDPZQ7.js.map → chunk-CK6Z5DJQ.js.map} +0 -0
  261. /package/dist/{chunk-EPUDMBVL.js.map → chunk-CK7IRIRY.js.map} +0 -0
  262. /package/dist/{chunk-KYIXANXU.js.map → chunk-CWX6YIX5.js.map} +0 -0
  263. /package/dist/{chunk-TJGB5I4J.js.map → chunk-D763JZRO.js.map} +0 -0
  264. /package/dist/{chunk-OERLXUF5.js.map → chunk-ESABIXMQ.js.map} +0 -0
  265. /package/dist/{chunk-H6UFT22R.js.map → chunk-FMZV43QY.js.map} +0 -0
  266. /package/dist/{chunk-YRMA7CJH.js.map → chunk-FSZPQCDR.js.map} +0 -0
  267. /package/dist/{chunk-65NL6YZM.js.map → chunk-GBTLOHJM.js.map} +0 -0
  268. /package/dist/{chunk-4TLFWYZG.js.map → chunk-GE2AGI67.js.map} +0 -0
  269. /package/dist/{chunk-Y6C67PJX.js.map → chunk-GJX6DOGD.js.map} +0 -0
  270. /package/dist/{chunk-PV76W4KB.js.map → chunk-GLS7OSZT.js.map} +0 -0
  271. /package/dist/{chunk-IQVVUZ6Z.js.map → chunk-H545OIWE.js.map} +0 -0
  272. /package/dist/{chunk-CM7MGRP3.js.map → chunk-HJAFOPTN.js.map} +0 -0
  273. /package/dist/{chunk-HRQF23XS.js.map → chunk-HNOBRU24.js.map} +0 -0
  274. /package/dist/{chunk-GNMGX4FY.js.map → chunk-HVPQ5QIZ.js.map} +0 -0
  275. /package/dist/{chunk-CUEWN4FX.js.map → chunk-HVR74IBG.js.map} +0 -0
  276. /package/dist/{chunk-LVLXWIBF.js.map → chunk-IMYGJ5HU.js.map} +0 -0
  277. /package/dist/{chunk-OFGLLNQW.js.map → chunk-IYYGLI2K.js.map} +0 -0
  278. /package/dist/{chunk-LOLK4EAT.js.map → chunk-JBMSNYOS.js.map} +0 -0
  279. /package/dist/{chunk-JTZRLD47.js.map → chunk-JU3JKOY5.js.map} +0 -0
  280. /package/dist/{chunk-A7BP42KY.js.map → chunk-K2MR7ROB.js.map} +0 -0
  281. /package/dist/{chunk-M44ZBLL3.js.map → chunk-KCLNKE4W.js.map} +0 -0
  282. /package/dist/{chunk-A5AB7EZU.js.map → chunk-KTCQKXHW.js.map} +0 -0
  283. /package/dist/{chunk-GGM3JCEG.js.map → chunk-LBQIKMBH.js.map} +0 -0
  284. /package/dist/{chunk-S7UTUFPU.js.map → chunk-LWOSNMHE.js.map} +0 -0
  285. /package/dist/{chunk-4TRAQICY.js.map → chunk-MVG67SMN.js.map} +0 -0
  286. /package/dist/{chunk-45UIDGPY.js.map → chunk-N6OJLR2M.js.map} +0 -0
  287. /package/dist/{chunk-OOOU3F5Y.js.map → chunk-P2UFDX2F.js.map} +0 -0
  288. /package/dist/{chunk-LQEHLFFF.js.map → chunk-PCXAUC65.js.map} +0 -0
  289. /package/dist/{chunk-V3WLQXDF.js.map → chunk-PJ5TGJ7U.js.map} +0 -0
  290. /package/dist/{chunk-Z7PW63ZC.js.map → chunk-QEYXKICE.js.map} +0 -0
  291. /package/dist/{chunk-LQFNJRMI.js.map → chunk-QI2KXQOM.js.map} +0 -0
  292. /package/dist/{chunk-MUE2CQX2.js.map → chunk-QJYTGH5V.js.map} +0 -0
  293. /package/dist/{chunk-Y2FDCDLY.js.map → chunk-QLMUW7OC.js.map} +0 -0
  294. /package/dist/{chunk-MRDQ6HJS.js.map → chunk-QQP5KJMS.js.map} +0 -0
  295. /package/dist/{chunk-WJD5VF2N.js.map → chunk-QTDAPDDV.js.map} +0 -0
  296. /package/dist/{chunk-Q4AU3NJE.js.map → chunk-QWNYUTI2.js.map} +0 -0
  297. /package/dist/{chunk-H3BDH7DA.js.map → chunk-R7E7X4CQ.js.map} +0 -0
  298. /package/dist/{chunk-3IJK5FRG.js.map → chunk-RBTZLXZJ.js.map} +0 -0
  299. /package/dist/{chunk-6FXQZ3T7.js.map → chunk-RDPZMUCX.js.map} +0 -0
  300. /package/dist/{chunk-4WXISHDI.js.map → chunk-RJTGXZT6.js.map} +0 -0
  301. /package/dist/{chunk-4R4N5PRM.js.map → chunk-ROFEKKMI.js.map} +0 -0
  302. /package/dist/{chunk-7DK6CYXO.js.map → chunk-RVTOCAHQ.js.map} +0 -0
  303. /package/dist/{chunk-J6EBSGIR.js.map → chunk-RWPNRCK2.js.map} +0 -0
  304. /package/dist/{chunk-YVGJLRXN.js.map → chunk-S6CP5FWF.js.map} +0 -0
  305. /package/dist/{chunk-LZHDIO64.js.map → chunk-S77LTWCZ.js.map} +0 -0
  306. /package/dist/{chunk-TEOL6VAV.js.map → chunk-SGEI3IJK.js.map} +0 -0
  307. /package/dist/{chunk-EWTAUGAK.js.map → chunk-SZZEDEIU.js.map} +0 -0
  308. /package/dist/{chunk-ZG7MXW5J.js.map → chunk-T7AEAFEE.js.map} +0 -0
  309. /package/dist/{chunk-TAFRRVFR.js.map → chunk-TQ7IRULX.js.map} +0 -0
  310. /package/dist/{chunk-MVWO6KXU.js.map → chunk-TQLYMYOK.js.map} +0 -0
  311. /package/dist/{chunk-MSCXCF4T.js.map → chunk-UTQLKPBS.js.map} +0 -0
  312. /package/dist/{chunk-QLFLX5VA.js.map → chunk-V2BEYLNR.js.map} +0 -0
  313. /package/dist/{chunk-P7A2FX5Y.js.map → chunk-V4M4BZNW.js.map} +0 -0
  314. /package/dist/{chunk-PLJ622XY.js.map → chunk-VTTRWLOR.js.map} +0 -0
  315. /package/dist/{chunk-QNGRTWGM.js.map → chunk-VVMSDWRG.js.map} +0 -0
  316. /package/dist/{chunk-PRN65IDE.js.map → chunk-WLZKVY33.js.map} +0 -0
  317. /package/dist/{chunk-3EFQV2XQ.js.map → chunk-XHX3NTRP.js.map} +0 -0
  318. /package/dist/{chunk-ALDFGMO7.js.map → chunk-YDJXGYYA.js.map} +0 -0
  319. /package/dist/{chunk-VDQZKDED.js.map → chunk-YGJZLOSR.js.map} +0 -0
  320. /package/dist/{chunk-IONRKUH4.js.map → chunk-YH65A6WM.js.map} +0 -0
  321. /package/dist/{chunk-YKDAFWWS.js.map → chunk-YKEJ5P3H.js.map} +0 -0
  322. /package/dist/{chunk-J5LO2H42.js.map → chunk-YODIXNV4.js.map} +0 -0
  323. /package/dist/{chunk-37M5QBAS.js.map → chunk-YVOW35HH.js.map} +0 -0
  324. /package/dist/{chunk-NW3PSKAN.js.map → chunk-YZ7BRD26.js.map} +0 -0
  325. /package/dist/{chunk-2BBXXSAD.js.map → chunk-Z3U2YVNM.js.map} +0 -0
  326. /package/dist/{chunk-SX2ZKKZS.js.map → chunk-ZHDMT2MJ.js.map} +0 -0
  327. /package/dist/{chunk-EZYLQKHP.js.map → chunk-ZWPUYBNK.js.map} +0 -0
  328. /package/dist/{classified-marker-IYWA7L6U.js.map → classified-marker-3STDEUFT.js.map} +0 -0
  329. /package/dist/{collection-facade-FLXXGAPR.js.map → collection-facade-SGTS3TRS.js.map} +0 -0
  330. /package/dist/{computed-B3BJQSU5.js.map → computed-5E2OM6EN.js.map} +0 -0
  331. /package/dist/{dead-filter-QV7ORQS3.js.map → dead-filter-ZNWVGV5U.js.map} +0 -0
  332. /package/dist/{delegation-UPE5PUKB.js.map → delegation-LZWFOST7.js.map} +0 -0
  333. /package/dist/{derive-R7ALNQRH.js.map → derive-BWXA2L7D.js.map} +0 -0
  334. /package/dist/{dispatch-BW2W2LXV.js.map → dispatch-S34AUC43.js.map} +0 -0
  335. /package/dist/{dispatch-OBZS537P.js.map → dispatch-TIYW3UDN.js.map} +0 -0
  336. /package/dist/{enclave-LXFVDJLO.js.map → enclave-Y6GMYQMS.js.map} +0 -0
  337. /package/dist/{executor-4WZG7D46.js.map → executor-JDMH2IGK.js.map} +0 -0
  338. /package/dist/{executor-5RWPUTGR.js.map → executor-PCZN2LTY.js.map} +0 -0
  339. /package/dist/{executor-VOD4C6ZA.js.map → executor-WFTHIDT7.js.map} +0 -0
  340. /package/dist/{export-accessible-TCVU6B72.js.map → export-accessible-U6GXZZMQ.js.map} +0 -0
  341. /package/dist/{extract-partition-UNUQF5MD.js.map → extract-partition-IDI6NDUR.js.map} +0 -0
  342. /package/dist/{fanout-sidecar-BD4ZSPER.js.map → fanout-sidecar-BVFOEJTP.js.map} +0 -0
  343. /package/dist/{find-QJPVK6CY.js.map → find-VBNMB42N.js.map} +0 -0
  344. /package/dist/{issue-QYCCTU4S.js.map → issue-TEGTAN7N.js.map} +0 -0
  345. /package/dist/{ledger-6EMFGJRU.js.map → ledger-NFLBQASD.js.map} +0 -0
  346. /package/dist/{liberate-ZJDLMKOW.js.map → liberate-SG2PPGAJ.js.map} +0 -0
  347. /package/dist/{link-set-GUKFJQGW.js.map → link-set-IPS57KDM.js.map} +0 -0
  348. /package/dist/{managed-secret-T6X4VHB2.js.map → managed-secret-GFYGPLNI.js.map} +0 -0
  349. /package/dist/{noydb-IP2QPER4.js.map → noydb-TN2VIJJO.js.map} +0 -0
  350. /package/dist/{post-register-XKYJDDZL.js.map → post-register-JUSV3X4E.js.map} +0 -0
  351. /package/dist/{register-GFYFTV74.js.map → register-UTMPUAQW.js.map} +0 -0
  352. /package/dist/{registry-BY7Z54RJ.js.map → registry-B2S4UNUI.js.map} +0 -0
  353. /package/dist/{registry-D6NSZUVQ.js.map → registry-E4FM32KD.js.map} +0 -0
  354. /package/dist/{registry-KQPWMFIP.js.map → registry-HACMULJJ.js.map} +0 -0
  355. /package/dist/{registry-P7RU4TPR.js.map → registry-NDLBGQLJ.js.map} +0 -0
  356. /package/dist/{request-withdrawal-6RA6PGWD.js.map → request-withdrawal-Q5G43PR7.js.map} +0 -0
  357. /package/dist/{reveal-IN2ZBB5U.js.map → reveal-YJU7GUYJ.js.map} +0 -0
  358. /package/dist/{revoke-ETYVUNHE.js.map → revoke-NXOUPYS3.js.map} +0 -0
  359. /package/dist/{seed-D623RNG3.js.map → seed-XXLR4KXU.js.map} +0 -0
  360. /package/dist/{signer-FLW4HHWM.js.map → signer-FCGAUB6E.js.map} +0 -0
  361. /package/dist/{stale-O3CZVYMO.js.map → stale-OT5NMBXU.js.map} +0 -0
  362. /package/dist/{storage-7GVHLKVJ.js.map → storage-EWWIFB43.js.map} +0 -0
  363. /package/dist/{store-coordination-provider-RKBDHHN4.js.map → store-coordination-provider-PPLVM2I2.js.map} +0 -0
  364. /package/dist/{ulid-PTAIMDG4.js.map → ulid-VQW6ERQN.js.map} +0 -0
  365. /package/dist/{verify-GB7SBYC3.js.map → verify-SHJXGZGM.js.map} +0 -0
  366. /package/dist/{walk-77FSILOU.js.map → walk-4NIT2ZBH.js.map} +0 -0
  367. /package/dist/{withdraw-accessible-XMWJWDZP.js.map → withdraw-accessible-LJG66PZQ.js.map} +0 -0
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  pickLocale
3
- } from "./chunk-4TLFWYZG.js";
3
+ } from "./chunk-GE2AGI67.js";
4
4
  import {
5
5
  sha256Hex
6
- } from "./chunk-WJD5VF2N.js";
6
+ } from "./chunk-QTDAPDDV.js";
7
7
  import {
8
- BundleIntegrityError,
9
- BundleSealMismatchError,
8
+ PodIntegrityError,
9
+ PodSealMismatchError,
10
10
  ValidationError
11
- } from "./chunk-CT35TQV7.js";
11
+ } from "./chunk-I64WQSN3.js";
12
12
 
13
13
  // src/with-pod/format.ts
14
- var NOYDB_BUNDLE_MAGIC = new Uint8Array([78, 68, 66, 49]);
15
- var NOYDB_BUNDLE_PREFIX_BYTES = 10;
16
- var NOYDB_BUNDLE_FORMAT_VERSION = 1;
17
- var NOYDB_BUNDLE_FORMAT_VERSION_SIGNED = 2;
14
+ var NOYDB_POD_MAGIC = new Uint8Array([78, 68, 66, 49]);
15
+ var NOYDB_POD_PREFIX_BYTES = 10;
16
+ var NOYDB_POD_FORMAT_VERSION = 1;
17
+ var NOYDB_POD_FORMAT_VERSION_SIGNED = 2;
18
18
  var FLAG_COMPRESSED = 1;
19
19
  var FLAG_HAS_INTEGRITY_HASH = 2;
20
20
  var COMPRESSION_NONE = 0;
@@ -63,7 +63,7 @@ var REDIRECT_REASONS = /* @__PURE__ */ new Set([
63
63
  "tombstone",
64
64
  "repoint"
65
65
  ]);
66
- function validateBundleHeader(parsed) {
66
+ function validatePodHeaderFields(parsed) {
67
67
  if (parsed === null || typeof parsed !== "object") {
68
68
  throw new Error(
69
69
  `.noydb bundle header must be a JSON object, got ${parsed === null ? "null" : typeof parsed}`
@@ -77,9 +77,9 @@ function validateBundleHeader(parsed) {
77
77
  }
78
78
  }
79
79
  const h = parsed;
80
- if (typeof h["formatVersion"] !== "number" || h["formatVersion"] !== NOYDB_BUNDLE_FORMAT_VERSION && h["formatVersion"] !== NOYDB_BUNDLE_FORMAT_VERSION_SIGNED) {
80
+ if (typeof h["formatVersion"] !== "number" || h["formatVersion"] !== NOYDB_POD_FORMAT_VERSION && h["formatVersion"] !== NOYDB_POD_FORMAT_VERSION_SIGNED) {
81
81
  throw new Error(
82
- `.noydb bundle header.formatVersion must be ${NOYDB_BUNDLE_FORMAT_VERSION} or ${NOYDB_BUNDLE_FORMAT_VERSION_SIGNED}, got ${String(h["formatVersion"])}. The reader does not support forward-compat versions; upgrade the reader to handle newer bundles.`
82
+ `.noydb bundle header.formatVersion must be ${NOYDB_POD_FORMAT_VERSION} or ${NOYDB_POD_FORMAT_VERSION_SIGNED}, got ${String(h["formatVersion"])}. The reader does not support forward-compat versions; upgrade the reader to handle newer bundles.`
83
83
  );
84
84
  }
85
85
  if (typeof h["handle"] !== "string" || !/^[0-9A-HJKMNP-TV-Z]{26}$/.test(h["handle"])) {
@@ -264,14 +264,14 @@ function validateBundleHeader(parsed) {
264
264
  `.noydb bundle header.sig, .keyId, and .sigAlg must be present together or not at all (got ${sigFieldsPresent} of 3).`
265
265
  );
266
266
  }
267
- if (sigFieldsPresent === 3 && h["formatVersion"] !== NOYDB_BUNDLE_FORMAT_VERSION_SIGNED) {
267
+ if (sigFieldsPresent === 3 && h["formatVersion"] !== NOYDB_POD_FORMAT_VERSION_SIGNED) {
268
268
  throw new Error(
269
- `.noydb bundle header with sig/keyId/sigAlg must have formatVersion === ${NOYDB_BUNDLE_FORMAT_VERSION_SIGNED}, got ${String(h["formatVersion"])}.`
269
+ `.noydb bundle header with sig/keyId/sigAlg must have formatVersion === ${NOYDB_POD_FORMAT_VERSION_SIGNED}, got ${String(h["formatVersion"])}.`
270
270
  );
271
271
  }
272
272
  }
273
- function encodeBundleHeader(header) {
274
- validateBundleHeader(header);
273
+ function encodePodHeader(header) {
274
+ validatePodHeaderFields(header);
275
275
  const json = JSON.stringify({
276
276
  formatVersion: header.formatVersion,
277
277
  handle: header.handle,
@@ -297,7 +297,7 @@ function encodeBundleHeader(header) {
297
297
  });
298
298
  return new TextEncoder().encode(json);
299
299
  }
300
- function decodeBundleHeader(bytes) {
300
+ function decodePodHeader(bytes) {
301
301
  const json = new TextDecoder("utf-8", { fatal: true }).decode(bytes);
302
302
  let parsed;
303
303
  try {
@@ -307,7 +307,7 @@ function decodeBundleHeader(bytes) {
307
307
  `.noydb bundle header is not valid JSON: ${err.message}`
308
308
  );
309
309
  }
310
- validateBundleHeader(parsed);
310
+ validatePodHeaderFields(parsed);
311
311
  return parsed;
312
312
  }
313
313
  function readUint32BE(bytes, offset) {
@@ -319,10 +319,10 @@ function writeUint32BE(bytes, offset, value) {
319
319
  bytes[offset + 2] = value >>> 8 & 255;
320
320
  bytes[offset + 3] = value & 255;
321
321
  }
322
- function hasNoydbBundleMagic(bytes) {
323
- if (bytes.length < NOYDB_BUNDLE_MAGIC.length) return false;
324
- for (let i = 0; i < NOYDB_BUNDLE_MAGIC.length; i++) {
325
- if (bytes[i] !== NOYDB_BUNDLE_MAGIC[i]) return false;
322
+ function hasNoydbPodMagic(bytes) {
323
+ if (bytes.length < NOYDB_POD_MAGIC.length) return false;
324
+ for (let i = 0; i < NOYDB_POD_MAGIC.length; i++) {
325
+ if (bytes[i] !== NOYDB_POD_MAGIC[i]) return false;
326
326
  }
327
327
  return true;
328
328
  }
@@ -340,7 +340,7 @@ async function verifyRecord(publicKeyB64, sig, payload) {
340
340
  return ed25519Verify(publicKeyB64, sig, signedBytes(payload));
341
341
  }
342
342
 
343
- // src/with-pod/bundle.ts
343
+ // src/with-pod/pod.ts
344
344
  var WRITE_POD_OPTION_KEYS = [
345
345
  "compression",
346
346
  "collections",
@@ -562,30 +562,30 @@ function parseAutoUnlockBody(bodyString) {
562
562
  try {
563
563
  parsed = JSON.parse(bodyString);
564
564
  } catch (err) {
565
- throw new BundleIntegrityError(
565
+ throw new PodIntegrityError(
566
566
  "header declared autoUnlock but body could not be parsed as JSON wrapper: " + (err instanceof Error ? err.message : String(err))
567
567
  );
568
568
  }
569
569
  if (typeof parsed !== "object" || parsed === null) {
570
- throw new BundleIntegrityError("autoUnlock body is not a JSON object");
570
+ throw new PodIntegrityError("autoUnlock body is not a JSON object");
571
571
  }
572
572
  const obj = parsed;
573
573
  if (obj["_noydb_bundle_body"] !== 1) {
574
- throw new BundleIntegrityError(
574
+ throw new PodIntegrityError(
575
575
  "autoUnlock body missing `_noydb_bundle_body: 1` discriminator"
576
576
  );
577
577
  }
578
578
  if (typeof obj["dump"] !== "string") {
579
- throw new BundleIntegrityError("autoUnlock body must carry a string `dump` field");
579
+ throw new PodIntegrityError("autoUnlock body must carry a string `dump` field");
580
580
  }
581
581
  const blob = obj["_autoUnlock"];
582
582
  if (typeof blob !== "object" || blob === null) {
583
- throw new BundleIntegrityError("autoUnlock body missing `_autoUnlock` blob");
583
+ throw new PodIntegrityError("autoUnlock body missing `_autoUnlock` blob");
584
584
  }
585
585
  const blobObj = blob;
586
586
  const kind = blobObj["kind"];
587
587
  if (kind !== "unsealed" && kind !== "sealed") {
588
- throw new BundleIntegrityError(
588
+ throw new PodIntegrityError(
589
589
  `autoUnlock blob has invalid kind ${String(kind)}; expected 'unsealed' or 'sealed'`
590
590
  );
591
591
  }
@@ -602,29 +602,29 @@ function parseExtractedPartitionBody(bodyString) {
602
602
  try {
603
603
  parsed = JSON.parse(bodyString);
604
604
  } catch (err) {
605
- throw new BundleIntegrityError(
605
+ throw new PodIntegrityError(
606
606
  "header declared extracted-partition but body could not be parsed as JSON wrapper: " + (err instanceof Error ? err.message : String(err))
607
607
  );
608
608
  }
609
609
  if (typeof parsed !== "object" || parsed === null) {
610
- throw new BundleIntegrityError("extracted-partition body is not a JSON object");
610
+ throw new PodIntegrityError("extracted-partition body is not a JSON object");
611
611
  }
612
612
  const obj = parsed;
613
613
  if (obj["_noydb_bundle_body"] !== 1) {
614
- throw new BundleIntegrityError(
614
+ throw new PodIntegrityError(
615
615
  "extracted-partition body missing `_noydb_bundle_body: 1` discriminator"
616
616
  );
617
617
  }
618
618
  if (typeof obj["dump"] !== "string") {
619
- throw new BundleIntegrityError("extracted-partition body must carry a string `dump` field");
619
+ throw new PodIntegrityError("extracted-partition body must carry a string `dump` field");
620
620
  }
621
621
  const seal = obj["_transferSeal"];
622
622
  if (typeof seal !== "object" || seal === null) {
623
- throw new BundleIntegrityError("extracted-partition body missing `_transferSeal` blob");
623
+ throw new PodIntegrityError("extracted-partition body missing `_transferSeal` blob");
624
624
  }
625
625
  const s = seal;
626
626
  if (s["v"] !== 1 || s["alg"] !== "aes-256-gcm-pre-shared" || typeof s["sealId"] !== "string" || typeof s["payload"] !== "string") {
627
- throw new BundleIntegrityError("extracted-partition `_transferSeal` blob is malformed");
627
+ throw new PodIntegrityError("extracted-partition `_transferSeal` blob is malformed");
628
628
  }
629
629
  return { dump: obj["dump"], seal };
630
630
  }
@@ -670,7 +670,7 @@ async function resolveAutoUnlock(blob, opts) {
670
670
  unsealedMap[userId] = { kind: credKind, value: entry.sealed };
671
671
  continue;
672
672
  }
673
- throw new BundleSealMismatchError(userId, entry.pid);
673
+ throw new PodSealMismatchError(userId, entry.pid);
674
674
  }
675
675
  unsealedMap[userId] = { kind: credKind, value: opened };
676
676
  continue;
@@ -679,7 +679,7 @@ async function resolveAutoUnlock(blob, opts) {
679
679
  unsealedMap[userId] = { kind: credKind, value: entry.sealed };
680
680
  continue;
681
681
  }
682
- throw new BundleSealMismatchError(userId, entry.pid);
682
+ throw new PodSealMismatchError(userId, entry.pid);
683
683
  }
684
684
  const plaintextBytes = await provider.unseal(base64ToBytes(entry.sealed));
685
685
  unsealedMap[userId] = { kind: credKind, value: decoder.decode(plaintextBytes) };
@@ -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-QV7ORQS3.js");
815
+ const { liveBaseIdSetsForBundle } = await import("./dead-filter-ZNWVGV5U.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 = {};
@@ -864,13 +864,13 @@ async function applyPlaintextFilters(vault, dumpJson, opts) {
864
864
  backup.collections = next;
865
865
  return JSON.stringify(backup);
866
866
  }
867
- async function assembleBundleContainer(opts) {
867
+ async function assemblePodContainer(opts) {
868
868
  const dumpBytes = new TextEncoder().encode(opts.bodyJsonStr);
869
869
  const { format, streamFormat } = selectCompression(opts.compression);
870
870
  const body = streamFormat === null ? dumpBytes : await pumpThroughStream(dumpBytes, new CompressionStream(streamFormat));
871
871
  const bodySha256 = await sha256Hex2(body);
872
872
  const header = {
873
- formatVersion: NOYDB_BUNDLE_FORMAT_VERSION,
873
+ formatVersion: NOYDB_POD_FORMAT_VERSION,
874
874
  handle: opts.handle,
875
875
  bodyBytes: body.length,
876
876
  bodySha256,
@@ -886,13 +886,13 @@ async function assembleBundleContainer(opts) {
886
886
  ...opts.headerExtras?.redirect !== void 0 ? { redirect: opts.headerExtras.redirect } : {}
887
887
  };
888
888
  const signed = opts.signer === void 0 ? header : await (async (s) => {
889
- const toSign = { ...header, formatVersion: NOYDB_BUNDLE_FORMAT_VERSION_SIGNED, keyId: s.keyId, sigAlg: "ed25519" };
889
+ const toSign = { ...header, formatVersion: NOYDB_POD_FORMAT_VERSION_SIGNED, keyId: s.keyId, sigAlg: "ed25519" };
890
890
  const sig = await signRecord(s.privateKeyPkcs8B64, toSign);
891
891
  return { ...toSign, sig };
892
892
  })(opts.signer);
893
- const headerBytes = encodeBundleHeader(signed);
894
- const prefix = new Uint8Array(NOYDB_BUNDLE_PREFIX_BYTES);
895
- prefix.set(NOYDB_BUNDLE_MAGIC, 0);
893
+ const headerBytes = encodePodHeader(signed);
894
+ const prefix = new Uint8Array(NOYDB_POD_PREFIX_BYTES);
895
+ prefix.set(NOYDB_POD_MAGIC, 0);
896
896
  prefix[4] = (streamFormat === null ? 0 : FLAG_COMPRESSED) | FLAG_HAS_INTEGRITY_HASH;
897
897
  prefix[5] = format;
898
898
  writeUint32BE(prefix, 6, headerBytes.length);
@@ -907,7 +907,7 @@ async function writePod(vault, opts = {}) {
907
907
  }
908
908
  const normalizedAutoUnlock = normalizeAutoUnlock(opts);
909
909
  const autoUnlockMode = validateAutoUnlockOptions(opts, normalizedAutoUnlock);
910
- const handle = await vault.getBundleHandle();
910
+ const handle = await vault.getPodHandle();
911
911
  const dumpJson = await vault.dump();
912
912
  const satelliteFiltered = await applySatelliteLivenessFilter(vault, dumpJson);
913
913
  const rekeyed = await applyRecipientRewrap(vault, satelliteFiltered, opts);
@@ -916,7 +916,7 @@ async function writePod(vault, opts = {}) {
916
916
  const bodyJsonStr = normalizedAutoUnlock === null ? filtered : JSON.stringify(await buildAutoUnlockWrapper(filtered, normalizedAutoUnlock));
917
917
  const cover = await vault.getCover();
918
918
  const signer = opts.sign === false ? void 0 : opts.sign !== void 0 ? opts.sign : await vault._loadPodSigner() ?? void 0;
919
- return assembleBundleContainer({
919
+ return assemblePodContainer({
920
920
  handle,
921
921
  bodyJsonStr,
922
922
  compression: opts.compression,
@@ -936,14 +936,14 @@ async function writePod(vault, opts = {}) {
936
936
  });
937
937
  }
938
938
  function parsePrefixAndHeader(bytes) {
939
- if (!hasNoydbBundleMagic(bytes)) {
939
+ if (!hasNoydbPodMagic(bytes)) {
940
940
  throw new Error(
941
941
  `Not a .noydb bundle: missing 'NDB1' magic prefix. The first 4 bytes are ${[...bytes.slice(0, 4)].map((b) => b.toString(16).padStart(2, "0")).join(" ")}.`
942
942
  );
943
943
  }
944
- if (bytes.length < NOYDB_BUNDLE_PREFIX_BYTES) {
944
+ if (bytes.length < NOYDB_POD_PREFIX_BYTES) {
945
945
  throw new Error(
946
- `Truncated .noydb bundle: file is only ${bytes.length} bytes, which is less than the ${NOYDB_BUNDLE_PREFIX_BYTES}-byte fixed prefix.`
946
+ `Truncated .noydb bundle: file is only ${bytes.length} bytes, which is less than the ${NOYDB_POD_PREFIX_BYTES}-byte fixed prefix.`
947
947
  );
948
948
  }
949
949
  const flags = bytes[4];
@@ -954,14 +954,14 @@ function parsePrefixAndHeader(bytes) {
954
954
  );
955
955
  }
956
956
  const headerLength = readUint32BE(bytes, 6);
957
- const bodyOffset = NOYDB_BUNDLE_PREFIX_BYTES + headerLength;
957
+ const bodyOffset = NOYDB_POD_PREFIX_BYTES + headerLength;
958
958
  if (bodyOffset > bytes.length) {
959
959
  throw new Error(
960
960
  `Truncated .noydb bundle: declared header length ${headerLength} would extend past end of file (${bytes.length} bytes).`
961
961
  );
962
962
  }
963
- const headerBytes = bytes.slice(NOYDB_BUNDLE_PREFIX_BYTES, bodyOffset);
964
- const header = decodeBundleHeader(headerBytes);
963
+ const headerBytes = bytes.slice(NOYDB_POD_PREFIX_BYTES, bodyOffset);
964
+ const header = decodePodHeader(headerBytes);
965
965
  return { header, bodyOffset, algo, flags };
966
966
  }
967
967
  function readPodHeader(bytes) {
@@ -999,13 +999,13 @@ async function readPod(bytes, opts = {}) {
999
999
  const { header, bodyOffset, algo } = parsePrefixAndHeader(bytes);
1000
1000
  const body = bytes.slice(bodyOffset);
1001
1001
  if (body.length !== header.bodyBytes) {
1002
- throw new BundleIntegrityError(
1002
+ throw new PodIntegrityError(
1003
1003
  `body length ${body.length} does not match header.bodyBytes ${header.bodyBytes}. The bundle was truncated or padded between write and read.`
1004
1004
  );
1005
1005
  }
1006
1006
  const actualSha = await sha256Hex2(body);
1007
1007
  if (actualSha !== header.bodySha256) {
1008
- throw new BundleIntegrityError(
1008
+ throw new PodIntegrityError(
1009
1009
  `body sha256 ${actualSha} does not match header.bodySha256 ${header.bodySha256}. The bundle bytes were modified between write and read \u2014 refuse to decompress.`
1010
1010
  );
1011
1011
  }
@@ -1017,7 +1017,7 @@ async function readPod(bytes, opts = {}) {
1017
1017
  try {
1018
1018
  dumpBytes = await pumpThroughStream(body, new DecompressionStream(streamFormat));
1019
1019
  } catch (err) {
1020
- throw new BundleIntegrityError(
1020
+ throw new PodIntegrityError(
1021
1021
  `decompression failed: ${err.message}. The bundle passed the integrity hash but the body is not valid ${streamFormat} data \u2014 likely a producer bug.`
1022
1022
  );
1023
1023
  }
@@ -1032,17 +1032,17 @@ async function readPod(bytes, opts = {}) {
1032
1032
  }
1033
1033
 
1034
1034
  export {
1035
- NOYDB_BUNDLE_MAGIC,
1036
- NOYDB_BUNDLE_PREFIX_BYTES,
1037
- NOYDB_BUNDLE_FORMAT_VERSION,
1035
+ NOYDB_POD_MAGIC,
1036
+ NOYDB_POD_PREFIX_BYTES,
1037
+ NOYDB_POD_FORMAT_VERSION,
1038
1038
  FLAG_COMPRESSED,
1039
1039
  FLAG_HAS_INTEGRITY_HASH,
1040
1040
  COMPRESSION_NONE,
1041
1041
  COMPRESSION_GZIP,
1042
1042
  COMPRESSION_BROTLI,
1043
- validateBundleHeader,
1044
- encodeBundleHeader,
1045
- hasNoydbBundleMagic,
1043
+ validatePodHeaderFields,
1044
+ encodePodHeader,
1045
+ hasNoydbPodMagic,
1046
1046
  POD_SIG_ALG,
1047
1047
  signedBytes,
1048
1048
  signRecord,
@@ -1050,7 +1050,7 @@ export {
1050
1050
  buildExtractedPartitionWrapper,
1051
1051
  parseExtractedPartitionBody,
1052
1052
  resetBrotliSupportCache,
1053
- assembleBundleContainer,
1053
+ assemblePodContainer,
1054
1054
  writePod,
1055
1055
  readPodHeader,
1056
1056
  verifyPodHeader,
@@ -1058,4 +1058,4 @@ export {
1058
1058
  readPodRedirect,
1059
1059
  readPod
1060
1060
  };
1061
- //# sourceMappingURL=chunk-GAELDPIH.js.map
1061
+ //# sourceMappingURL=chunk-4LNFXGNW.js.map