@noy-db/hub 0.8.0-pre.0 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +50 -0
- package/dist/api-OS747DS4.js +18 -0
- package/dist/as/index.js +11 -12
- package/dist/as/index.js.map +1 -1
- package/dist/at/index.js +9 -10
- package/dist/attestation/index.js +39 -28
- package/dist/attestation/index.js.map +1 -1
- package/dist/{backup-7TFRVFLH.js → backup-YE2VQ26S.js} +15 -16
- package/dist/backup-YE2VQ26S.js.map +1 -0
- package/dist/blobs/index.js +13 -14
- package/dist/blobs/index.js.map +1 -1
- package/dist/broker/index.js +12 -13
- package/dist/broker/index.js.map +1 -1
- package/dist/by/index.js +2 -2
- package/dist/capsule/contract.d.ts +159 -0
- package/dist/capsule/contract.js +95 -0
- package/dist/capsule/enclave-aes/bound.d.ts +52 -0
- package/dist/capsule/enclave-aes/capabilities.d.ts +2 -0
- package/dist/capsule/enclave-aes/classify/compare.d.ts +20 -0
- package/dist/{kernel/enclave → capsule/enclave-aes}/classify/find.d.ts +1 -1
- package/dist/{kernel/enclave → capsule/enclave-aes}/classify/reveal.d.ts +1 -1
- package/dist/{kernel/enclave → capsule/enclave-aes}/classify/verify.d.ts +2 -2
- package/dist/{kernel/enclave → capsule/enclave-aes}/classify/write.d.ts +1 -1
- package/dist/{kernel/enclave → capsule/enclave-aes}/crypto.d.ts +33 -129
- package/dist/capsule/enclave-aes/index.d.ts +113 -0
- package/dist/capsule/enclave-aes/index.js +335 -0
- package/dist/capsule/enclave-aes/index.js.map +1 -0
- package/dist/capsule/enclave-aes/primitives.d.ts +29 -0
- package/dist/capsule/index.d.ts +27 -0
- package/dist/capsule/plumbing/ct-equal.d.ts +11 -0
- package/dist/{kernel/enclave/record-keys → capsule/plumbing}/deterministic.d.ts +8 -21
- package/dist/capsule/plumbing/digest.d.ts +122 -0
- package/dist/{kernel/enclave/record-keys → capsule/plumbing}/envelope-body.d.ts +44 -48
- package/dist/capsule/plumbing/index.d.ts +100 -0
- package/dist/capsule/plumbing/lifecycle.d.ts +50 -0
- package/dist/{kernel/enclave/record-keys → capsule/plumbing}/record-codec.d.ts +55 -20
- package/dist/{kernel/enclave → capsule/plumbing}/record-envelope.d.ts +1 -1
- package/dist/capsule/plumbing/rekey-blob.d.ts +33 -0
- package/dist/capsule/plumbing/rekey.d.ts +44 -0
- package/dist/capsule/plumbing/sealed-slot.d.ts +22 -0
- package/dist/capsule/plumbing/sealed-slots.d.ts +37 -0
- package/dist/capsule/plumbing/sealing.d.ts +29 -0
- package/dist/capsule/plumbing/sign.d.ts +9 -0
- package/dist/{kernel/enclave/record-keys → capsule/plumbing}/tombstone.d.ts +2 -2
- package/dist/capsule-VOLX3QRQ.js +209 -0
- package/dist/cargo/index.js +36 -36
- package/dist/{chunk-DF73H4UN.js → chunk-23D6M6VM.js} +5 -5
- package/dist/chunk-23D6M6VM.js.map +1 -0
- package/dist/{chunk-FH2L2E34.js → chunk-244QBK7Z.js} +4 -4
- package/dist/{chunk-FH2L2E34.js.map → chunk-244QBK7Z.js.map} +1 -1
- package/dist/{chunk-YSK2CU2Q.js → chunk-2AFX33YA.js} +2 -2
- package/dist/{chunk-TKUOEU2F.js → chunk-2GHDLTPE.js} +2 -2
- package/dist/{chunk-GYGLAVCX.js → chunk-2MG3SW7Q.js} +6 -2
- package/dist/chunk-2MG3SW7Q.js.map +1 -0
- package/dist/{chunk-6OWXYZK2.js → chunk-2ODVB6LZ.js} +2 -2
- package/dist/{chunk-X25NWUZB.js → chunk-2PVXF5CS.js} +3 -3
- package/dist/{chunk-IEX7NK2K.js → chunk-2RH777HH.js} +21 -20
- package/dist/{chunk-IEX7NK2K.js.map → chunk-2RH777HH.js.map} +1 -1
- package/dist/{chunk-244VXYPG.js → chunk-37EPTBBR.js} +14 -1
- package/dist/chunk-37EPTBBR.js.map +1 -0
- package/dist/{chunk-NRT6QZQB.js → chunk-3A5DUZ56.js} +6 -6
- package/dist/chunk-3A5DUZ56.js.map +1 -0
- package/dist/{chunk-ORDURZBU.js → chunk-3EWS67C7.js} +2 -2
- package/dist/{chunk-3H5KLDZN.js → chunk-3L2NBKDR.js} +4 -8
- package/dist/chunk-3L2NBKDR.js.map +1 -0
- package/dist/{chunk-ENAG3IY7.js → chunk-3XJQBBZD.js} +26 -28
- package/dist/chunk-3XJQBBZD.js.map +1 -0
- package/dist/{chunk-KJFW62P4.js → chunk-42ALPZ2B.js} +652 -662
- package/dist/chunk-42ALPZ2B.js.map +1 -0
- package/dist/{chunk-FXQBGFOX.js → chunk-4CIQDWRB.js} +8 -8
- package/dist/{chunk-HT2AHGQI.js → chunk-4JPMZTJY.js} +2 -2
- package/dist/{chunk-FQ5VRHIB.js → chunk-4T3SE27M.js} +5 -9
- package/dist/chunk-4T3SE27M.js.map +1 -0
- package/dist/{chunk-MKXXMNJH.js → chunk-4V3Q35WG.js} +2 -2
- package/dist/{chunk-A6IJU4TK.js → chunk-52MGURXO.js} +2 -2
- package/dist/{chunk-IUWCVHQ7.js → chunk-5A4345TG.js} +4 -4
- package/dist/{chunk-IUWCVHQ7.js.map → chunk-5A4345TG.js.map} +1 -1
- package/dist/{chunk-ISZQJBML.js → chunk-5FE75J4S.js} +6 -6
- package/dist/chunk-5FE75J4S.js.map +1 -0
- package/dist/chunk-5KC7QYEC.js +565 -0
- package/dist/chunk-5KC7QYEC.js.map +1 -0
- package/dist/{chunk-NNARWO72.js → chunk-5UMK7GRI.js} +13 -12
- package/dist/chunk-5UMK7GRI.js.map +1 -0
- package/dist/{chunk-HLEK5VAN.js → chunk-5WWDGFOS.js} +2 -2
- package/dist/{chunk-CKNGS5MH.js → chunk-6QVKPHBF.js} +3 -5
- package/dist/chunk-6QVKPHBF.js.map +1 -0
- package/dist/{chunk-PSIV7CJV.js → chunk-747G6CT3.js} +2 -2
- package/dist/chunk-747G6CT3.js.map +1 -0
- package/dist/{chunk-LGRLME4M.js → chunk-7R2Q7CPL.js} +16 -16
- package/dist/chunk-7R2Q7CPL.js.map +1 -0
- package/dist/{chunk-SOIQ4MM4.js → chunk-7XMHMVTS.js} +3 -3
- package/dist/{chunk-BUDAGWL5.js → chunk-A4XMIZT3.js} +6 -6
- package/dist/{chunk-BUDAGWL5.js.map → chunk-A4XMIZT3.js.map} +1 -1
- package/dist/{chunk-4MXI3ODD.js → chunk-AEQGFRU4.js} +3 -3
- package/dist/{chunk-7JE7BDYJ.js → chunk-AL6ML4LA.js} +5 -5
- package/dist/{chunk-ZUVBC32X.js → chunk-AUKKUPVB.js} +2 -2
- package/dist/chunk-BNWA3WG5.js +22 -0
- package/dist/chunk-BNWA3WG5.js.map +1 -0
- package/dist/{chunk-WY2XXTET.js → chunk-BPWYQ25R.js} +4 -4
- package/dist/{chunk-EOVMT6TB.js → chunk-BVCUTXE3.js} +2 -2
- package/dist/{chunk-UPD5NWI5.js → chunk-DHHGL42E.js} +13 -16
- package/dist/chunk-DHHGL42E.js.map +1 -0
- package/dist/{chunk-3JWHAR6E.js → chunk-DIZLQVAA.js} +2 -2
- package/dist/{chunk-QWFHIOD2.js → chunk-DLD5LGDS.js} +11 -12
- package/dist/chunk-DLD5LGDS.js.map +1 -0
- package/dist/{chunk-ZE4CHIED.js → chunk-DQESF6RP.js} +17 -28
- package/dist/chunk-DQESF6RP.js.map +1 -0
- package/dist/{chunk-IT22PWKV.js → chunk-E2N2T5ZO.js} +2 -2
- package/dist/{chunk-3ELRMVJK.js → chunk-EGVJ7TM4.js} +31 -34
- package/dist/chunk-EGVJ7TM4.js.map +1 -0
- package/dist/{chunk-WNJ4AVGE.js → chunk-EJLV62NI.js} +2 -2
- package/dist/{chunk-QBBUZ3I3.js → chunk-EYG2CY2X.js} +11 -11
- package/dist/{enclave-27SMF6GF.js → chunk-EZGV6F47.js} +83 -56
- package/dist/chunk-EZGV6F47.js.map +1 -0
- package/dist/{chunk-LQ4ZHOKP.js → chunk-EZOAKKTB.js} +36 -27
- package/dist/chunk-EZOAKKTB.js.map +1 -0
- package/dist/{chunk-BJ2IXQ5Q.js → chunk-FFJFE4T7.js} +2 -2
- package/dist/{chunk-JCN44NCY.js → chunk-FLPCETP6.js} +2 -2
- package/dist/{chunk-5O7D6ZTW.js → chunk-FOEDQATO.js} +2 -2
- package/dist/{chunk-VNNRUGMM.js → chunk-FVH5QYY2.js} +2 -2
- package/dist/{chunk-ANWPSTZU.js → chunk-G2MVBDFP.js} +23 -26
- package/dist/chunk-G2MVBDFP.js.map +1 -0
- package/dist/chunk-GMKGGY7V.js +234 -0
- package/dist/chunk-GMKGGY7V.js.map +1 -0
- package/dist/{chunk-EIPVYUEP.js → chunk-GQ4MF3CM.js} +3 -3
- package/dist/chunk-GQ4MF3CM.js.map +1 -0
- package/dist/{chunk-PEOZ34EM.js → chunk-GSAK56VF.js} +1 -1
- package/dist/chunk-GSAK56VF.js.map +1 -0
- package/dist/{chunk-QOOUUR4A.js → chunk-GUZET4SG.js} +10 -4
- package/dist/chunk-GUZET4SG.js.map +1 -0
- package/dist/{chunk-4AF3TUMP.js → chunk-GZT3NQRA.js} +2 -2
- package/dist/{chunk-N5DNADLQ.js → chunk-H23XHRTT.js} +19 -34
- package/dist/chunk-H23XHRTT.js.map +1 -0
- package/dist/{chunk-MVZ2TPVP.js → chunk-H427H63K.js} +2 -2
- package/dist/{chunk-6B3VNR4P.js → chunk-H7JBY4P7.js} +23 -32
- package/dist/chunk-H7JBY4P7.js.map +1 -0
- package/dist/{chunk-MLPHLJIQ.js → chunk-HS554XAF.js} +2 -2
- package/dist/{chunk-HK67PX4J.js → chunk-HW7CMKUG.js} +1 -1
- package/dist/chunk-HW7CMKUG.js.map +1 -0
- package/dist/{chunk-S57HTZ6X.js → chunk-IMQKWR46.js} +5 -7
- package/dist/chunk-IMQKWR46.js.map +1 -0
- package/dist/{chunk-FCKWQE2H.js → chunk-IUBMZPHM.js} +7 -7
- package/dist/chunk-IUBMZPHM.js.map +1 -0
- package/dist/{chunk-UD5EVGZ7.js → chunk-IUT3GWP3.js} +49 -13
- package/dist/chunk-IUT3GWP3.js.map +1 -0
- package/dist/{chunk-J6UOHJY5.js → chunk-JDEYF3PJ.js} +4 -8
- package/dist/{chunk-J6UOHJY5.js.map → chunk-JDEYF3PJ.js.map} +1 -1
- package/dist/{chunk-NWHBJQAL.js → chunk-JIBUPZHA.js} +4 -4
- package/dist/chunk-JIBUPZHA.js.map +1 -0
- package/dist/{chunk-TROR3ALR.js → chunk-JOSPH3E5.js} +2 -2
- package/dist/{chunk-F24ZZTHQ.js → chunk-JQYKPKG6.js} +4 -4
- package/dist/{chunk-GF5BZ7D4.js → chunk-JSMTXZR3.js} +8 -12
- package/dist/chunk-JSMTXZR3.js.map +1 -0
- package/dist/chunk-JWWYRR4Q.js +12 -0
- package/dist/chunk-JWWYRR4Q.js.map +1 -0
- package/dist/{chunk-HBPPGWUM.js → chunk-KZXDLBY6.js} +14 -9
- package/dist/chunk-KZXDLBY6.js.map +1 -0
- package/dist/{chunk-7VCXZDA4.js → chunk-LIOVX5TJ.js} +7 -11
- package/dist/chunk-LIOVX5TJ.js.map +1 -0
- package/dist/{chunk-QWGU66MP.js → chunk-LNSVGRHO.js} +5 -7
- package/dist/chunk-LNSVGRHO.js.map +1 -0
- package/dist/{chunk-MDWKM2XC.js → chunk-M5B2W6YY.js} +3 -3
- package/dist/{chunk-F2TDU7MQ.js → chunk-MBMTND6D.js} +2 -2
- package/dist/{chunk-K6W7BVZ6.js → chunk-MILI22XQ.js} +3 -3
- package/dist/{chunk-YNIUIERI.js → chunk-MXKI4ABF.js} +18 -59
- package/dist/chunk-MXKI4ABF.js.map +1 -0
- package/dist/{chunk-T2LBQ5DV.js → chunk-MXOQ5JCG.js} +252 -214
- package/dist/chunk-MXOQ5JCG.js.map +1 -0
- package/dist/{chunk-ZXABPVM6.js → chunk-N7EVQD5S.js} +9 -13
- package/dist/chunk-N7EVQD5S.js.map +1 -0
- package/dist/{chunk-CF5UU4S7.js → chunk-N7UDP5VU.js} +7 -7
- package/dist/{chunk-FQ54DWUQ.js → chunk-NBQ3KK6X.js} +4 -4
- package/dist/{chunk-4I522ERM.js → chunk-NCO25JZO.js} +4 -4
- package/dist/chunk-NH2UOV3B.js +18 -0
- package/dist/chunk-NH2UOV3B.js.map +1 -0
- package/dist/{chunk-SI3V7D4G.js → chunk-O2IMQSNA.js} +2 -2
- package/dist/{chunk-T52GX4SA.js → chunk-O46CHQT7.js} +4 -4
- package/dist/chunk-OIEO4WDL.js +27 -0
- package/dist/chunk-OIEO4WDL.js.map +1 -0
- package/dist/{chunk-GHLTDZRS.js → chunk-OKSTSITU.js} +25 -4
- package/dist/chunk-OKSTSITU.js.map +1 -0
- package/dist/{chunk-TOPYQ6GA.js → chunk-OYW3I5M4.js} +6 -6
- package/dist/{chunk-X4773RBR.js → chunk-PD64727P.js} +2 -2
- package/dist/chunk-PD64727P.js.map +1 -0
- package/dist/{chunk-BP6DARYA.js → chunk-PP3K67AJ.js} +4 -4
- package/dist/chunk-PP3K67AJ.js.map +1 -0
- package/dist/chunk-Q2XRFWOI.js +40 -0
- package/dist/chunk-Q2XRFWOI.js.map +1 -0
- package/dist/{chunk-AOWGXU6D.js → chunk-Q4UHJ5SN.js} +2 -2
- package/dist/{chunk-FW22ZCXT.js → chunk-QBLT6POL.js} +2 -2
- package/dist/chunk-QMWY2FDS.js +157 -0
- package/dist/chunk-QMWY2FDS.js.map +1 -0
- package/dist/{chunk-I3JDRCMW.js → chunk-RB4DOPGZ.js} +10 -10
- package/dist/{chunk-32YV3TJT.js → chunk-SMV2HRDU.js} +2 -2
- package/dist/{chunk-ODVPTDPK.js → chunk-SV2PM2OY.js} +1 -1
- package/dist/chunk-SV2PM2OY.js.map +1 -0
- package/dist/{chunk-Z5HTYMMQ.js → chunk-SYNY3VB5.js} +2 -2
- package/dist/{chunk-SYVZW77S.js → chunk-TEHHROZL.js} +6 -8
- package/dist/chunk-TEHHROZL.js.map +1 -0
- package/dist/{chunk-ZSX4S5XB.js → chunk-TKVUE4JF.js} +9 -9
- package/dist/{chunk-B57AFBY2.js → chunk-TZZBXPZK.js} +2 -2
- package/dist/{chunk-VNPEWFPD.js → chunk-U2FZNEWJ.js} +4 -4
- package/dist/chunk-U2FZNEWJ.js.map +1 -0
- package/dist/{chunk-5FDLC6G7.js → chunk-UA372JHH.js} +3 -3
- package/dist/{chunk-PDCG6PR5.js → chunk-UEFOQH74.js} +2 -2
- package/dist/chunk-UEFOQH74.js.map +1 -0
- package/dist/{chunk-HVSCEIYL.js → chunk-UIYESRD6.js} +9 -11
- package/dist/chunk-UIYESRD6.js.map +1 -0
- package/dist/{chunk-B6SJIBQK.js → chunk-V3RWOOSO.js} +4 -4
- package/dist/{chunk-HBRLNOHL.js → chunk-V7ADQF5O.js} +4 -4
- package/dist/{chunk-L7DOS3TE.js → chunk-VAORSCSU.js} +3 -3
- package/dist/chunk-VAORSCSU.js.map +1 -0
- package/dist/{chunk-M522UYZ2.js → chunk-VFHCKG5M.js} +6 -10
- package/dist/chunk-VFHCKG5M.js.map +1 -0
- package/dist/{chunk-DC5QVPV7.js → chunk-VHBKYN2J.js} +3 -3
- package/dist/chunk-VHBKYN2J.js.map +1 -0
- package/dist/{chunk-WX5ADGTZ.js → chunk-VKI2EB3N.js} +3 -3
- package/dist/chunk-VKI2EB3N.js.map +1 -0
- package/dist/{chunk-MTL7MXGR.js → chunk-VMV5SBE4.js} +16 -17
- package/dist/chunk-VMV5SBE4.js.map +1 -0
- package/dist/{chunk-F7XGHL5O.js → chunk-VQDZYB2B.js} +3 -3
- package/dist/{chunk-BK2HHQGN.js → chunk-VVOLDVIR.js} +2 -2
- package/dist/{chunk-6LMQ5R26.js → chunk-WPOYWFSE.js} +7 -7
- package/dist/{chunk-6LMQ5R26.js.map → chunk-WPOYWFSE.js.map} +1 -1
- package/dist/{chunk-3F7GLNAE.js → chunk-WXE4W2U6.js} +7 -11
- package/dist/chunk-WXE4W2U6.js.map +1 -0
- package/dist/{chunk-6K7DPM7D.js → chunk-XQRFSKYM.js} +2 -2
- package/dist/{chunk-M7NI3IWE.js → chunk-XSPFDUDG.js} +22 -50
- package/dist/chunk-XSPFDUDG.js.map +1 -0
- package/dist/{chunk-ID6Z6E66.js → chunk-Y2RKVFKR.js} +2 -2
- package/dist/{chunk-6LNL42F5.js → chunk-Y3LPTBG7.js} +12 -12
- package/dist/chunk-Y3LPTBG7.js.map +1 -0
- package/dist/{chunk-FN5EBVTQ.js → chunk-YRXFFWG4.js} +2 -2
- package/dist/classified/index.js +5 -5
- package/dist/{classified-marker-W3USLL5M.js → classified-marker-SIYKUU5L.js} +3 -3
- package/dist/classified-marker-SIYKUU5L.js.map +1 -0
- package/dist/collection-facade-CS7CA2XO.js +47 -0
- package/dist/{computed-TPFBX7U4.js → computed-FAD7SED4.js} +3 -3
- package/dist/consent/index.js +10 -11
- package/dist/consent/index.js.map +1 -1
- package/dist/cover/index.js +9 -10
- package/dist/custody/index.js +12 -13
- package/dist/{dead-filter-U2UYKSZL.js → dead-filter-4F3LWYKH.js} +11 -3
- package/dist/dead-filter-4F3LWYKH.js.map +1 -0
- package/dist/debug/index.js +11 -2
- package/dist/debug/index.js.map +1 -1
- package/dist/{delegation-S3AEPW2T.js → delegation-NANZDG4N.js} +13 -16
- package/dist/delegation-NANZDG4N.js.map +1 -0
- package/dist/derivations/index.js +23 -24
- package/dist/derive-XLOJVXPU.js +20 -0
- package/dist/directory/index.js +10 -11
- package/dist/{dispatch-3CQDJV5Q.js → dispatch-H4HV32AM.js} +5 -5
- package/dist/{dispatch-RH4LHKBH.js → dispatch-JDZNGEB3.js} +21 -22
- package/dist/dispatch-JDZNGEB3.js.map +1 -0
- package/dist/executor-FMPVN6DT.js +35 -0
- package/dist/executor-LBBBRTN5.js +8 -0
- package/dist/executor-OSRZST2U.js +8 -0
- package/dist/export-accessible-RAOJAAU5.js +22 -0
- package/dist/extract-partition-JD5CUSTG.js +37 -0
- package/dist/{fanout-sidecar-OT6RYLOL.js → fanout-sidecar-L7NHPIOC.js} +13 -15
- package/dist/fanout-sidecar-L7NHPIOC.js.map +1 -0
- package/dist/find-JRN4RNQ5.js +10 -0
- package/dist/forget/index.js +9 -10
- package/dist/forget/index.js.map +1 -1
- package/dist/guards/index.js +4 -4
- package/dist/history/index.js +13 -14
- package/dist/history/index.js.map +1 -1
- package/dist/i18n/index.js +14 -15
- package/dist/i18n/index.js.map +1 -1
- package/dist/index.d.ts +8 -8
- package/dist/index.js +183 -184
- package/dist/index.js.map +1 -1
- package/dist/indexing/index.js +5 -5
- package/dist/introspection/index.js +11 -12
- package/dist/issue-YIVBZUTH.js +19 -0
- package/dist/kernel/attestation-types.d.ts +62 -0
- package/dist/kernel/collection-config.d.ts +1 -48
- package/dist/kernel/collection.d.ts +1 -1
- package/dist/kernel/cutover-transform.d.ts +1 -1
- package/dist/kernel/errors.d.ts +30 -2
- package/dist/kernel/merge-authority.d.ts +1 -1
- package/dist/kernel/paths.d.ts +29 -5
- package/dist/kernel/prepared-write.d.ts +1 -1
- package/dist/kernel/secret-mode.d.ts +1 -1
- package/dist/kernel/types.d.ts +42 -5
- package/dist/kernel/vault.d.ts +2 -2
- package/dist/kernel/write-queue.d.ts +17 -0
- package/dist/{ledger-KZPCMVZY.js → ledger-5ZMGE44K.js} +11 -12
- package/dist/liberate-WZSZM2W6.js +24 -0
- package/dist/link-set-MFXC24VK.js +29 -0
- package/dist/{managed-secret-S3MQ6SH6.js → managed-secret-MFTFT22X.js} +10 -11
- package/dist/materialized-views/index.js +26 -27
- package/dist/{migrate-cek-V7GKJZ7O.js → migrate-cek-DZRFFOHW.js} +2 -2
- package/dist/money/index.js +5 -5
- package/dist/noydb-ITIGNKUF.js +96 -0
- package/dist/overlay-views/index.js +4 -4
- package/dist/periods/index.js +12 -13
- package/dist/pod/index.js +72 -72
- package/dist/{pod-handle-WGDFB4C2.js → pod-handle-A3LET7NO.js} +10 -11
- package/dist/pod-handle-A3LET7NO.js.map +1 -0
- package/dist/policy/index.js +10 -11
- package/dist/port/on/index.d.ts +1 -1
- package/dist/port/to/index.d.ts +1 -1
- package/dist/port/with/blob-strategy.d.ts +1 -1
- package/dist/port/with/classified-strategy.d.ts +1 -1
- package/dist/port/with/collection-options.d.ts +1 -1
- package/dist/port/with/collection-registries.d.ts +1 -1
- package/dist/port/with/lookup-strategy.d.ts +2 -2
- package/dist/portability/index.js +8 -8
- package/dist/{post-register-SLSXIPBV.js → post-register-7ND27CF2.js} +6 -6
- package/dist/post-register-7ND27CF2.js.map +1 -0
- package/dist/query/all/index.js +15 -15
- package/dist/query/index.js +7 -7
- package/dist/query/live/index.js +7 -7
- package/dist/query/reduce/index.js +10 -10
- package/dist/query/relate/index.js +9 -9
- package/dist/reduce/index.js +8 -8
- package/dist/register-DT5HZ2LZ.js +30 -0
- package/dist/registry-BHRZGZHF.js +8 -0
- package/dist/registry-ET6ZFFWA.js +34 -0
- package/dist/registry-HXFGLGTG.js +8 -0
- package/dist/registry-THCPDEOD.js +23 -0
- package/dist/request-withdrawal-AV2MJJKY.js +30 -0
- package/dist/{reveal-4BCKPEC2.js → reveal-B2TLP4JQ.js} +10 -9
- package/dist/reveal-B2TLP4JQ.js.map +1 -0
- package/dist/revoke-6DWIEOCV.js +24 -0
- package/dist/satellites/index.js +1 -1
- package/dist/schema-update/index.js +2 -2
- package/dist/sealed-record/index.js +16 -18
- package/dist/sealed-record/index.js.map +1 -1
- package/dist/search/index.js +4 -4
- package/dist/{seed-4JS2RJ4A.js → seed-XNSE4U3S.js} +15 -18
- package/dist/seed-XNSE4U3S.js.map +1 -0
- package/dist/sequence/index.js +9 -10
- package/dist/session/index.js +9 -10
- package/dist/session/index.js.map +1 -1
- package/dist/shadow/index.js +2 -2
- package/dist/signer-MHGW3OIL.js +23 -0
- package/dist/snapshots/index.js +11 -11
- package/dist/stale-6GCFMOOR.js +28 -0
- package/dist/storage-BYN5LO6Z.js +21 -0
- package/dist/store/index.js +1 -1
- package/dist/{store-coordination-provider-2O2VUHKW.js → store-coordination-provider-C4BPT5XF.js} +11 -12
- package/dist/store-coordination-provider-C4BPT5XF.js.map +1 -0
- package/dist/sync/index.js +10 -11
- package/dist/sync/index.js.map +1 -1
- package/dist/team/index.js +15 -16
- package/dist/tiers/index.js +11 -12
- package/dist/to/index.js +2 -2
- package/dist/transactions/index.js +3 -3
- package/dist/util/index.js +1 -1
- package/dist/vault-head/index.js +11 -14
- package/dist/vault-head/index.js.map +1 -1
- package/dist/{verify-RVT67IMH.js → verify-UKALW7C2.js} +14 -12
- package/dist/verify-UKALW7C2.js.map +1 -0
- package/dist/via/classified/binding.d.ts +2 -2
- package/dist/via/classified/config-drift.d.ts +2 -2
- package/dist/via/classified/errors.d.ts +1 -1
- package/dist/via/lookup/handle.d.ts +4 -4
- package/dist/walk-4VPK7AS4.js +20 -0
- package/dist/with-audit/attestation/index.d.ts +2 -1
- package/dist/with-audit/attestation/issue.d.ts +2 -2
- package/dist/with-audit/attestation/revoke.d.ts +2 -2
- package/dist/with-audit/attestation/scheme.d.ts +7 -0
- package/dist/with-audit/attestation/signer.d.ts +1 -1
- package/dist/with-audit/attestation/strategy.d.ts +2 -2
- package/dist/with-audit/attestation/types.d.ts +10 -0
- package/dist/with-audit/attestation/vault-facade.d.ts +2 -2
- package/dist/with-audit/attestation/verifier.d.ts +6 -0
- package/dist/with-audit/consent/consent.d.ts +1 -1
- package/dist/with-audit/consent/strategy.d.ts +1 -1
- package/dist/with-audit/forget/subject-index.d.ts +1 -1
- package/dist/with-audit/periods/vault-facade.d.ts +1 -1
- package/dist/with-audit/sealed-record/index.d.ts +2 -2
- package/dist/with-audit/sealed-record/strategy.d.ts +1 -1
- package/dist/with-audit/tiers/index.d.ts +2 -2
- package/dist/with-cargo/adopt-partition.d.ts +1 -1
- package/dist/with-cargo/extract-partition.d.ts +1 -1
- package/dist/with-cargo/floor.d.ts +1 -1
- package/dist/with-commit/history/history.d.ts +2 -2
- package/dist/with-commit/history/index.d.ts +1 -1
- package/dist/with-commit/history/ledger/store.d.ts +1 -1
- package/dist/with-commit/history/strategy.d.ts +1 -1
- package/dist/with-commit/history/time-machine.d.ts +1 -1
- package/dist/with-commit/numbering/index.d.ts +1 -1
- package/dist/with-commit/sequence/index.d.ts +1 -1
- package/dist/with-commit/vault-head/head.d.ts +1 -1
- package/dist/with-commit/vault-head/index.d.ts +1 -1
- package/dist/with-commit/vault-head/strategy.d.ts +1 -1
- package/dist/with-commit/vault-head/verify.d.ts +1 -1
- package/dist/with-formula/derivations/dispatch.d.ts +1 -1
- package/dist/with-formula/derivations/fanout-sidecar.d.ts +1 -1
- package/dist/with-lookup/indexing/collection-facade.d.ts +1 -1
- package/dist/with-lookup/search/collection-facade.d.ts +1 -1
- package/dist/with-party/broker/index.d.ts +3 -3
- package/dist/with-party/directory/user-envelope/storage.d.ts +1 -1
- package/dist/with-party/team/delegation.d.ts +1 -1
- package/dist/with-party/team/echo-secret.d.ts +2 -2
- package/dist/with-party/team/index.d.ts +1 -1
- package/dist/with-party/team/keyring.d.ts +1 -1
- package/dist/with-party/team/magic-link-grant.d.ts +1 -1
- package/dist/with-party/team/recovery.d.ts +1 -1
- package/dist/with-party/team/roster-tag.d.ts +1 -1
- package/dist/with-party/team/rotate-recover.d.ts +1 -1
- package/dist/with-party/team/wrapped-deks.d.ts +1 -1
- package/dist/with-pod/index.d.ts +1 -1
- package/dist/with-shape/blobs/blob-compaction.d.ts +1 -1
- package/dist/with-shape/blobs/blob-intent.d.ts +1 -1
- package/dist/with-shape/blobs/blob-set.d.ts +2 -2
- package/dist/with-shape/blobs/legacy-sweep.d.ts +1 -1
- package/dist/with-shape/introspection/describe.d.ts +1 -1
- package/dist/with-shape/introspection/walk.d.ts +1 -1
- package/dist/with-shape/links/lazy-handle.d.ts +1 -1
- package/dist/with-shape/links/link-set.d.ts +1 -1
- package/dist/with-shape/manifest/derive.d.ts +1 -1
- package/dist/with-shape/manifest/storage.d.ts +1 -1
- package/dist/with-shape/persisted-schemas/register.d.ts +1 -1
- package/dist/with-shape/persisted-schemas/storage.d.ts +1 -1
- package/dist/with-shape/satellites/dead-filter.d.ts +1 -1
- package/dist/with-shape/satellites/declare.d.ts +1 -1
- package/dist/with-shape/satellites/marker.d.ts +1 -1
- package/dist/with-shape/satellites/post-register.d.ts +1 -1
- package/dist/with-sync/presence.d.ts +5 -10
- package/dist/withdraw-accessible-HL7GACUE.js +27 -0
- package/dist/withdraw-accessible-HL7GACUE.js.map +1 -0
- package/package.json +14 -5
- package/dist/api-GVYEKSJE.js +0 -19
- package/dist/backup-7TFRVFLH.js.map +0 -1
- package/dist/chunk-244VXYPG.js.map +0 -1
- package/dist/chunk-3ELRMVJK.js.map +0 -1
- package/dist/chunk-3F7GLNAE.js.map +0 -1
- package/dist/chunk-3H5KLDZN.js.map +0 -1
- package/dist/chunk-6B3VNR4P.js.map +0 -1
- package/dist/chunk-6LNL42F5.js.map +0 -1
- package/dist/chunk-6QSQQLSE.js +0 -95
- package/dist/chunk-6QSQQLSE.js.map +0 -1
- package/dist/chunk-7VCXZDA4.js.map +0 -1
- package/dist/chunk-ANWPSTZU.js.map +0 -1
- package/dist/chunk-BP6DARYA.js.map +0 -1
- package/dist/chunk-CKNGS5MH.js.map +0 -1
- package/dist/chunk-DC5QVPV7.js.map +0 -1
- package/dist/chunk-DE4DH2RZ.js +0 -29
- package/dist/chunk-DE4DH2RZ.js.map +0 -1
- package/dist/chunk-DF73H4UN.js.map +0 -1
- package/dist/chunk-EIPVYUEP.js.map +0 -1
- package/dist/chunk-ENAG3IY7.js.map +0 -1
- package/dist/chunk-FCKWQE2H.js.map +0 -1
- package/dist/chunk-FQ5VRHIB.js.map +0 -1
- package/dist/chunk-GF5BZ7D4.js.map +0 -1
- package/dist/chunk-GHLTDZRS.js.map +0 -1
- package/dist/chunk-GYGLAVCX.js.map +0 -1
- package/dist/chunk-HBPPGWUM.js.map +0 -1
- package/dist/chunk-HK67PX4J.js.map +0 -1
- package/dist/chunk-HVSCEIYL.js.map +0 -1
- package/dist/chunk-ISZQJBML.js.map +0 -1
- package/dist/chunk-KJFW62P4.js.map +0 -1
- package/dist/chunk-L7DOS3TE.js.map +0 -1
- package/dist/chunk-LGRLME4M.js.map +0 -1
- package/dist/chunk-LP7BEXCT.js +0 -32
- package/dist/chunk-LP7BEXCT.js.map +0 -1
- package/dist/chunk-LQ4ZHOKP.js.map +0 -1
- package/dist/chunk-M522UYZ2.js.map +0 -1
- package/dist/chunk-M7NI3IWE.js.map +0 -1
- package/dist/chunk-MTL7MXGR.js.map +0 -1
- package/dist/chunk-N5DNADLQ.js.map +0 -1
- package/dist/chunk-NNARWO72.js.map +0 -1
- package/dist/chunk-NRT6QZQB.js.map +0 -1
- package/dist/chunk-NWHBJQAL.js.map +0 -1
- package/dist/chunk-ODVPTDPK.js.map +0 -1
- package/dist/chunk-PDCG6PR5.js.map +0 -1
- package/dist/chunk-PEOZ34EM.js.map +0 -1
- package/dist/chunk-PSIV7CJV.js.map +0 -1
- package/dist/chunk-QOOUUR4A.js.map +0 -1
- package/dist/chunk-QWFHIOD2.js.map +0 -1
- package/dist/chunk-QWGU66MP.js.map +0 -1
- package/dist/chunk-S57HTZ6X.js.map +0 -1
- package/dist/chunk-SEE332EV.js +0 -66
- package/dist/chunk-SEE332EV.js.map +0 -1
- package/dist/chunk-SYVZW77S.js.map +0 -1
- package/dist/chunk-T2LBQ5DV.js.map +0 -1
- package/dist/chunk-UD5EVGZ7.js.map +0 -1
- package/dist/chunk-UPD5NWI5.js.map +0 -1
- package/dist/chunk-UYB234ZR.js +0 -479
- package/dist/chunk-UYB234ZR.js.map +0 -1
- package/dist/chunk-VNPEWFPD.js.map +0 -1
- package/dist/chunk-WX5ADGTZ.js.map +0 -1
- package/dist/chunk-X4773RBR.js.map +0 -1
- package/dist/chunk-YNIUIERI.js.map +0 -1
- package/dist/chunk-ZE4CHIED.js.map +0 -1
- package/dist/chunk-ZXABPVM6.js.map +0 -1
- package/dist/classified-marker-W3USLL5M.js.map +0 -1
- package/dist/collection-facade-QU6IJBN3.js +0 -48
- package/dist/dead-filter-U2UYKSZL.js.map +0 -1
- package/dist/delegation-S3AEPW2T.js.map +0 -1
- package/dist/derive-OX7F6TGG.js +0 -21
- package/dist/dispatch-RH4LHKBH.js.map +0 -1
- package/dist/executor-B6SRO2QS.js +0 -36
- package/dist/executor-BI5CHWRY.js +0 -8
- package/dist/executor-RBKM5W5K.js +0 -8
- package/dist/export-accessible-VMA3YM5V.js +0 -22
- package/dist/extract-partition-NF7PXGPP.js +0 -37
- package/dist/fanout-sidecar-OT6RYLOL.js.map +0 -1
- package/dist/find-LZMP26KF.js +0 -10
- package/dist/issue-IHARXWW5.js +0 -18
- package/dist/kernel/enclave/classify/compare.d.ts +0 -10
- package/dist/kernel/enclave/index.d.ts +0 -87
- package/dist/kernel/enclave/record-keys/lifecycle.d.ts +0 -124
- package/dist/kernel/enclave/record-keys/rekey-blob.d.ts +0 -88
- package/dist/kernel/enclave/record-keys/rekey.d.ts +0 -91
- package/dist/kernel/enclave/record-keys/sealed-slot.d.ts +0 -14
- package/dist/kernel/enclave/record-keys/sealed-slots.d.ts +0 -123
- package/dist/kernel/enclave/record-keys/sealing.d.ts +0 -70
- package/dist/liberate-GRLCZMW4.js +0 -24
- package/dist/link-set-JCMJ7ULP.js +0 -30
- package/dist/noydb-SWQJ3MZS.js +0 -97
- package/dist/pod-handle-WGDFB4C2.js.map +0 -1
- package/dist/post-register-SLSXIPBV.js.map +0 -1
- package/dist/register-F3OYE7MJ.js +0 -31
- package/dist/registry-CILQFXFK.js +0 -8
- package/dist/registry-XNNYQVKV.js +0 -8
- package/dist/registry-YCDZV3VW.js +0 -35
- package/dist/registry-ZGYS33TE.js +0 -24
- package/dist/request-withdrawal-Z5NC6TXT.js +0 -30
- package/dist/reveal-4BCKPEC2.js.map +0 -1
- package/dist/revoke-ZL62WC2D.js +0 -23
- package/dist/seed-4JS2RJ4A.js.map +0 -1
- package/dist/signer-MBZZMXTC.js +0 -24
- package/dist/stale-TJ3DYZMQ.js +0 -29
- package/dist/storage-SVMKRGCW.js +0 -22
- package/dist/store-coordination-provider-2O2VUHKW.js.map +0 -1
- package/dist/verify-RVT67IMH.js.map +0 -1
- package/dist/walk-HJ42EISE.js +0 -21
- package/dist/withdraw-accessible-5NZUPAVA.js +0 -27
- /package/dist/{api-GVYEKSJE.js.map → api-OS747DS4.js.map} +0 -0
- /package/dist/{computed-TPFBX7U4.js.map → capsule/contract.js.map} +0 -0
- /package/dist/{kernel/enclave → capsule/enclave-aes}/broker/proof.d.ts +0 -0
- /package/dist/{kernel/enclave → capsule/enclave-aes}/classify/bidx.d.ts +0 -0
- /package/dist/{kernel/enclave → capsule/enclave-aes}/classify/digest.d.ts +0 -0
- /package/dist/{kernel/enclave → capsule/enclave-aes}/classify/vdig.d.ts +0 -0
- /package/dist/{kernel/enclave/classify → capsule/plumbing}/kofn.d.ts +0 -0
- /package/dist/{kernel/enclave/classify → capsule/plumbing}/normalize.d.ts +0 -0
- /package/dist/{kernel/enclave → capsule/plumbing}/record-aad.d.ts +0 -0
- /package/dist/{collection-facade-QU6IJBN3.js.map → capsule-VOLX3QRQ.js.map} +0 -0
- /package/dist/{chunk-YSK2CU2Q.js.map → chunk-2AFX33YA.js.map} +0 -0
- /package/dist/{chunk-TKUOEU2F.js.map → chunk-2GHDLTPE.js.map} +0 -0
- /package/dist/{chunk-6OWXYZK2.js.map → chunk-2ODVB6LZ.js.map} +0 -0
- /package/dist/{chunk-X25NWUZB.js.map → chunk-2PVXF5CS.js.map} +0 -0
- /package/dist/{chunk-ORDURZBU.js.map → chunk-3EWS67C7.js.map} +0 -0
- /package/dist/{chunk-FXQBGFOX.js.map → chunk-4CIQDWRB.js.map} +0 -0
- /package/dist/{chunk-HT2AHGQI.js.map → chunk-4JPMZTJY.js.map} +0 -0
- /package/dist/{chunk-MKXXMNJH.js.map → chunk-4V3Q35WG.js.map} +0 -0
- /package/dist/{chunk-A6IJU4TK.js.map → chunk-52MGURXO.js.map} +0 -0
- /package/dist/{chunk-HLEK5VAN.js.map → chunk-5WWDGFOS.js.map} +0 -0
- /package/dist/{chunk-SOIQ4MM4.js.map → chunk-7XMHMVTS.js.map} +0 -0
- /package/dist/{chunk-4MXI3ODD.js.map → chunk-AEQGFRU4.js.map} +0 -0
- /package/dist/{chunk-7JE7BDYJ.js.map → chunk-AL6ML4LA.js.map} +0 -0
- /package/dist/{chunk-ZUVBC32X.js.map → chunk-AUKKUPVB.js.map} +0 -0
- /package/dist/{chunk-WY2XXTET.js.map → chunk-BPWYQ25R.js.map} +0 -0
- /package/dist/{chunk-EOVMT6TB.js.map → chunk-BVCUTXE3.js.map} +0 -0
- /package/dist/{chunk-3JWHAR6E.js.map → chunk-DIZLQVAA.js.map} +0 -0
- /package/dist/{chunk-IT22PWKV.js.map → chunk-E2N2T5ZO.js.map} +0 -0
- /package/dist/{chunk-WNJ4AVGE.js.map → chunk-EJLV62NI.js.map} +0 -0
- /package/dist/{chunk-QBBUZ3I3.js.map → chunk-EYG2CY2X.js.map} +0 -0
- /package/dist/{chunk-BJ2IXQ5Q.js.map → chunk-FFJFE4T7.js.map} +0 -0
- /package/dist/{chunk-JCN44NCY.js.map → chunk-FLPCETP6.js.map} +0 -0
- /package/dist/{chunk-5O7D6ZTW.js.map → chunk-FOEDQATO.js.map} +0 -0
- /package/dist/{chunk-VNNRUGMM.js.map → chunk-FVH5QYY2.js.map} +0 -0
- /package/dist/{chunk-4AF3TUMP.js.map → chunk-GZT3NQRA.js.map} +0 -0
- /package/dist/{chunk-MVZ2TPVP.js.map → chunk-H427H63K.js.map} +0 -0
- /package/dist/{chunk-MLPHLJIQ.js.map → chunk-HS554XAF.js.map} +0 -0
- /package/dist/{chunk-TROR3ALR.js.map → chunk-JOSPH3E5.js.map} +0 -0
- /package/dist/{chunk-F24ZZTHQ.js.map → chunk-JQYKPKG6.js.map} +0 -0
- /package/dist/{chunk-MDWKM2XC.js.map → chunk-M5B2W6YY.js.map} +0 -0
- /package/dist/{chunk-F2TDU7MQ.js.map → chunk-MBMTND6D.js.map} +0 -0
- /package/dist/{chunk-K6W7BVZ6.js.map → chunk-MILI22XQ.js.map} +0 -0
- /package/dist/{chunk-CF5UU4S7.js.map → chunk-N7UDP5VU.js.map} +0 -0
- /package/dist/{chunk-FQ54DWUQ.js.map → chunk-NBQ3KK6X.js.map} +0 -0
- /package/dist/{chunk-4I522ERM.js.map → chunk-NCO25JZO.js.map} +0 -0
- /package/dist/{chunk-SI3V7D4G.js.map → chunk-O2IMQSNA.js.map} +0 -0
- /package/dist/{chunk-T52GX4SA.js.map → chunk-O46CHQT7.js.map} +0 -0
- /package/dist/{chunk-TOPYQ6GA.js.map → chunk-OYW3I5M4.js.map} +0 -0
- /package/dist/{chunk-AOWGXU6D.js.map → chunk-Q4UHJ5SN.js.map} +0 -0
- /package/dist/{chunk-FW22ZCXT.js.map → chunk-QBLT6POL.js.map} +0 -0
- /package/dist/{chunk-I3JDRCMW.js.map → chunk-RB4DOPGZ.js.map} +0 -0
- /package/dist/{chunk-32YV3TJT.js.map → chunk-SMV2HRDU.js.map} +0 -0
- /package/dist/{chunk-Z5HTYMMQ.js.map → chunk-SYNY3VB5.js.map} +0 -0
- /package/dist/{chunk-ZSX4S5XB.js.map → chunk-TKVUE4JF.js.map} +0 -0
- /package/dist/{chunk-B57AFBY2.js.map → chunk-TZZBXPZK.js.map} +0 -0
- /package/dist/{chunk-5FDLC6G7.js.map → chunk-UA372JHH.js.map} +0 -0
- /package/dist/{chunk-B6SJIBQK.js.map → chunk-V3RWOOSO.js.map} +0 -0
- /package/dist/{chunk-HBRLNOHL.js.map → chunk-V7ADQF5O.js.map} +0 -0
- /package/dist/{chunk-F7XGHL5O.js.map → chunk-VQDZYB2B.js.map} +0 -0
- /package/dist/{chunk-BK2HHQGN.js.map → chunk-VVOLDVIR.js.map} +0 -0
- /package/dist/{chunk-6K7DPM7D.js.map → chunk-XQRFSKYM.js.map} +0 -0
- /package/dist/{chunk-ID6Z6E66.js.map → chunk-Y2RKVFKR.js.map} +0 -0
- /package/dist/{chunk-FN5EBVTQ.js.map → chunk-YRXFFWG4.js.map} +0 -0
- /package/dist/{derive-OX7F6TGG.js.map → collection-facade-CS7CA2XO.js.map} +0 -0
- /package/dist/{enclave-27SMF6GF.js.map → computed-FAD7SED4.js.map} +0 -0
- /package/dist/{executor-B6SRO2QS.js.map → derive-XLOJVXPU.js.map} +0 -0
- /package/dist/{dispatch-3CQDJV5Q.js.map → dispatch-H4HV32AM.js.map} +0 -0
- /package/dist/{executor-BI5CHWRY.js.map → executor-FMPVN6DT.js.map} +0 -0
- /package/dist/{executor-RBKM5W5K.js.map → executor-LBBBRTN5.js.map} +0 -0
- /package/dist/{export-accessible-VMA3YM5V.js.map → executor-OSRZST2U.js.map} +0 -0
- /package/dist/{extract-partition-NF7PXGPP.js.map → export-accessible-RAOJAAU5.js.map} +0 -0
- /package/dist/{find-LZMP26KF.js.map → extract-partition-JD5CUSTG.js.map} +0 -0
- /package/dist/{issue-IHARXWW5.js.map → find-JRN4RNQ5.js.map} +0 -0
- /package/dist/{ledger-KZPCMVZY.js.map → issue-YIVBZUTH.js.map} +0 -0
- /package/dist/{liberate-GRLCZMW4.js.map → ledger-5ZMGE44K.js.map} +0 -0
- /package/dist/{link-set-JCMJ7ULP.js.map → liberate-WZSZM2W6.js.map} +0 -0
- /package/dist/{managed-secret-S3MQ6SH6.js.map → link-set-MFXC24VK.js.map} +0 -0
- /package/dist/{noydb-SWQJ3MZS.js.map → managed-secret-MFTFT22X.js.map} +0 -0
- /package/dist/{migrate-cek-V7GKJZ7O.js.map → migrate-cek-DZRFFOHW.js.map} +0 -0
- /package/dist/{register-F3OYE7MJ.js.map → noydb-ITIGNKUF.js.map} +0 -0
- /package/dist/{registry-CILQFXFK.js.map → register-DT5HZ2LZ.js.map} +0 -0
- /package/dist/{registry-XNNYQVKV.js.map → registry-BHRZGZHF.js.map} +0 -0
- /package/dist/{registry-YCDZV3VW.js.map → registry-ET6ZFFWA.js.map} +0 -0
- /package/dist/{registry-ZGYS33TE.js.map → registry-HXFGLGTG.js.map} +0 -0
- /package/dist/{request-withdrawal-Z5NC6TXT.js.map → registry-THCPDEOD.js.map} +0 -0
- /package/dist/{revoke-ZL62WC2D.js.map → request-withdrawal-AV2MJJKY.js.map} +0 -0
- /package/dist/{signer-MBZZMXTC.js.map → revoke-6DWIEOCV.js.map} +0 -0
- /package/dist/{stale-TJ3DYZMQ.js.map → signer-MHGW3OIL.js.map} +0 -0
- /package/dist/{storage-SVMKRGCW.js.map → stale-6GCFMOOR.js.map} +0 -0
- /package/dist/{walk-HJ42EISE.js.map → storage-BYN5LO6Z.js.map} +0 -0
- /package/dist/{withdraw-accessible-5NZUPAVA.js.map → walk-4VPK7AS4.js.map} +0 -0
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Re-key one envelope from an old collection DEK to a new one (#1074).
|
|
3
|
-
*
|
|
4
|
-
* Lives in the enclave because it is envelope surgery: it reads and writes the
|
|
5
|
-
* protected body slots (`_iv`/`_data`/`_cek`), which `enclave-body-only`
|
|
6
|
-
* reserves to `kernel/enclave/**`. `rotateKeys` previously did this inline in
|
|
7
|
-
* `with-party/team/keyring.ts` and got it wrong in two ways that the guard
|
|
8
|
-
* would have caught had the code lived here.
|
|
9
|
-
*
|
|
10
|
-
* @packageDocumentation
|
|
11
|
-
*/
|
|
12
|
-
import { type EnclaveKey } from '../crypto.js';
|
|
13
|
-
import type { EncryptedEnvelope } from '../../types.js';
|
|
14
|
-
/**
|
|
15
|
-
* Produce the envelope `envelope` becomes once its collection's DEK rotates
|
|
16
|
-
* from `oldDek` to `newDek`.
|
|
17
|
-
*
|
|
18
|
-
* **Every slot is carried forward except `_bidx`.** The previous inline version
|
|
19
|
-
* built a fresh literal holding only `_noydb/_v/_ts/_iv/_data`, silently
|
|
20
|
-
* discarding `_by`, `_tier`, `_cek`, `_sealed`, `_vdig` and `_source`. Losing
|
|
21
|
-
* `_tier` was the worst of those: tier-0 reads treat elevated as missing, so an
|
|
22
|
-
* elevated record did not error after a rotation — it simply disappeared.
|
|
23
|
-
*
|
|
24
|
-
* `_bidx` is dropped deliberately. It is a DEK-rooted equality tag, so a tag
|
|
25
|
-
* carried across a DEK rotation can never be re-derived to match a query again
|
|
26
|
-
* while still leaking the old equality partition. Index coverage regrows
|
|
27
|
-
* per-record on the next `put()` under the new DEK.
|
|
28
|
-
*
|
|
29
|
-
* Two shapes, and picking the wrong one is why this needed a helper:
|
|
30
|
-
*
|
|
31
|
-
* - **per-record CEK** (`_cek` present) — the body is sealed under the CEK and
|
|
32
|
-
* the CEK is wrapped under the collection DEK, so rotation re-wraps the CEK
|
|
33
|
-
* and leaves the body **untouched**. The old inline code instead ran
|
|
34
|
-
* `decrypt(body, oldDek)` on these, which throws: rotation could not complete
|
|
35
|
-
* on a collection containing any CEK record.
|
|
36
|
-
* - **bare** — body sealed directly under the DEK, so decrypt and re-encrypt.
|
|
37
|
-
*
|
|
38
|
-
* Idempotence is the caller's problem, not this function's: it assumes
|
|
39
|
-
* `envelope` is still under `oldDek`. A resumable rotation must know which side
|
|
40
|
-
* of the migration each record is on before calling.
|
|
41
|
-
*/
|
|
42
|
-
export declare function rekeyEnvelopeToDek(ref: {
|
|
43
|
-
readonly collection: string;
|
|
44
|
-
readonly id: string;
|
|
45
|
-
}, envelope: EncryptedEnvelope, oldDek: EnclaveKey, newDek: EnclaveKey): Promise<EncryptedEnvelope>;
|
|
46
|
-
/**
|
|
47
|
-
* Resumable variant: returns the re-keyed envelope, or `null` when `envelope`
|
|
48
|
-
* is **already** under `newDek` and needs no work (#1074 part 2).
|
|
49
|
-
*
|
|
50
|
-
* A rotation interrupted mid-collection leaves records on both sides of the
|
|
51
|
-
* migration. Resuming means re-running the rotation with the *same* new DEK,
|
|
52
|
-
* which requires distinguishing "not yet moved" from "already moved" without
|
|
53
|
-
* the caller touching protected slots.
|
|
54
|
-
*
|
|
55
|
-
* Detection is by trial decryption under `oldDek`. There is no metadata that
|
|
56
|
-
* says which DEK sealed a record — deliberately, since such a marker would be
|
|
57
|
-
* store-writable and therefore a downgrade lever (the same reasoning that
|
|
58
|
-
* keeps the reader from branching on `_noydb`).
|
|
59
|
-
*
|
|
60
|
-
* A record that opens under *neither* key is genuinely damaged and rethrows,
|
|
61
|
-
* rather than being silently skipped: a rotation that quietly walked past
|
|
62
|
-
* unreadable records would convert a loud failure into permanent silent loss,
|
|
63
|
-
* which is the defect this whole issue is about.
|
|
64
|
-
*/
|
|
65
|
-
export declare function rekeyEnvelopeIfNeeded(ref: {
|
|
66
|
-
readonly collection: string;
|
|
67
|
-
readonly id: string;
|
|
68
|
-
}, envelope: EncryptedEnvelope, oldDek: EnclaveKey, newDek: EnclaveKey): Promise<EncryptedEnvelope | null>;
|
|
69
|
-
/**
|
|
70
|
-
* Does this envelope open under ANY of `keys`? A read-only probe — decrypts
|
|
71
|
-
* nothing into a caller-visible value and writes nothing.
|
|
72
|
-
*
|
|
73
|
-
* Exists so a rotation can tell *"this envelope belongs to a DIFFERENT DEK slot
|
|
74
|
-
* the caller also holds"* from *"this envelope is damaged"* (#1125). Those two
|
|
75
|
-
* look identical from a failed `rekeyEnvelopeIfNeeded`, and collapsing them
|
|
76
|
-
* either aborts a legitimate rotation or walks past unreadable data.
|
|
77
|
-
*
|
|
78
|
-
* **The question is deliberately asked of the KEY, not of the envelope's claimed
|
|
79
|
-
* `_tier`.** `_tier` is unencrypted — the store writes it — so routing a
|
|
80
|
-
* rotation on it would let a store mark a tier-0 record `_tier: 5` and have the
|
|
81
|
-
* rotation skip it, leaving a revoked member's DEK live on real data. That is
|
|
82
|
-
* #1115's defect wearing a different hat. A key either opens the body or it does
|
|
83
|
-
* not, and a store cannot forge that.
|
|
84
|
-
*
|
|
85
|
-
* Mirrors `rekeyBlobSet`'s `otherDeks` treatment, which asks the same question
|
|
86
|
-
* about the same kind of ambiguity.
|
|
87
|
-
*/
|
|
88
|
-
export declare function envelopeOpensUnderAny(ref: {
|
|
89
|
-
readonly collection: string;
|
|
90
|
-
readonly id: string;
|
|
91
|
-
}, envelope: EncryptedEnvelope, keys: readonly EnclaveKey[]): Promise<boolean>;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/** Parse an `iv:data` sealed slot (split on the FIRST `:`). */
|
|
2
|
-
export declare function parseSealedSlot(blob: string): {
|
|
3
|
-
iv: string;
|
|
4
|
-
data: string;
|
|
5
|
-
};
|
|
6
|
-
/**
|
|
7
|
-
* Dual-read: decrypt a sealed slot trying the CEK-derived field key first,
|
|
8
|
-
* falling back to the collection-DEK field key. Legacy records
|
|
9
|
-
* (even ones whose body is CEK-encrypted) are sealed under the collection-DEK
|
|
10
|
-
* key; current writes seal under the per-record CEK. Try the CEK key first; on
|
|
11
|
-
* its AES-GCM auth failure, fall back to the DEK key. Throws only if BOTH fail.
|
|
12
|
-
* Returns the plaintext string (callers `JSON.parse` as needed).
|
|
13
|
-
*/
|
|
14
|
-
export declare function dualReadSealedSlot(blob: string, field: string, collection: string, cek: CryptoKey | undefined, dek: CryptoKey): Promise<string>;
|
|
@@ -1,123 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Sealed-slot sub-step — the "seal these declared fields into their own
|
|
3
|
-
* `iv:data` slots" mechanism, extracted byte-parity from `RecordCodec`
|
|
4
|
-
* (#629 Task 1; see `.superpowers/sdd/seam-map-classified-blobs.md` §2).
|
|
5
|
-
*
|
|
6
|
-
* This is the ONE genuinely separable sub-step `RecordCodec.encryptRecord`/
|
|
7
|
-
* `decryptRecord` perform (the digest-only `_vdig`/`_bidx` mechanism is NOT
|
|
8
|
-
* separable the same way — it needs write-history `prev` context, see the
|
|
9
|
-
* seam map's separability verdict). `sealFields`/`unsealFields` are the
|
|
10
|
-
* natural shape of a `via` `encodeAtRest`/`decodeAtRest` hook for a "seal
|
|
11
|
-
* this field" via-feature, and `makeSealedSlotCapability`/
|
|
12
|
-
* `makeReservedEnvelopes` (below) are the `ViaCryptoCtx` capability
|
|
13
|
-
* factories built on top of them.
|
|
14
|
-
*
|
|
15
|
-
* The capability factories live here (rather than a sibling
|
|
16
|
-
* `kernel/via-crypto.ts`) so they can call `deriveSealedFieldKey`/
|
|
17
|
-
* `deriveSealedFieldKeyFromCek`/`encrypt`/`decrypt` directly — this file IS
|
|
18
|
-
* kernel enclave code (C3), so it is exempt from `enclave-barrel-only` the
|
|
19
|
-
* same way `record-codec.ts`/`sealing.ts` are. A file outside
|
|
20
|
-
* `kernel/enclave/**` would have had to go through the enclave barrel
|
|
21
|
-
* (`kernel/enclave/index.ts`), which does not (yet) export these symbols.
|
|
22
|
-
*/
|
|
23
|
-
import { type EnclaveKey } from '../crypto.js';
|
|
24
|
-
import { SealedHandle } from '../../types.js';
|
|
25
|
-
import type { ViaCryptoCtx } from '../../via/index.js';
|
|
26
|
-
/**
|
|
27
|
-
* Key material for one collection's sealed-field derivation. `cek`, when
|
|
28
|
-
* supplied, is preferred (record-scoped); `getDEK` is the fallback (and,
|
|
29
|
-
* for legacy/no-CEK collections, the only key) — mirrors the dual-read
|
|
30
|
-
* `RecordCodec` has always done.
|
|
31
|
-
*/
|
|
32
|
-
export interface SealKeyMaterial {
|
|
33
|
-
readonly collection: string;
|
|
34
|
-
readonly cek?: EnclaveKey;
|
|
35
|
-
getDEK(): Promise<EnclaveKey>;
|
|
36
|
-
}
|
|
37
|
-
export interface SealFieldsResult {
|
|
38
|
-
readonly openRecord: Record<string, unknown>;
|
|
39
|
-
readonly sealed: Record<string, string> | undefined;
|
|
40
|
-
}
|
|
41
|
-
/**
|
|
42
|
-
* Peel declared `sensitiveFields` out of `record` BEFORE building `_data`,
|
|
43
|
-
* sealing each into its own `iv:data` slot. Extracted byte-parity from
|
|
44
|
-
* `RecordCodec.encryptRecord` step 2 (pre-#629 `record-codec.ts:261-288`).
|
|
45
|
-
* Returns `record` untouched (and `sealed: undefined`) when no declared
|
|
46
|
-
* field is present with a defined value — the envelope stays byte-identical
|
|
47
|
-
* to legacy output, exactly as before.
|
|
48
|
-
*/
|
|
49
|
-
export declare function sealFields(record: Record<string, unknown>, sensitiveFields: ReadonlySet<string>, keyMaterial: SealKeyMaterial): Promise<SealFieldsResult>;
|
|
50
|
-
/**
|
|
51
|
-
* Unseal one `_sealed[field]` slot to its plaintext value: dual-read (try
|
|
52
|
-
* the CEK-derived key, fall back to the DEK-derived key for legacy
|
|
53
|
-
* records), AES-GCM-decrypt the `iv:data` blob, and JSON-parse the result.
|
|
54
|
-
* Extracted byte-parity from `RecordCodec.unsealField`
|
|
55
|
-
* (pre-#629 `record-codec.ts:485-493`).
|
|
56
|
-
*/
|
|
57
|
-
export declare function unsealOneField(field: string, blob: string, keyMaterial: SealKeyMaterial): Promise<unknown>;
|
|
58
|
-
/**
|
|
59
|
-
* Build a non-leaking {@link SealedHandle} producer over sealed key
|
|
60
|
-
* material: each call captures only the ciphertext `blob` and a closure to
|
|
61
|
-
* {@link unsealOneField} — the plaintext is never stored on the handle, and
|
|
62
|
-
* (crucially) the DEK is fetched lazily on `reveal()`, never at handle-
|
|
63
|
-
* construction time. Extracted byte-parity from
|
|
64
|
-
* `RecordCodec.makeSealedHandle` (pre-#629 `record-codec.ts:552-554`).
|
|
65
|
-
*/
|
|
66
|
-
export declare function makeHandleProducer(keyMaterial: SealKeyMaterial): (field: string, blob: string) => SealedHandle<unknown>;
|
|
67
|
-
/**
|
|
68
|
-
* Restore every `[field]: blob` entry in `sealed` onto `record` (mutated in
|
|
69
|
-
* place, matching the original's mutate-then-return shape): eagerly unseal
|
|
70
|
-
* to plaintext (`opts.asHandles` falsy) or wrap each in a
|
|
71
|
-
* {@link SealedHandle} (`opts.asHandles: true`) so the plaintext is never
|
|
72
|
-
* materialised. Extracted byte-parity from `RecordCodec.decryptRecord`'s
|
|
73
|
-
* sealed-handle block (pre-#629 `record-codec.ts:615-623`).
|
|
74
|
-
*/
|
|
75
|
-
export declare function unsealFields(record: Record<string, unknown>, sealed: Record<string, string>, keyMaterial: SealKeyMaterial, opts?: {
|
|
76
|
-
asHandles?: boolean;
|
|
77
|
-
}): Promise<Record<string, unknown>>;
|
|
78
|
-
/** What {@link makeSealedSlotCapability} needs — a subset of `RecordCodecContext`. */
|
|
79
|
-
export interface SealedSlotCapabilityCtx {
|
|
80
|
-
readonly name: string;
|
|
81
|
-
getDEK(): Promise<EnclaveKey>;
|
|
82
|
-
}
|
|
83
|
-
/**
|
|
84
|
-
* Build a `ViaCryptoCtx.sealedSlots` capability pre-bound to one
|
|
85
|
-
* `(collection, recordId)`. The key material (`cek`/DEK resolver) is closed
|
|
86
|
-
* over and never placed on the returned object — `Object.keys`/
|
|
87
|
-
* `Object.values` of the capability expose only the three methods, never a
|
|
88
|
-
* key (zero-knowledge: capabilities never expose keys).
|
|
89
|
-
*
|
|
90
|
-
* `delete(field)` is **advisory and capability-instance-local, not real
|
|
91
|
-
* erasure** — it has no store to reach and never will by itself: it just
|
|
92
|
-
* adds `field` to a `Set` closed over by THIS ONE capability object, so a
|
|
93
|
-
* later `unseal` call on that SAME object refuses. No I/O happens. A fresh
|
|
94
|
-
* capability for the same record (e.g. `seal()`'d again, or a new
|
|
95
|
-
* `makeSealedSlotCapability(...)` call) has an empty set and sees no
|
|
96
|
-
* deletion at all — `seal()` on a given field also clears any prior mark
|
|
97
|
-
* for it. Do not build production logic on `delete()` persisting anything.
|
|
98
|
-
* The real erasure guarantee for a forgotten record is `vault.forget()`'s
|
|
99
|
-
* unconditional `_writeTombstone` call, which replaces the whole live
|
|
100
|
-
* envelope with a fresh, `_sealed`-free tombstone — `_sealed` disappears
|
|
101
|
-
* from the store regardless of what any capability's `delete()` marked.
|
|
102
|
-
* (#629 Task 10 traced this end-to-end; see task-10-report.md "sealedSlots
|
|
103
|
-
* .delete()" section. Removing/changing this method's shape is a phase-E
|
|
104
|
-
* decision, not implied by this comment.)
|
|
105
|
-
*/
|
|
106
|
-
export declare function makeSealedSlotCapability(ctx: SealedSlotCapabilityCtx, recordId: string, cek?: EnclaveKey): ViaCryptoCtx['sealedSlots'];
|
|
107
|
-
/** Resolve the DEK for an arbitrary (possibly synthetic, e.g. `_dict_en`) collection name. */
|
|
108
|
-
export type ReservedEnvelopeDekResolver = (collection: string) => Promise<EnclaveKey>;
|
|
109
|
-
/**
|
|
110
|
-
* Build a `ViaCryptoCtx.reservedEnvelopes` capability: a whole-envelope
|
|
111
|
-
* encrypt/decrypt door scoped to collection names under a declared prefix
|
|
112
|
-
* (e.g. `_dict_`) — the shape `via/i18n/dictionary.ts`'s
|
|
113
|
-
* `DictionaryHandle` needs (seam map Part 3): build JSON → encrypt under a
|
|
114
|
-
* DEK → wrap in an `EncryptedEnvelope`; decrypt → JSON text. No per-record
|
|
115
|
-
* CEK — reserved envelopes are whole-DEK-encrypted, same as the dictionary
|
|
116
|
-
* grandfather.
|
|
117
|
-
*
|
|
118
|
-
* `reservedEnvelopes(prefix)` throws `ValidationError` immediately when
|
|
119
|
-
* `prefix` is not in `declaredPrefixes`; each `encrypt`/`decrypt` call
|
|
120
|
-
* throws `ValidationError` when its `collection` argument does not start
|
|
121
|
-
* with `prefix`.
|
|
122
|
-
*/
|
|
123
|
-
export declare function makeReservedEnvelopes(dekResolver: ReservedEnvelopeDekResolver, declaredPrefixes: readonly string[]): ViaCryptoCtx['reservedEnvelopes'];
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Record-scoped CEK sealing — grantor side.
|
|
3
|
-
*
|
|
4
|
-
* The **grantor** holds the collection DEK and seals ONE record's CEK to an
|
|
5
|
-
* `at-*` host so that host — and only that host — can decrypt exactly that
|
|
6
|
-
* record, with no access to the vault DEK and no ability to read any other
|
|
7
|
-
* record. This is the counterpart to the host-side `openSealedRecord`
|
|
8
|
-
* (`@noy-db/hub/sealed-record`), which holds no DEK.
|
|
9
|
-
*
|
|
10
|
-
* These functions are the orchestration behind `vault.sealRecordToHost` /
|
|
11
|
-
* `vault.revokeSealedRecord` / `vault.rotateRecordCek`, lifted off `Vault`
|
|
12
|
-
* behind a narrow {@link SealingContext} so the kernel file delegates. They
|
|
13
|
-
* live in `record-keys/` (the vault-side CEK policy layer), NOT in
|
|
14
|
-
* `sealed-record/`, so the host-side subpath stays DEK-free — the wire
|
|
15
|
-
* *types* they share are spine-owned (`kernel/types.ts`), not imported from
|
|
16
|
-
* `sealed-record/` directly.
|
|
17
|
-
*/
|
|
18
|
-
import { type EnclaveKey } from '../crypto.js';
|
|
19
|
-
import { type NoydbStore, type RecipientSealer } from '../../types.js';
|
|
20
|
-
/** The `_sealed_cek` delivery namespace (one envelope per `collection/id/pid`). */
|
|
21
|
-
export declare const SEALED_CEK_NS = "_sealed_cek";
|
|
22
|
-
/** What the grantor functions need from their `Vault`. */
|
|
23
|
-
export interface SealingContext {
|
|
24
|
-
readonly adapter: NoydbStore;
|
|
25
|
-
/** Vault id (the adapter's first coordinate). */
|
|
26
|
-
readonly vault: string;
|
|
27
|
-
/** Resolve the DEK a record's CEK is wrapped under. */
|
|
28
|
-
getDEK(collection: string): Promise<EnclaveKey>;
|
|
29
|
-
/** Actor id stamped on `_by` (empty string → omit). */
|
|
30
|
-
readonly actor: string;
|
|
31
|
-
/** Evict the per-record CEK cache + decrypted-record cache after a rotation. */
|
|
32
|
-
invalidateRecordCaches(collection: string, id: string): Promise<void>;
|
|
33
|
-
}
|
|
34
|
-
/**
|
|
35
|
-
* Seal a record's CEK to a host. See `vault.sealRecordToHost` for the contract.
|
|
36
|
-
* Returns `{ pid, envelopeKey }`.
|
|
37
|
-
*/
|
|
38
|
-
export declare function sealRecordToHost(ctx: SealingContext, collection: string, id: string, hostSealer: RecipientSealer, opts: {
|
|
39
|
-
expiresAt: string;
|
|
40
|
-
}): Promise<{
|
|
41
|
-
pid: string;
|
|
42
|
-
envelopeKey: string;
|
|
43
|
-
}>;
|
|
44
|
-
/**
|
|
45
|
-
* Revoke one sealed-CEK grant.
|
|
46
|
-
*
|
|
47
|
-
* **Default (`{ hard: false }`) is SOFT** — it only deletes the delivery
|
|
48
|
-
* envelope from the store. A host that already fetched (or cached the unsealed
|
|
49
|
-
* CEK from) that envelope KEEPS decrypt capability for the record; soft revoke
|
|
50
|
-
* is a "stop new fetches" control, not a cryptographic cutoff.
|
|
51
|
-
*
|
|
52
|
-
* **`{ hard: true }`** additionally rotates the record's CEK (via
|
|
53
|
-
* {@link rotateRecordCek}): the live body is re-encrypted under a fresh CEK and
|
|
54
|
-
* EVERY sealed-CEK delivery envelope for the record (all pids) is deleted, so
|
|
55
|
-
* any previously-sealed CEK fails the AES-GCM auth tag on the rotated body —
|
|
56
|
-
* future opens are cryptographically denied. (PRE-rotation history versions,
|
|
57
|
-
* which keep their old `_cek`, remain openable — same semantics as
|
|
58
|
-
* `rotateRecordCek`.)
|
|
59
|
-
*/
|
|
60
|
-
export declare function revokeSealedRecord(ctx: SealingContext, collection: string, id: string, pid: string, opts?: {
|
|
61
|
-
hard?: boolean;
|
|
62
|
-
}): Promise<void>;
|
|
63
|
-
/**
|
|
64
|
-
* HARD-rotate a record's CEK: re-encrypt the live body under a fresh CEK, evict
|
|
65
|
-
* caches, and delete EVERY sealed-CEK delivery envelope for the record. See
|
|
66
|
-
* `vault.rotateRecordCek` for why this bypasses `Collection.put` (no guards, no
|
|
67
|
-
* history bump — a key rotation must not re-encrypt prior history under the new
|
|
68
|
-
* CEK).
|
|
69
|
-
*/
|
|
70
|
-
export declare function rotateRecordCek(ctx: SealingContext, collection: string, id: string): Promise<void>;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
liberateVault
|
|
3
|
-
} from "./chunk-HVSCEIYL.js";
|
|
4
|
-
import "./chunk-S57HTZ6X.js";
|
|
5
|
-
import "./chunk-WNJ4AVGE.js";
|
|
6
|
-
import "./chunk-ENAG3IY7.js";
|
|
7
|
-
import "./chunk-HBPPGWUM.js";
|
|
8
|
-
import "./chunk-IUWCVHQ7.js";
|
|
9
|
-
import "./chunk-M7NI3IWE.js";
|
|
10
|
-
import "./chunk-7VCXZDA4.js";
|
|
11
|
-
import "./chunk-JCN44NCY.js";
|
|
12
|
-
import "./chunk-KJFW62P4.js";
|
|
13
|
-
import "./chunk-SEE332EV.js";
|
|
14
|
-
import "./chunk-6QSQQLSE.js";
|
|
15
|
-
import "./chunk-DE4DH2RZ.js";
|
|
16
|
-
import "./chunk-LQ4ZHOKP.js";
|
|
17
|
-
import "./chunk-LP7BEXCT.js";
|
|
18
|
-
import "./chunk-UYB234ZR.js";
|
|
19
|
-
import "./chunk-ODVPTDPK.js";
|
|
20
|
-
import "./chunk-244VXYPG.js";
|
|
21
|
-
export {
|
|
22
|
-
liberateVault
|
|
23
|
-
};
|
|
24
|
-
//# sourceMappingURL=liberate-GRLCZMW4.js.map
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
LinkEndpointError,
|
|
3
|
-
LinkSet
|
|
4
|
-
} from "./chunk-3F7GLNAE.js";
|
|
5
|
-
import {
|
|
6
|
-
LINK_COLLECTION_PREFIX,
|
|
7
|
-
LinkIntegrityError,
|
|
8
|
-
isLinkCollectionName,
|
|
9
|
-
linkCollectionName,
|
|
10
|
-
linkRowKey
|
|
11
|
-
} from "./chunk-AOWGXU6D.js";
|
|
12
|
-
import "./chunk-KJFW62P4.js";
|
|
13
|
-
import "./chunk-SEE332EV.js";
|
|
14
|
-
import "./chunk-6QSQQLSE.js";
|
|
15
|
-
import "./chunk-DE4DH2RZ.js";
|
|
16
|
-
import "./chunk-LQ4ZHOKP.js";
|
|
17
|
-
import "./chunk-LP7BEXCT.js";
|
|
18
|
-
import "./chunk-UYB234ZR.js";
|
|
19
|
-
import "./chunk-ODVPTDPK.js";
|
|
20
|
-
import "./chunk-244VXYPG.js";
|
|
21
|
-
export {
|
|
22
|
-
LINK_COLLECTION_PREFIX,
|
|
23
|
-
LinkEndpointError,
|
|
24
|
-
LinkIntegrityError,
|
|
25
|
-
LinkSet,
|
|
26
|
-
isLinkCollectionName,
|
|
27
|
-
linkCollectionName,
|
|
28
|
-
linkRowKey
|
|
29
|
-
};
|
|
30
|
-
//# sourceMappingURL=link-set-JCMJ7ULP.js.map
|
package/dist/noydb-SWQJ3MZS.js
DELETED
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Noydb,
|
|
3
|
-
createNoydb
|
|
4
|
-
} from "./chunk-T2LBQ5DV.js";
|
|
5
|
-
import "./chunk-AOWGXU6D.js";
|
|
6
|
-
import "./chunk-6K7DPM7D.js";
|
|
7
|
-
import "./chunk-TROR3ALR.js";
|
|
8
|
-
import "./chunk-EPFF7LOX.js";
|
|
9
|
-
import "./chunk-L7DOS3TE.js";
|
|
10
|
-
import "./chunk-6LNL42F5.js";
|
|
11
|
-
import "./chunk-GYGLAVCX.js";
|
|
12
|
-
import "./chunk-6LJY7X5A.js";
|
|
13
|
-
import "./chunk-UPD5NWI5.js";
|
|
14
|
-
import "./chunk-ZUVBC32X.js";
|
|
15
|
-
import "./chunk-A6IJU4TK.js";
|
|
16
|
-
import "./chunk-RXLYKVTF.js";
|
|
17
|
-
import "./chunk-ENAG3IY7.js";
|
|
18
|
-
import "./chunk-3JWHAR6E.js";
|
|
19
|
-
import "./chunk-K6W7BVZ6.js";
|
|
20
|
-
import "./chunk-MLPHLJIQ.js";
|
|
21
|
-
import "./chunk-T7IR4N2S.js";
|
|
22
|
-
import "./chunk-X4773RBR.js";
|
|
23
|
-
import "./chunk-SMY5X46Z.js";
|
|
24
|
-
import "./chunk-DZFQVICS.js";
|
|
25
|
-
import "./chunk-5FDLC6G7.js";
|
|
26
|
-
import "./chunk-5D2ALSM5.js";
|
|
27
|
-
import "./chunk-I3JDRCMW.js";
|
|
28
|
-
import "./chunk-AURFOK3D.js";
|
|
29
|
-
import "./chunk-M522UYZ2.js";
|
|
30
|
-
import "./chunk-B6SJIBQK.js";
|
|
31
|
-
import "./chunk-UD5EVGZ7.js";
|
|
32
|
-
import "./chunk-TFMM5DBB.js";
|
|
33
|
-
import "./chunk-MDWKM2XC.js";
|
|
34
|
-
import "./chunk-VYYM3MEN.js";
|
|
35
|
-
import "./chunk-PSIV7CJV.js";
|
|
36
|
-
import "./chunk-Y2NBBT6K.js";
|
|
37
|
-
import "./chunk-3H5KLDZN.js";
|
|
38
|
-
import "./chunk-FH2L2E34.js";
|
|
39
|
-
import "./chunk-QOOUUR4A.js";
|
|
40
|
-
import "./chunk-NYMLINRP.js";
|
|
41
|
-
import "./chunk-HBRLNOHL.js";
|
|
42
|
-
import "./chunk-66TQOPFM.js";
|
|
43
|
-
import "./chunk-V4PXLYWM.js";
|
|
44
|
-
import "./chunk-XZHEOSQ2.js";
|
|
45
|
-
import "./chunk-PVEWA2DU.js";
|
|
46
|
-
import "./chunk-PEOZ34EM.js";
|
|
47
|
-
import "./chunk-RHVMZSUU.js";
|
|
48
|
-
import "./chunk-NRT6QZQB.js";
|
|
49
|
-
import "./chunk-GHVIKOHT.js";
|
|
50
|
-
import "./chunk-FW22ZCXT.js";
|
|
51
|
-
import "./chunk-PDCG6PR5.js";
|
|
52
|
-
import "./chunk-BKT776R5.js";
|
|
53
|
-
import "./chunk-YSK2CU2Q.js";
|
|
54
|
-
import "./chunk-ORDURZBU.js";
|
|
55
|
-
import "./chunk-SUZKW6UR.js";
|
|
56
|
-
import "./chunk-XBKH4FOC.js";
|
|
57
|
-
import "./chunk-LGNDFRYC.js";
|
|
58
|
-
import "./chunk-F24ZZTHQ.js";
|
|
59
|
-
import "./chunk-7JE7BDYJ.js";
|
|
60
|
-
import "./chunk-3TDUWVWB.js";
|
|
61
|
-
import "./chunk-5O7D6ZTW.js";
|
|
62
|
-
import "./chunk-HLEK5VAN.js";
|
|
63
|
-
import "./chunk-GF5BZ7D4.js";
|
|
64
|
-
import "./chunk-ANWPSTZU.js";
|
|
65
|
-
import "./chunk-TKUOEU2F.js";
|
|
66
|
-
import "./chunk-DF73H4UN.js";
|
|
67
|
-
import "./chunk-GHLTDZRS.js";
|
|
68
|
-
import "./chunk-Z5HTYMMQ.js";
|
|
69
|
-
import "./chunk-ZE4CHIED.js";
|
|
70
|
-
import "./chunk-DC5QVPV7.js";
|
|
71
|
-
import "./chunk-M7NI3IWE.js";
|
|
72
|
-
import "./chunk-7VCXZDA4.js";
|
|
73
|
-
import "./chunk-SOIQ4MM4.js";
|
|
74
|
-
import "./chunk-4AF3TUMP.js";
|
|
75
|
-
import "./chunk-VKQCVU2Z.js";
|
|
76
|
-
import "./chunk-4AOERLTV.js";
|
|
77
|
-
import "./chunk-QWGU66MP.js";
|
|
78
|
-
import "./chunk-ZXABPVM6.js";
|
|
79
|
-
import "./chunk-I7FD46FF.js";
|
|
80
|
-
import "./chunk-CKNGS5MH.js";
|
|
81
|
-
import "./chunk-JCN44NCY.js";
|
|
82
|
-
import "./chunk-HK67PX4J.js";
|
|
83
|
-
import "./chunk-J6UOHJY5.js";
|
|
84
|
-
import "./chunk-KJFW62P4.js";
|
|
85
|
-
import "./chunk-SEE332EV.js";
|
|
86
|
-
import "./chunk-6QSQQLSE.js";
|
|
87
|
-
import "./chunk-DE4DH2RZ.js";
|
|
88
|
-
import "./chunk-LQ4ZHOKP.js";
|
|
89
|
-
import "./chunk-LP7BEXCT.js";
|
|
90
|
-
import "./chunk-UYB234ZR.js";
|
|
91
|
-
import "./chunk-ODVPTDPK.js";
|
|
92
|
-
import "./chunk-244VXYPG.js";
|
|
93
|
-
export {
|
|
94
|
-
Noydb,
|
|
95
|
-
createNoydb
|
|
96
|
-
};
|
|
97
|
-
//# sourceMappingURL=noydb-SWQJ3MZS.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/with-pod/pod-handle.ts"],"sourcesContent":["/**\n * Vault bundle handle — the stable opaque ULID identifying a vault\n * across `.noydb` exports.\n *\n * Behaviour is byte-identical to the inline `Vault.getPodHandle`\n * method this function replaced. `Vault` keeps the public method as\n * a thin delegator.\n *\n * Internal — reached through `vault.getPodHandle()`.\n */\nimport type { NoydbStore, EncryptedEnvelope } from '../kernel/types.js'\nimport { buildRecordEnvelope } from '../kernel/enclave/index.js'\n\n/**\n * Return the stable opaque bundle handle for the given vault adapter,\n * generating and persisting a fresh ULID on first call.\n *\n * See {@link import('../kernel/vault.js').Vault.getPodHandle} for\n * the full rationale and storage-path documentation.\n */\nexport async function buildPodHandle(adapter: NoydbStore, name: string): Promise<string> {\n const existing = await adapter.get(name, '_meta', 'handle')\n if (existing) {\n try {\n const parsed = JSON.parse(existing._data) as unknown\n if (parsed !== null && typeof parsed === 'object' && 'handle' in parsed) {\n const handle = (parsed as { handle: unknown }).handle\n if (typeof handle === 'string' && /^[0-9A-HJKMNP-TV-Z]{26}$/.test(handle)) {\n return handle\n }\n }\n } catch {\n // Fall through to regenerate — corrupted handle envelope\n // is treated as missing, not as an error. The new handle\n // overwrites the bad one.\n }\n }\n const { generateULID } = await import('./ulid.js')\n const handle = generateULID()\n const envelope: EncryptedEnvelope = buildRecordEnvelope(\n { collection: '_meta', id: 'handle', version: 1 },\n { iv: '', data: JSON.stringify({ handle }) },\n )\n await adapter.put(name, '_meta', 'handle', envelope)\n return handle\n}\n"],"mappings":";;;;;;;;;;;;;AAoBA,eAAsB,eAAe,SAAqB,MAA+B;AACvF,QAAM,WAAW,MAAM,QAAQ,IAAI,MAAM,SAAS,QAAQ;AAC1D,MAAI,UAAU;AACZ,QAAI;AACF,YAAM,SAAS,KAAK,MAAM,SAAS,KAAK;AACxC,UAAI,WAAW,QAAQ,OAAO,WAAW,YAAY,YAAY,QAAQ;AACvE,cAAMA,UAAU,OAA+B;AAC/C,YAAI,OAAOA,YAAW,YAAY,2BAA2B,KAAKA,OAAM,GAAG;AACzE,iBAAOA;AAAA,QACT;AAAA,MACF;AAAA,IACF,QAAQ;AAAA,IAIR;AAAA,EACF;AACA,QAAM,EAAE,aAAa,IAAI,MAAM,OAAO,oBAAW;AACjD,QAAM,SAAS,aAAa;AAC5B,QAAM,WAA8B;AAAA,IAClC,EAAE,YAAY,SAAS,IAAI,UAAU,SAAS,EAAE;AAAA,IAChD,EAAE,IAAI,IAAI,MAAM,KAAK,UAAU,EAAE,OAAO,CAAC,EAAE;AAAA,EAC7C;AACA,QAAM,QAAQ,IAAI,MAAM,SAAS,UAAU,QAAQ;AACnD,SAAO;AACT;","names":["handle"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/with-shape/satellites/marker.ts","../src/with-shape/satellites/post-register.ts"],"sourcesContent":["import type { NoydbStore } from '../../kernel/types.js'\nimport type { EnclaveKey } from '../../kernel/enclave/index.js'\nimport { SatelliteConfigError } from '../../kernel/errors.js'\nimport { hashFields } from './validate.js'\nimport type { PairingMarker, SatelliteSpec } from './types.js'\n\n/**\n * Persist-or-reconcile the pairing marker in `_schemas/<satellite>`.\n * First declaration writes { base, fieldsHash, joined }; later declarations\n * must match exactly or are refused (R-S9). Lazy imports keep the satellite\n * spine tree-shakeable (config-drift.ts pattern).\n */\nexport async function ensureSatelliteMarker(\n store: NoydbStore, vaultName: string, spec: SatelliteSpec, dek: EnclaveKey,\n): Promise<void> {\n // #597: `epoch` only matters the first time this marker is ever persisted —\n // when a `prior` marker already exists below we return without ever using\n // it, so re-declaring a LIVE collection never mints (or compares) a new\n // epoch; the persisted one is carried forward untouched. Stamped here as a\n // timestamp (mirrors `derivedAt` in persisted-schemas/register.ts) rather\n // than a counter, since there's nothing to count from yet.\n const next: PairingMarker = {\n base: spec.base, fieldsHash: hashFields(spec.fields), joined: spec.joined,\n epoch: new Date().toISOString(),\n }\n const { loadPersistedSchema } = await import('../persisted-schemas/storage.js')\n const persisted = await loadPersistedSchema(store, vaultName, spec.satellite, dek)\n const prior = persisted?.satellite\n if (prior) {\n if (prior.base !== next.base || prior.fieldsHash !== next.fieldsHash || (prior.joined ?? null) !== (next.joined ?? null)) {\n throw new SatelliteConfigError(\n `R-S9: satellite \"${spec.satellite}\" re-declared divergently from its persisted pairing marker ` +\n `(persisted base=\"${prior.base}\" fieldsHash=${prior.fieldsHash}; declared base=\"${next.base}\" fieldsHash=${next.fieldsHash}). ` +\n `Evolve the marker deliberately, don't redeclare.`,\n )\n }\n return\n }\n const { persistSatelliteMarker } = await import('../persisted-schemas/register.js')\n await persistSatelliteMarker({ store, vault: vaultName, collectionName: spec.satellite, dek, marker: next })\n}\n","import type { NoydbStore } from '../../kernel/types.js'\nimport type { EnclaveKey } from '../../kernel/enclave/index.js'\nimport type { SatelliteSpec } from './types.js'\nimport type { SatelliteRegistry } from './registry.js'\nimport { ensureSatelliteMarker } from './marker.js'\n\n/** Async post-registration: R-S9 marker reconcile + R-S1/R-S5 derivable-schema cross-check. Failures poison, never throw. */\nexport async function postRegister(\n store: NoydbStore, vaultName: string, spec: SatelliteSpec,\n getDEK: (collectionName: string) => Promise<EnclaveKey>,\n baseSchema: unknown, registry: SatelliteRegistry,\n): Promise<void> {\n try {\n await ensureSatelliteMarker(store, vaultName, spec, await getDEK(spec.satellite))\n } catch (err) {\n registry.poison(spec.satellite, (err as Error).message); return\n }\n if (baseSchema !== undefined) {\n try {\n const { derivePersistedSchema } = await import('../persisted-schemas/derive.js')\n const envelope = await derivePersistedSchema(baseSchema)\n const properties = (envelope.jsonSchema as Record<string, unknown> | null)?.['properties'] as Record<string, unknown> | undefined\n const baseFields: string[] = Object.keys(properties ?? {})\n const overlap = spec.fields.filter(f => baseFields.includes(f))\n if (overlap.length > 0) {\n registry.poison(spec.satellite,\n `R-S1: satellite \"${spec.satellite}\" fields overlap the base schema: ${overlap.join(', ')} — routing must be unambiguous.`)\n }\n } catch { /* non-derivable validator → cross-check unavailable, by design (spec R-S5) */ }\n }\n}\n"],"mappings":";;;;;;;;AAYA,eAAsB,sBACpB,OAAmB,WAAmB,MAAqB,KAC5C;AAOf,QAAM,OAAsB;AAAA,IAC1B,MAAM,KAAK;AAAA,IAAM,YAAY,WAAW,KAAK,MAAM;AAAA,IAAG,QAAQ,KAAK;AAAA,IACnE,QAAO,oBAAI,KAAK,GAAE,YAAY;AAAA,EAChC;AACA,QAAM,EAAE,oBAAoB,IAAI,MAAM,OAAO,uBAAiC;AAC9E,QAAM,YAAY,MAAM,oBAAoB,OAAO,WAAW,KAAK,WAAW,GAAG;AACjF,QAAM,QAAQ,WAAW;AACzB,MAAI,OAAO;AACT,QAAI,MAAM,SAAS,KAAK,QAAQ,MAAM,eAAe,KAAK,eAAe,MAAM,UAAU,WAAW,KAAK,UAAU,OAAO;AACxH,YAAM,IAAI;AAAA,QACR,oBAAoB,KAAK,SAAS,gFACd,MAAM,IAAI,gBAAgB,MAAM,UAAU,oBAAoB,KAAK,IAAI,gBAAgB,KAAK,UAAU;AAAA,MAE5H;AAAA,IACF;AACA;AAAA,EACF;AACA,QAAM,EAAE,uBAAuB,IAAI,MAAM,OAAO,wBAAkC;AAClF,QAAM,uBAAuB,EAAE,OAAO,OAAO,WAAW,gBAAgB,KAAK,WAAW,KAAK,QAAQ,KAAK,CAAC;AAC7G;;;ACjCA,eAAsB,aACpB,OAAmB,WAAmB,MACtC,QACA,YAAqB,UACN;AACf,MAAI;AACF,UAAM,sBAAsB,OAAO,WAAW,MAAM,MAAM,OAAO,KAAK,SAAS,CAAC;AAAA,EAClF,SAAS,KAAK;AACZ,aAAS,OAAO,KAAK,WAAY,IAAc,OAAO;AAAG;AAAA,EAC3D;AACA,MAAI,eAAe,QAAW;AAC5B,QAAI;AACF,YAAM,EAAE,sBAAsB,IAAI,MAAM,OAAO,sBAAgC;AAC/E,YAAM,WAAW,MAAM,sBAAsB,UAAU;AACvD,YAAM,aAAc,SAAS,aAAgD,YAAY;AACzF,YAAM,aAAuB,OAAO,KAAK,cAAc,CAAC,CAAC;AACzD,YAAM,UAAU,KAAK,OAAO,OAAO,OAAK,WAAW,SAAS,CAAC,CAAC;AAC9D,UAAI,QAAQ,SAAS,GAAG;AACtB,iBAAS;AAAA,UAAO,KAAK;AAAA,UACnB,oBAAoB,KAAK,SAAS,qCAAqC,QAAQ,KAAK,IAAI,CAAC;AAAA,QAAiC;AAAA,MAC9H;AAAA,IACF,QAAQ;AAAA,IAAiF;AAAA,EAC3F;AACF;","names":[]}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
persistClassifiedMarker,
|
|
3
|
-
persistSatelliteMarker,
|
|
4
|
-
persistSchemaIfNeeded
|
|
5
|
-
} from "./chunk-6LMQ5R26.js";
|
|
6
|
-
import "./chunk-ZVF37PKE.js";
|
|
7
|
-
import "./chunk-SYVZW77S.js";
|
|
8
|
-
import "./chunk-EPFF7LOX.js";
|
|
9
|
-
import "./chunk-L7DOS3TE.js";
|
|
10
|
-
import "./chunk-PSIV7CJV.js";
|
|
11
|
-
import "./chunk-Y2NBBT6K.js";
|
|
12
|
-
import "./chunk-3H5KLDZN.js";
|
|
13
|
-
import "./chunk-GHVIKOHT.js";
|
|
14
|
-
import "./chunk-ZXABPVM6.js";
|
|
15
|
-
import "./chunk-I7FD46FF.js";
|
|
16
|
-
import "./chunk-CKNGS5MH.js";
|
|
17
|
-
import "./chunk-KJFW62P4.js";
|
|
18
|
-
import "./chunk-SEE332EV.js";
|
|
19
|
-
import "./chunk-6QSQQLSE.js";
|
|
20
|
-
import "./chunk-DE4DH2RZ.js";
|
|
21
|
-
import "./chunk-LQ4ZHOKP.js";
|
|
22
|
-
import "./chunk-LP7BEXCT.js";
|
|
23
|
-
import "./chunk-UYB234ZR.js";
|
|
24
|
-
import "./chunk-ODVPTDPK.js";
|
|
25
|
-
import "./chunk-244VXYPG.js";
|
|
26
|
-
export {
|
|
27
|
-
persistClassifiedMarker,
|
|
28
|
-
persistSatelliteMarker,
|
|
29
|
-
persistSchemaIfNeeded
|
|
30
|
-
};
|
|
31
|
-
//# sourceMappingURL=register-F3OYE7MJ.js.map
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
DerivationRegistry
|
|
3
|
-
} from "./chunk-VNPEWFPD.js";
|
|
4
|
-
import "./chunk-FFWI7UH7.js";
|
|
5
|
-
import "./chunk-UD5EVGZ7.js";
|
|
6
|
-
import "./chunk-TFMM5DBB.js";
|
|
7
|
-
import "./chunk-MDWKM2XC.js";
|
|
8
|
-
import "./chunk-VYYM3MEN.js";
|
|
9
|
-
import "./chunk-PSIV7CJV.js";
|
|
10
|
-
import "./chunk-Y2NBBT6K.js";
|
|
11
|
-
import "./chunk-3H5KLDZN.js";
|
|
12
|
-
import "./chunk-FH2L2E34.js";
|
|
13
|
-
import "./chunk-QOOUUR4A.js";
|
|
14
|
-
import "./chunk-NYMLINRP.js";
|
|
15
|
-
import "./chunk-V4PXLYWM.js";
|
|
16
|
-
import "./chunk-ORDURZBU.js";
|
|
17
|
-
import "./chunk-XBKH4FOC.js";
|
|
18
|
-
import "./chunk-TKUOEU2F.js";
|
|
19
|
-
import "./chunk-DF73H4UN.js";
|
|
20
|
-
import "./chunk-GHLTDZRS.js";
|
|
21
|
-
import "./chunk-Z5HTYMMQ.js";
|
|
22
|
-
import "./chunk-CKNGS5MH.js";
|
|
23
|
-
import "./chunk-KJFW62P4.js";
|
|
24
|
-
import "./chunk-SEE332EV.js";
|
|
25
|
-
import "./chunk-6QSQQLSE.js";
|
|
26
|
-
import "./chunk-DE4DH2RZ.js";
|
|
27
|
-
import "./chunk-LQ4ZHOKP.js";
|
|
28
|
-
import "./chunk-LP7BEXCT.js";
|
|
29
|
-
import "./chunk-UYB234ZR.js";
|
|
30
|
-
import "./chunk-ODVPTDPK.js";
|
|
31
|
-
import "./chunk-244VXYPG.js";
|
|
32
|
-
export {
|
|
33
|
-
DerivationRegistry
|
|
34
|
-
};
|
|
35
|
-
//# sourceMappingURL=registry-YCDZV3VW.js.map
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
MaterializedViewRegistry,
|
|
3
|
-
ungatedMvContext,
|
|
4
|
-
wrapDbWithPredicates
|
|
5
|
-
} from "./chunk-NWHBJQAL.js";
|
|
6
|
-
import "./chunk-XBKH4FOC.js";
|
|
7
|
-
import "./chunk-MKXXMNJH.js";
|
|
8
|
-
import "./chunk-LGNDFRYC.js";
|
|
9
|
-
import "./chunk-HLEK5VAN.js";
|
|
10
|
-
import "./chunk-KJFW62P4.js";
|
|
11
|
-
import "./chunk-SEE332EV.js";
|
|
12
|
-
import "./chunk-6QSQQLSE.js";
|
|
13
|
-
import "./chunk-DE4DH2RZ.js";
|
|
14
|
-
import "./chunk-LQ4ZHOKP.js";
|
|
15
|
-
import "./chunk-LP7BEXCT.js";
|
|
16
|
-
import "./chunk-UYB234ZR.js";
|
|
17
|
-
import "./chunk-ODVPTDPK.js";
|
|
18
|
-
import "./chunk-244VXYPG.js";
|
|
19
|
-
export {
|
|
20
|
-
MaterializedViewRegistry,
|
|
21
|
-
ungatedMvContext,
|
|
22
|
-
wrapDbWithPredicates
|
|
23
|
-
};
|
|
24
|
-
//# sourceMappingURL=registry-ZGYS33TE.js.map
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
WITHDRAWAL_REQUESTS_COLLECTION,
|
|
3
|
-
WithdrawalRequestError,
|
|
4
|
-
approveWithdrawal,
|
|
5
|
-
listWithdrawalRequests,
|
|
6
|
-
rejectWithdrawal,
|
|
7
|
-
requestWithdrawal
|
|
8
|
-
} from "./chunk-FCKWQE2H.js";
|
|
9
|
-
import "./chunk-S57HTZ6X.js";
|
|
10
|
-
import "./chunk-WNJ4AVGE.js";
|
|
11
|
-
import "./chunk-HBPPGWUM.js";
|
|
12
|
-
import "./chunk-IUWCVHQ7.js";
|
|
13
|
-
import "./chunk-KJFW62P4.js";
|
|
14
|
-
import "./chunk-SEE332EV.js";
|
|
15
|
-
import "./chunk-6QSQQLSE.js";
|
|
16
|
-
import "./chunk-DE4DH2RZ.js";
|
|
17
|
-
import "./chunk-LQ4ZHOKP.js";
|
|
18
|
-
import "./chunk-LP7BEXCT.js";
|
|
19
|
-
import "./chunk-UYB234ZR.js";
|
|
20
|
-
import "./chunk-ODVPTDPK.js";
|
|
21
|
-
import "./chunk-244VXYPG.js";
|
|
22
|
-
export {
|
|
23
|
-
WITHDRAWAL_REQUESTS_COLLECTION,
|
|
24
|
-
WithdrawalRequestError,
|
|
25
|
-
approveWithdrawal,
|
|
26
|
-
listWithdrawalRequests,
|
|
27
|
-
rejectWithdrawal,
|
|
28
|
-
requestWithdrawal
|
|
29
|
-
};
|
|
30
|
-
//# sourceMappingURL=request-withdrawal-Z5NC6TXT.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/kernel/enclave/classify/reveal.ts"],"sourcesContent":["/**\n * Single-point audited reveal, stage-2 rework (I6): decrypt ONE sealed slot\n * from the raw envelope — no full record view, no collection.get(), so no\n * spurious 'get' consent entry. Fail-closed gates (b)/(c) live here; gate\n * (a) (storage:'never') fires in collection.reveal before any strategy call.\n * @module\n */\nimport { dualReadSealedSlot } from '../record-keys/sealed-slot.js'\nimport { isTombstone } from '../record-keys/tombstone.js'\nimport { ClassifiedRevealError } from '../../errors.js'\nimport type { EncryptedEnvelope } from '../../types.js'\nimport type { EnclaveKey } from '../crypto.js'\n\nexport interface RevealEngineCtx {\n readonly collection: string\n readonly encrypted: boolean\n getEnvelope(id: string): Promise<EncryptedEnvelope | null>\n resolveCek(env: EncryptedEnvelope): Promise<EnclaveKey | undefined>\n getDEK(): Promise<EnclaveKey>\n}\n\nexport async function revealSealedField(ctx: RevealEngineCtx, id: string, field: string): Promise<unknown> {\n const env = await ctx.getEnvelope(id)\n if (env === null || isTombstone(env, ctx.encrypted) || (env._tier ?? 0) > 0) {\n throw new ClassifiedRevealError(ctx.collection, field, `record \"${id}\" not found in \"${ctx.collection}\"`)\n }\n if (!ctx.encrypted) {\n // Plaintext collection: nothing is sealed; the value sits in the open body.\n const record = JSON.parse(env._data || '{}') as Record<string, unknown>\n if (!(field in record)) {\n throw new ClassifiedRevealError(ctx.collection, field, `no stored value for \"${field}\"`)\n }\n return record[field]\n }\n const blob = env._sealed?.[field]\n if (blob === undefined) {\n // Gate (c): fail-closed error, never parseSealedSlot(undefined)'s TypeError.\n throw new ClassifiedRevealError(ctx.collection, field, `no sealed value stored for \"${field}\"`)\n }\n const cek = await ctx.resolveCek(env)\n const dek = await ctx.getDEK()\n return JSON.parse(await dualReadSealedSlot(blob, field, ctx.collection, cek, dek))\n}\n"],"mappings":";;;;;;;;;;;;;AAqBA,eAAsB,kBAAkB,KAAsB,IAAY,OAAiC;AACzG,QAAM,MAAM,MAAM,IAAI,YAAY,EAAE;AACpC,MAAI,QAAQ,QAAQ,YAAY,KAAK,IAAI,SAAS,MAAM,IAAI,SAAS,KAAK,GAAG;AAC3E,UAAM,IAAI,sBAAsB,IAAI,YAAY,OAAO,WAAW,EAAE,mBAAmB,IAAI,UAAU,GAAG;AAAA,EAC1G;AACA,MAAI,CAAC,IAAI,WAAW;AAElB,UAAM,SAAS,KAAK,MAAM,IAAI,SAAS,IAAI;AAC3C,QAAI,EAAE,SAAS,SAAS;AACtB,YAAM,IAAI,sBAAsB,IAAI,YAAY,OAAO,wBAAwB,KAAK,GAAG;AAAA,IACzF;AACA,WAAO,OAAO,KAAK;AAAA,EACrB;AACA,QAAM,OAAO,IAAI,UAAU,KAAK;AAChC,MAAI,SAAS,QAAW;AAEtB,UAAM,IAAI,sBAAsB,IAAI,YAAY,OAAO,+BAA+B,KAAK,GAAG;AAAA,EAChG;AACA,QAAM,MAAM,MAAM,IAAI,WAAW,GAAG;AACpC,QAAM,MAAM,MAAM,IAAI,OAAO;AAC7B,SAAO,KAAK,MAAM,MAAM,mBAAmB,MAAM,OAAO,IAAI,YAAY,KAAK,GAAG,CAAC;AACnF;","names":[]}
|
package/dist/revoke-ZL62WC2D.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
getRevokedDocIdsCore,
|
|
3
|
-
publishRevocationListCore,
|
|
4
|
-
revokeDocCore,
|
|
5
|
-
unrevokeDocCore
|
|
6
|
-
} from "./chunk-NNARWO72.js";
|
|
7
|
-
import "./chunk-QWFHIOD2.js";
|
|
8
|
-
import "./chunk-KJFW62P4.js";
|
|
9
|
-
import "./chunk-SEE332EV.js";
|
|
10
|
-
import "./chunk-6QSQQLSE.js";
|
|
11
|
-
import "./chunk-DE4DH2RZ.js";
|
|
12
|
-
import "./chunk-LQ4ZHOKP.js";
|
|
13
|
-
import "./chunk-LP7BEXCT.js";
|
|
14
|
-
import "./chunk-UYB234ZR.js";
|
|
15
|
-
import "./chunk-ODVPTDPK.js";
|
|
16
|
-
import "./chunk-244VXYPG.js";
|
|
17
|
-
export {
|
|
18
|
-
getRevokedDocIdsCore,
|
|
19
|
-
publishRevocationListCore,
|
|
20
|
-
revokeDocCore,
|
|
21
|
-
unrevokeDocCore
|
|
22
|
-
};
|
|
23
|
-
//# sourceMappingURL=revoke-ZL62WC2D.js.map
|