@noy-db/hub 0.7.0 → 0.7.1-pre.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 +8 -0
- package/README.md +22 -5
- package/dist/api-WYW4YEQG.js +19 -0
- package/dist/as/index.js +8 -8
- package/dist/at/index.js +5 -5
- package/dist/attestation/index.js +14 -14
- package/dist/{backup-IJTB4S4M.js → backup-XKCXVKV3.js} +17 -11
- package/dist/backup-XKCXVKV3.js.map +1 -0
- package/dist/blobs/index.js +7 -7
- package/dist/broker/index.js +8 -8
- package/dist/cargo/index.js +18 -18
- package/dist/{chunk-PT43Y56J.js → chunk-2ENE6445.js} +3 -3
- package/dist/{chunk-CHJBLCOG.js → chunk-2N5ML6HT.js} +4 -4
- package/dist/{chunk-KUJDV5QH.js → chunk-334WSVOW.js} +3 -3
- package/dist/{chunk-BSFNRLK2.js → chunk-3BVH633C.js} +3 -3
- package/dist/{chunk-CARABLSQ.js → chunk-3BZZJJMQ.js} +2 -2
- package/dist/{chunk-3RCJJBNR.js → chunk-3PGS7TYR.js} +7 -7
- package/dist/{chunk-G56KBWFY.js → chunk-3V4KWFX7.js} +4 -4
- package/dist/chunk-3V4KWFX7.js.map +1 -0
- package/dist/{chunk-K6LHRFBL.js → chunk-3VF3WQ4F.js} +5 -5
- package/dist/{chunk-VXGSWL6L.js → chunk-4GFX6MPA.js} +4 -4
- package/dist/{chunk-77K4PG6P.js → chunk-4ZS56W5S.js} +5 -5
- package/dist/{chunk-K7NTTA6P.js → chunk-6LKOJBV6.js} +2 -2
- package/dist/{chunk-AO42KJO6.js → chunk-7APJ6CO6.js} +4 -4
- package/dist/{chunk-ANSIZYEG.js → chunk-A2HKRLPV.js} +2 -2
- package/dist/{chunk-MUM7IANK.js → chunk-A66I4JOA.js} +2 -2
- package/dist/{chunk-REDOOY2Q.js → chunk-ACAQ2DSG.js} +2 -2
- package/dist/{chunk-X2DLENDQ.js → chunk-AYX7AINO.js} +2 -2
- package/dist/{chunk-BOWNCWZT.js → chunk-BRLKZUBT.js} +2 -2
- package/dist/{chunk-YSRUYAVU.js → chunk-BTDR2PXY.js} +2 -2
- package/dist/{chunk-5WDXHNSW.js → chunk-BVN6KXL2.js} +3 -3
- package/dist/chunk-BVN6KXL2.js.map +1 -0
- package/dist/{chunk-RMF67KCG.js → chunk-CHQCZZWC.js} +2 -2
- package/dist/{chunk-2C3AQB46.js → chunk-CUQPWYRX.js} +4 -4
- package/dist/{chunk-J6FXAEUG.js → chunk-DFMWUOU5.js} +9 -9
- package/dist/{chunk-HDOU6I2Y.js → chunk-F3W6YMDC.js} +3 -3
- package/dist/{chunk-KUX3OB6D.js → chunk-FET5XCAT.js} +3 -3
- package/dist/{chunk-ANATMFIO.js → chunk-G73UVHCA.js} +3 -3
- package/dist/{chunk-ZVO4QVPD.js → chunk-GPNTB4Y7.js} +3 -3
- package/dist/{chunk-BM5TWITZ.js → chunk-HIWCKBEY.js} +3 -3
- package/dist/{chunk-6X6SEMEE.js → chunk-HJUWN7JN.js} +2 -2
- package/dist/{chunk-SL3JAAKN.js → chunk-HPVZCW43.js} +29 -1
- package/dist/chunk-HPVZCW43.js.map +1 -0
- package/dist/{chunk-L7CIOOBW.js → chunk-JVIBCBC7.js} +2 -2
- package/dist/{chunk-CPWQB3N5.js → chunk-K23VKTN4.js} +3 -3
- package/dist/{chunk-NA2NIJZI.js → chunk-KKEESNPE.js} +3 -3
- package/dist/{chunk-UXWB3FPF.js → chunk-LH5A3ZPG.js} +8 -8
- package/dist/{chunk-KJIMGIWO.js → chunk-M4YPHYEH.js} +3 -3
- package/dist/{chunk-6GMZ7HEE.js → chunk-OTQZ7ZWU.js} +3 -3
- package/dist/{chunk-NKHRDYOR.js → chunk-P3MG6QCN.js} +3 -3
- package/dist/{chunk-QIBVIOXO.js → chunk-PPTHY5QO.js} +2 -2
- package/dist/{chunk-6I2RQCET.js → chunk-Q2MPFCQ7.js} +2 -2
- package/dist/{chunk-BOET4NA4.js → chunk-QPQUVOZ2.js} +3 -3
- package/dist/{chunk-WEQEYLCS.js → chunk-QTQUH4DS.js} +5 -5
- package/dist/{chunk-XTXOCYOJ.js → chunk-R42NSZI6.js} +3 -3
- package/dist/{chunk-U4FOQDY4.js → chunk-R7BX2NB3.js} +2 -2
- package/dist/{chunk-7V4TP3AF.js → chunk-RF6D3Y5E.js} +3 -3
- package/dist/{chunk-ELNXJMGB.js → chunk-RSGLUIO6.js} +4 -4
- package/dist/{chunk-2Y4IMKA6.js → chunk-SGZAIJCV.js} +3 -3
- package/dist/{chunk-2N4GY74U.js → chunk-UDHWDSRL.js} +4 -4
- package/dist/{chunk-GPEQUXHL.js → chunk-UHHPLO3I.js} +3 -3
- package/dist/{chunk-SPXXX5E4.js → chunk-UP4BECPY.js} +2 -2
- package/dist/{chunk-L742JPKZ.js → chunk-V7ZRRCRJ.js} +4 -4
- package/dist/{chunk-RRNRNANG.js → chunk-WQBG4SZS.js} +21 -52
- package/dist/chunk-WQBG4SZS.js.map +1 -0
- package/dist/{chunk-KG7TZKZG.js → chunk-XKWGNJ26.js} +3 -3
- package/dist/{chunk-EYBQEIUY.js → chunk-YJRT5UQM.js} +2 -2
- package/dist/{chunk-FXBIP2WD.js → chunk-YJX7EOJD.js} +6 -6
- package/dist/{chunk-FMZY5Q6L.js → chunk-ZHKOPKE3.js} +3 -3
- package/dist/{chunk-6GOE5PGN.js → chunk-ZYIYHJ5R.js} +120 -57
- package/dist/{chunk-6GOE5PGN.js.map → chunk-ZYIYHJ5R.js.map} +1 -1
- package/dist/classified/index.js +1 -1
- package/dist/{classified-marker-LI2SF2E4.js → classified-marker-BWOFVYAC.js} +3 -3
- package/dist/{collection-facade-4GRREZ6C.js → collection-facade-JSJYIKS4.js} +10 -10
- package/dist/consent/index.js +6 -6
- package/dist/cover/index.js +5 -5
- package/dist/custody/index.js +8 -8
- package/dist/{dead-filter-TSWZQRR5.js → dead-filter-PKQDLOT4.js} +2 -2
- package/dist/{delegation-OVIFFPG4.js → delegation-DS5NRILW.js} +6 -6
- package/dist/derivations/index.js +12 -12
- package/dist/{derive-6O5SWQKN.js → derive-E642AOUB.js} +7 -7
- package/dist/directory/index.js +7 -7
- package/dist/{dispatch-WC6X2M6C.js → dispatch-IEPAVQUM.js} +5 -5
- package/dist/{dispatch-S73TK3IY.js → dispatch-Q6MWLOJY.js} +12 -12
- package/dist/{enclave-KJOTOH7X.js → enclave-55PAM4YO.js} +12 -6
- package/dist/{executor-PUAO6AKJ.js → executor-7UQ3BZ4F.js} +12 -12
- package/dist/{export-accessible-72EQNBMR.js → export-accessible-ORMKLA3E.js} +8 -8
- package/dist/{extract-partition-PUYNU3UF.js → extract-partition-NKYO3WNG.js} +11 -11
- package/dist/{fanout-sidecar-WUFXNYP4.js → fanout-sidecar-S3QL53YX.js} +6 -6
- package/dist/{find-2ABFCZX4.js → find-NOGJ25VX.js} +3 -3
- package/dist/forget/index.js +6 -6
- package/dist/history/index.js +9 -9
- package/dist/i18n/index.js +8 -8
- package/dist/index.d.ts +1 -0
- package/dist/index.js +50 -50
- package/dist/introspection/index.js +8 -8
- package/dist/issue-3DTQ7VJJ.js +18 -0
- package/dist/kernel/enclave/crypto.d.ts +16 -0
- package/dist/kernel/enclave/index.d.ts +1 -1
- package/dist/kernel/memory-store.d.ts +35 -7
- package/dist/{ledger-F33ZVMTK.js → ledger-EDXFFZQL.js} +8 -8
- package/dist/liberate-V35QUHJP.js +24 -0
- package/dist/{link-set-FKNWAYKS.js → link-set-2TTM3IZC.js} +7 -7
- package/dist/{managed-secret-PQYKSR6T.js → managed-secret-NCWEMPUQ.js} +6 -6
- package/dist/materialized-views/index.js +13 -13
- package/dist/{noydb-DUXZPKSN.js → noydb-62MX4QUG.js} +28 -28
- package/dist/periods/index.js +8 -8
- package/dist/pod/index.js +30 -30
- package/dist/{pod-handle-Q736KYON.js → pod-handle-ECVCDIXW.js} +6 -6
- package/dist/policy/index.js +5 -5
- package/dist/portability/index.js +6 -6
- package/dist/{post-register-LNE2FE2A.js → post-register-3IPCSG6Q.js} +4 -4
- package/dist/{register-I2DZXGAR.js → register-HHLXEQDN.js} +12 -12
- package/dist/{registry-VSSQPIGF.js → registry-JS3YFQQM.js} +7 -7
- package/dist/{registry-YLEWMGAC.js → registry-XX2Z7B46.js} +13 -13
- package/dist/{request-withdrawal-KFQHEZ25.js → request-withdrawal-CHPATE4G.js} +10 -10
- package/dist/{reveal-67RDQRIN.js → reveal-QZDHSGD4.js} +3 -3
- package/dist/{revoke-DQDZAZZM.js → revoke-7M2VW4ON.js} +8 -8
- package/dist/sealed-record/index.js +8 -8
- package/dist/search/index.js +1 -1
- package/dist/{seed-G42JYN56.js → seed-X5CC22CQ.js} +8 -8
- package/dist/sequence/index.js +6 -6
- package/dist/session/index.js +6 -6
- package/dist/{signer-WAMDZHEN.js → signer-SJQJVSM6.js} +7 -7
- package/dist/snapshots/index.js +6 -6
- package/dist/{stale-DDL7WQEZ.js → stale-BZS6H2RY.js} +7 -7
- package/dist/{storage-FLR73HHF.js → storage-RW4QBS23.js} +7 -7
- package/dist/{store-coordination-provider-MEQ2MJQG.js → store-coordination-provider-4WZAIRHC.js} +6 -6
- package/dist/sync/index.js +6 -6
- package/dist/team/index.js +9 -9
- package/dist/tiers/index.js +6 -6
- package/dist/vault-head/index.js +5 -5
- package/dist/{verify-KOV2G5D6.js → verify-6MDTIUEV.js} +4 -4
- package/dist/walk-ZURCH6RZ.js +21 -0
- package/dist/with-party/team/keyring.d.ts +12 -5
- package/dist/with-party/team/wrapped-deks.d.ts +4 -4
- package/dist/with-pod/pod.d.ts +4 -4
- package/dist/{withdraw-accessible-EL5GXZBS.js → withdraw-accessible-PXR4IXDX.js} +9 -9
- package/package.json +3 -3
- package/dist/api-TXFOVOXX.js +0 -19
- package/dist/backup-IJTB4S4M.js.map +0 -1
- package/dist/chunk-5WDXHNSW.js.map +0 -1
- package/dist/chunk-G56KBWFY.js.map +0 -1
- package/dist/chunk-RRNRNANG.js.map +0 -1
- package/dist/chunk-SL3JAAKN.js.map +0 -1
- package/dist/issue-SIDORTSZ.js +0 -18
- package/dist/liberate-LCDPNAG2.js +0 -24
- package/dist/walk-3UQBRMDV.js +0 -21
- /package/dist/{api-TXFOVOXX.js.map → api-WYW4YEQG.js.map} +0 -0
- /package/dist/{chunk-PT43Y56J.js.map → chunk-2ENE6445.js.map} +0 -0
- /package/dist/{chunk-CHJBLCOG.js.map → chunk-2N5ML6HT.js.map} +0 -0
- /package/dist/{chunk-KUJDV5QH.js.map → chunk-334WSVOW.js.map} +0 -0
- /package/dist/{chunk-BSFNRLK2.js.map → chunk-3BVH633C.js.map} +0 -0
- /package/dist/{chunk-CARABLSQ.js.map → chunk-3BZZJJMQ.js.map} +0 -0
- /package/dist/{chunk-3RCJJBNR.js.map → chunk-3PGS7TYR.js.map} +0 -0
- /package/dist/{chunk-K6LHRFBL.js.map → chunk-3VF3WQ4F.js.map} +0 -0
- /package/dist/{chunk-VXGSWL6L.js.map → chunk-4GFX6MPA.js.map} +0 -0
- /package/dist/{chunk-77K4PG6P.js.map → chunk-4ZS56W5S.js.map} +0 -0
- /package/dist/{chunk-K7NTTA6P.js.map → chunk-6LKOJBV6.js.map} +0 -0
- /package/dist/{chunk-AO42KJO6.js.map → chunk-7APJ6CO6.js.map} +0 -0
- /package/dist/{chunk-ANSIZYEG.js.map → chunk-A2HKRLPV.js.map} +0 -0
- /package/dist/{chunk-MUM7IANK.js.map → chunk-A66I4JOA.js.map} +0 -0
- /package/dist/{chunk-REDOOY2Q.js.map → chunk-ACAQ2DSG.js.map} +0 -0
- /package/dist/{chunk-X2DLENDQ.js.map → chunk-AYX7AINO.js.map} +0 -0
- /package/dist/{chunk-BOWNCWZT.js.map → chunk-BRLKZUBT.js.map} +0 -0
- /package/dist/{chunk-YSRUYAVU.js.map → chunk-BTDR2PXY.js.map} +0 -0
- /package/dist/{chunk-RMF67KCG.js.map → chunk-CHQCZZWC.js.map} +0 -0
- /package/dist/{chunk-2C3AQB46.js.map → chunk-CUQPWYRX.js.map} +0 -0
- /package/dist/{chunk-J6FXAEUG.js.map → chunk-DFMWUOU5.js.map} +0 -0
- /package/dist/{chunk-HDOU6I2Y.js.map → chunk-F3W6YMDC.js.map} +0 -0
- /package/dist/{chunk-KUX3OB6D.js.map → chunk-FET5XCAT.js.map} +0 -0
- /package/dist/{chunk-ANATMFIO.js.map → chunk-G73UVHCA.js.map} +0 -0
- /package/dist/{chunk-ZVO4QVPD.js.map → chunk-GPNTB4Y7.js.map} +0 -0
- /package/dist/{chunk-BM5TWITZ.js.map → chunk-HIWCKBEY.js.map} +0 -0
- /package/dist/{chunk-6X6SEMEE.js.map → chunk-HJUWN7JN.js.map} +0 -0
- /package/dist/{chunk-L7CIOOBW.js.map → chunk-JVIBCBC7.js.map} +0 -0
- /package/dist/{chunk-CPWQB3N5.js.map → chunk-K23VKTN4.js.map} +0 -0
- /package/dist/{chunk-NA2NIJZI.js.map → chunk-KKEESNPE.js.map} +0 -0
- /package/dist/{chunk-UXWB3FPF.js.map → chunk-LH5A3ZPG.js.map} +0 -0
- /package/dist/{chunk-KJIMGIWO.js.map → chunk-M4YPHYEH.js.map} +0 -0
- /package/dist/{chunk-6GMZ7HEE.js.map → chunk-OTQZ7ZWU.js.map} +0 -0
- /package/dist/{chunk-NKHRDYOR.js.map → chunk-P3MG6QCN.js.map} +0 -0
- /package/dist/{chunk-QIBVIOXO.js.map → chunk-PPTHY5QO.js.map} +0 -0
- /package/dist/{chunk-6I2RQCET.js.map → chunk-Q2MPFCQ7.js.map} +0 -0
- /package/dist/{chunk-BOET4NA4.js.map → chunk-QPQUVOZ2.js.map} +0 -0
- /package/dist/{chunk-WEQEYLCS.js.map → chunk-QTQUH4DS.js.map} +0 -0
- /package/dist/{chunk-XTXOCYOJ.js.map → chunk-R42NSZI6.js.map} +0 -0
- /package/dist/{chunk-U4FOQDY4.js.map → chunk-R7BX2NB3.js.map} +0 -0
- /package/dist/{chunk-7V4TP3AF.js.map → chunk-RF6D3Y5E.js.map} +0 -0
- /package/dist/{chunk-ELNXJMGB.js.map → chunk-RSGLUIO6.js.map} +0 -0
- /package/dist/{chunk-2Y4IMKA6.js.map → chunk-SGZAIJCV.js.map} +0 -0
- /package/dist/{chunk-2N4GY74U.js.map → chunk-UDHWDSRL.js.map} +0 -0
- /package/dist/{chunk-GPEQUXHL.js.map → chunk-UHHPLO3I.js.map} +0 -0
- /package/dist/{chunk-SPXXX5E4.js.map → chunk-UP4BECPY.js.map} +0 -0
- /package/dist/{chunk-L742JPKZ.js.map → chunk-V7ZRRCRJ.js.map} +0 -0
- /package/dist/{chunk-KG7TZKZG.js.map → chunk-XKWGNJ26.js.map} +0 -0
- /package/dist/{chunk-EYBQEIUY.js.map → chunk-YJRT5UQM.js.map} +0 -0
- /package/dist/{chunk-FXBIP2WD.js.map → chunk-YJX7EOJD.js.map} +0 -0
- /package/dist/{chunk-FMZY5Q6L.js.map → chunk-ZHKOPKE3.js.map} +0 -0
- /package/dist/{classified-marker-LI2SF2E4.js.map → classified-marker-BWOFVYAC.js.map} +0 -0
- /package/dist/{collection-facade-4GRREZ6C.js.map → collection-facade-JSJYIKS4.js.map} +0 -0
- /package/dist/{dead-filter-TSWZQRR5.js.map → dead-filter-PKQDLOT4.js.map} +0 -0
- /package/dist/{delegation-OVIFFPG4.js.map → delegation-DS5NRILW.js.map} +0 -0
- /package/dist/{derive-6O5SWQKN.js.map → derive-E642AOUB.js.map} +0 -0
- /package/dist/{dispatch-WC6X2M6C.js.map → dispatch-IEPAVQUM.js.map} +0 -0
- /package/dist/{dispatch-S73TK3IY.js.map → dispatch-Q6MWLOJY.js.map} +0 -0
- /package/dist/{enclave-KJOTOH7X.js.map → enclave-55PAM4YO.js.map} +0 -0
- /package/dist/{executor-PUAO6AKJ.js.map → executor-7UQ3BZ4F.js.map} +0 -0
- /package/dist/{export-accessible-72EQNBMR.js.map → export-accessible-ORMKLA3E.js.map} +0 -0
- /package/dist/{extract-partition-PUYNU3UF.js.map → extract-partition-NKYO3WNG.js.map} +0 -0
- /package/dist/{fanout-sidecar-WUFXNYP4.js.map → fanout-sidecar-S3QL53YX.js.map} +0 -0
- /package/dist/{find-2ABFCZX4.js.map → find-NOGJ25VX.js.map} +0 -0
- /package/dist/{issue-SIDORTSZ.js.map → issue-3DTQ7VJJ.js.map} +0 -0
- /package/dist/{ledger-F33ZVMTK.js.map → ledger-EDXFFZQL.js.map} +0 -0
- /package/dist/{liberate-LCDPNAG2.js.map → liberate-V35QUHJP.js.map} +0 -0
- /package/dist/{link-set-FKNWAYKS.js.map → link-set-2TTM3IZC.js.map} +0 -0
- /package/dist/{managed-secret-PQYKSR6T.js.map → managed-secret-NCWEMPUQ.js.map} +0 -0
- /package/dist/{noydb-DUXZPKSN.js.map → noydb-62MX4QUG.js.map} +0 -0
- /package/dist/{pod-handle-Q736KYON.js.map → pod-handle-ECVCDIXW.js.map} +0 -0
- /package/dist/{post-register-LNE2FE2A.js.map → post-register-3IPCSG6Q.js.map} +0 -0
- /package/dist/{register-I2DZXGAR.js.map → register-HHLXEQDN.js.map} +0 -0
- /package/dist/{registry-VSSQPIGF.js.map → registry-JS3YFQQM.js.map} +0 -0
- /package/dist/{registry-YLEWMGAC.js.map → registry-XX2Z7B46.js.map} +0 -0
- /package/dist/{request-withdrawal-KFQHEZ25.js.map → request-withdrawal-CHPATE4G.js.map} +0 -0
- /package/dist/{reveal-67RDQRIN.js.map → reveal-QZDHSGD4.js.map} +0 -0
- /package/dist/{revoke-DQDZAZZM.js.map → revoke-7M2VW4ON.js.map} +0 -0
- /package/dist/{seed-G42JYN56.js.map → seed-X5CC22CQ.js.map} +0 -0
- /package/dist/{signer-WAMDZHEN.js.map → signer-SJQJVSM6.js.map} +0 -0
- /package/dist/{stale-DDL7WQEZ.js.map → stale-BZS6H2RY.js.map} +0 -0
- /package/dist/{storage-FLR73HHF.js.map → storage-RW4QBS23.js.map} +0 -0
- /package/dist/{store-coordination-provider-MEQ2MJQG.js.map → store-coordination-provider-4WZAIRHC.js.map} +0 -0
- /package/dist/{verify-KOV2G5D6.js.map → verify-6MDTIUEV.js.map} +0 -0
- /package/dist/{walk-3UQBRMDV.js.map → walk-ZURCH6RZ.js.map} +0 -0
- /package/dist/{withdraw-accessible-EL5GXZBS.js.map → withdraw-accessible-PXR4IXDX.js.map} +0 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
buildRecordAad,
|
|
3
3
|
openEnvelopeJson
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-4ZS56W5S.js";
|
|
5
5
|
import {
|
|
6
6
|
buildRecordEnvelope
|
|
7
7
|
} from "./chunk-SZJ3DLZA.js";
|
|
8
8
|
import {
|
|
9
9
|
encrypt
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-HPVZCW43.js";
|
|
11
11
|
import {
|
|
12
12
|
ConflictError,
|
|
13
13
|
USER_ENVELOPE_COLLECTION,
|
|
@@ -142,4 +142,4 @@ export {
|
|
|
142
142
|
deleteUserEnvelope,
|
|
143
143
|
listUserEnvelopeIds
|
|
144
144
|
};
|
|
145
|
-
//# sourceMappingURL=chunk-
|
|
145
|
+
//# sourceMappingURL=chunk-XKWGNJ26.js.map
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
verifyPrompt,
|
|
11
11
|
verifyRoster,
|
|
12
12
|
verifyTypedEcho
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-3V4KWFX7.js";
|
|
14
14
|
import {
|
|
15
15
|
NoAccessError,
|
|
16
16
|
NoydbError,
|
|
@@ -122,4 +122,4 @@ export {
|
|
|
122
122
|
MemoryDeviceSeal,
|
|
123
123
|
withTeam
|
|
124
124
|
};
|
|
125
|
-
//# sourceMappingURL=chunk-
|
|
125
|
+
//# sourceMappingURL=chunk-YJRT5UQM.js.map
|
|
@@ -201,7 +201,7 @@ var engineCtx = (ctx) => ({
|
|
|
201
201
|
function withClassified() {
|
|
202
202
|
return {
|
|
203
203
|
async reveal(ctx, id, field) {
|
|
204
|
-
const { revealSealedField } = await import("./reveal-
|
|
204
|
+
const { revealSealedField } = await import("./reveal-QZDHSGD4.js");
|
|
205
205
|
const value = await revealSealedField({
|
|
206
206
|
collection: ctx.collection,
|
|
207
207
|
encrypted: ctx.encrypted,
|
|
@@ -213,26 +213,26 @@ function withClassified() {
|
|
|
213
213
|
return value;
|
|
214
214
|
},
|
|
215
215
|
async verify(ctx, id, field, candidate) {
|
|
216
|
-
const { verifyDigestField } = await import("./verify-
|
|
216
|
+
const { verifyDigestField } = await import("./verify-6MDTIUEV.js");
|
|
217
217
|
const verdict = await verifyDigestField(engineCtx(ctx), id, field, candidate, policyOf(ctx.spec));
|
|
218
218
|
await ctx.onAccess?.("verify", id);
|
|
219
219
|
return verdict;
|
|
220
220
|
},
|
|
221
221
|
async verifyText(ctx, id, field, candidate) {
|
|
222
|
-
const { verifyTextField } = await import("./verify-
|
|
222
|
+
const { verifyTextField } = await import("./verify-6MDTIUEV.js");
|
|
223
223
|
const verdict = await verifyTextField(engineCtx(ctx), id, field, candidate, ctx.spec.verifyNormalize ?? "password");
|
|
224
224
|
await ctx.onAccess?.("verify", id);
|
|
225
225
|
return verdict;
|
|
226
226
|
},
|
|
227
227
|
async matchGroup(ctx, id, answers, opts) {
|
|
228
|
-
const { matchGroupFields } = await import("./verify-
|
|
228
|
+
const { matchGroupFields } = await import("./verify-6MDTIUEV.js");
|
|
229
229
|
const members = (ctx.groupMembers ?? []).map((m) => ({ field: m.field, policy: policyOf(m.spec) }));
|
|
230
230
|
const result = await matchGroupFields(engineCtx(ctx), id, answers, members, opts);
|
|
231
231
|
await ctx.onAccess?.("verify", id);
|
|
232
232
|
return result;
|
|
233
233
|
},
|
|
234
234
|
async computeTarget(ctx, field, candidate, costByte) {
|
|
235
|
-
const { computeBidxTarget } = await import("./find-
|
|
235
|
+
const { computeBidxTarget } = await import("./find-NOGJ25VX.js");
|
|
236
236
|
const dek = await ctx.getDEK();
|
|
237
237
|
return computeBidxTarget(candidate, policyOf(ctx.spec).normalize, dek, ctx.collection, field, costByte);
|
|
238
238
|
}
|
|
@@ -244,4 +244,4 @@ export {
|
|
|
244
244
|
classified,
|
|
245
245
|
withClassified
|
|
246
246
|
};
|
|
247
|
-
//# sourceMappingURL=chunk-
|
|
247
|
+
//# sourceMappingURL=chunk-YJX7EOJD.js.map
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
} from "./chunk-5D2ALSM5.js";
|
|
4
4
|
import {
|
|
5
5
|
RecordCodec
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-4ZS56W5S.js";
|
|
7
7
|
|
|
8
8
|
// src/with-formula/materialized-views/stale.ts
|
|
9
|
-
var loadMVExecutor = lazy(() => import("./executor-
|
|
9
|
+
var loadMVExecutor = lazy(() => import("./executor-7UQ3BZ4F.js"));
|
|
10
10
|
var _staleByRegistry = /* @__PURE__ */ new WeakMap();
|
|
11
11
|
function markMVStale(registry, mvName) {
|
|
12
12
|
let set = _staleByRegistry.get(registry);
|
|
@@ -134,4 +134,4 @@ export {
|
|
|
134
134
|
clearMVStale,
|
|
135
135
|
clearMVStaleFully
|
|
136
136
|
};
|
|
137
|
-
//# sourceMappingURL=chunk-
|
|
137
|
+
//# sourceMappingURL=chunk-ZHKOPKE3.js.map
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
import {
|
|
22
22
|
buildPersistedIndexCallbacks,
|
|
23
23
|
syncTierSearch
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-UP4BECPY.js";
|
|
25
25
|
import {
|
|
26
26
|
isBaseLive,
|
|
27
27
|
liveBaseIdSet
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
NO_TIERS,
|
|
37
37
|
classifySealedShred,
|
|
38
38
|
syncDerivedOutputs
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-M4YPHYEH.js";
|
|
40
40
|
import {
|
|
41
41
|
NO_PORTABILITY
|
|
42
42
|
} from "./chunk-BZ3534YM.js";
|
|
@@ -57,11 +57,11 @@ import {
|
|
|
57
57
|
SEQUENCE_COLLECTION,
|
|
58
58
|
compileSequenceFormat,
|
|
59
59
|
resolveSequenceKey
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-GPNTB4Y7.js";
|
|
61
61
|
import {
|
|
62
62
|
CustodyApi,
|
|
63
63
|
NO_CUSTODY
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-UHHPLO3I.js";
|
|
65
65
|
import {
|
|
66
66
|
DEFAULT_POSTURE,
|
|
67
67
|
EXPORT_REDACTION_MARKER,
|
|
@@ -78,7 +78,7 @@ import {
|
|
|
78
78
|
resolveComputedEdges,
|
|
79
79
|
resolveDescribeFieldIds,
|
|
80
80
|
resolveVirtualMoneyFields
|
|
81
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-CUQPWYRX.js";
|
|
82
82
|
import {
|
|
83
83
|
findMatchingIdsByPairs
|
|
84
84
|
} from "./chunk-TFMM5DBB.js";
|
|
@@ -92,7 +92,7 @@ import {
|
|
|
92
92
|
} from "./chunk-5VCRVKOZ.js";
|
|
93
93
|
import {
|
|
94
94
|
derivePersistedSchema
|
|
95
|
-
} from "./chunk-
|
|
95
|
+
} from "./chunk-ACAQ2DSG.js";
|
|
96
96
|
import {
|
|
97
97
|
findRollupSpecForIntent,
|
|
98
98
|
forgetDerivedFanout,
|
|
@@ -102,7 +102,7 @@ import {
|
|
|
102
102
|
runGraphDispatchWave,
|
|
103
103
|
selfWriteFieldEqual,
|
|
104
104
|
touchFor
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-3BZZJJMQ.js";
|
|
106
106
|
import {
|
|
107
107
|
buildLookupAltIndex,
|
|
108
108
|
buildLookupSnapshotRows,
|
|
@@ -117,7 +117,7 @@ import {
|
|
|
117
117
|
resolveDictSource,
|
|
118
118
|
resolveLabelFromMap,
|
|
119
119
|
updateReferencingRecords
|
|
120
|
-
} from "./chunk-
|
|
120
|
+
} from "./chunk-R7BX2NB3.js";
|
|
121
121
|
import {
|
|
122
122
|
OverlayedCollection
|
|
123
123
|
} from "./chunk-SKGMN35F.js";
|
|
@@ -135,7 +135,7 @@ import {
|
|
|
135
135
|
resolvePeriodKey,
|
|
136
136
|
resolveReopenState,
|
|
137
137
|
samePartition
|
|
138
|
-
} from "./chunk-
|
|
138
|
+
} from "./chunk-2ENE6445.js";
|
|
139
139
|
import {
|
|
140
140
|
PERIODS_COLLECTION,
|
|
141
141
|
PERIOD_ARCHIVES_COLLECTION,
|
|
@@ -161,7 +161,7 @@ import {
|
|
|
161
161
|
InvertedIndex,
|
|
162
162
|
MemoryIndexStore,
|
|
163
163
|
NO_SEARCH
|
|
164
|
-
} from "./chunk-
|
|
164
|
+
} from "./chunk-LH5A3ZPG.js";
|
|
165
165
|
import {
|
|
166
166
|
NO_SEALED_RECORD
|
|
167
167
|
} from "./chunk-6YXCPL4T.js";
|
|
@@ -174,7 +174,7 @@ import {
|
|
|
174
174
|
NO_BLOBS,
|
|
175
175
|
createExportBlobsHandle,
|
|
176
176
|
runCompaction
|
|
177
|
-
} from "./chunk-
|
|
177
|
+
} from "./chunk-7APJ6CO6.js";
|
|
178
178
|
import {
|
|
179
179
|
LazyQuery,
|
|
180
180
|
NO_INDEXING,
|
|
@@ -204,7 +204,7 @@ import {
|
|
|
204
204
|
} from "./chunk-PVEWA2DU.js";
|
|
205
205
|
import {
|
|
206
206
|
dictCollectionName
|
|
207
|
-
} from "./chunk-
|
|
207
|
+
} from "./chunk-Q2MPFCQ7.js";
|
|
208
208
|
import {
|
|
209
209
|
NO_I18N,
|
|
210
210
|
getAtPath,
|
|
@@ -237,7 +237,7 @@ import {
|
|
|
237
237
|
saveShamirRecoveryEntries,
|
|
238
238
|
updateAuthenticator,
|
|
239
239
|
writeMagicLinkGrant
|
|
240
|
-
} from "./chunk-
|
|
240
|
+
} from "./chunk-WQBG4SZS.js";
|
|
241
241
|
import {
|
|
242
242
|
assertKeyringOpenAllowed,
|
|
243
243
|
buildRecipientKeyringFile,
|
|
@@ -252,11 +252,11 @@ import {
|
|
|
252
252
|
listUsers,
|
|
253
253
|
loadKeyring,
|
|
254
254
|
updateKeyringIdentity
|
|
255
|
-
} from "./chunk-
|
|
255
|
+
} from "./chunk-3V4KWFX7.js";
|
|
256
256
|
import {
|
|
257
257
|
persistDirectoryConfig,
|
|
258
258
|
readDirectoryConfig
|
|
259
|
-
} from "./chunk-
|
|
259
|
+
} from "./chunk-XKWGNJ26.js";
|
|
260
260
|
import {
|
|
261
261
|
NO_BROKER,
|
|
262
262
|
buildCredentialBrokerHandle
|
|
@@ -269,10 +269,10 @@ import {
|
|
|
269
269
|
} from "./chunk-4AOERLTV.js";
|
|
270
270
|
import {
|
|
271
271
|
NO_HISTORY
|
|
272
|
-
} from "./chunk-
|
|
272
|
+
} from "./chunk-AYX7AINO.js";
|
|
273
273
|
import {
|
|
274
274
|
sha256Hex
|
|
275
|
-
} from "./chunk-
|
|
275
|
+
} from "./chunk-QPQUVOZ2.js";
|
|
276
276
|
import {
|
|
277
277
|
assertCutoverTierSafe,
|
|
278
278
|
assertTierWritable,
|
|
@@ -290,7 +290,7 @@ import {
|
|
|
290
290
|
readDottedPath,
|
|
291
291
|
rebuildSubjectIndex,
|
|
292
292
|
removeSubjectRef
|
|
293
|
-
} from "./chunk-
|
|
293
|
+
} from "./chunk-RF6D3Y5E.js";
|
|
294
294
|
import {
|
|
295
295
|
RecordCodec,
|
|
296
296
|
SEALED_CEK_NS,
|
|
@@ -306,7 +306,7 @@ import {
|
|
|
306
306
|
rewrapBodyToDek,
|
|
307
307
|
validateSchemaInput,
|
|
308
308
|
verifyRecordIdentity
|
|
309
|
-
} from "./chunk-
|
|
309
|
+
} from "./chunk-4ZS56W5S.js";
|
|
310
310
|
import {
|
|
311
311
|
buildDeleteMarker,
|
|
312
312
|
buildRecordEnvelope,
|
|
@@ -316,7 +316,7 @@ import {
|
|
|
316
316
|
} from "./chunk-SZJ3DLZA.js";
|
|
317
317
|
import {
|
|
318
318
|
encrypt
|
|
319
|
-
} from "./chunk-
|
|
319
|
+
} from "./chunk-HPVZCW43.js";
|
|
320
320
|
import {
|
|
321
321
|
SealedHandle
|
|
322
322
|
} from "./chunk-7MG7SJT7.js";
|
|
@@ -540,7 +540,7 @@ function validateSecretModeOptions(options) {
|
|
|
540
540
|
}
|
|
541
541
|
async function resolveEffectiveSecret(options, store, vault) {
|
|
542
542
|
if (options.secretMode === "managed") {
|
|
543
|
-
const { resolveManagedSecret } = await import("./managed-secret-
|
|
543
|
+
const { resolveManagedSecret } = await import("./managed-secret-NCWEMPUQ.js");
|
|
544
544
|
return resolveManagedSecret(store, vault, options.sealingKey);
|
|
545
545
|
}
|
|
546
546
|
return options.secret;
|
|
@@ -558,7 +558,7 @@ function ownerKeyringOptions(options, secret) {
|
|
|
558
558
|
|
|
559
559
|
// src/port/by/default-provider.ts
|
|
560
560
|
async function createDefaultMesh(store) {
|
|
561
|
-
const { StoreMesh } = await import("./store-coordination-provider-
|
|
561
|
+
const { StoreMesh } = await import("./store-coordination-provider-4WZAIRHC.js");
|
|
562
562
|
return new StoreMesh(store);
|
|
563
563
|
}
|
|
564
564
|
|
|
@@ -2110,7 +2110,7 @@ var Collection = class {
|
|
|
2110
2110
|
}
|
|
2111
2111
|
await this.onAccess?.("find", "*");
|
|
2112
2112
|
if (hits.length === 0) return [];
|
|
2113
|
-
const { verifyDigestField } = await import("./verify-
|
|
2113
|
+
const { verifyDigestField } = await import("./verify-6MDTIUEV.js");
|
|
2114
2114
|
const policy = {
|
|
2115
2115
|
normalize: spec.verifyNormalize ?? "password",
|
|
2116
2116
|
notLastN: spec.notLastN ?? 0,
|
|
@@ -2322,7 +2322,7 @@ var Collection = class {
|
|
|
2322
2322
|
}
|
|
2323
2323
|
}
|
|
2324
2324
|
if (this.materializedViewSource !== void 0) {
|
|
2325
|
-
const { resolveStaleMVOnRead } = await import("./stale-
|
|
2325
|
+
const { resolveStaleMVOnRead } = await import("./stale-BZS6H2RY.js");
|
|
2326
2326
|
await resolveStaleMVOnRead(this.materializedViewSource, this.name, this.#dispatchCtx({ collection: this.name, id: "resolve-on-read" }));
|
|
2327
2327
|
}
|
|
2328
2328
|
let record;
|
|
@@ -2854,7 +2854,7 @@ var Collection = class {
|
|
|
2854
2854
|
*/
|
|
2855
2855
|
async dispatchMaterializedViews(id, record, wave) {
|
|
2856
2856
|
if (this.materializedViewSource === void 0) return;
|
|
2857
|
-
const { dispatchMaterializedViews } = await import("./dispatch-
|
|
2857
|
+
const { dispatchMaterializedViews } = await import("./dispatch-IEPAVQUM.js");
|
|
2858
2858
|
return dispatchMaterializedViews(this.#mvDispatchCtx(this.materializedViewSource), id, record, wave);
|
|
2859
2859
|
}
|
|
2860
2860
|
/**
|
|
@@ -3020,13 +3020,13 @@ var Collection = class {
|
|
|
3020
3020
|
* dispatch wave's per-target dedup; `undefined` on the local-write path (byte-identical). */
|
|
3021
3021
|
async dispatchDerivations(id, record, version, wave, prior) {
|
|
3022
3022
|
if (this.derivationSource === void 0) return;
|
|
3023
|
-
const { dispatchDerivations } = await import("./dispatch-
|
|
3023
|
+
const { dispatchDerivations } = await import("./dispatch-Q6MWLOJY.js");
|
|
3024
3024
|
return dispatchDerivations(this.#derivationDispatchCtx(), id, record, version, wave, prior);
|
|
3025
3025
|
}
|
|
3026
3026
|
/** @internal — trigger fan-out for a deleted parent (#1249); see dispatch.ts. */
|
|
3027
3027
|
async dispatchTriggerDerivationsOnDelete(id, deleted) {
|
|
3028
3028
|
if (this.derivationSource === void 0) return;
|
|
3029
|
-
const { dispatchTriggerDerivationsOnDelete } = await import("./dispatch-
|
|
3029
|
+
const { dispatchTriggerDerivationsOnDelete } = await import("./dispatch-Q6MWLOJY.js");
|
|
3030
3030
|
return dispatchTriggerDerivationsOnDelete(this.#derivationDispatchCtx(), id, deleted);
|
|
3031
3031
|
}
|
|
3032
3032
|
/**
|
|
@@ -3338,7 +3338,7 @@ var Collection = class {
|
|
|
3338
3338
|
*/
|
|
3339
3339
|
async dispatchArrayDerivationsOnDelete(id, eraseRecordShapeToo = false) {
|
|
3340
3340
|
if (this.derivationSource === void 0) return 0;
|
|
3341
|
-
const { dispatchArrayDerivationsOnDelete } = await import("./dispatch-
|
|
3341
|
+
const { dispatchArrayDerivationsOnDelete } = await import("./dispatch-Q6MWLOJY.js");
|
|
3342
3342
|
return dispatchArrayDerivationsOnDelete(this.#derivationDeleteCtx(this.derivationSource), id, eraseRecordShapeToo);
|
|
3343
3343
|
}
|
|
3344
3344
|
/**
|
|
@@ -3352,7 +3352,7 @@ var Collection = class {
|
|
|
3352
3352
|
*/
|
|
3353
3353
|
async dispatchMaterializedViewsOnDelete(id) {
|
|
3354
3354
|
if (this.materializedViewSource === void 0) return { deleted: 0, residueUndecodable: [], residueDeclined: [] };
|
|
3355
|
-
const { dispatchMaterializedViewsOnDelete } = await import("./dispatch-
|
|
3355
|
+
const { dispatchMaterializedViewsOnDelete } = await import("./dispatch-IEPAVQUM.js");
|
|
3356
3356
|
return dispatchMaterializedViewsOnDelete(this.#mvDispatchCtx(this.materializedViewSource), id);
|
|
3357
3357
|
}
|
|
3358
3358
|
/**
|
|
@@ -3372,7 +3372,7 @@ var Collection = class {
|
|
|
3372
3372
|
);
|
|
3373
3373
|
}
|
|
3374
3374
|
if (this.materializedViewSource !== void 0) {
|
|
3375
|
-
const { resolveStaleMVOnRead } = await import("./stale-
|
|
3375
|
+
const { resolveStaleMVOnRead } = await import("./stale-BZS6H2RY.js");
|
|
3376
3376
|
await resolveStaleMVOnRead(this.materializedViewSource, this.name, this.#dispatchCtx({ collection: this.name, id: "resolve-on-read" }));
|
|
3377
3377
|
}
|
|
3378
3378
|
await this.ensureHydrated();
|
|
@@ -4482,14 +4482,14 @@ var Collection = class {
|
|
|
4482
4482
|
/** C-A/R10: persist the classified marker once per classified handle (store I/O in config-drift.ts). */
|
|
4483
4483
|
async _ensureClassifiedMarker() {
|
|
4484
4484
|
if (this._markerPersisted || this.vdigFields === null) return;
|
|
4485
|
-
const { persistClassifiedMarkerForFields } = await import("./classified-marker-
|
|
4485
|
+
const { persistClassifiedMarkerForFields } = await import("./classified-marker-BWOFVYAC.js");
|
|
4486
4486
|
await persistClassifiedMarkerForFields(this.adapter, this.vault, this.name, this.vdigFields, await this.getDEK(this.name));
|
|
4487
4487
|
this._markerPersisted = true;
|
|
4488
4488
|
}
|
|
4489
4489
|
/** C-A/R10 drift signal — the marker's declared digest-only set, memoized to one store read per handle (see config-drift.ts). */
|
|
4490
4490
|
async _classifiedMarkerDigestOnly() {
|
|
4491
4491
|
if (this._markerDigestOnlyCache !== void 0) return this._markerDigestOnlyCache;
|
|
4492
|
-
const { readClassifiedMarkerDigestOnly } = await import("./classified-marker-
|
|
4492
|
+
const { readClassifiedMarkerDigestOnly } = await import("./classified-marker-BWOFVYAC.js");
|
|
4493
4493
|
this._markerDigestOnlyCache = await readClassifiedMarkerDigestOnly(this.adapter, this.vault, this.name, await this.getDEK(this.name));
|
|
4494
4494
|
return this._markerDigestOnlyCache;
|
|
4495
4495
|
}
|
|
@@ -6115,7 +6115,7 @@ var VaultLinks = class {
|
|
|
6115
6115
|
// src/with-shape/links/lazy-handle.ts
|
|
6116
6116
|
function makeLazyLinkSetHandle(d) {
|
|
6117
6117
|
let engine = null;
|
|
6118
|
-
const load = () => engine ??= import("./link-set-
|
|
6118
|
+
const load = () => engine ??= import("./link-set-2TTM3IZC.js").then(
|
|
6119
6119
|
({ LinkSet }) => new LinkSet(d.adapter, d.vault, d.name, d.spec, d.encrypted, d.getDEK, d.actor, d.emitter, d.endpointExists)
|
|
6120
6120
|
);
|
|
6121
6121
|
return {
|
|
@@ -6766,7 +6766,7 @@ function declareSatellite(ctx, collectionName, options, existingRegistry) {
|
|
|
6766
6766
|
ctx.forEachSyncEngine((e) => e.remirrorPairResolvers([spec.base, spec.satellite]));
|
|
6767
6767
|
const registry = reg;
|
|
6768
6768
|
const baseSchema = ctx.getBaseSchema(spec.base);
|
|
6769
|
-
void import("./post-register-
|
|
6769
|
+
void import("./post-register-3IPCSG6Q.js").then((m) => m.postRegister(ctx.adapter, ctx.vaultName, spec, ctx.getDEK, baseSchema, registry)).catch(() => {
|
|
6770
6770
|
});
|
|
6771
6771
|
return reg;
|
|
6772
6772
|
}
|
|
@@ -7741,7 +7741,7 @@ var Vault = class {
|
|
|
7741
7741
|
const strategies = options.schemaUpdate ?? [];
|
|
7742
7742
|
const work = (async () => {
|
|
7743
7743
|
const dek = await this.getDEK(collectionName);
|
|
7744
|
-
const { persistSchemaIfNeeded } = await import("./register-
|
|
7744
|
+
const { persistSchemaIfNeeded } = await import("./register-HHLXEQDN.js");
|
|
7745
7745
|
const result = await persistSchemaIfNeeded({
|
|
7746
7746
|
store: this.adapter,
|
|
7747
7747
|
vault: this.name,
|
|
@@ -7891,7 +7891,7 @@ var Vault = class {
|
|
|
7891
7891
|
const work = (async () => {
|
|
7892
7892
|
try {
|
|
7893
7893
|
const dek = await this.getDEK(collectionName);
|
|
7894
|
-
await (await import("./register-
|
|
7894
|
+
await (await import("./register-HHLXEQDN.js")).persistSchemaIfNeeded({
|
|
7895
7895
|
store: this.adapter,
|
|
7896
7896
|
vault: this.name,
|
|
7897
7897
|
collectionName,
|
|
@@ -8568,7 +8568,7 @@ var Vault = class {
|
|
|
8568
8568
|
*/
|
|
8569
8569
|
// eslint-disable-next-line @typescript-eslint/consistent-type-imports
|
|
8570
8570
|
async _loadPodSigner() {
|
|
8571
|
-
const { loadSigner } = await import("./signer-
|
|
8571
|
+
const { loadSigner } = await import("./signer-SJQJVSM6.js");
|
|
8572
8572
|
return loadSigner(this.adapter, this.name, this.getDEK);
|
|
8573
8573
|
}
|
|
8574
8574
|
async writeExportAudit(entry) {
|
|
@@ -9086,7 +9086,7 @@ var Vault = class {
|
|
|
9086
9086
|
async _initDerivations(handles) {
|
|
9087
9087
|
if (handles.length === 0) return;
|
|
9088
9088
|
const [{ DerivationRegistry }, { ReadOnlyVaultFacade }] = await Promise.all([
|
|
9089
|
-
import("./registry-
|
|
9089
|
+
import("./registry-XX2Z7B46.js"),
|
|
9090
9090
|
import("./read-only-facade-BIGO37U3.js")
|
|
9091
9091
|
]);
|
|
9092
9092
|
const registry = new DerivationRegistry();
|
|
@@ -9118,7 +9118,7 @@ var Vault = class {
|
|
|
9118
9118
|
*/
|
|
9119
9119
|
async _initMaterializedViews(handles) {
|
|
9120
9120
|
if (handles.length === 0) return;
|
|
9121
|
-
const { MaterializedViewRegistry } = await import("./registry-
|
|
9121
|
+
const { MaterializedViewRegistry } = await import("./registry-JS3YFQQM.js");
|
|
9122
9122
|
const registry = new MaterializedViewRegistry();
|
|
9123
9123
|
this.materializedViewRegistry = registry;
|
|
9124
9124
|
const db = this;
|
|
@@ -9206,14 +9206,14 @@ var Vault = class {
|
|
|
9206
9206
|
if (!reg) {
|
|
9207
9207
|
throw new Error(`refreshView: no MV registered with name "${name}"`);
|
|
9208
9208
|
}
|
|
9209
|
-
const { MaterializedViewExecutor } = await import("./executor-
|
|
9209
|
+
const { MaterializedViewExecutor } = await import("./executor-7UQ3BZ4F.js");
|
|
9210
9210
|
const result = await MaterializedViewExecutor.refresh(reg, {
|
|
9211
9211
|
getCollection: (n) => this.collection(n),
|
|
9212
9212
|
getActiveTxContext: () => this.noydb._activeTxContextOrNull,
|
|
9213
9213
|
getQueryContext: () => this,
|
|
9214
9214
|
dispatchCtx: this._dispatchCtx({ collection: name, id: "refreshView" })
|
|
9215
9215
|
});
|
|
9216
|
-
const { clearMVStaleFully } = await import("./stale-
|
|
9216
|
+
const { clearMVStaleFully } = await import("./stale-BZS6H2RY.js");
|
|
9217
9217
|
await clearMVStaleFully(this.adapter, this.name, registry, name);
|
|
9218
9218
|
return result;
|
|
9219
9219
|
}
|
|
@@ -9253,7 +9253,7 @@ var Vault = class {
|
|
|
9253
9253
|
if (!outSpec) continue;
|
|
9254
9254
|
const outputColl = this.collection(outSpec.collection);
|
|
9255
9255
|
if (out.kind === "array") {
|
|
9256
|
-
const { loadFanoutSidecar, saveFanoutSidecar } = await import("./fanout-sidecar-
|
|
9256
|
+
const { loadFanoutSidecar, saveFanoutSidecar } = await import("./fanout-sidecar-S3QL53YX.js");
|
|
9257
9257
|
const prior = await loadFanoutSidecar(this.adapter, this.name, spec.source, id, key, this.getDEK, this.encrypted);
|
|
9258
9258
|
const prevKeys = new Set(prior?.keys ?? []);
|
|
9259
9259
|
const newKeysList = out.entries.map((e) => e.key);
|
|
@@ -9480,7 +9480,7 @@ var Vault = class {
|
|
|
9480
9480
|
* collection.
|
|
9481
9481
|
*/
|
|
9482
9482
|
async delegate(opts) {
|
|
9483
|
-
const { issueDelegation, DELEGATIONS_COLLECTION } = await import("./delegation-
|
|
9483
|
+
const { issueDelegation, DELEGATIONS_COLLECTION } = await import("./delegation-DS5NRILW.js");
|
|
9484
9484
|
if (!this.keyring.kek) {
|
|
9485
9485
|
throw new ValidationError(
|
|
9486
9486
|
"issueDelegation: keyring.kek is null \u2014 issuing a delegation requires a tier-1 unlock. Re-authenticate at tier 1 (secret) first."
|
|
@@ -9502,7 +9502,7 @@ var Vault = class {
|
|
|
9502
9502
|
* if the id does not exist.
|
|
9503
9503
|
*/
|
|
9504
9504
|
async revokeDelegation(id) {
|
|
9505
|
-
const { revokeDelegation, DELEGATIONS_COLLECTION } = await import("./delegation-
|
|
9505
|
+
const { revokeDelegation, DELEGATIONS_COLLECTION } = await import("./delegation-DS5NRILW.js");
|
|
9506
9506
|
await revokeDelegation(this.adapter, this.name, id);
|
|
9507
9507
|
void DELEGATIONS_COLLECTION;
|
|
9508
9508
|
}
|
|
@@ -9755,7 +9755,7 @@ var Vault = class {
|
|
|
9755
9755
|
* @see design-history/2026-05-22-schema-dump-design.md
|
|
9756
9756
|
*/
|
|
9757
9757
|
async dumpSchema(opts = {}) {
|
|
9758
|
-
const { dumpVaultSchema } = await import("./walk-
|
|
9758
|
+
const { dumpVaultSchema } = await import("./walk-ZURCH6RZ.js");
|
|
9759
9759
|
return dumpVaultSchema(this, opts);
|
|
9760
9760
|
}
|
|
9761
9761
|
/**
|
|
@@ -9851,7 +9851,7 @@ var Vault = class {
|
|
|
9851
9851
|
* separate vault instances now.
|
|
9852
9852
|
*/
|
|
9853
9853
|
async getPodHandle() {
|
|
9854
|
-
const { buildPodHandle } = await import("./pod-handle-
|
|
9854
|
+
const { buildPodHandle } = await import("./pod-handle-ECVCDIXW.js");
|
|
9855
9855
|
return buildPodHandle(this.adapter, this.name);
|
|
9856
9856
|
}
|
|
9857
9857
|
/**
|
|
@@ -9883,7 +9883,7 @@ var Vault = class {
|
|
|
9883
9883
|
* both modes round-trip cleanly.
|
|
9884
9884
|
*/
|
|
9885
9885
|
async dump() {
|
|
9886
|
-
const { dumpVault } = await import("./backup-
|
|
9886
|
+
const { dumpVault } = await import("./backup-XKCXVKV3.js");
|
|
9887
9887
|
return dumpVault(this.backupContext());
|
|
9888
9888
|
}
|
|
9889
9889
|
/**
|
|
@@ -9935,7 +9935,7 @@ var Vault = class {
|
|
|
9935
9935
|
* — there's no chain to verify against.
|
|
9936
9936
|
*/
|
|
9937
9937
|
async load(backupJson) {
|
|
9938
|
-
const { loadVault } = await import("./backup-
|
|
9938
|
+
const { loadVault } = await import("./backup-XKCXVKV3.js");
|
|
9939
9939
|
return loadVault(this.backupContext(), backupJson);
|
|
9940
9940
|
}
|
|
9941
9941
|
/**
|
|
@@ -9967,7 +9967,7 @@ var Vault = class {
|
|
|
9967
9967
|
* way to detect tampering of an in-place vault.
|
|
9968
9968
|
*/
|
|
9969
9969
|
async verifyBackupIntegrity() {
|
|
9970
|
-
const { verifyBackupIntegrity } = await import("./backup-
|
|
9970
|
+
const { verifyBackupIntegrity } = await import("./backup-XKCXVKV3.js");
|
|
9971
9971
|
return verifyBackupIntegrity(this.backupContext());
|
|
9972
9972
|
}
|
|
9973
9973
|
/**
|
|
@@ -10197,7 +10197,7 @@ var Vault = class {
|
|
|
10197
10197
|
* is the live validator object, not a serialization of it).
|
|
10198
10198
|
*/
|
|
10199
10199
|
async exportJSON(opts = {}) {
|
|
10200
|
-
const { exportVaultJSON } = await import("./backup-
|
|
10200
|
+
const { exportVaultJSON } = await import("./backup-XKCXVKV3.js");
|
|
10201
10201
|
return exportVaultJSON(this.backupContext(), opts);
|
|
10202
10202
|
}
|
|
10203
10203
|
};
|
|
@@ -10981,10 +10981,24 @@ var NoydbSnapshots = class {
|
|
|
10981
10981
|
};
|
|
10982
10982
|
|
|
10983
10983
|
// src/kernel/memory-store.ts
|
|
10984
|
-
|
|
10984
|
+
var MEMORY_STORE_OPTION_KEYS = ["full", "clockUncertaintyMs"];
|
|
10985
|
+
function memoryStore(options = {}) {
|
|
10986
|
+
for (const k of Object.keys(options)) {
|
|
10987
|
+
if (!MEMORY_STORE_OPTION_KEYS.includes(k)) {
|
|
10988
|
+
throw new Error(
|
|
10989
|
+
`memoryStore: unknown option \`${k}\`. Known options: ${MEMORY_STORE_OPTION_KEYS.join(", ")}.`
|
|
10990
|
+
);
|
|
10991
|
+
}
|
|
10992
|
+
}
|
|
10993
|
+
const full = options.full === true;
|
|
10994
|
+
if (options.clockUncertaintyMs !== void 0 && !full) {
|
|
10995
|
+
throw new Error(
|
|
10996
|
+
"memoryStore: `clockUncertaintyMs` requires `full: true` \u2014 the default store clock is a counter, not milliseconds, so an ms epsilon around it would be meaningless."
|
|
10997
|
+
);
|
|
10998
|
+
}
|
|
10999
|
+
const epsilon = options.clockUncertaintyMs ?? 0;
|
|
10985
11000
|
const store = /* @__PURE__ */ new Map();
|
|
10986
11001
|
let clock = 0;
|
|
10987
|
-
const epsilon = 0;
|
|
10988
11002
|
const coll = (vault, collection) => {
|
|
10989
11003
|
let comp = store.get(vault);
|
|
10990
11004
|
if (!comp) {
|
|
@@ -10998,11 +11012,16 @@ function memoryStore() {
|
|
|
10998
11012
|
}
|
|
10999
11013
|
return c;
|
|
11000
11014
|
};
|
|
11001
|
-
|
|
11015
|
+
const core = {
|
|
11002
11016
|
name: "memory",
|
|
11003
|
-
capabilities: {
|
|
11017
|
+
capabilities: {
|
|
11018
|
+
casAtomic: true,
|
|
11019
|
+
serverWriteTime: true,
|
|
11020
|
+
...full ? { txAtomic: true } : {},
|
|
11021
|
+
auth: { kind: "none", required: false, flow: "static" }
|
|
11022
|
+
},
|
|
11004
11023
|
async getStoreTime() {
|
|
11005
|
-
const now = ++clock;
|
|
11024
|
+
const now = full ? clock = Math.max(clock + 1, Date.now()) : ++clock;
|
|
11006
11025
|
return { earliest: now - epsilon, latest: now + epsilon };
|
|
11007
11026
|
},
|
|
11008
11027
|
async get(vault, collection, id) {
|
|
@@ -11061,6 +11080,50 @@ function memoryStore() {
|
|
|
11061
11080
|
return { items, nextCursor: end < ids.length ? String(end) : null };
|
|
11062
11081
|
}
|
|
11063
11082
|
};
|
|
11083
|
+
if (!full) return core;
|
|
11084
|
+
return {
|
|
11085
|
+
...core,
|
|
11086
|
+
async ping() {
|
|
11087
|
+
return true;
|
|
11088
|
+
},
|
|
11089
|
+
/**
|
|
11090
|
+
* Enumerate every top-level vault held by this store — the outer Map's
|
|
11091
|
+
* keys, O(vaults). Intentionally unsorted; sort at the call site if you
|
|
11092
|
+
* need a stable order.
|
|
11093
|
+
*/
|
|
11094
|
+
async listVaults() {
|
|
11095
|
+
return [...store.keys()];
|
|
11096
|
+
},
|
|
11097
|
+
/**
|
|
11098
|
+
* Multi-record atomic transaction. Validates every op's
|
|
11099
|
+
* `expectedVersion` against current state first and throws on the first
|
|
11100
|
+
* mismatch with nothing written, then applies every op in one
|
|
11101
|
+
* synchronous burst — the Map mutations cannot interleave in the JS
|
|
11102
|
+
* event loop, so this is truly atomic.
|
|
11103
|
+
*/
|
|
11104
|
+
async tx(ops) {
|
|
11105
|
+
for (const op of ops) {
|
|
11106
|
+
if (op.type === "put" && !op.envelope) {
|
|
11107
|
+
throw new Error(`tx: put op for ${op.id} is missing envelope`);
|
|
11108
|
+
}
|
|
11109
|
+
if (op.expectedVersion === void 0) continue;
|
|
11110
|
+
const actual = store.get(op.vault)?.get(op.collection)?.get(op.id)?._v ?? 0;
|
|
11111
|
+
if (actual !== op.expectedVersion) {
|
|
11112
|
+
throw new ConflictError(
|
|
11113
|
+
actual,
|
|
11114
|
+
`tx: ${op.vault}/${op.collection}/${op.id} expected v${op.expectedVersion}, found v${actual}`
|
|
11115
|
+
);
|
|
11116
|
+
}
|
|
11117
|
+
}
|
|
11118
|
+
for (const op of ops) {
|
|
11119
|
+
if (op.type === "put") {
|
|
11120
|
+
coll(op.vault, op.collection).set(op.id, op.envelope);
|
|
11121
|
+
} else {
|
|
11122
|
+
store.get(op.vault)?.get(op.collection)?.delete(op.id);
|
|
11123
|
+
}
|
|
11124
|
+
}
|
|
11125
|
+
}
|
|
11126
|
+
};
|
|
11064
11127
|
}
|
|
11065
11128
|
|
|
11066
11129
|
// src/with-party/team/noydb-facade.ts
|
|
@@ -13497,7 +13560,7 @@ async function createNoydb(options) {
|
|
|
13497
13560
|
if (!options.store) options = { ...options, store: memoryStore() };
|
|
13498
13561
|
validateSecretModeOptions(options);
|
|
13499
13562
|
if (!options.mesh) options = { ...options, mesh: await createDefaultMesh(options.store) };
|
|
13500
|
-
if (!options.userApiFactory) options = { ...options, userApiFactory: (await import("./api-
|
|
13563
|
+
if (!options.userApiFactory) options = { ...options, userApiFactory: (await import("./api-WYW4YEQG.js")).createUserApi };
|
|
13501
13564
|
if (!options.policyFactory) {
|
|
13502
13565
|
const policyModule = await import("./policy/index.js");
|
|
13503
13566
|
options = { ...options, policyFactory: policyModule.createNoydbPolicy, policyCheckGateFn: policyModule.checkGate };
|
|
@@ -13530,4 +13593,4 @@ export {
|
|
|
13530
13593
|
Noydb,
|
|
13531
13594
|
createNoydb
|
|
13532
13595
|
};
|
|
13533
|
-
//# sourceMappingURL=chunk-
|
|
13596
|
+
//# sourceMappingURL=chunk-ZYIYHJ5R.js.map
|