@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
package/dist/forget/index.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NO_FORGET,
|
|
3
3
|
SUBJECT_INDEX_COLLECTION
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-P6FATPXQ.js";
|
|
5
|
+
import "../chunk-WRLWEYHY.js";
|
|
6
|
+
import "../chunk-ZD7WFMV2.js";
|
|
7
|
+
import "../chunk-RRTQAQ3N.js";
|
|
8
8
|
import "../chunk-NH2UOV3B.js";
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-
|
|
9
|
+
import "../chunk-ZF6JECDT.js";
|
|
10
|
+
import "../chunk-THQ3BHLM.js";
|
|
11
|
+
import "../chunk-XX4R7TUB.js";
|
|
12
|
+
import "../chunk-IKPQ2GGB.js";
|
|
13
13
|
|
|
14
14
|
// src/with-audit/forget/active.ts
|
|
15
15
|
function withForget(opts) {
|
package/dist/guards/index.js
CHANGED
|
@@ -2,13 +2,13 @@ import {
|
|
|
2
2
|
immutableGuard,
|
|
3
3
|
transitionGuard,
|
|
4
4
|
withGuard
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-3YBIVLTC.js";
|
|
6
6
|
import {
|
|
7
7
|
GuardExecutor
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-MLVPMDOZ.js";
|
|
9
9
|
import {
|
|
10
10
|
GuardRegistry
|
|
11
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-TRHUNPXP.js";
|
|
12
12
|
import {
|
|
13
13
|
ReadOnlyVaultFacade
|
|
14
14
|
} from "../chunk-JK733I5V.js";
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
IllegalTransitionError,
|
|
19
19
|
InvariantError,
|
|
20
20
|
RecordLockedError
|
|
21
|
-
} from "../chunk-
|
|
21
|
+
} from "../chunk-IKPQ2GGB.js";
|
|
22
22
|
export {
|
|
23
23
|
AmendmentForbiddenError,
|
|
24
24
|
FieldFrozenError,
|
package/dist/history/index.js
CHANGED
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CollectionInstant,
|
|
3
3
|
VaultInstant
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-MMCN7TLK.js";
|
|
5
5
|
import {
|
|
6
6
|
diff,
|
|
7
7
|
formatDiff
|
|
8
8
|
} from "../chunk-SVLR4POP.js";
|
|
9
9
|
import {
|
|
10
|
-
NO_HISTORY
|
|
10
|
+
NO_HISTORY
|
|
11
|
+
} from "../chunk-L4UL4IAR.js";
|
|
12
|
+
import {
|
|
11
13
|
clearHistory,
|
|
12
14
|
getHistory,
|
|
13
15
|
getVersionEnvelope,
|
|
@@ -16,12 +18,12 @@ import {
|
|
|
16
18
|
rewrapHistory,
|
|
17
19
|
saveHistory,
|
|
18
20
|
tombstoneHistory
|
|
19
|
-
} from "../chunk-
|
|
21
|
+
} from "../chunk-EQ6C2ZPT.js";
|
|
20
22
|
import {
|
|
21
23
|
LedgerStore,
|
|
22
24
|
applyPatch,
|
|
23
25
|
computePatch
|
|
24
|
-
} from "../chunk-
|
|
26
|
+
} from "../chunk-ONZ3B5EW.js";
|
|
25
27
|
import {
|
|
26
28
|
LEDGER_COLLECTION,
|
|
27
29
|
LEDGER_DELTAS_COLLECTION
|
|
@@ -33,16 +35,16 @@ import {
|
|
|
33
35
|
paddedIndex,
|
|
34
36
|
parseIndex,
|
|
35
37
|
sha256Hex
|
|
36
|
-
} from "../chunk-
|
|
37
|
-
import "../chunk-
|
|
38
|
-
import "../chunk-
|
|
39
|
-
import "../chunk-
|
|
40
|
-
import "../chunk-
|
|
38
|
+
} from "../chunk-QHG7GQKM.js";
|
|
39
|
+
import "../chunk-2LBS62AC.js";
|
|
40
|
+
import "../chunk-WRLWEYHY.js";
|
|
41
|
+
import "../chunk-ZD7WFMV2.js";
|
|
42
|
+
import "../chunk-RRTQAQ3N.js";
|
|
41
43
|
import "../chunk-NH2UOV3B.js";
|
|
42
|
-
import "../chunk-
|
|
43
|
-
import "../chunk-
|
|
44
|
-
import "../chunk-
|
|
45
|
-
import "../chunk-
|
|
44
|
+
import "../chunk-ZF6JECDT.js";
|
|
45
|
+
import "../chunk-THQ3BHLM.js";
|
|
46
|
+
import "../chunk-XX4R7TUB.js";
|
|
47
|
+
import "../chunk-IKPQ2GGB.js";
|
|
46
48
|
|
|
47
49
|
// src/with-commit/history/active.ts
|
|
48
50
|
function withHistory() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/with-commit/history/active.ts"],"sourcesContent":["/**\n * Active history strategy — `withHistory()` returns the real\n * implementation that wires per-record snapshots, the hash-chained\n * audit ledger, JSON-patch deltas, and time-machine reads into the\n * core write/read paths.\n *\n * Consumers opt in by:\n *\n * ```ts\n * import { createNoydb } from '@noy-db/hub'\n * import { withHistory } from '@noy-db/hub/history'\n *\n * const db = await createNoydb({\n * store: ...,\n * user: ...,\n * historyStrategy: withHistory(),\n * })\n * ```\n *\n * The factory is a thin wrapper that delegates to the existing\n * `history.ts`, `diff.ts`, `ledger/store.ts`, `ledger/patch.ts`, and\n * `time-machine.ts` modules. Splitting the import chain through this\n * file is what lets `tsup` tree-shake the heavy modules out of the\n * default `@noy-db/hub` bundle when no `withHistory()` import is\n * present in the consumer.\n *\n * @public\n */\n\nimport type { HistoryStrategy, BuildLedgerOptions } from './strategy.js'\nimport {\n saveHistory,\n historyIdentity,\n getHistory,\n getVersionEnvelope,\n pruneHistory,\n clearHistory,\n tombstoneHistory,\n rewrapHistory,\n} from './history.js'\nimport { diff as computeDiff } from './diff.js'\nimport { LedgerStore, envelopePayloadHash } from './ledger/store.js'\nimport { computePatch } from './ledger/patch.js'\nimport { VaultInstant } from './time-machine.js'\n\n/**\n * Build the active history strategy. Today the factory takes no\n * options; per-collection retention tuning still flows through\n * `HistoryConfig` on `Vault.collection()` / `vault.openVault()`.\n *\n * Future option slots (kept off the LTS surface for now):\n * - global maxVersions cap\n * - global beforeDate prune cadence\n * - ledger encryption toggle (today inferred from vault.encrypted)\n */\nexport function withHistory(): HistoryStrategy {\n return {\n saveHistory,\n historyIdentity,\n getHistoryEntries: getHistory,\n getVersionEnvelope,\n pruneHistory,\n clearHistory,\n tombstoneHistory,\n rewrapHistory,\n envelopePayloadHash,\n computePatch,\n diff: computeDiff,\n buildLedger(opts: BuildLedgerOptions): LedgerStore {\n return new LedgerStore({\n adapter: opts.adapter,\n vault: opts.vault,\n encrypted: opts.encrypted,\n getDEK: opts.getDEK,\n actor: opts.actor,\n })\n },\n buildVaultInstant(engine, timestamp): VaultInstant {\n return new VaultInstant(engine, timestamp)\n },\n }\n}\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../src/with-commit/history/active.ts"],"sourcesContent":["/**\n * Active history strategy — `withHistory()` returns the real\n * implementation that wires per-record snapshots, the hash-chained\n * audit ledger, JSON-patch deltas, and time-machine reads into the\n * core write/read paths.\n *\n * Consumers opt in by:\n *\n * ```ts\n * import { createNoydb } from '@noy-db/hub'\n * import { withHistory } from '@noy-db/hub/history'\n *\n * const db = await createNoydb({\n * store: ...,\n * user: ...,\n * historyStrategy: withHistory(),\n * })\n * ```\n *\n * The factory is a thin wrapper that delegates to the existing\n * `history.ts`, `diff.ts`, `ledger/store.ts`, `ledger/patch.ts`, and\n * `time-machine.ts` modules. Splitting the import chain through this\n * file is what lets `tsup` tree-shake the heavy modules out of the\n * default `@noy-db/hub` bundle when no `withHistory()` import is\n * present in the consumer.\n *\n * @public\n */\n\nimport type { HistoryStrategy, BuildLedgerOptions } from './strategy.js'\nimport {\n saveHistory,\n historyIdentity,\n getHistory,\n getVersionEnvelope,\n pruneHistory,\n clearHistory,\n tombstoneHistory,\n rewrapHistory,\n} from './history.js'\nimport { diff as computeDiff } from './diff.js'\nimport { LedgerStore, envelopePayloadHash } from './ledger/store.js'\nimport { computePatch } from './ledger/patch.js'\nimport { VaultInstant } from './time-machine.js'\n\n/**\n * Build the active history strategy. Today the factory takes no\n * options; per-collection retention tuning still flows through\n * `HistoryConfig` on `Vault.collection()` / `vault.openVault()`.\n *\n * Future option slots (kept off the LTS surface for now):\n * - global maxVersions cap\n * - global beforeDate prune cadence\n * - ledger encryption toggle (today inferred from vault.encrypted)\n */\nexport function withHistory(): HistoryStrategy {\n return {\n saveHistory,\n historyIdentity,\n getHistoryEntries: getHistory,\n getVersionEnvelope,\n pruneHistory,\n clearHistory,\n tombstoneHistory,\n rewrapHistory,\n envelopePayloadHash,\n computePatch,\n diff: computeDiff,\n buildLedger(opts: BuildLedgerOptions): LedgerStore {\n return new LedgerStore({\n adapter: opts.adapter,\n vault: opts.vault,\n encrypted: opts.encrypted,\n getDEK: opts.getDEK,\n actor: opts.actor,\n })\n },\n buildVaultInstant(engine, timestamp): VaultInstant {\n return new VaultInstant(engine, timestamp)\n },\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuDO,SAAS,cAA+B;AAC7C,SAAO;AAAA,IACL;AAAA,IACA;AAAA,IACA,mBAAmB;AAAA,IACnB;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA,YAAY,MAAuC;AACjD,aAAO,IAAI,YAAY;AAAA,QACrB,SAAS,KAAK;AAAA,QACd,OAAO,KAAK;AAAA,QACZ,WAAW,KAAK;AAAA,QAChB,QAAQ,KAAK;AAAA,QACb,OAAO,KAAK;AAAA,MACd,CAAC;AAAA,IACH;AAAA,IACA,kBAAkB,QAAQ,WAAyB;AACjD,aAAO,IAAI,aAAa,QAAQ,SAAS;AAAA,IAC3C;AAAA,EACF;AACF;","names":[]}
|
package/dist/i18n/index.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
withLookup
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-H334G6KU.js";
|
|
4
4
|
import {
|
|
5
5
|
dictKey,
|
|
6
6
|
staticDict
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-OGKMRIIJ.js";
|
|
8
8
|
import {
|
|
9
9
|
DICT_COLLECTION_PREFIX,
|
|
10
10
|
LookupHandle,
|
|
11
11
|
dictCollectionName
|
|
12
|
-
} from "../chunk-
|
|
12
|
+
} from "../chunk-KZA3DITX.js";
|
|
13
13
|
import {
|
|
14
14
|
NO_I18N,
|
|
15
15
|
applyI18nLocale,
|
|
@@ -26,16 +26,16 @@ import {
|
|
|
26
26
|
resolvePolicy,
|
|
27
27
|
stripI18nFilled,
|
|
28
28
|
validateI18nTextValue
|
|
29
|
-
} from "../chunk-
|
|
30
|
-
import "../chunk-
|
|
31
|
-
import "../chunk-
|
|
32
|
-
import "../chunk-
|
|
33
|
-
import "../chunk-
|
|
34
|
-
import "../chunk-
|
|
29
|
+
} from "../chunk-PR7ILCIH.js";
|
|
30
|
+
import "../chunk-NCTN2FW4.js";
|
|
31
|
+
import "../chunk-QHG7GQKM.js";
|
|
32
|
+
import "../chunk-WRLWEYHY.js";
|
|
33
|
+
import "../chunk-ZD7WFMV2.js";
|
|
34
|
+
import "../chunk-RRTQAQ3N.js";
|
|
35
35
|
import "../chunk-NH2UOV3B.js";
|
|
36
|
-
import "../chunk-
|
|
37
|
-
import "../chunk-
|
|
38
|
-
import "../chunk-
|
|
36
|
+
import "../chunk-ZF6JECDT.js";
|
|
37
|
+
import "../chunk-THQ3BHLM.js";
|
|
38
|
+
import "../chunk-XX4R7TUB.js";
|
|
39
39
|
import {
|
|
40
40
|
DictKeyInUseError,
|
|
41
41
|
DictKeyMissingError,
|
|
@@ -46,7 +46,7 @@ import {
|
|
|
46
46
|
StaticDictReadonlyError,
|
|
47
47
|
TranslatorNotConfiguredError,
|
|
48
48
|
UnknownDictCodeError
|
|
49
|
-
} from "../chunk-
|
|
49
|
+
} from "../chunk-IKPQ2GGB.js";
|
|
50
50
|
|
|
51
51
|
// src/via/i18n/densify.ts
|
|
52
52
|
var MARKER = "_i18nFilled";
|
package/dist/index.d.ts
CHANGED
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
* @packageDocumentation
|
|
76
76
|
*/
|
|
77
77
|
import './kernel/env-check.js';
|
|
78
|
-
export type { Role, Permission, Permissions, Envelope, EncryptedEnvelope, KeyringAuthenticator, KeyringAuthenticatorWrappingKEK, KeyringAuthenticatorWrappingDEKs, VaultPolicyOnDisk, VaultSnapshot, NoydbStore, ListPageResult, KeyringFile, VaultBackup, DirtyEntry, SyncMetadata, Conflict, ErasureEnforcement, ConflictStrategy, ConflictPolicy, CollectionConflictResolver, PushOptions, PullOptions, PushResult, PullResult, SyncProgress, RealignResult, SyncTransactionResult, SyncStatus, SyncTargetStatus, ChangeEvent, NoydbEventMap, GrantOptions, RevokeOptions, UpdateUserOptions, UserInfo, NoydbOptions, HistoryConfig, HistoryOptions, HistoryEntry, PruneOptions, PutManyItemOptions, PutManyOptions, PutManyResult, DeleteManyResult, ExportStreamOptions, ExportChunk, AccessibleVault, ListAccessibleVaultsOptions, QueryAcrossOptions, QueryAcrossResult, SessionPolicy, ReAuthOperation, PlaintextTranslatorContext, PlaintextTranslatorFn, TranslatorAuditEntry, ExportCapability, ExportFormat, ImportCapability, } from './kernel/types.js';
|
|
78
|
+
export type { Role, Permission, Permissions, Envelope, EncryptedEnvelope, KeyringAuthenticator, KeyringAuthenticatorWrappingKEK, KeyringAuthenticatorWrappingDEKs, VaultPolicyOnDisk, VaultSnapshot, NoydbStore, ListPageResult, KeyringFile, VaultBackup, DirtyEntry, SyncMetadata, Conflict, ErasureEnforcement, ConflictStrategy, ConflictPolicy, CollectionConflictResolver, PushOptions, PullOptions, PushResult, PullResult, SyncProgress, RealignResult, KeyringInboxBox, RestoreToOptions, RestoreToResult, LoadPodOptions, LoadPodResult, SyncApplied, SyncRejection, SyncRejectedApi, ReplaceRemoteResult, SyncEpochRecord, SyncTransactionResult, SyncStatus, SyncTargetStatus, ChangeEvent, NoydbEventMap, GrantOptions, RevokeOptions, UpdateUserOptions, UserInfo, NoydbOptions, HistoryConfig, HistoryOptions, HistoryEntry, PruneOptions, PutManyItemOptions, PutManyOptions, PutManyResult, DeleteManyResult, ExportStreamOptions, ExportChunk, AccessibleVault, ListAccessibleVaultsOptions, QueryAcrossOptions, QueryAcrossResult, SessionPolicy, ReAuthOperation, PlaintextTranslatorContext, PlaintextTranslatorFn, TranslatorAuditEntry, ExportCapability, ExportFormat, ImportCapability, } from './kernel/types.js';
|
|
79
79
|
export { NOYDB_FORMAT_VERSION, NOYDB_ENVELOPE_GENERATION, NOYDB_KEYRING_VERSION, NOYDB_BACKUP_VERSION, NOYDB_SYNC_VERSION, createStore, } from './kernel/types.js';
|
|
80
80
|
export type { StoreAuthKind, StoreAuth, StoreCapabilities, StoreCredentials, StoreCredentialSource, } from './kernel/types.js';
|
|
81
81
|
export type { NoydbPodStore, BlobObject, SlotRecord, SlotInfo, VersionRecord, BlobPutOptions, BlobResponseOptions, } from './kernel/types.js';
|
|
@@ -122,7 +122,7 @@ export { routeStore } from './with-store/route-store.js';
|
|
|
122
122
|
export type { RouteStoreOptions, RoutedNoydbStore, BlobStoreRoute, AgeRoute, BlobLifecyclePolicy, OverrideTarget, OverrideOptions, SuspendOptions, RouteStatus, } from './with-store/route-store.js';
|
|
123
123
|
export { wrapStore, withRetry, withLogging, withMetrics, withCircuitBreaker, withCache, withHealthCheck } from './with-store/store-middleware.js';
|
|
124
124
|
export type { StoreMiddleware, RetryOptions, LoggingOptions, LogLevel, MetricsOptions, StoreOperation, CircuitBreakerOptions, StoreCacheOptions, HealthCheckOptions, } from './with-store/store-middleware.js';
|
|
125
|
-
export { NoydbError, DecryptionError, TamperedError, MissingEnvelopeBodyError, InvalidKeyError, KeyringCorruptError, KeyringTamperedError, NoAccessError, ReadOnlyError, PermissionDeniedError, PrivilegeEscalationError, StoreCapabilityError, UnknownStoreKindError, DuplicateStoreKindError, ConflictError, isConflictError, NetworkError, NotFoundError, ValidationError, SchemaValidationError, GroupCardinalityError, BackupLedgerError, BackupCorruptedError, JoinTooLargeError, CrossJoinTooLargeError, CrossJoinSourceUnknownError, RefNotDeclaredError, DanglingReferenceError, TraversalCycleError, FilenameSanitizationError, PathEscapeError, ElevationExpiredError, AlreadyElevatedError, LedgerContentionError, SequenceContentionError, SequenceOfflineError, SequenceNotEnabledError, PodIntegrityError, PodSealMismatchError, PodVersionConflictError, SessionExpiredError, SessionNotFoundError, SessionPolicyError, ExportCapabilityError, ImportCapabilityError, KeyringExpiredError, ReadOnlyAtInstantError, ReadOnlyFrameError, RecordLockedError, CollectionNotHydratedError, FieldFrozenError, IllegalTransitionError, InvariantError, AmendmentForbiddenError, AttestationError, AttestationNotEnabledError, ClassifiedNotEnabledError, TiersNotEnabledError, PortabilityNotEnabledError, SchemaUpdateError, NonAdditiveSchemaChangeError, SchemaLockedError, SchemaFenceError, MigrationRequiredError, QuiesceTimeoutError, } from './kernel/errors.js';
|
|
125
|
+
export { NoydbError, DecryptionError, TamperedError, MissingEnvelopeBodyError, InvalidKeyError, KeyringCorruptError, KeyringTamperedError, NoAccessError, ReadOnlyError, PermissionDeniedError, PrivilegeEscalationError, MemberInboxMissingError, StoreCapabilityError, UnknownStoreKindError, DuplicateStoreKindError, ConflictError, isConflictError, NetworkError, NotFoundError, ValidationError, SchemaValidationError, GroupCardinalityError, BackupLedgerError, BackupCorruptedError, JoinTooLargeError, CrossJoinTooLargeError, CrossJoinSourceUnknownError, RefNotDeclaredError, DanglingReferenceError, TraversalCycleError, FilenameSanitizationError, PathEscapeError, ElevationExpiredError, AlreadyElevatedError, LedgerContentionError, SequenceContentionError, SequenceOfflineError, SequenceNotEnabledError, PodIntegrityError, PodSealMismatchError, PodVersionConflictError, SessionExpiredError, SessionNotFoundError, SessionPolicyError, ExportCapabilityError, ImportCapabilityError, KeyringExpiredError, ReadOnlyAtInstantError, ReadOnlyFrameError, RecordLockedError, CollectionNotHydratedError, FieldFrozenError, IllegalTransitionError, InvariantError, AmendmentForbiddenError, AttestationError, AttestationNotEnabledError, ClassifiedNotEnabledError, TiersNotEnabledError, PortabilityNotEnabledError, SchemaUpdateError, NonAdditiveSchemaChangeError, SchemaLockedError, SchemaFenceError, MigrationRequiredError, QuiesceTimeoutError, } from './kernel/errors.js';
|
|
126
126
|
export { SnapshotNotFoundError } from './kernel/errors.js';
|
|
127
127
|
export type { SnapshotMeta, RetentionPolicy } from './with-fork/snapshots/strategy.js';
|
|
128
128
|
export { withArchive } from './with-fork/archive/index.js';
|
|
@@ -353,6 +353,7 @@ export { encryptDeterministic, decryptDeterministic } from './capsule/index.js';
|
|
|
353
353
|
export { EnclaveNotSupportedError } from './kernel/errors.js';
|
|
354
354
|
export type { GhostRecord, TierMode, CrossTierAccessEvent } from './kernel/types.js';
|
|
355
355
|
export { TierNotGrantedError, TierDemoteDeniedError, DelegationTargetMissingError, TierWriteRefusedError, UnsupportedTierCompositionError } from './kernel/errors.js';
|
|
356
|
+
export type { WaveContext, RollupOutcome } from './kernel/via/dispatch.js';
|
|
356
357
|
export { IndexRequiredError, IndexWriteFailureError } from './kernel/errors.js';
|
|
357
358
|
export { FieldNotQueryableError } from './kernel/errors.js';
|
|
358
359
|
export { QueryExtensionMissingError } from './kernel/errors.js';
|