@noy-db/hub 0.9.0-pre.0 → 0.9.0-pre.1
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 +21 -0
- package/dist/api-6EFD43KN.js +18 -0
- package/dist/as/index.js +10 -10
- package/dist/at/index.js +8 -8
- package/dist/attestation/index.js +18 -18
- package/dist/{backup-7RKNZMQO.js → backup-RJBFQSHE.js} +92 -31
- package/dist/backup-RJBFQSHE.js.map +1 -0
- package/dist/blobs/index.js +12 -12
- package/dist/broker/index.js +13 -13
- package/dist/by/index.js +2 -2
- package/dist/capsule/contract.js +6 -6
- package/dist/capsule/enclave-aes/crypto.d.ts +18 -0
- package/dist/capsule/enclave-aes/index.d.ts +2 -2
- package/dist/capsule/enclave-aes/index.js +14 -8
- package/dist/capsule/enclave-aes/index.js.map +1 -1
- package/dist/capsule/index.d.ts +1 -1
- package/dist/{capsule-57BDK7LG.js → capsule-6LJAVQNM.js} +14 -8
- package/dist/cargo/index.js +35 -35
- package/dist/{chunk-72XBVN4J.js → chunk-25FXU6WS.js} +2 -2
- package/dist/chunk-25FXU6WS.js.map +1 -0
- package/dist/{chunk-PCYPXLEX.js → chunk-2DOCDOPL.js} +6 -6
- package/dist/{chunk-RIZTZJX6.js → chunk-2LBS62AC.js} +2 -2
- package/dist/{chunk-EUD3HQM4.js → chunk-2ST3WA3C.js} +4 -4
- package/dist/{chunk-APFFJN5T.js → chunk-3G3GOGZZ.js} +31 -34
- package/dist/chunk-3G3GOGZZ.js.map +1 -0
- package/dist/{chunk-4UIP3QNW.js → chunk-3YBIVLTC.js} +2 -2
- package/dist/{chunk-UNSQZSZP.js → chunk-4CHM2TRS.js} +2 -2
- package/dist/{chunk-NYJBYVBG.js → chunk-4CUJLEOA.js} +4 -4
- package/dist/{chunk-YFFMPZPY.js → chunk-4TG2ITRW.js} +2 -2
- package/dist/{chunk-ZHQJAV6D.js → chunk-5HQFROZS.js} +2 -2
- package/dist/{chunk-6Y5E4SJU.js → chunk-5ZVE3N5C.js} +5 -5
- package/dist/{chunk-EMAWOGVH.js → chunk-654RE5YC.js} +3 -3
- package/dist/{chunk-DHU2AQ6T.js → chunk-66GD7XXU.js} +2 -2
- package/dist/{chunk-JZ4EDEIP.js → chunk-72FQ46VW.js} +3 -3
- package/dist/{chunk-7BMOS4JQ.js → chunk-7JPA3LIH.js} +11 -11
- package/dist/{chunk-QGFEBNHO.js → chunk-7K42TSCY.js} +4 -4
- package/dist/{chunk-OJU67C23.js → chunk-7Q6IU3R7.js} +4 -4
- package/dist/{chunk-JBMMWYOH.js → chunk-7UHLO4ZN.js} +35 -2
- package/dist/chunk-7UHLO4ZN.js.map +1 -0
- package/dist/{chunk-GRS2HIV6.js → chunk-ADCXTW7L.js} +2 -2
- package/dist/{chunk-BJH77UY2.js → chunk-AGGPT4UE.js} +2 -2
- package/dist/{chunk-TZYTMZZY.js → chunk-AKIEBFIJ.js} +10 -10
- package/dist/{chunk-DL6BZKP3.js → chunk-B3B6HV5S.js} +2 -2
- package/dist/{chunk-5XONHAFD.js → chunk-B6EWMGFX.js} +2 -2
- package/dist/{chunk-TFWFPZRU.js → chunk-B7Y2BRQA.js} +11 -11
- package/dist/{chunk-TFWFPZRU.js.map → chunk-B7Y2BRQA.js.map} +1 -1
- package/dist/{chunk-MRJDLXI3.js → chunk-BFJE2GPP.js} +8 -8
- package/dist/{chunk-G46JSSVX.js → chunk-BJRKXNFP.js} +7 -7
- package/dist/{chunk-RNACRT5H.js → chunk-BPQ5CRJF.js} +2 -2
- package/dist/{chunk-BYHCKX73.js → chunk-BVRJYMFZ.js} +3 -3
- package/dist/{chunk-GETUTTZU.js → chunk-C4XV3PSJ.js} +4 -4
- package/dist/{chunk-XXNWU5QZ.js → chunk-DFC4WTJW.js} +2 -2
- package/dist/{chunk-YQFBH5ZJ.js → chunk-DMIEKD24.js} +3 -3
- package/dist/{chunk-2ZFD2UJC.js → chunk-DQAXA2GK.js} +9 -9
- package/dist/{chunk-ZVSKSUGI.js → chunk-DWCFGF2K.js} +5 -5
- package/dist/{chunk-5HNW4ZTA.js → chunk-E2C6FFSI.js} +6 -6
- package/dist/{chunk-2A56DSRI.js → chunk-EQ6C2ZPT.js} +17 -51
- package/dist/chunk-EQ6C2ZPT.js.map +1 -0
- package/dist/{chunk-G66YXUTY.js → chunk-EZOFTI4K.js} +3 -3
- package/dist/{chunk-6QLCS7ET.js → chunk-FMINS2B6.js} +2 -2
- package/dist/{chunk-6WS35E6X.js → chunk-FPF5HRBE.js} +2 -2
- package/dist/{chunk-7CT6SX4M.js → chunk-FZVCZEVI.js} +3 -3
- package/dist/{chunk-BUE7R3B5.js → chunk-GIQJGXV7.js} +2 -2
- package/dist/{chunk-GOJQ5DZA.js → chunk-GYZICGRU.js} +4 -4
- package/dist/chunk-GYZICGRU.js.map +1 -0
- package/dist/{chunk-C53ER7AG.js → chunk-H334G6KU.js} +2 -2
- package/dist/{chunk-GCUMOKTN.js → chunk-HE7EAHGS.js} +3 -3
- package/dist/{chunk-BU2ABHFW.js → chunk-HKB4HZDU.js} +4 -4
- package/dist/{chunk-5UUJE4FP.js → chunk-ICF3TIGY.js} +2 -2
- package/dist/{chunk-H3YM66EI.js → chunk-IF2M43G4.js} +2 -2
- package/dist/{chunk-VSUQI5Q6.js → chunk-IKPQ2GGB.js} +15 -1
- package/dist/chunk-IKPQ2GGB.js.map +1 -0
- package/dist/{chunk-Z3ZXVB2Y.js → chunk-IKS2CPAG.js} +12 -12
- package/dist/chunk-IKS2CPAG.js.map +1 -0
- package/dist/{chunk-IVMFIKNA.js → chunk-IMIQAGR7.js} +6 -6
- package/dist/{chunk-226V6XXJ.js → chunk-IQAJ4OR6.js} +6 -6
- package/dist/{chunk-ZMVSKYTJ.js → chunk-IUD7WU67.js} +10 -10
- package/dist/{chunk-OK57EATL.js → chunk-IVLRPRXM.js} +2 -2
- package/dist/{chunk-K673OO6B.js → chunk-JAQHWHUN.js} +4 -4
- package/dist/{chunk-MQ7YWBQ5.js → chunk-K4JSTGXT.js} +2 -2
- package/dist/{chunk-55P6OBB7.js → chunk-KN4LUMH6.js} +2 -2
- package/dist/{chunk-NZULV7LK.js → chunk-KZA3DITX.js} +4 -4
- package/dist/{chunk-ECGXA4LT.js → chunk-L2VM64HK.js} +2 -2
- package/dist/chunk-L4UL4IAR.js +55 -0
- package/dist/chunk-L4UL4IAR.js.map +1 -0
- package/dist/{chunk-XITHENBI.js → chunk-LUCQY3OM.js} +7 -7
- package/dist/{chunk-XITHENBI.js.map → chunk-LUCQY3OM.js.map} +1 -1
- package/dist/{chunk-LGGIFKJP.js → chunk-MAQBYBUX.js} +4 -4
- package/dist/{chunk-ABU6A4Z5.js → chunk-MBPZMZVB.js} +2 -2
- package/dist/{chunk-WFWFXDNS.js → chunk-MCNNZBG7.js} +2 -2
- package/dist/{chunk-NIXRB5BP.js → chunk-MLVPMDOZ.js} +2 -2
- package/dist/{chunk-BVF3SXD7.js → chunk-MMCN7TLK.js} +5 -5
- package/dist/{chunk-FSQNGPHH.js → chunk-MRCR7ZMC.js} +612 -175
- package/dist/chunk-MRCR7ZMC.js.map +1 -0
- package/dist/{chunk-PTJY5R3O.js → chunk-NCTN2FW4.js} +2 -2
- package/dist/{chunk-UOZOWN73.js → chunk-ND6S2DKC.js} +2 -2
- package/dist/{chunk-XKBTJGFP.js → chunk-NTVKHQ3L.js} +2 -2
- package/dist/{chunk-UHFGK6YA.js → chunk-NXQEOC3X.js} +3 -3
- package/dist/{chunk-UAKY6E4N.js → chunk-O2VQ3K36.js} +2 -2
- package/dist/{chunk-JSWKVZCR.js → chunk-OGKMRIIJ.js} +2 -2
- package/dist/{chunk-L2F3CFCH.js → chunk-ONZ3B5EW.js} +4 -4
- package/dist/{chunk-AJFPAHMW.js → chunk-OOPSMQX5.js} +3 -3
- package/dist/{chunk-QDHHHI5Q.js → chunk-OYEBSWLE.js} +5 -5
- package/dist/{chunk-ZWF3EWZA.js → chunk-P6FATPXQ.js} +2 -2
- package/dist/{chunk-QSHATAXJ.js → chunk-PLTIJDQN.js} +2 -2
- package/dist/{chunk-V55JASXO.js → chunk-PR7ILCIH.js} +3 -3
- package/dist/{chunk-X2RP4TO5.js → chunk-QE3TLZ6Z.js} +7 -7
- package/dist/{chunk-QXJXG7DN.js → chunk-QFW4MYGN.js} +5 -5
- package/dist/{chunk-2WJKJZSO.js → chunk-QHG7GQKM.js} +2 -2
- package/dist/{chunk-FZXRLNJO.js → chunk-QT5ITL25.js} +3 -3
- package/dist/{chunk-SNM7LSYG.js → chunk-R2ZULFXU.js} +4 -4
- package/dist/{chunk-SPPOUJLN.js → chunk-RRTQAQ3N.js} +2 -2
- package/dist/{chunk-JA25QG5M.js → chunk-RUE6TCES.js} +622 -119
- package/dist/chunk-RUE6TCES.js.map +1 -0
- package/dist/{chunk-L5A3KR7R.js → chunk-SALY3LIJ.js} +3 -3
- package/dist/{chunk-SFCD6OU7.js → chunk-SBAR5JQ6.js} +2 -2
- package/dist/{chunk-WHOKGHJ3.js → chunk-SCH2F7R2.js} +7 -7
- package/dist/{chunk-JPSL5GIZ.js → chunk-SOOAW6HK.js} +3 -3
- package/dist/{chunk-TMIJAR2X.js → chunk-T4VTRKCY.js} +3 -3
- package/dist/{chunk-5LMCVBMY.js → chunk-T5EXREMW.js} +5 -5
- package/dist/{chunk-YKGJ44Z7.js → chunk-TDJVQTXD.js} +3 -3
- package/dist/{chunk-PUBI455O.js → chunk-THQ3BHLM.js} +2 -2
- package/dist/{chunk-BMHQHH7Q.js → chunk-TLIFNRU5.js} +2 -2
- package/dist/{chunk-PGC35KXE.js → chunk-TRHUNPXP.js} +2 -2
- package/dist/{chunk-SWXLZ4HX.js → chunk-UL6MTRMJ.js} +8 -8
- package/dist/{delegation-ONLM4JFI.js → chunk-UNL6YGL5.js} +59 -16
- package/dist/chunk-UNL6YGL5.js.map +1 -0
- package/dist/{chunk-J4KAPKBJ.js → chunk-UORWAG7K.js} +2 -2
- package/dist/{chunk-45VHWE4C.js → chunk-V7AKGAXY.js} +271 -69
- package/dist/chunk-V7AKGAXY.js.map +1 -0
- package/dist/{chunk-XXQ5XIYY.js → chunk-VLQ6KT7F.js} +2 -2
- package/dist/{chunk-PT2YCQVK.js → chunk-VP37VUKQ.js} +4 -4
- package/dist/{chunk-QGSNJD3B.js → chunk-WBUHHMLN.js} +2 -2
- package/dist/{chunk-4J3MNVVX.js → chunk-WRLWEYHY.js} +7 -1
- package/dist/{chunk-4J3MNVVX.js.map → chunk-WRLWEYHY.js.map} +1 -1
- package/dist/{chunk-PFCTSXHU.js → chunk-X6Z2SIRF.js} +2 -2
- package/dist/{chunk-XA34THLF.js → chunk-XLKWF3L4.js} +4 -4
- package/dist/{chunk-K7RW7FI4.js → chunk-XPNJH7GN.js} +5 -5
- package/dist/{chunk-RDOEOPOI.js → chunk-XPW7T2GN.js} +5 -5
- package/dist/{chunk-2ELOCEXE.js → chunk-XX4R7TUB.js} +1 -1
- package/dist/chunk-XX4R7TUB.js.map +1 -0
- package/dist/{chunk-EA4VDI5D.js → chunk-Y55XHMQB.js} +4 -4
- package/dist/{chunk-CB4467G3.js → chunk-YH4OUOSI.js} +33 -7
- package/dist/chunk-YH4OUOSI.js.map +1 -0
- package/dist/{chunk-BNFNQNEP.js → chunk-YJGKOSQD.js} +2 -2
- package/dist/{chunk-3V6LZHUO.js → chunk-Z3STG43F.js} +2 -2
- package/dist/{chunk-ZBUAX4EF.js → chunk-ZD7WFMV2.js} +2 -2
- package/dist/{chunk-OM3SEDI4.js → chunk-ZF6JECDT.js} +4 -4
- package/dist/{chunk-3Y5JLSXS.js → chunk-ZF7KNSLU.js} +2 -2
- package/dist/{chunk-B65CC6Z6.js → chunk-ZGKODRGB.js} +2 -2
- package/dist/{chunk-D4V5JJAK.js → chunk-ZNEKQFGF.js} +4 -4
- package/dist/{chunk-D5A3GCZ4.js → chunk-ZUTUNVFD.js} +3 -3
- package/dist/{chunk-G5EDYVSE.js → chunk-ZWMOHANW.js} +5 -5
- package/dist/{chunk-CAD7N6HQ.js → chunk-ZZZ4VCY2.js} +10 -10
- package/dist/chunk-ZZZ4VCY2.js.map +1 -0
- package/dist/classified/index.js +5 -5
- package/dist/{classified-marker-KHDOYIJB.js → classified-marker-WKP33U2R.js} +3 -3
- package/dist/collection-facade-COSGZKLC.js +41 -0
- package/dist/{computed-XMFTHAXV.js → computed-WN6V53ZV.js} +3 -3
- package/dist/consent/index.js +8 -8
- package/dist/cover/index.js +8 -8
- package/dist/custody/index.js +12 -12
- package/dist/{dead-filter-CXV5NS67.js → dead-filter-43WL3Y5H.js} +10 -10
- package/dist/debug/index.js +7 -7
- package/dist/delegation-5UWT4JGT.js +26 -0
- package/dist/derivations/index.js +22 -22
- package/dist/derive-IL5JNLEE.js +20 -0
- package/dist/directory/index.js +9 -9
- package/dist/{dispatch-2MQFMEGY.js → dispatch-LOQQD5JK.js} +19 -19
- package/dist/{dispatch-OFDA4WQV.js → dispatch-SHKTG57L.js} +5 -5
- package/dist/executor-6PQ7WAGV.js +35 -0
- package/dist/executor-6ZPQA6HS.js +8 -0
- package/dist/executor-OXRA64TY.js +8 -0
- package/dist/export-accessible-XG3FKJWW.js +22 -0
- package/dist/extract-partition-33747NY5.js +35 -0
- package/dist/{fanout-sidecar-BO67PCPO.js → fanout-sidecar-NEB6IYV7.js} +8 -8
- package/dist/find-VW543G3J.js +10 -0
- package/dist/forget/index.js +8 -8
- package/dist/guards/index.js +4 -4
- package/dist/history/index.js +15 -13
- package/dist/history/index.js.map +1 -1
- package/dist/i18n/index.js +13 -13
- package/dist/index.d.ts +3 -2
- package/dist/index.js +111 -107
- package/dist/index.js.map +1 -1
- package/dist/indexing/index.js +5 -5
- package/dist/introspection/index.js +10 -10
- package/dist/issue-4ZPSY44M.js +19 -0
- package/dist/kernel/collection.d.ts +85 -6
- package/dist/kernel/constants.d.ts +7 -0
- package/dist/kernel/errors.d.ts +9 -0
- package/dist/kernel/merge-authority.d.ts +5 -1
- package/dist/kernel/noydb.d.ts +116 -21
- package/dist/kernel/rejection-seal.d.ts +13 -0
- package/dist/kernel/sync-wiring.d.ts +55 -0
- package/dist/kernel/types.d.ts +370 -8
- package/dist/kernel/vault.d.ts +39 -5
- package/dist/{ledger-MSJGWKGW.js → ledger-MZ25UFT2.js} +10 -10
- package/dist/liberate-OJIP2ZFX.js +25 -0
- package/dist/{link-set-QXXSPPHL.js → link-set-4FRRAVTH.js} +10 -10
- package/dist/{managed-secret-VSK7ANQI.js → managed-secret-SQWO2EUR.js} +9 -9
- package/dist/materialized-views/index.js +25 -25
- package/dist/{migrate-cek-GEBFYBDC.js → migrate-cek-JWEM4RP6.js} +2 -2
- package/dist/money/index.js +5 -5
- package/dist/noydb-U62OVKXB.js +100 -0
- package/dist/on/index.js +12 -12
- package/dist/overlay-views/index.js +4 -4
- package/dist/periods/index.js +11 -11
- package/dist/pod/index.js +66 -64
- package/dist/{pod-handle-YE7CT66T.js → pod-handle-R6Y4MILX.js} +8 -8
- package/dist/policy/index.js +9 -9
- package/dist/port/with/admission-authority.d.ts +34 -0
- package/dist/port/with/broker-strategy.d.ts +10 -0
- package/dist/port/with/rejection-courier.d.ts +37 -0
- package/dist/port/with/restore-host.d.ts +33 -0
- package/dist/port/with/service-bus.d.ts +18 -0
- package/dist/port/with/team-strategy.d.ts +2 -2
- package/dist/port/with/write-hooks.d.ts +2 -0
- package/dist/portability/index.js +8 -8
- package/dist/{post-register-QC5TEAW3.js → post-register-GRVQHBOH.js} +6 -6
- 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-YJ5YLQ36.js +30 -0
- package/dist/registry-ICOHBQFD.js +8 -0
- package/dist/registry-MJ7MWCSW.js +35 -0
- package/dist/registry-MVEKKGWL.js +23 -0
- package/dist/registry-XP744FAP.js +8 -0
- package/dist/request-withdrawal-LSU4G6W3.js +28 -0
- package/dist/restore-to-DVBHAQAA.js +66 -0
- package/dist/restore-to-DVBHAQAA.js.map +1 -0
- package/dist/{reveal-YQTRNQFH.js → reveal-AIHOIK2N.js} +7 -7
- package/dist/revoke-QUT7WWG3.js +24 -0
- package/dist/satellites/index.js +1 -1
- package/dist/schema-update/index.js +2 -2
- package/dist/sealed-record/index.js +11 -11
- package/dist/search/index.js +4 -4
- package/dist/{seed-JMQTRKRE.js → seed-GFLA4FCK.js} +33 -18
- package/dist/seed-GFLA4FCK.js.map +1 -0
- package/dist/sequence/index.js +8 -8
- package/dist/session/index.js +8 -8
- package/dist/shadow/index.js +2 -2
- package/dist/signer-NYR4I3FO.js +23 -0
- package/dist/snapshots/index.js +9 -9
- package/dist/{stale-SKV33PBU.js → stale-PIJPAL5T.js} +9 -9
- package/dist/storage-VH6SPXHC.js +21 -0
- package/dist/{store-coordination-provider-Z6HKPOGM.js → store-coordination-provider-2KSHCOPU.js} +9 -9
- package/dist/sync/index.js +16 -16
- package/dist/sync/index.js.map +1 -1
- package/dist/team/index.js +15 -15
- package/dist/tiers/index.js +10 -10
- 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 +7 -7
- package/dist/{verify-KWQIWLGH.js → verify-PCFS4PNS.js} +7 -7
- package/dist/walk-OZCN6LJS.js +20 -0
- package/dist/with-audit/guards/types.d.ts +2 -0
- package/dist/with-audit/tiers/index.d.ts +5 -5
- package/dist/with-commit/history/history.d.ts +16 -0
- package/dist/with-commit/history/restore-to.d.ts +40 -0
- package/dist/with-party/broker/seed.d.ts +4 -0
- package/dist/with-party/custody/strategy.d.ts +2 -2
- package/dist/with-party/team/delegation.d.ts +41 -11
- package/dist/with-party/team/index.d.ts +2 -0
- package/dist/with-party/team/keyring.d.ts +132 -3
- package/dist/with-party/team/noydb-facade.d.ts +14 -2
- package/dist/with-party/team/roster-tag.d.ts +1 -1
- package/dist/with-pod/backup.d.ts +9 -17
- package/dist/with-sync/active.d.ts +28 -1
- package/dist/with-sync/engine.d.ts +59 -2
- package/dist/with-sync/index.d.ts +1 -0
- package/dist/with-sync/reserved-mirror.d.ts +27 -4
- package/dist/with-sync/strategy.d.ts +2 -0
- package/dist/withdraw-accessible-MTFP7OIB.js +25 -0
- package/dist/withdraw-accessible-MTFP7OIB.js.map +1 -0
- package/package.json +3 -3
- package/dist/api-MSJXVYQG.js +0 -18
- package/dist/backup-7RKNZMQO.js.map +0 -1
- package/dist/chunk-2A56DSRI.js.map +0 -1
- package/dist/chunk-2ELOCEXE.js.map +0 -1
- package/dist/chunk-45VHWE4C.js.map +0 -1
- package/dist/chunk-72XBVN4J.js.map +0 -1
- package/dist/chunk-APFFJN5T.js.map +0 -1
- package/dist/chunk-CAD7N6HQ.js.map +0 -1
- package/dist/chunk-CB4467G3.js.map +0 -1
- package/dist/chunk-FSQNGPHH.js.map +0 -1
- package/dist/chunk-GOJQ5DZA.js.map +0 -1
- package/dist/chunk-JA25QG5M.js.map +0 -1
- package/dist/chunk-JBMMWYOH.js.map +0 -1
- package/dist/chunk-VSUQI5Q6.js.map +0 -1
- package/dist/chunk-Z3ZXVB2Y.js.map +0 -1
- package/dist/collection-facade-LZIF7GWD.js +0 -41
- package/dist/delegation-ONLM4JFI.js.map +0 -1
- package/dist/derive-3YSIS36W.js +0 -20
- package/dist/executor-E6YDJ7YA.js +0 -8
- package/dist/executor-NJX3YQQ4.js +0 -35
- package/dist/executor-WWM3DD4P.js +0 -8
- package/dist/export-accessible-RLHU5G4W.js +0 -22
- package/dist/extract-partition-QII2EDCS.js +0 -35
- package/dist/find-6M7GYDUZ.js +0 -10
- package/dist/issue-LPEEEMPP.js +0 -19
- package/dist/liberate-LEKDYKTC.js +0 -25
- package/dist/noydb-F2AUF6KL.js +0 -98
- package/dist/register-SN72QALV.js +0 -30
- package/dist/registry-253FF7C6.js +0 -35
- package/dist/registry-3AZWQTDT.js +0 -23
- package/dist/registry-7UEBTHWG.js +0 -8
- package/dist/registry-IVJ67NFQ.js +0 -8
- package/dist/request-withdrawal-UKVJZKX2.js +0 -28
- package/dist/revoke-G2KXJQA5.js +0 -24
- package/dist/seed-JMQTRKRE.js.map +0 -1
- package/dist/signer-IUIYR3CX.js +0 -23
- package/dist/storage-NPBYP2SM.js +0 -21
- package/dist/walk-F4OLXI5H.js +0 -20
- package/dist/withdraw-accessible-ZKPLZ66E.js +0 -25
- /package/dist/{api-MSJXVYQG.js.map → api-6EFD43KN.js.map} +0 -0
- /package/dist/{capsule-57BDK7LG.js.map → capsule-6LJAVQNM.js.map} +0 -0
- /package/dist/{chunk-PCYPXLEX.js.map → chunk-2DOCDOPL.js.map} +0 -0
- /package/dist/{chunk-RIZTZJX6.js.map → chunk-2LBS62AC.js.map} +0 -0
- /package/dist/{chunk-EUD3HQM4.js.map → chunk-2ST3WA3C.js.map} +0 -0
- /package/dist/{chunk-4UIP3QNW.js.map → chunk-3YBIVLTC.js.map} +0 -0
- /package/dist/{chunk-UNSQZSZP.js.map → chunk-4CHM2TRS.js.map} +0 -0
- /package/dist/{chunk-NYJBYVBG.js.map → chunk-4CUJLEOA.js.map} +0 -0
- /package/dist/{chunk-YFFMPZPY.js.map → chunk-4TG2ITRW.js.map} +0 -0
- /package/dist/{chunk-ZHQJAV6D.js.map → chunk-5HQFROZS.js.map} +0 -0
- /package/dist/{chunk-6Y5E4SJU.js.map → chunk-5ZVE3N5C.js.map} +0 -0
- /package/dist/{chunk-EMAWOGVH.js.map → chunk-654RE5YC.js.map} +0 -0
- /package/dist/{chunk-DHU2AQ6T.js.map → chunk-66GD7XXU.js.map} +0 -0
- /package/dist/{chunk-JZ4EDEIP.js.map → chunk-72FQ46VW.js.map} +0 -0
- /package/dist/{chunk-7BMOS4JQ.js.map → chunk-7JPA3LIH.js.map} +0 -0
- /package/dist/{chunk-QGFEBNHO.js.map → chunk-7K42TSCY.js.map} +0 -0
- /package/dist/{chunk-OJU67C23.js.map → chunk-7Q6IU3R7.js.map} +0 -0
- /package/dist/{chunk-GRS2HIV6.js.map → chunk-ADCXTW7L.js.map} +0 -0
- /package/dist/{chunk-BJH77UY2.js.map → chunk-AGGPT4UE.js.map} +0 -0
- /package/dist/{chunk-TZYTMZZY.js.map → chunk-AKIEBFIJ.js.map} +0 -0
- /package/dist/{chunk-DL6BZKP3.js.map → chunk-B3B6HV5S.js.map} +0 -0
- /package/dist/{chunk-5XONHAFD.js.map → chunk-B6EWMGFX.js.map} +0 -0
- /package/dist/{chunk-MRJDLXI3.js.map → chunk-BFJE2GPP.js.map} +0 -0
- /package/dist/{chunk-G46JSSVX.js.map → chunk-BJRKXNFP.js.map} +0 -0
- /package/dist/{chunk-RNACRT5H.js.map → chunk-BPQ5CRJF.js.map} +0 -0
- /package/dist/{chunk-BYHCKX73.js.map → chunk-BVRJYMFZ.js.map} +0 -0
- /package/dist/{chunk-GETUTTZU.js.map → chunk-C4XV3PSJ.js.map} +0 -0
- /package/dist/{chunk-XXNWU5QZ.js.map → chunk-DFC4WTJW.js.map} +0 -0
- /package/dist/{chunk-YQFBH5ZJ.js.map → chunk-DMIEKD24.js.map} +0 -0
- /package/dist/{chunk-2ZFD2UJC.js.map → chunk-DQAXA2GK.js.map} +0 -0
- /package/dist/{chunk-ZVSKSUGI.js.map → chunk-DWCFGF2K.js.map} +0 -0
- /package/dist/{chunk-5HNW4ZTA.js.map → chunk-E2C6FFSI.js.map} +0 -0
- /package/dist/{chunk-G66YXUTY.js.map → chunk-EZOFTI4K.js.map} +0 -0
- /package/dist/{chunk-6QLCS7ET.js.map → chunk-FMINS2B6.js.map} +0 -0
- /package/dist/{chunk-6WS35E6X.js.map → chunk-FPF5HRBE.js.map} +0 -0
- /package/dist/{chunk-7CT6SX4M.js.map → chunk-FZVCZEVI.js.map} +0 -0
- /package/dist/{chunk-BUE7R3B5.js.map → chunk-GIQJGXV7.js.map} +0 -0
- /package/dist/{chunk-C53ER7AG.js.map → chunk-H334G6KU.js.map} +0 -0
- /package/dist/{chunk-GCUMOKTN.js.map → chunk-HE7EAHGS.js.map} +0 -0
- /package/dist/{chunk-BU2ABHFW.js.map → chunk-HKB4HZDU.js.map} +0 -0
- /package/dist/{chunk-5UUJE4FP.js.map → chunk-ICF3TIGY.js.map} +0 -0
- /package/dist/{chunk-H3YM66EI.js.map → chunk-IF2M43G4.js.map} +0 -0
- /package/dist/{chunk-IVMFIKNA.js.map → chunk-IMIQAGR7.js.map} +0 -0
- /package/dist/{chunk-226V6XXJ.js.map → chunk-IQAJ4OR6.js.map} +0 -0
- /package/dist/{chunk-ZMVSKYTJ.js.map → chunk-IUD7WU67.js.map} +0 -0
- /package/dist/{chunk-OK57EATL.js.map → chunk-IVLRPRXM.js.map} +0 -0
- /package/dist/{chunk-K673OO6B.js.map → chunk-JAQHWHUN.js.map} +0 -0
- /package/dist/{chunk-MQ7YWBQ5.js.map → chunk-K4JSTGXT.js.map} +0 -0
- /package/dist/{chunk-55P6OBB7.js.map → chunk-KN4LUMH6.js.map} +0 -0
- /package/dist/{chunk-NZULV7LK.js.map → chunk-KZA3DITX.js.map} +0 -0
- /package/dist/{chunk-ECGXA4LT.js.map → chunk-L2VM64HK.js.map} +0 -0
- /package/dist/{chunk-LGGIFKJP.js.map → chunk-MAQBYBUX.js.map} +0 -0
- /package/dist/{chunk-ABU6A4Z5.js.map → chunk-MBPZMZVB.js.map} +0 -0
- /package/dist/{chunk-WFWFXDNS.js.map → chunk-MCNNZBG7.js.map} +0 -0
- /package/dist/{chunk-NIXRB5BP.js.map → chunk-MLVPMDOZ.js.map} +0 -0
- /package/dist/{chunk-BVF3SXD7.js.map → chunk-MMCN7TLK.js.map} +0 -0
- /package/dist/{chunk-PTJY5R3O.js.map → chunk-NCTN2FW4.js.map} +0 -0
- /package/dist/{chunk-UOZOWN73.js.map → chunk-ND6S2DKC.js.map} +0 -0
- /package/dist/{chunk-XKBTJGFP.js.map → chunk-NTVKHQ3L.js.map} +0 -0
- /package/dist/{chunk-UHFGK6YA.js.map → chunk-NXQEOC3X.js.map} +0 -0
- /package/dist/{chunk-UAKY6E4N.js.map → chunk-O2VQ3K36.js.map} +0 -0
- /package/dist/{chunk-JSWKVZCR.js.map → chunk-OGKMRIIJ.js.map} +0 -0
- /package/dist/{chunk-L2F3CFCH.js.map → chunk-ONZ3B5EW.js.map} +0 -0
- /package/dist/{chunk-AJFPAHMW.js.map → chunk-OOPSMQX5.js.map} +0 -0
- /package/dist/{chunk-QDHHHI5Q.js.map → chunk-OYEBSWLE.js.map} +0 -0
- /package/dist/{chunk-ZWF3EWZA.js.map → chunk-P6FATPXQ.js.map} +0 -0
- /package/dist/{chunk-QSHATAXJ.js.map → chunk-PLTIJDQN.js.map} +0 -0
- /package/dist/{chunk-V55JASXO.js.map → chunk-PR7ILCIH.js.map} +0 -0
- /package/dist/{chunk-X2RP4TO5.js.map → chunk-QE3TLZ6Z.js.map} +0 -0
- /package/dist/{chunk-QXJXG7DN.js.map → chunk-QFW4MYGN.js.map} +0 -0
- /package/dist/{chunk-2WJKJZSO.js.map → chunk-QHG7GQKM.js.map} +0 -0
- /package/dist/{chunk-FZXRLNJO.js.map → chunk-QT5ITL25.js.map} +0 -0
- /package/dist/{chunk-SNM7LSYG.js.map → chunk-R2ZULFXU.js.map} +0 -0
- /package/dist/{chunk-SPPOUJLN.js.map → chunk-RRTQAQ3N.js.map} +0 -0
- /package/dist/{chunk-L5A3KR7R.js.map → chunk-SALY3LIJ.js.map} +0 -0
- /package/dist/{chunk-SFCD6OU7.js.map → chunk-SBAR5JQ6.js.map} +0 -0
- /package/dist/{chunk-WHOKGHJ3.js.map → chunk-SCH2F7R2.js.map} +0 -0
- /package/dist/{chunk-JPSL5GIZ.js.map → chunk-SOOAW6HK.js.map} +0 -0
- /package/dist/{chunk-TMIJAR2X.js.map → chunk-T4VTRKCY.js.map} +0 -0
- /package/dist/{chunk-5LMCVBMY.js.map → chunk-T5EXREMW.js.map} +0 -0
- /package/dist/{chunk-YKGJ44Z7.js.map → chunk-TDJVQTXD.js.map} +0 -0
- /package/dist/{chunk-PUBI455O.js.map → chunk-THQ3BHLM.js.map} +0 -0
- /package/dist/{chunk-BMHQHH7Q.js.map → chunk-TLIFNRU5.js.map} +0 -0
- /package/dist/{chunk-PGC35KXE.js.map → chunk-TRHUNPXP.js.map} +0 -0
- /package/dist/{chunk-SWXLZ4HX.js.map → chunk-UL6MTRMJ.js.map} +0 -0
- /package/dist/{chunk-J4KAPKBJ.js.map → chunk-UORWAG7K.js.map} +0 -0
- /package/dist/{chunk-XXQ5XIYY.js.map → chunk-VLQ6KT7F.js.map} +0 -0
- /package/dist/{chunk-PT2YCQVK.js.map → chunk-VP37VUKQ.js.map} +0 -0
- /package/dist/{chunk-QGSNJD3B.js.map → chunk-WBUHHMLN.js.map} +0 -0
- /package/dist/{chunk-PFCTSXHU.js.map → chunk-X6Z2SIRF.js.map} +0 -0
- /package/dist/{chunk-XA34THLF.js.map → chunk-XLKWF3L4.js.map} +0 -0
- /package/dist/{chunk-K7RW7FI4.js.map → chunk-XPNJH7GN.js.map} +0 -0
- /package/dist/{chunk-RDOEOPOI.js.map → chunk-XPW7T2GN.js.map} +0 -0
- /package/dist/{chunk-EA4VDI5D.js.map → chunk-Y55XHMQB.js.map} +0 -0
- /package/dist/{chunk-BNFNQNEP.js.map → chunk-YJGKOSQD.js.map} +0 -0
- /package/dist/{chunk-3V6LZHUO.js.map → chunk-Z3STG43F.js.map} +0 -0
- /package/dist/{chunk-ZBUAX4EF.js.map → chunk-ZD7WFMV2.js.map} +0 -0
- /package/dist/{chunk-OM3SEDI4.js.map → chunk-ZF6JECDT.js.map} +0 -0
- /package/dist/{chunk-3Y5JLSXS.js.map → chunk-ZF7KNSLU.js.map} +0 -0
- /package/dist/{chunk-B65CC6Z6.js.map → chunk-ZGKODRGB.js.map} +0 -0
- /package/dist/{chunk-D4V5JJAK.js.map → chunk-ZNEKQFGF.js.map} +0 -0
- /package/dist/{chunk-D5A3GCZ4.js.map → chunk-ZUTUNVFD.js.map} +0 -0
- /package/dist/{chunk-G5EDYVSE.js.map → chunk-ZWMOHANW.js.map} +0 -0
- /package/dist/{classified-marker-KHDOYIJB.js.map → classified-marker-WKP33U2R.js.map} +0 -0
- /package/dist/{collection-facade-LZIF7GWD.js.map → collection-facade-COSGZKLC.js.map} +0 -0
- /package/dist/{computed-XMFTHAXV.js.map → computed-WN6V53ZV.js.map} +0 -0
- /package/dist/{dead-filter-CXV5NS67.js.map → dead-filter-43WL3Y5H.js.map} +0 -0
- /package/dist/{derive-3YSIS36W.js.map → delegation-5UWT4JGT.js.map} +0 -0
- /package/dist/{executor-E6YDJ7YA.js.map → derive-IL5JNLEE.js.map} +0 -0
- /package/dist/{dispatch-2MQFMEGY.js.map → dispatch-LOQQD5JK.js.map} +0 -0
- /package/dist/{dispatch-OFDA4WQV.js.map → dispatch-SHKTG57L.js.map} +0 -0
- /package/dist/{executor-NJX3YQQ4.js.map → executor-6PQ7WAGV.js.map} +0 -0
- /package/dist/{executor-WWM3DD4P.js.map → executor-6ZPQA6HS.js.map} +0 -0
- /package/dist/{export-accessible-RLHU5G4W.js.map → executor-OXRA64TY.js.map} +0 -0
- /package/dist/{extract-partition-QII2EDCS.js.map → export-accessible-XG3FKJWW.js.map} +0 -0
- /package/dist/{find-6M7GYDUZ.js.map → extract-partition-33747NY5.js.map} +0 -0
- /package/dist/{fanout-sidecar-BO67PCPO.js.map → fanout-sidecar-NEB6IYV7.js.map} +0 -0
- /package/dist/{issue-LPEEEMPP.js.map → find-VW543G3J.js.map} +0 -0
- /package/dist/{ledger-MSJGWKGW.js.map → issue-4ZPSY44M.js.map} +0 -0
- /package/dist/{liberate-LEKDYKTC.js.map → ledger-MZ25UFT2.js.map} +0 -0
- /package/dist/{link-set-QXXSPPHL.js.map → liberate-OJIP2ZFX.js.map} +0 -0
- /package/dist/{managed-secret-VSK7ANQI.js.map → link-set-4FRRAVTH.js.map} +0 -0
- /package/dist/{noydb-F2AUF6KL.js.map → managed-secret-SQWO2EUR.js.map} +0 -0
- /package/dist/{migrate-cek-GEBFYBDC.js.map → migrate-cek-JWEM4RP6.js.map} +0 -0
- /package/dist/{register-SN72QALV.js.map → noydb-U62OVKXB.js.map} +0 -0
- /package/dist/{pod-handle-YE7CT66T.js.map → pod-handle-R6Y4MILX.js.map} +0 -0
- /package/dist/{post-register-QC5TEAW3.js.map → post-register-GRVQHBOH.js.map} +0 -0
- /package/dist/{registry-253FF7C6.js.map → register-YJ5YLQ36.js.map} +0 -0
- /package/dist/{registry-3AZWQTDT.js.map → registry-ICOHBQFD.js.map} +0 -0
- /package/dist/{registry-7UEBTHWG.js.map → registry-MJ7MWCSW.js.map} +0 -0
- /package/dist/{registry-IVJ67NFQ.js.map → registry-MVEKKGWL.js.map} +0 -0
- /package/dist/{request-withdrawal-UKVJZKX2.js.map → registry-XP744FAP.js.map} +0 -0
- /package/dist/{revoke-G2KXJQA5.js.map → request-withdrawal-LSU4G6W3.js.map} +0 -0
- /package/dist/{reveal-YQTRNQFH.js.map → reveal-AIHOIK2N.js.map} +0 -0
- /package/dist/{signer-IUIYR3CX.js.map → revoke-QUT7WWG3.js.map} +0 -0
- /package/dist/{stale-SKV33PBU.js.map → signer-NYR4I3FO.js.map} +0 -0
- /package/dist/{storage-NPBYP2SM.js.map → stale-PIJPAL5T.js.map} +0 -0
- /package/dist/{walk-F4OLXI5H.js.map → storage-VH6SPXHC.js.map} +0 -0
- /package/dist/{store-coordination-provider-Z6HKPOGM.js.map → store-coordination-provider-2KSHCOPU.js.map} +0 -0
- /package/dist/{verify-KWQIWLGH.js.map → verify-PCFS4PNS.js.map} +0 -0
- /package/dist/{withdraw-accessible-ZKPLZ66E.js.map → walk-OZCN6LJS.js.map} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AttestationNotEnabledError
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-IKPQ2GGB.js";
|
|
4
4
|
|
|
5
5
|
// src/with-audit/attestation/strategy.ts
|
|
6
6
|
var NO_ATTESTATION = {
|
|
@@ -27,4 +27,4 @@ var NO_ATTESTATION = {
|
|
|
27
27
|
export {
|
|
28
28
|
NO_ATTESTATION
|
|
29
29
|
};
|
|
30
|
-
//# sourceMappingURL=chunk-
|
|
30
|
+
//# sourceMappingURL=chunk-FMINS2B6.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ValidationError
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-IKPQ2GGB.js";
|
|
4
4
|
|
|
5
5
|
// src/with-audit/periods/window.ts
|
|
6
6
|
var PERIODS_COLLECTION = "_periods";
|
|
@@ -23,4 +23,4 @@ export {
|
|
|
23
23
|
PERIOD_REOPENS_COLLECTION,
|
|
24
24
|
periodExclusiveUpperBound
|
|
25
25
|
};
|
|
26
|
-
//# sourceMappingURL=chunk-
|
|
26
|
+
//# sourceMappingURL=chunk-FPF5HRBE.js.map
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
ConflictError,
|
|
7
7
|
InvariantError,
|
|
8
8
|
ValidationError
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-IKPQ2GGB.js";
|
|
10
10
|
|
|
11
11
|
// src/with-commit/tx/atomic-eligibility.ts
|
|
12
12
|
function canCommitAtomically(db, ctx) {
|
|
@@ -322,7 +322,7 @@ async function runTransaction(db, fn, options, txInvariants) {
|
|
|
322
322
|
db._clearActiveTxContext(ctx);
|
|
323
323
|
}
|
|
324
324
|
if (ctx._amendment) {
|
|
325
|
-
const { GuardExecutor } = await import("./executor-
|
|
325
|
+
const { GuardExecutor } = await import("./executor-OXRA64TY.js");
|
|
326
326
|
try {
|
|
327
327
|
for (const [vaultName, v] of ctx._amendmentVaults) {
|
|
328
328
|
const registry = v._getGuardRegistry();
|
|
@@ -500,4 +500,4 @@ export {
|
|
|
500
500
|
TxCollection,
|
|
501
501
|
runTransaction
|
|
502
502
|
};
|
|
503
|
-
//# sourceMappingURL=chunk-
|
|
503
|
+
//# sourceMappingURL=chunk-FZVCZEVI.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
UnsafePatternError
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-IKPQ2GGB.js";
|
|
4
4
|
|
|
5
5
|
// src/kernel/query/predicate.ts
|
|
6
6
|
function readPath(record, path) {
|
|
@@ -272,4 +272,4 @@ export {
|
|
|
272
272
|
evaluateClause,
|
|
273
273
|
hasFnClause
|
|
274
274
|
};
|
|
275
|
-
//# sourceMappingURL=chunk-
|
|
275
|
+
//# sourceMappingURL=chunk-GIQJGXV7.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
grant,
|
|
3
3
|
revoke
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-V7AKGAXY.js";
|
|
5
5
|
import {
|
|
6
6
|
CustodyNotEnabledError
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-IKPQ2GGB.js";
|
|
8
8
|
|
|
9
9
|
// src/with-party/custody/active.ts
|
|
10
10
|
function withCustody() {
|
|
@@ -16,7 +16,7 @@ function withCustody() {
|
|
|
16
16
|
return host._revokeCustodianImpl(revoke, vault, options, factors);
|
|
17
17
|
},
|
|
18
18
|
async liberate(vault, opts) {
|
|
19
|
-
const { liberateVault } = await import("./liberate-
|
|
19
|
+
const { liberateVault } = await import("./liberate-OJIP2ZFX.js");
|
|
20
20
|
return liberateVault(vault, opts);
|
|
21
21
|
}
|
|
22
22
|
};
|
|
@@ -74,4 +74,4 @@ export {
|
|
|
74
74
|
withCustody,
|
|
75
75
|
CustodyApi
|
|
76
76
|
};
|
|
77
|
-
//# sourceMappingURL=chunk-
|
|
77
|
+
//# sourceMappingURL=chunk-GYZICGRU.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/with-party/custody/active.ts","../src/with-party/custody/strategy.ts","../src/with-party/custody/index.ts"],"sourcesContent":["/**\n * Enable the sovereign-custody (FR-6) capability.\n * Pass to `createNoydb({ custodyStrategy: withCustody() })` to make\n * `db.grantCustodian` / `db.revokeCustodian` (and the `vault.custody.*` facade\n * that delegates to them) plus `vault.custody.liberate()` live. The heavy\n * `liberateVault` ceremony is dynamically imported here, so it is reached only\n * via opt-in; grant/revoke run the host's own gate + keyring engine.\n */\nimport type { CustodyStrategy } from './strategy.js'\nimport { grant as grantEngine, revoke as revokeEngine } from '../team/keyring.js'\n\nexport function withCustody(): CustodyStrategy {\n return {\n async grantCustodian(host, vault, options, factors) {\n return host._grantCustodianImpl(grantEngine, vault, options, factors)\n },\n async revokeCustodian(host, vault, options, factors) {\n return host._revokeCustodianImpl(revokeEngine, vault, options, factors)\n },\n async liberate(vault, opts) {\n const { liberateVault } = await import('./liberate.js')\n return liberateVault(vault, opts)\n },\n }\n}\n","/**\n * Sovereign-custody (FR-6) capability strategy — the three on-demand\n * operations the custody surface routes through: minting a custodian\n * (`grantCustodian`), removing one (`revokeCustodian`), and the audited\n * ownership-claim ceremony (`liberate`). The active engine ({@link withCustody})\n * runs the grant/revoke impls the host exposes and dynamically imports the\n * heavy `liberateVault` ceremony (keeping it out of the floor bundle);\n * {@link NO_CUSTODY} throws.\n *\n * `Noydb.grantCustodian` / `Noydb.revokeCustodian` delegate here (passing\n * themselves as the {@link CustodyHost}), and `vault.custody.liberate` delegates\n * here with its {@link Vault}. An un-opted-in caller hits `NO_CUSTODY`'s throw.\n *\n * Note: the lower-level `liberateVault` FREE FUNCTION (exported from\n * `custody/liberate.ts`) stays ungated — it has no `createNoydb` instance to\n * gate against (the same carve-out as the `openSealedRecord` host opener). Only\n * the instance surfaces (`db.grantCustodian` / `db.revokeCustodian` /\n * `vault.custody.*`) are the capability.\n * @internal\n */\nimport type { GrantOptions, RevokeOptions, FactorProofBundle, NoydbStore } from '../../kernel/types.js'\nimport type { Vault } from '../../kernel/vault.js'\nimport type { UnlockedKeyring, RevokeResult } from '../team/keyring.js'\nimport type { GrantCustodianOptions } from './index.js'\nimport type { LiberateOptions, LiberateResult } from './liberate.js'\nimport { CustodyNotEnabledError } from '../../kernel/errors.js'\n\n/**\n * The grant/revoke engine the strategy runs when opted in — implemented by\n * `Noydb` (`_grantCustodianImpl` / `_revokeCustodianImpl` hold the gate +\n * keyring logic; the public `grantCustodian` / `revokeCustodian` route through\n * the strategy). Since the #267 team split the keyring grant/revoke engines\n * are passed IN by `withCustody()` (statically linked there, not in the\n * kernel) so the single-user floor never carries them.\n */\nexport interface CustodyHost {\n _grantCustodianImpl(\n engine: (adapter: NoydbStore, vault: string, callerKeyring: UnlockedKeyring, options: GrantOptions) => Promise<void>,\n vault: string,\n options: GrantCustodianOptions,\n factors?: FactorProofBundle,\n ): Promise<void>\n _revokeCustodianImpl(\n engine: (adapter: NoydbStore, vault: string, callerKeyring: UnlockedKeyring, options: RevokeOptions) => Promise<RevokeResult>,\n vault: string,\n options: RevokeOptions,\n factors?: FactorProofBundle,\n ): Promise<void>\n}\n\nexport interface CustodyStrategy {\n grantCustodian(host: CustodyHost, vault: string, options: GrantCustodianOptions, factors?: FactorProofBundle): Promise<void>\n revokeCustodian(host: CustodyHost, vault: string, options: RevokeOptions, factors?: FactorProofBundle): Promise<void>\n liberate(vault: Vault, opts: LiberateOptions): Promise<LiberateResult>\n}\n\n/**\n * No-op stub — the floor default. Every custody operation throws\n * {@link CustodyNotEnabledError}; opt in with `custodyStrategy: withCustody()`\n * in createNoydb. @internal\n */\nexport const NO_CUSTODY: CustodyStrategy = {\n async grantCustodian() { throw new CustodyNotEnabledError() },\n async revokeCustodian() { throw new CustodyNotEnabledError() },\n async liberate() { throw new CustodyNotEnabledError() },\n}\n","/**\n * Public `vault.custody.*` API surface (FR-6).\n *\n * The custody namespace is the vault-instance face of the FR-6 sovereign-custody\n * model — it mirrors `vault.user.*` exactly: a thin delegation shell with NO\n * business logic. The Vault constructs one `CustodyApi` per session, injecting\n * closures that bind the vault name / keyring into the genuinely-core\n * implementations (`Noydb.grantCustodian` / `Noydb.revokeCustodian` and the\n * `liberateVault` ceremony). Each method just forwards to its injected callback.\n *\n * Three operations:\n * - `grantCustodian(opts)` — owner-only: mint a `custodian` who operates the\n * vault fully but can never grant / rotate / sever / extract.\n * - `revokeCustodian(opts)` — owner-only: remove a custodian.\n * - `liberate(opts)` — custodian-only: audited claim of ownership over a\n * sealed-owner (Deed) vault (mints a DISTINCT new owner; ledger-audited).\n *\n * Provisioning a Deed (`createDeedOwner`) is deliberately NOT on this class: it\n * is a store-level operation that mints the vault's first owner, so there is no\n * vault instance (and thus no custody namespace) yet — it stays the exported\n * `team/deed.ts` function.\n *\n * @see design-history/2026-06-17-fr6-deed-custodian-liberate-design.md\n * @module\n */\nimport type { GrantOptions, RevokeOptions, FactorProofBundle } from '../../kernel/types.js'\nimport type { LiberateOptions, LiberateResult } from './liberate.js'\n\n/** Options for `vault.custody.grantCustodian` — a grant with the role fixed to `custodian`. */\nexport type GrantCustodianOptions = Omit<GrantOptions, 'role'>\n\n// Capability opt-in seam (S4): grant/revoke custodian + liberate throw\n// CustodyNotEnabledError unless `custodyStrategy: withCustody()` is opted in.\nexport { withCustody } from './active.js'\nexport { NO_CUSTODY, type CustodyStrategy, type CustodyHost } from './strategy.js'\nexport { CustodyNotEnabledError } from '../../kernel/errors.js'\n\n/**\n * Implementation behind `vault.custody`. Constructed once per Vault. Holds the\n * injected, vault-bound implementations in closure; every method delegates with\n * no added logic (the owner-only / custodian-only / gate checks all live in the\n * injected implementations — `Noydb.grantCustodian` etc. and `liberateVault`).\n */\nexport class CustodyApi {\n constructor(\n /** Bound `Noydb.grantCustodian(this.name, ...)` — owner-only, gated. */\n private readonly _grantCustodian: (options: GrantCustodianOptions, factors?: FactorProofBundle) => Promise<void>,\n /** Bound `Noydb.revokeCustodian(this.name, ...)` — owner-only, gated. */\n private readonly _revokeCustodian: (options: RevokeOptions, factors?: FactorProofBundle) => Promise<void>,\n /** Bound `liberateVault(this, ...)` — custodian-only audited ownership claim. */\n private readonly _liberate: (opts: LiberateOptions) => Promise<LiberateResult>,\n ) {}\n\n /**\n * Owner-only: grant the FR-6 `custodian` role. The custodian operates every\n * collection (rw + access) but is provably unable to grant / revoke / rotate /\n * extract-and-sever. Defended in depth (gate + owner-only role check) inside\n * the injected `Noydb.grantCustodian`.\n */\n async grantCustodian(options: GrantCustodianOptions, factors?: FactorProofBundle): Promise<void> {\n return this._grantCustodian(options, factors)\n }\n\n /** Owner-only: revoke a custodian. */\n async revokeCustodian(options: RevokeOptions, factors?: FactorProofBundle): Promise<void> {\n return this._revokeCustodian(options, factors)\n }\n\n /**\n * Custodian-only: the audited claim of ownership over a sealed-owner (Deed)\n * vault. Mints a DISTINCT new owner re-wrapping the incumbent DEKs under a\n * fresh KEK (the latent owner is never impersonated), ledger-audited. See\n * {@link liberateVault}.\n */\n async liberate(opts: LiberateOptions): Promise<LiberateResult> {\n return this._liberate(opts)\n }\n}\n"],"mappings":";;;;;;;;;AAWO,SAAS,cAA+B;AAC7C,SAAO;AAAA,IACL,MAAM,eAAe,MAAM,OAAO,SAAS,SAAS;AAClD,aAAO,KAAK,oBAAoB,OAAa,OAAO,SAAS,OAAO;AAAA,IACtE;AAAA,IACA,MAAM,gBAAgB,MAAM,OAAO,SAAS,SAAS;AACnD,aAAO,KAAK,qBAAqB,QAAc,OAAO,SAAS,OAAO;AAAA,IACxE;AAAA,IACA,MAAM,SAAS,OAAO,MAAM;AAC1B,YAAM,EAAE,cAAc,IAAI,MAAM,OAAO,wBAAe;AACtD,aAAO,cAAc,OAAO,IAAI;AAAA,IAClC;AAAA,EACF;AACF;;;ACqCO,IAAM,aAA8B;AAAA,EACzC,MAAM,iBAAiB;AAAE,UAAM,IAAI,uBAAuB;AAAA,EAAE;AAAA,EAC5D,MAAM,kBAAkB;AAAE,UAAM,IAAI,uBAAuB;AAAA,EAAE;AAAA,EAC7D,MAAM,WAAW;AAAE,UAAM,IAAI,uBAAuB;AAAA,EAAE;AACxD;;;ACtBO,IAAM,aAAN,MAAiB;AAAA,EACtB,YAEmB,iBAEA,kBAEA,WACjB;AALiB;AAEA;AAEA;AAAA,EAChB;AAAA,EALgB;AAAA,EAEA;AAAA,EAEA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EASnB,MAAM,eAAe,SAAgC,SAA4C;AAC/F,WAAO,KAAK,gBAAgB,SAAS,OAAO;AAAA,EAC9C;AAAA;AAAA,EAGA,MAAM,gBAAgB,SAAwB,SAA4C;AACxF,WAAO,KAAK,iBAAiB,SAAS,OAAO;AAAA,EAC/C;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAQA,MAAM,SAAS,MAAgD;AAC7D,WAAO,KAAK,UAAU,IAAI;AAAA,EAC5B;AACF;","names":[]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
LookupHandle
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-KZA3DITX.js";
|
|
4
4
|
|
|
5
5
|
// src/via/lookup/active.ts
|
|
6
6
|
function withLookup() {
|
|
@@ -33,4 +33,4 @@ function withLookup() {
|
|
|
33
33
|
export {
|
|
34
34
|
withLookup
|
|
35
35
|
};
|
|
36
|
-
//# sourceMappingURL=chunk-
|
|
36
|
+
//# sourceMappingURL=chunk-H334G6KU.js.map
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
persistUserVisibility,
|
|
5
5
|
readUserVisibility,
|
|
6
6
|
saveUserEnvelope
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-QT5ITL25.js";
|
|
8
8
|
import {
|
|
9
9
|
PolicyDeniedError
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-IKPQ2GGB.js";
|
|
11
11
|
|
|
12
12
|
// src/with-party/directory/user-envelope/api.ts
|
|
13
13
|
var UserApi = class {
|
|
@@ -379,4 +379,4 @@ export {
|
|
|
379
379
|
UserApi,
|
|
380
380
|
createUserApi
|
|
381
381
|
};
|
|
382
|
-
//# sourceMappingURL=chunk-
|
|
382
|
+
//# sourceMappingURL=chunk-HE7EAHGS.js.map
|
|
@@ -4,17 +4,17 @@ import {
|
|
|
4
4
|
revoke,
|
|
5
5
|
rotateKeys,
|
|
6
6
|
verifyRoster
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-V7AKGAXY.js";
|
|
8
8
|
import {
|
|
9
9
|
base64ToBuffer,
|
|
10
10
|
bufferToBase64,
|
|
11
11
|
decryptBytes,
|
|
12
12
|
encryptBytes,
|
|
13
13
|
generateEphemeralKey
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-WRLWEYHY.js";
|
|
15
15
|
import {
|
|
16
16
|
NoydbError
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-IKPQ2GGB.js";
|
|
18
18
|
|
|
19
19
|
// src/with-party/team/device-seal.ts
|
|
20
20
|
var MemoryDeviceSeal = class {
|
|
@@ -71,4 +71,4 @@ export {
|
|
|
71
71
|
MemoryDeviceSeal,
|
|
72
72
|
withTeam
|
|
73
73
|
};
|
|
74
|
-
//# sourceMappingURL=chunk-
|
|
74
|
+
//# sourceMappingURL=chunk-HKB4HZDU.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-4CFHL5RY.js";
|
|
5
5
|
import {
|
|
6
6
|
readPath
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-GIQJGXV7.js";
|
|
8
8
|
|
|
9
9
|
// src/kernel/query/relate/join-on.ts
|
|
10
10
|
var RANGE_OPS = /* @__PURE__ */ new Set(["<", "<=", ">", ">=", "between"]);
|
|
@@ -201,4 +201,4 @@ export {
|
|
|
201
201
|
joinOnDispatch,
|
|
202
202
|
matchDeclaredJoin
|
|
203
203
|
};
|
|
204
|
-
//# sourceMappingURL=chunk-
|
|
204
|
+
//# sourceMappingURL=chunk-ICF3TIGY.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
buildRecordEnvelope,
|
|
4
4
|
encrypt,
|
|
5
5
|
openEnvelopeJson
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-WRLWEYHY.js";
|
|
7
7
|
|
|
8
8
|
// src/with-shape/persisted-schemas/storage.ts
|
|
9
9
|
var SCHEMAS_COLLECTION = "_schemas";
|
|
@@ -41,4 +41,4 @@ export {
|
|
|
41
41
|
loadPersistedSchema,
|
|
42
42
|
savePersistedSchema
|
|
43
43
|
};
|
|
44
|
-
//# sourceMappingURL=chunk-
|
|
44
|
+
//# sourceMappingURL=chunk-IF2M43G4.js.map
|
|
@@ -4,6 +4,7 @@ var USER_ENVELOPE_MAX_BYTES = 64 * 1024;
|
|
|
4
4
|
var USER_ENVELOPE_COLLECTION = "_users";
|
|
5
5
|
var ROSTER_KEY_ID = "_roster";
|
|
6
6
|
var BLOB_ADDRESS_KEY_ID = "_blob_addr";
|
|
7
|
+
var INBOX_KEY_ID = "_inbox_key";
|
|
7
8
|
|
|
8
9
|
// src/kernel/errors.ts
|
|
9
10
|
var NoydbError = class extends Error {
|
|
@@ -279,6 +280,17 @@ var DuplicateStoreKindError = class extends NoydbError {
|
|
|
279
280
|
this.kind = kind;
|
|
280
281
|
}
|
|
281
282
|
};
|
|
283
|
+
var MemberInboxMissingError = class extends NoydbError {
|
|
284
|
+
userId;
|
|
285
|
+
constructor(userId, message) {
|
|
286
|
+
super(
|
|
287
|
+
"MEMBER_INBOX_MISSING",
|
|
288
|
+
message ?? `Member "${userId}" has no keyring inbox \u2014 the keyring predates core#96, so a DEK cannot be delivered without their secret. Re-grant the member with a fresh temporary secret (they rotate it on first open); the new keyring carries an inbox.`
|
|
289
|
+
);
|
|
290
|
+
this.name = "MemberInboxMissingError";
|
|
291
|
+
this.userId = userId;
|
|
292
|
+
}
|
|
293
|
+
};
|
|
282
294
|
var PrivilegeEscalationError = class extends NoydbError {
|
|
283
295
|
offendingCollection;
|
|
284
296
|
constructor(offendingCollection, message) {
|
|
@@ -1770,6 +1782,7 @@ export {
|
|
|
1770
1782
|
USER_ENVELOPE_COLLECTION,
|
|
1771
1783
|
ROSTER_KEY_ID,
|
|
1772
1784
|
BLOB_ADDRESS_KEY_ID,
|
|
1785
|
+
INBOX_KEY_ID,
|
|
1773
1786
|
NoydbError,
|
|
1774
1787
|
DebugPlaintextError,
|
|
1775
1788
|
DebugReservedFieldError,
|
|
@@ -1793,6 +1806,7 @@ export {
|
|
|
1793
1806
|
StoreCapabilityError,
|
|
1794
1807
|
UnknownStoreKindError,
|
|
1795
1808
|
DuplicateStoreKindError,
|
|
1809
|
+
MemberInboxMissingError,
|
|
1796
1810
|
PrivilegeEscalationError,
|
|
1797
1811
|
ReservedVaultNameError,
|
|
1798
1812
|
PeriodClosedError,
|
|
@@ -1926,4 +1940,4 @@ export {
|
|
|
1926
1940
|
ClassifiedRotationError,
|
|
1927
1941
|
SatelliteConfigError
|
|
1928
1942
|
};
|
|
1929
|
-
//# sourceMappingURL=chunk-
|
|
1943
|
+
//# sourceMappingURL=chunk-IKPQ2GGB.js.map
|