@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
package/dist/indexing/index.js
CHANGED
|
@@ -8,15 +8,15 @@ import {
|
|
|
8
8
|
decodeIdxId,
|
|
9
9
|
encodeIdxId,
|
|
10
10
|
isIdxId
|
|
11
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-V7ADQF5O.js";
|
|
12
12
|
import {
|
|
13
13
|
CollectionIndexes
|
|
14
|
-
} from "../chunk-
|
|
14
|
+
} from "../chunk-2AFX33YA.js";
|
|
15
15
|
import "../chunk-SUZKW6UR.js";
|
|
16
16
|
import "../chunk-LGNDFRYC.js";
|
|
17
|
-
import "../chunk-
|
|
18
|
-
import "../chunk-
|
|
19
|
-
import "../chunk-
|
|
17
|
+
import "../chunk-5WWDGFOS.js";
|
|
18
|
+
import "../chunk-SYNY3VB5.js";
|
|
19
|
+
import "../chunk-37EPTBBR.js";
|
|
20
20
|
|
|
21
21
|
// src/with-lookup/indexing/active.ts
|
|
22
22
|
function withIndexing() {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../chunk-UBSFPGVJ.js";
|
|
2
2
|
import {
|
|
3
3
|
dumpVaultSchema
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-PP3K67AJ.js";
|
|
5
5
|
import {
|
|
6
6
|
applyListProjection
|
|
7
7
|
} from "../chunk-VG2ZSFYD.js";
|
|
@@ -9,18 +9,17 @@ import "../chunk-RXLYKVTF.js";
|
|
|
9
9
|
import {
|
|
10
10
|
jsonSchemaToFields
|
|
11
11
|
} from "../chunk-VYYM3MEN.js";
|
|
12
|
-
import "../chunk-
|
|
12
|
+
import "../chunk-747G6CT3.js";
|
|
13
13
|
import "../chunk-Y2NBBT6K.js";
|
|
14
|
-
import "../chunk-
|
|
15
|
-
import "../chunk-
|
|
16
|
-
import "../chunk-
|
|
17
|
-
import "../chunk-
|
|
18
|
-
import "../chunk-
|
|
19
|
-
import "../chunk-
|
|
20
|
-
import "../chunk-
|
|
21
|
-
import "../chunk-
|
|
22
|
-
import "../chunk-
|
|
23
|
-
import "../chunk-244VXYPG.js";
|
|
14
|
+
import "../chunk-3L2NBKDR.js";
|
|
15
|
+
import "../chunk-EZGV6F47.js";
|
|
16
|
+
import "../chunk-OIEO4WDL.js";
|
|
17
|
+
import "../chunk-Q2XRFWOI.js";
|
|
18
|
+
import "../chunk-NH2UOV3B.js";
|
|
19
|
+
import "../chunk-42ALPZ2B.js";
|
|
20
|
+
import "../chunk-QMWY2FDS.js";
|
|
21
|
+
import "../chunk-SV2PM2OY.js";
|
|
22
|
+
import "../chunk-37EPTBBR.js";
|
|
24
23
|
export {
|
|
25
24
|
applyListProjection,
|
|
26
25
|
dumpVaultSchema,
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import {
|
|
2
|
+
issueAttestationCore
|
|
3
|
+
} from "./chunk-VMV5SBE4.js";
|
|
4
|
+
import "./chunk-JWWYRR4Q.js";
|
|
5
|
+
import "./chunk-DLD5LGDS.js";
|
|
6
|
+
import "./chunk-GMKGGY7V.js";
|
|
7
|
+
import "./chunk-4AOERLTV.js";
|
|
8
|
+
import "./chunk-EZGV6F47.js";
|
|
9
|
+
import "./chunk-OIEO4WDL.js";
|
|
10
|
+
import "./chunk-Q2XRFWOI.js";
|
|
11
|
+
import "./chunk-NH2UOV3B.js";
|
|
12
|
+
import "./chunk-42ALPZ2B.js";
|
|
13
|
+
import "./chunk-QMWY2FDS.js";
|
|
14
|
+
import "./chunk-SV2PM2OY.js";
|
|
15
|
+
import "./chunk-37EPTBBR.js";
|
|
16
|
+
export {
|
|
17
|
+
issueAttestationCore
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=issue-YIVBZUTH.js.map
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Hub-owned copies of the attestation types. `@noy-db/attestation` is
|
|
3
|
+
* BUNDLED into hub (tsup `noExternal`), so hub's emitted `.d.ts` must not
|
|
4
|
+
* name the package — a consumer would otherwise need it installed to
|
|
5
|
+
* typecheck. The shapes are structurally identical; the `_Pins` block in
|
|
6
|
+
* `__tests__/no-runtime-dependencies.test.ts` asserts mutual assignability,
|
|
7
|
+
* so drift fails typecheck rather than surfacing at a consumer.
|
|
8
|
+
*/
|
|
9
|
+
type Normalizer = 'trim' | 'lower' | 'upper' | 'alnum-upper' | 'digits' | 'cents' | 'iso-date';
|
|
10
|
+
interface AttestationFieldSpec {
|
|
11
|
+
readonly path: string;
|
|
12
|
+
readonly normalize: Normalizer;
|
|
13
|
+
}
|
|
14
|
+
export interface AttestationFieldSchema {
|
|
15
|
+
readonly fields: readonly AttestationFieldSpec[];
|
|
16
|
+
}
|
|
17
|
+
export interface QrPayload {
|
|
18
|
+
readonly v: 1;
|
|
19
|
+
readonly docId: string;
|
|
20
|
+
readonly salt: string;
|
|
21
|
+
readonly alg: 'ed25519';
|
|
22
|
+
readonly keyId: string;
|
|
23
|
+
readonly fieldHashes: readonly string[];
|
|
24
|
+
readonly sig: string;
|
|
25
|
+
}
|
|
26
|
+
export interface RevocationList {
|
|
27
|
+
readonly v: 1;
|
|
28
|
+
readonly revokedDocIds: readonly string[];
|
|
29
|
+
readonly asOf: string;
|
|
30
|
+
readonly keyId: string;
|
|
31
|
+
readonly sig: string;
|
|
32
|
+
}
|
|
33
|
+
export interface VerifyInput {
|
|
34
|
+
readonly qr: string;
|
|
35
|
+
readonly claimedFields: Record<string, unknown>;
|
|
36
|
+
readonly fieldSchema: AttestationFieldSchema;
|
|
37
|
+
readonly publicKeys: Readonly<Record<string, string>>;
|
|
38
|
+
readonly revocation?: {
|
|
39
|
+
list: RevocationList;
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
export interface VerifyResult {
|
|
43
|
+
readonly valid: boolean;
|
|
44
|
+
readonly signatureValid: boolean;
|
|
45
|
+
readonly perField: ReadonlyArray<{
|
|
46
|
+
path: string;
|
|
47
|
+
match: boolean;
|
|
48
|
+
}>;
|
|
49
|
+
readonly revoked: boolean | null;
|
|
50
|
+
readonly reason?: string;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* The signature primitive attestation signs and verifies with. Hub declares
|
|
54
|
+
* its own copy for the same reason as the rest of this file: `ENCLAVE_SCHEME`
|
|
55
|
+
* is typed by it, so naming attestation here would put the package back in
|
|
56
|
+
* hub's `.d.ts`.
|
|
57
|
+
*/
|
|
58
|
+
export interface SignatureScheme {
|
|
59
|
+
sign(privateKeyPkcs8B64: string, message: Uint8Array): Promise<string>;
|
|
60
|
+
verify(publicKeyB64: string, sigB64url: string, message: Uint8Array): Promise<boolean>;
|
|
61
|
+
}
|
|
62
|
+
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { StrategyBag } from '../port/with/strategies.js';
|
|
2
2
|
import type { NoydbStore, ConflictPolicy, CollectionConflictResolver, HistoryConfig, TierMode, CrossTierAccessEvent, VdigFieldPolicy } from './types.js';
|
|
3
|
-
import type { EnclaveKey } from '
|
|
3
|
+
import type { EnclaveKey } from '../capsule/index.js';
|
|
4
4
|
import type { UnlockedKeyring } from '../with-party/team/keyring.js';
|
|
5
5
|
import type { NoydbEventEmitter } from './events.js';
|
|
6
6
|
import type { WriteQueueTracker } from './write-queue.js';
|
|
@@ -496,53 +496,6 @@ export declare function matchTargetFieldNames(opts: {
|
|
|
496
496
|
readonly declared: readonly string[];
|
|
497
497
|
readonly virtual: readonly string[];
|
|
498
498
|
};
|
|
499
|
-
/**
|
|
500
|
-
* Compile a collection's declared config into the ordered list of `NoydbVia`s
|
|
501
|
-
* for its `ViaPipeline`.
|
|
502
|
-
*
|
|
503
|
-
* money then i18n then lookup then classified then blob then computed — order
|
|
504
|
-
* pinned for pipeline parity with the hand-wired baseline this replaces: money
|
|
505
|
-
* encode ran before the i18n write stages, and money decode ran before i18n
|
|
506
|
-
* locale/dict-label resolution on read. Lookup compiles right after i18n
|
|
507
|
-
* (#650 Task 2) — a separate binding for native lookup()/enumOf()/dict()
|
|
508
|
-
* fields (`dictKeyFields`/`dictKey()`/`staticDict()` stay on the i18n
|
|
509
|
-
* binding above, unchanged); its `present` hook only adds `<field>Label`,
|
|
510
|
-
* same shape of read-time addition as i18n's own dict-label dressing, and
|
|
511
|
-
* declares no write-pipeline hooks yet (Task 3 adds `ingest`/`enforceWrite`).
|
|
512
|
-
* Classified compiles after those (#629 Task 6): its
|
|
513
|
-
* `encodeAtRest`/`decodeAtRest` hooks make the pipeline's `hasAtRestHooks`
|
|
514
|
-
* true, retiring the codec's inline `sensitiveFields` seal path
|
|
515
|
-
* (record-codec.ts) for any collection that declares `classifiedFields` —
|
|
516
|
-
* `classifiedGuardCtx` is the SAME `ClassifiedGuardCtx`
|
|
517
|
-
* `resolveCollectionConfig` already built for door 1's
|
|
518
|
-
* `guardClassifiedCompat` call, threaded in by its one caller below. Blob
|
|
519
|
-
* compiles next (#629 Task 7) but its position is inert: the blob binding
|
|
520
|
-
* declares NO write/read pipeline hooks (blob content is out-of-band
|
|
521
|
-
* `BlobSet` side-collections — it must never flip `hasAtRestHooks`), only
|
|
522
|
-
* `erase`/`describeFragment`. Computed compiles LAST (#638 Task 7) — its
|
|
523
|
-
* `present` hook must run AFTER money's own `present` so a virtual field's
|
|
524
|
-
* `deps` read the decoded (quantized) amount, not the raw stored form; at
|
|
525
|
-
* present-time i18n/lookup's DRESSING now runs AFTER computed instead (#665
|
|
526
|
-
* `_presentOrder`, `via/pipeline.ts` — compile order here is unchanged).
|
|
527
|
-
* `via/graph-wiring.ts#applyTaintOverlay` appends the `taint`
|
|
528
|
-
* binding after WHATEVER this function returns, so taint's present-time
|
|
529
|
-
* redaction always runs after computed's regardless of this ordering.
|
|
530
|
-
* {@link Collection._applyMoneyFields} PREPENDS money for the same reason
|
|
531
|
-
* on its own (MV-precreation reconcile) path — see its docstring;
|
|
532
|
-
* {@link Collection._applyClassifiedFields} APPENDS classified on that same
|
|
533
|
-
* reconcile path (blobFields/computed have no late-attach reconcile door —
|
|
534
|
-
* `viaFields`, like i18nFields/dictKeyFields, is construction-only).
|
|
535
|
-
*
|
|
536
|
-
* `eraseCfgOut` (#629 Task 10, optional out-param) — this function runs
|
|
537
|
-
* before the owning `Collection` exists (`this.codec` isn't built yet), so
|
|
538
|
-
* the classified binding's `classifySealedShred` closure can't be wired
|
|
539
|
-
* here. When supplied, `eraseCfgOut.classified` is set to the SAME cfg
|
|
540
|
-
* object instance handed to `viaBinder('classified')`, so a caller
|
|
541
|
-
* (`resolveCollectionConfig`) can thread it out to the `Collection`
|
|
542
|
-
* constructor, which mutates `classifySealedShred` in place once
|
|
543
|
-
* `this.codec` exists. Additive — every existing caller omits it and keeps
|
|
544
|
-
* getting a plain `NoydbVia[]`.
|
|
545
|
-
*/
|
|
546
499
|
export declare function compileVias<T>(opts: CollectionOpts<T>, classifiedGuardCtx: ClassifiedGuardCtx, eraseCfgOut?: {
|
|
547
500
|
classified?: ClassifiedViaConfig;
|
|
548
501
|
}): NoydbVia[];
|
|
@@ -11,7 +11,7 @@ import { type ViaDescriptor, type ViaEraseReport } from './via/index.js';
|
|
|
11
11
|
import type { MutationOrigin } from './mutation.js';
|
|
12
12
|
import { type WaveContext, type RollupOutcome, type RollupDeleteIntent } from './via/dispatch.js';
|
|
13
13
|
import type { ComputedFields } from '../with-formula/computed/index.js';
|
|
14
|
-
import { type SealedShredSlot } from '
|
|
14
|
+
import { type SealedShredSlot } from '../capsule/index.js';
|
|
15
15
|
import { type TierMoveResult } from '../with-audit/tiers/index.js';
|
|
16
16
|
import type { GhostRecord } from './types.js';
|
|
17
17
|
import type { StandardSchemaV1 } from './schema.js';
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* @internal
|
|
11
11
|
*/
|
|
12
12
|
import type { EncryptedEnvelope, NoydbStore, VdigFieldPolicy } from './types.js';
|
|
13
|
-
import { type RecordCodec, type EnclaveKey } from '
|
|
13
|
+
import { type RecordCodec, type EnclaveKey } from '../capsule/index.js';
|
|
14
14
|
import type { MutationOrigin } from './mutation.js';
|
|
15
15
|
/**
|
|
16
16
|
* @internal Structural (not imported) view of `UnlockedKeyring` — only
|
package/dist/kernel/errors.d.ts
CHANGED
|
@@ -136,6 +136,34 @@ export declare class DebugReservedFieldError extends NoydbError {
|
|
|
136
136
|
export declare class DecryptionError extends NoydbError {
|
|
137
137
|
constructor(message?: string);
|
|
138
138
|
}
|
|
139
|
+
/**
|
|
140
|
+
* **Means exactly: "this envelope carries no sealed body, and this path needs
|
|
141
|
+
* one."** (#15)
|
|
142
|
+
*
|
|
143
|
+
* Since `_iv`/`_data` became optional, an envelope written by an *exclave*
|
|
144
|
+
* capsule has no ciphertext body at all. Handed to an AES decrypt path, that
|
|
145
|
+
* is neither corruption nor an attack — it is a capsule mismatch, and it must
|
|
146
|
+
* not be reported as one of the two errors it superficially resembles:
|
|
147
|
+
*
|
|
148
|
+
* - **not {@link TamperedError}**, whose entire documented meaning is "the
|
|
149
|
+
* AEAD tag did not verify under this key". That class is hub's security
|
|
150
|
+
* alert; raising it for a structurally absent body would manufacture a
|
|
151
|
+
* tamper signal out of a configuration difference, and the operator
|
|
152
|
+
* response to the two is completely different.
|
|
153
|
+
* - **not a bare `TypeError`**, which is what reading `.length` or passing
|
|
154
|
+
* `undefined` into `decrypt()` produced before this issue — an internal
|
|
155
|
+
* slip surfacing as if hub had a bug in its own arithmetic.
|
|
156
|
+
*
|
|
157
|
+
* `where` names the call path that required the body, because the same
|
|
158
|
+
* absence is legitimate two frames earlier: {@link hasSealedBody} answers
|
|
159
|
+
* false for it, and a tombstone, a `_del` marker and a plaintext collection
|
|
160
|
+
* all reach that answer by design.
|
|
161
|
+
*/
|
|
162
|
+
export declare class MissingEnvelopeBodyError extends NoydbError {
|
|
163
|
+
/** The operation that required a sealed body, e.g. `'openEnvelopeJson'`. */
|
|
164
|
+
readonly where: string;
|
|
165
|
+
constructor(where: string);
|
|
166
|
+
}
|
|
139
167
|
/**
|
|
140
168
|
* **Means exactly: "AEAD failed under this key."** Nothing more (lanna-db #4,
|
|
141
169
|
* 2026-09-03). AES-256-GCM authenticates the ciphertext on every decrypt; if
|
|
@@ -2368,7 +2396,7 @@ export declare class RecoveryProfileNotImplementedError extends NoydbError {
|
|
|
2368
2396
|
constructor(profile: string, tracking: string);
|
|
2369
2397
|
}
|
|
2370
2398
|
/**
|
|
2371
|
-
* Thrown by a `
|
|
2399
|
+
* Thrown by a `capsule/enclave-aes` fork's **optional groups** — sealing,
|
|
2372
2400
|
* deterministic, per-record-key lifecycle — when that fork's crypto
|
|
2373
2401
|
* engine does not implement the requested behavior.
|
|
2374
2402
|
*
|
|
@@ -2391,7 +2419,7 @@ export declare class EnclaveNotSupportedError extends NoydbError {
|
|
|
2391
2419
|
* Raised when a collection's `classifiedFields` configuration is invalid
|
|
2392
2420
|
* (e.g. a claimed field name collides with a rider companion or another
|
|
2393
2421
|
* classified field). Homed in `kernel/errors.ts` (rather than the classified
|
|
2394
|
-
* feature module) so `
|
|
2422
|
+
* feature module) so `capsule/enclave-aes/classify/*` can throw it without
|
|
2395
2423
|
* importing with-*; the classified feature module re-exports it under the
|
|
2396
2424
|
* same name for backward-compatible import paths.
|
|
2397
2425
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MergeAuthority } from '../port/with/merge-authority.js';
|
|
2
|
-
import type { EnclaveKey } from '
|
|
2
|
+
import type { EnclaveKey } from '../capsule/index.js';
|
|
3
3
|
/**
|
|
4
4
|
* ⚠️ **A client cannot verify what it cannot decrypt** — and that boundary is
|
|
5
5
|
* stated here rather than hidden.
|
package/dist/kernel/paths.d.ts
CHANGED
|
@@ -1,11 +1,35 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
* these carry zero i18n logic — they were extracted out of
|
|
4
|
-
* `via/i18n/core.ts` (Task 7, #623) so kernel call-sites (put-time
|
|
5
|
-
* validation, densify) can import them without a spine→service edge.
|
|
2
|
+
* Refuse a malformed field path AT DECLARATION TIME.
|
|
6
3
|
*
|
|
7
|
-
* @
|
|
4
|
+
* ⛔ WHY THIS EXISTS. {@link getAtPath} performs no validation by design — it
|
|
5
|
+
* answers "what is at this path", and "nothing" is a legitimate answer for an
|
|
6
|
+
* optional field or an empty array. The consequence is that a MALFORMED path
|
|
7
|
+
* is indistinguishable from an absent value: `'contacts[.name'` contains no
|
|
8
|
+
* `[].` and no `.`, so it falls through to `obj['contacts[.name']`, resolves
|
|
9
|
+
* to `undefined`, and the declaration does nothing. Forever. Silently.
|
|
10
|
+
*
|
|
11
|
+
* Measured 2026-09-13: an `i18nFields` declaration with `required: 'all'` and
|
|
12
|
+
* a malformed path accepted a record missing every required language, while
|
|
13
|
+
* the same spec on a well-formed path refused it. The guarantee was not
|
|
14
|
+
* weakened — it was never installed.
|
|
15
|
+
*
|
|
16
|
+
* ⭐ SAME CLASS AS core#19 AND `moneyFields`. `via/money/paths.ts` already
|
|
17
|
+
* guards its own grammar and says why in its header ("a declared-but-
|
|
18
|
+
* unreachable path that was silently ignored ... a latent 100× bug");
|
|
19
|
+
* `classifiedFields` did not, and a consumer found the leak. This is the third
|
|
20
|
+
* instance, which is why the check lives HERE, beside the resolver every
|
|
21
|
+
* path-taking family shares, rather than being written a third time.
|
|
22
|
+
*
|
|
23
|
+
* ⚠️ SYNTAX ONLY. A well-formed path naming a field that does not exist
|
|
24
|
+
* (`titel` for `title`) is NOT caught here and cannot be — that needs the
|
|
25
|
+
* collection's schema, which is not always declared. It is a real and separate
|
|
26
|
+
* gap; see the issue filed alongside this guard.
|
|
27
|
+
*
|
|
28
|
+
* Trailing `[]` is refused because `getAtPath` cannot consume it: the wildcard
|
|
29
|
+
* is recognised as the three-character marker `[].`, so `'contacts[]'` with
|
|
30
|
+
* nothing after it is read as an ordinary key and resolves to nothing.
|
|
8
31
|
*/
|
|
32
|
+
export declare function assertFieldPath(path: string, context: string): void;
|
|
9
33
|
/**
|
|
10
34
|
* Return all leaf values at `path`, expanding `[].` array wildcards.
|
|
11
35
|
*
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* kernel-surface line budget.
|
|
12
12
|
*/
|
|
13
13
|
import type { EncryptedEnvelope } from './types.js';
|
|
14
|
-
import type { EnclaveKey } from '
|
|
14
|
+
import type { EnclaveKey } from '../capsule/index.js';
|
|
15
15
|
/** @internal Everything `_commitPut` needs after `_preparePut` produced the envelope. */
|
|
16
16
|
export interface PreparedPut<T> {
|
|
17
17
|
readonly id: string;
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* @module
|
|
15
15
|
*/
|
|
16
16
|
import type { NoydbOptions, NoydbStore } from './types.js';
|
|
17
|
-
import type { EchoSecretParts } from '
|
|
17
|
+
import type { EchoSecretParts } from '../capsule/index.js';
|
|
18
18
|
/**
|
|
19
19
|
* Cross-check the secret-mode-related options at `createNoydb` time, before
|
|
20
20
|
* any store touch. Throws `ValidationError` on the first violation.
|
package/dist/kernel/types.d.ts
CHANGED
|
@@ -68,7 +68,7 @@ import type { FormatsStrategy } from '../port/with/formats-strategy.js';
|
|
|
68
68
|
import type { NoydbMesh } from '../port/by/types.js';
|
|
69
69
|
import type { ScriptWarning } from '../port/with/i18n-strategy.js';
|
|
70
70
|
import type { ViaDescriptor } from './via/index.js';
|
|
71
|
-
import type { EnclaveKey, EchoSecretParts } from '
|
|
71
|
+
import type { EnclaveKey, EchoSecretParts } from '../capsule/index.js';
|
|
72
72
|
import type { NoydbDeviceSeal } from '../port/with/device-seal-strategy.js';
|
|
73
73
|
export type { EchoSecretParts };
|
|
74
74
|
/** Format version for encrypted record envelopes. */
|
|
@@ -163,13 +163,34 @@ export type Permission = 'rw' | 'ro';
|
|
|
163
163
|
* `'*'` is the wildcard collection matching all collections in the vault.
|
|
164
164
|
*/
|
|
165
165
|
export type Permissions = Record<string, Permission>;
|
|
166
|
-
/**
|
|
167
|
-
|
|
166
|
+
/**
|
|
167
|
+
* The wrapper stored by stores. Stores only ever see this.
|
|
168
|
+
*
|
|
169
|
+
* ⚠️ **`_iv`/`_data` are OPTIONAL, and that is a capsule contract, not a
|
|
170
|
+
* convenience** (#15). An *enclave* capsule (the default, `enclave-aes`)
|
|
171
|
+
* always writes both; an *exclave* capsule stores a plaintext row and has no
|
|
172
|
+
* ciphertext body at all, so it writes neither.
|
|
173
|
+
*
|
|
174
|
+
* **Absence and `''` mean the same thing: no sealed body.** That equivalence
|
|
175
|
+
* is not new — a tombstone, a delete marker (`_del`) and a plaintext
|
|
176
|
+
* collection have carried `_iv: ''` since the format's first version, and
|
|
177
|
+
* {@link hasSealedBody} has always been the question callers ask. Widening
|
|
178
|
+
* only lets a capsule omit the keys instead of emptying them; every existing
|
|
179
|
+
* envelope on disk keeps its exact bytes and reads back identically.
|
|
180
|
+
*
|
|
181
|
+
* Consequently NOTHING here is a wire-format change, and `NOYDB_FORMAT_VERSION`
|
|
182
|
+
* does not move. What changed is that every READER must now cope with absence
|
|
183
|
+
* — which is the whole point, since the store contract at `@noy-db/hub/to` is
|
|
184
|
+
* what an exclave's rows travel through.
|
|
185
|
+
*/
|
|
186
|
+
export interface Envelope {
|
|
168
187
|
readonly _noydb: typeof NOYDB_FORMAT_VERSION;
|
|
169
188
|
readonly _v: number;
|
|
170
189
|
readonly _ts: string;
|
|
171
|
-
|
|
172
|
-
readonly
|
|
190
|
+
/** Body IV. Absent (≡ `''`) when there is no sealed body — see the interface doc. */
|
|
191
|
+
readonly _iv?: string;
|
|
192
|
+
/** Body ciphertext, or plaintext JSON on an unencrypted collection. Absent ≡ `''`. */
|
|
193
|
+
readonly _data?: string;
|
|
173
194
|
/** User who created this version (unencrypted metadata). */
|
|
174
195
|
readonly _by?: string;
|
|
175
196
|
/**
|
|
@@ -278,6 +299,22 @@ export interface EncryptedEnvelope {
|
|
|
278
299
|
*/
|
|
279
300
|
readonly _del?: true;
|
|
280
301
|
}
|
|
302
|
+
/**
|
|
303
|
+
* The former name of {@link Envelope}, kept as an exact alias.
|
|
304
|
+
*
|
|
305
|
+
* ⚠️ **It is an ALIAS, not a narrower type** — `EncryptedEnvelope._data` is
|
|
306
|
+
* `string | undefined` here too. Declaring it as a body-required subtype was
|
|
307
|
+
* considered and rejected: it would have let every existing hub reader keep
|
|
308
|
+
* compiling untouched, which is precisely the bug — a store handing back an
|
|
309
|
+
* exclave row would then fail at runtime in 43 files that the compiler had
|
|
310
|
+
* declared safe.
|
|
311
|
+
*
|
|
312
|
+
* Retiring the name is a 0.9 seam decision, not a 0.8 one: it is published
|
|
313
|
+
* from the root barrel and from `@noy-db/hub/to`, so removing it is breaking
|
|
314
|
+
* for every satellite that binds the store contract. It stays for the whole
|
|
315
|
+
* 0.8 line.
|
|
316
|
+
*/
|
|
317
|
+
export type EncryptedEnvelope = Envelope;
|
|
281
318
|
/** Spine policy for one digest-only classified field — the enclave-consumable
|
|
282
319
|
* projection of a ClassifiedFieldSpec (the enclave never imports with-*). */
|
|
283
320
|
export interface VdigFieldPolicy {
|
package/dist/kernel/vault.d.ts
CHANGED
|
@@ -44,7 +44,7 @@ import type { DerivationStrategy } from '../with-formula/derivations/types.js';
|
|
|
44
44
|
import { type BehaviorSummary } from '../with-shape/introspection/behaviors.js';
|
|
45
45
|
import type { JoinedHandle } from '../with-shape/satellites/types.js';
|
|
46
46
|
import { type PeriodRecord, type PeriodReopenEvent, type ClosePeriodOptions, type OpenPeriodOptions } from '../with-audit/periods/index.js';
|
|
47
|
-
import { type EnclaveKey } from '
|
|
47
|
+
import { type EnclaveKey } from '../capsule/index.js';
|
|
48
48
|
import type { RecipientSealer } from '../with-party/team/managed-secret.js';
|
|
49
49
|
import { type ExportBlobsOptions, type ExportBlobsHandle } from '../with-shape/blobs/export-blobs.js';
|
|
50
50
|
import { type CompactRunOptions, type CompactionResult } from '../with-shape/blobs/blob-compaction.js';
|
|
@@ -52,7 +52,7 @@ import { type IssueMagicLinkGrantOptions, type MagicLinkGrantRecord } from '../w
|
|
|
52
52
|
import { CustodyApi } from '../with-party/custody/index.js';
|
|
53
53
|
import { SchemaFenceController } from '../with-shape/schema-update/fence-controller.js';
|
|
54
54
|
import { type FenceDoc } from '../with-shape/schema-update/fence.js';
|
|
55
|
-
import type { RevocationList } from '
|
|
55
|
+
import type { RevocationList } from './attestation-types.js';
|
|
56
56
|
import type { DumpSchemaOptions, VaultSchemaSnapshot, SchemaIntrospection } from '../with-shape/introspection/types.js';
|
|
57
57
|
import type { VaultIntrospectState } from '../with-shape/introspection/walk.js';
|
|
58
58
|
import type { VaultMeta } from '../with-shape/introspection/meta.js';
|
|
@@ -43,4 +43,21 @@ export declare class WriteQueueTracker implements WriteQueue {
|
|
|
43
43
|
* error is re-thrown after the queue is decremented.
|
|
44
44
|
*/
|
|
45
45
|
track<R>(fn: () => Promise<R>): Promise<R>;
|
|
46
|
+
/**
|
|
47
|
+
* Run a write whose PRE-COMMIT phase may legitimately REFUSE — the schema
|
|
48
|
+
* gates, and a user `beforeWrite` hook that throws to abort. `fn` calls
|
|
49
|
+
* `committed()` at the point the store write itself begins.
|
|
50
|
+
*
|
|
51
|
+
* Before that point a rejection releases the depth it took but records NO
|
|
52
|
+
* queue error; after it, a rejection settles as a failure like `track`.
|
|
53
|
+
*
|
|
54
|
+
* #11 — why the phase is inside `depth` at all: `pending` is the documented
|
|
55
|
+
* shutdown guard (see the `writeQueue` getter's `beforeunload` example) and
|
|
56
|
+
* the schema fence does a fresh store read per write, so leaving the gates
|
|
57
|
+
* outside made `pending` read `false` during a real round-trip on every
|
|
58
|
+
* write. The refusal carve-out is what the old outside-the-queue placement
|
|
59
|
+
* was protecting ("a rejected write never counts toward depth") — it is kept
|
|
60
|
+
* deliberately, so a refused write cannot reject a concurrent `onFlush()`.
|
|
61
|
+
*/
|
|
62
|
+
trackGated<R>(fn: (committed: () => void) => Promise<R>): Promise<R>;
|
|
46
63
|
}
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
LedgerStore,
|
|
4
4
|
applyPatch,
|
|
5
5
|
computePatch
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-N7EVQD5S.js";
|
|
7
7
|
import {
|
|
8
8
|
LEDGER_COLLECTION,
|
|
9
9
|
LEDGER_DELTAS_COLLECTION
|
|
@@ -15,16 +15,15 @@ import {
|
|
|
15
15
|
paddedIndex,
|
|
16
16
|
parseIndex,
|
|
17
17
|
sha256Hex
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-244VXYPG.js";
|
|
18
|
+
} from "./chunk-6QVKPHBF.js";
|
|
19
|
+
import "./chunk-EZGV6F47.js";
|
|
20
|
+
import "./chunk-OIEO4WDL.js";
|
|
21
|
+
import "./chunk-Q2XRFWOI.js";
|
|
22
|
+
import "./chunk-NH2UOV3B.js";
|
|
23
|
+
import "./chunk-42ALPZ2B.js";
|
|
24
|
+
import "./chunk-QMWY2FDS.js";
|
|
25
|
+
import "./chunk-SV2PM2OY.js";
|
|
26
|
+
import "./chunk-37EPTBBR.js";
|
|
28
27
|
export {
|
|
29
28
|
LEDGER_COLLECTION,
|
|
30
29
|
LEDGER_DELTAS_COLLECTION,
|
|
@@ -38,4 +37,4 @@ export {
|
|
|
38
37
|
parseIndex,
|
|
39
38
|
sha256Hex
|
|
40
39
|
};
|
|
41
|
-
//# sourceMappingURL=ledger-
|
|
40
|
+
//# sourceMappingURL=ledger-5ZMGE44K.js.map
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import {
|
|
2
|
+
liberateVault
|
|
3
|
+
} from "./chunk-UIYESRD6.js";
|
|
4
|
+
import "./chunk-IMQKWR46.js";
|
|
5
|
+
import "./chunk-EJLV62NI.js";
|
|
6
|
+
import "./chunk-3XJQBBZD.js";
|
|
7
|
+
import "./chunk-KZXDLBY6.js";
|
|
8
|
+
import "./chunk-5A4345TG.js";
|
|
9
|
+
import "./chunk-GMKGGY7V.js";
|
|
10
|
+
import "./chunk-XSPFDUDG.js";
|
|
11
|
+
import "./chunk-LIOVX5TJ.js";
|
|
12
|
+
import "./chunk-FLPCETP6.js";
|
|
13
|
+
import "./chunk-EZGV6F47.js";
|
|
14
|
+
import "./chunk-OIEO4WDL.js";
|
|
15
|
+
import "./chunk-Q2XRFWOI.js";
|
|
16
|
+
import "./chunk-NH2UOV3B.js";
|
|
17
|
+
import "./chunk-42ALPZ2B.js";
|
|
18
|
+
import "./chunk-QMWY2FDS.js";
|
|
19
|
+
import "./chunk-SV2PM2OY.js";
|
|
20
|
+
import "./chunk-37EPTBBR.js";
|
|
21
|
+
export {
|
|
22
|
+
liberateVault
|
|
23
|
+
};
|
|
24
|
+
//# sourceMappingURL=liberate-WZSZM2W6.js.map
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import {
|
|
2
|
+
LinkEndpointError,
|
|
3
|
+
LinkSet
|
|
4
|
+
} from "./chunk-WXE4W2U6.js";
|
|
5
|
+
import {
|
|
6
|
+
LINK_COLLECTION_PREFIX,
|
|
7
|
+
LinkIntegrityError,
|
|
8
|
+
isLinkCollectionName,
|
|
9
|
+
linkCollectionName,
|
|
10
|
+
linkRowKey
|
|
11
|
+
} from "./chunk-Q4UHJ5SN.js";
|
|
12
|
+
import "./chunk-EZGV6F47.js";
|
|
13
|
+
import "./chunk-OIEO4WDL.js";
|
|
14
|
+
import "./chunk-Q2XRFWOI.js";
|
|
15
|
+
import "./chunk-NH2UOV3B.js";
|
|
16
|
+
import "./chunk-42ALPZ2B.js";
|
|
17
|
+
import "./chunk-QMWY2FDS.js";
|
|
18
|
+
import "./chunk-SV2PM2OY.js";
|
|
19
|
+
import "./chunk-37EPTBBR.js";
|
|
20
|
+
export {
|
|
21
|
+
LINK_COLLECTION_PREFIX,
|
|
22
|
+
LinkEndpointError,
|
|
23
|
+
LinkIntegrityError,
|
|
24
|
+
LinkSet,
|
|
25
|
+
isLinkCollectionName,
|
|
26
|
+
linkCollectionName,
|
|
27
|
+
linkRowKey
|
|
28
|
+
};
|
|
29
|
+
//# sourceMappingURL=link-set-MFXC24VK.js.map
|
|
@@ -9,16 +9,15 @@ import {
|
|
|
9
9
|
resolveManagedSecret,
|
|
10
10
|
saveSealedSecret,
|
|
11
11
|
sealRsaOaepTlv
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-244VXYPG.js";
|
|
12
|
+
} from "./chunk-3XJQBBZD.js";
|
|
13
|
+
import "./chunk-EZGV6F47.js";
|
|
14
|
+
import "./chunk-OIEO4WDL.js";
|
|
15
|
+
import "./chunk-Q2XRFWOI.js";
|
|
16
|
+
import "./chunk-NH2UOV3B.js";
|
|
17
|
+
import "./chunk-42ALPZ2B.js";
|
|
18
|
+
import "./chunk-QMWY2FDS.js";
|
|
19
|
+
import "./chunk-SV2PM2OY.js";
|
|
20
|
+
import "./chunk-37EPTBBR.js";
|
|
22
21
|
export {
|
|
23
22
|
MemoryRecipientSealer,
|
|
24
23
|
MemorySealer,
|
|
@@ -31,4 +30,4 @@ export {
|
|
|
31
30
|
saveSealedSecret,
|
|
32
31
|
sealRsaOaepTlv
|
|
33
32
|
};
|
|
34
|
-
//# sourceMappingURL=managed-secret-
|
|
33
|
+
//# sourceMappingURL=managed-secret-MFTFT22X.js.map
|