@noy-db/hub 0.3.0-pre.11 → 0.3.0-pre.13
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/dist/aggregate/index.js +4 -4
- package/dist/api-ZGS6LCOF.js +20 -0
- package/dist/as/index.js +11 -11
- package/dist/attestation/index.js +18 -18
- package/dist/{backup-XA5STIYQ.js → backup-BJ57IKAO.js} +28 -11
- package/dist/backup-BJ57IKAO.js.map +1 -0
- package/dist/blobs/index.js +12 -10
- package/dist/blobs/index.js.map +1 -1
- package/dist/broker/index.js +12 -12
- package/dist/bundle/index.js +25 -22
- package/dist/bundle/index.js.map +1 -1
- package/dist/by/index.js +2 -2
- package/dist/cargo/index.js +22 -22
- package/dist/{chunk-WGV4CUZT.js → chunk-2NVOWNI3.js} +4 -4
- package/dist/{chunk-WGV4CUZT.js.map → chunk-2NVOWNI3.js.map} +1 -1
- package/dist/{chunk-OFJ5GPNA.js → chunk-3B5VVCNY.js} +2 -2
- package/dist/{chunk-KPGX66PM.js → chunk-3LQ2YKO4.js} +2 -2
- package/dist/{chunk-D26JB3LZ.js → chunk-3QCRBHCY.js} +2 -2
- package/dist/{chunk-H6CZSDWK.js → chunk-454JXE57.js} +3 -3
- package/dist/{chunk-H6CZSDWK.js.map → chunk-454JXE57.js.map} +1 -1
- package/dist/{chunk-DGH65E7Q.js → chunk-4CTHCN4J.js} +24 -10
- package/dist/chunk-4CTHCN4J.js.map +1 -0
- package/dist/{chunk-4N5QFSNQ.js → chunk-4JBYV75E.js} +5 -5
- package/dist/{chunk-UTLEAJXC.js → chunk-4NXKCLLQ.js} +2 -2
- package/dist/{chunk-ARSAMO24.js → chunk-4VNQOLML.js} +2 -2
- package/dist/{chunk-X6CMGUAG.js → chunk-5M5DVGV7.js} +2 -2
- package/dist/{chunk-DJ3VKYFA.js → chunk-5O3XF4DV.js} +4 -4
- package/dist/chunk-5O3XF4DV.js.map +1 -0
- package/dist/{chunk-XHV25KBM.js → chunk-5YOLBEQ6.js} +2 -2
- package/dist/{chunk-CB25ONKC.js → chunk-6CRIV7DE.js} +2 -2
- package/dist/{chunk-BE7N3AXA.js → chunk-6JTIAGHD.js} +3 -3
- package/dist/{chunk-JOQ53DMI.js → chunk-6QTNZJBS.js} +3 -3
- package/dist/{chunk-BZO4WCJI.js → chunk-6T2SCQRU.js} +4 -4
- package/dist/{chunk-FQQF23MC.js → chunk-7DSTRQIJ.js} +2 -2
- package/dist/{chunk-IP2QBAGS.js → chunk-AUSTCW2X.js} +10 -10
- package/dist/{chunk-A2Y6YFVN.js → chunk-B3HJYUOF.js} +2 -2
- package/dist/{chunk-SRVQHVNX.js → chunk-BDVFPG6Y.js} +5 -5
- package/dist/{chunk-FH542DDY.js → chunk-BIOUI4HL.js} +50 -1
- package/dist/chunk-BIOUI4HL.js.map +1 -0
- package/dist/{chunk-YXOUQ2H7.js → chunk-CAF6WOK7.js} +2 -2
- package/dist/{chunk-H6HM6CVR.js → chunk-CDUQTA3Z.js} +114 -12
- package/dist/chunk-CDUQTA3Z.js.map +1 -0
- package/dist/{chunk-HUS3J5WM.js → chunk-CIE2BASH.js} +2 -2
- package/dist/{chunk-DIRRS7WP.js → chunk-CRI4OUV4.js} +2 -2
- package/dist/{chunk-FXK4X4BL.js → chunk-DLG74CNB.js} +4 -4
- package/dist/{chunk-WTUNZACT.js → chunk-E5ZQT5KX.js} +2 -2
- package/dist/{chunk-DMFNPHCX.js → chunk-EQO2UVP4.js} +6 -6
- package/dist/{chunk-MCEKIAO4.js → chunk-ERJ7FU55.js} +3 -3
- package/dist/{chunk-6QILBDZU.js → chunk-EVVGJDRQ.js} +3 -3
- package/dist/{chunk-7VSGW5KJ.js → chunk-EVX47VBM.js} +2 -2
- package/dist/{chunk-D3EFFFOL.js → chunk-EXK7QRWF.js} +5 -5
- package/dist/{chunk-5JB73NMC.js → chunk-EYZ6IQ6X.js} +5 -5
- package/dist/{chunk-BCYQA5BK.js → chunk-F64IRYG3.js} +2 -2
- package/dist/{chunk-K62IUKOD.js → chunk-FHS2HQSH.js} +5 -5
- package/dist/{chunk-2JMMY7HZ.js → chunk-FM3G3NOY.js} +27 -9
- package/dist/chunk-FM3G3NOY.js.map +1 -0
- package/dist/{chunk-67TNU77I.js → chunk-FUG4SFN3.js} +2 -2
- package/dist/{chunk-ZP5PL65C.js → chunk-GKEWXIV5.js} +2 -2
- package/dist/{chunk-RKRGDAS7.js → chunk-GTGPO5KW.js} +5 -5
- package/dist/{chunk-MSPNM2OM.js → chunk-HB3RFQSC.js} +3 -3
- package/dist/{chunk-W5D62AQD.js → chunk-HDMEGAQE.js} +20 -7
- package/dist/chunk-HDMEGAQE.js.map +1 -0
- package/dist/chunk-HDQIIUPH.js +135 -0
- package/dist/chunk-HDQIIUPH.js.map +1 -0
- package/dist/{chunk-7QIXUSDQ.js → chunk-HTJQYHZP.js} +15 -12
- package/dist/chunk-HTJQYHZP.js.map +1 -0
- package/dist/{chunk-OOLO4LQG.js → chunk-I6GALP6E.js} +6 -6
- package/dist/{chunk-57V5S7PW.js → chunk-IL6POWCW.js} +6 -6
- package/dist/{chunk-7NS43EXZ.js → chunk-IU6SNYX6.js} +5 -5
- package/dist/{chunk-5ZOSG3RJ.js → chunk-J2ZX2XUV.js} +5 -5
- package/dist/{chunk-L2SNBIV7.js → chunk-JIF24JPM.js} +57 -15
- package/dist/chunk-JIF24JPM.js.map +1 -0
- package/dist/{chunk-SYMS4546.js → chunk-JKJOGPZN.js} +2 -2
- package/dist/{chunk-CKZW6P5V.js → chunk-JNAI2HN2.js} +1 -1
- package/dist/chunk-JNAI2HN2.js.map +1 -0
- package/dist/{chunk-AWB5JZW6.js → chunk-JZUV47FZ.js} +2 -2
- package/dist/{chunk-ODJWBC5I.js → chunk-K5IMOGHB.js} +2 -2
- package/dist/{chunk-3G4KMVUN.js → chunk-KSKBRKGJ.js} +3 -3
- package/dist/{chunk-HFJIGWJC.js → chunk-LASZKVMO.js} +3 -3
- package/dist/{chunk-IGJHJYM6.js → chunk-LXEXBTKL.js} +4 -4
- package/dist/{chunk-3CNQ7FQ3.js → chunk-M4CV6BRT.js} +119 -25
- package/dist/chunk-M4CV6BRT.js.map +1 -0
- package/dist/{chunk-H44ZE4IE.js → chunk-MEFJPTZ4.js} +33 -17
- package/dist/chunk-MEFJPTZ4.js.map +1 -0
- package/dist/{chunk-PR5LC5YX.js → chunk-MV43JSJF.js} +4 -4
- package/dist/{chunk-ELNBMFOS.js → chunk-NJ4EOKMB.js} +4 -4
- package/dist/{chunk-PXWVF7MC.js → chunk-NR5LT5RY.js} +7 -7
- package/dist/{chunk-QYPKGVT4.js → chunk-NWSGI5C7.js} +3 -3
- package/dist/{chunk-P5RY4ZWD.js → chunk-OSDB5WW3.js} +92 -15
- package/dist/chunk-OSDB5WW3.js.map +1 -0
- package/dist/chunk-PN2XMATY.js +37 -0
- package/dist/chunk-PN2XMATY.js.map +1 -0
- package/dist/{chunk-25NDNMQ7.js → chunk-Q5VNKNE5.js} +3 -3
- package/dist/{chunk-CIKY6I4W.js → chunk-QLWMEXCT.js} +2 -2
- package/dist/{chunk-VA4ZWLFY.js → chunk-QRB7NAOJ.js} +2 -2
- package/dist/{chunk-3MSQLQNZ.js → chunk-R4ROFEYC.js} +2 -2
- package/dist/{chunk-BEIRE5K4.js → chunk-RCVJZMFE.js} +4 -4
- package/dist/{chunk-VR24ILCR.js → chunk-RIX4V2TB.js} +3 -3
- package/dist/{chunk-Q3XSMOZM.js → chunk-RYCTDFUX.js} +2 -2
- package/dist/{chunk-7E67FJ33.js → chunk-RZ5SVOYR.js} +2 -2
- package/dist/{chunk-IDIV5NVH.js → chunk-SLFHQTTW.js} +5 -5
- package/dist/chunk-SNZ6URZZ.js +2782 -0
- package/dist/chunk-SNZ6URZZ.js.map +1 -0
- package/dist/{chunk-C3YH34IL.js → chunk-T2FFWNPK.js} +3 -3
- package/dist/{chunk-O2DYPAZY.js → chunk-UNFPPVNI.js} +2 -2
- package/dist/{chunk-MELR46EF.js → chunk-VFUPHI2Z.js} +63 -10
- package/dist/chunk-VFUPHI2Z.js.map +1 -0
- package/dist/{chunk-GA2QHD6P.js → chunk-VLFCJYTL.js} +9 -9
- package/dist/{chunk-YSXEFGND.js → chunk-VN3DBQAU.js} +2 -2
- package/dist/{chunk-C7NTK5I3.js → chunk-VZRODIM3.js} +4 -4
- package/dist/{chunk-QLLKLFE2.js → chunk-W22IKJE2.js} +2 -2
- package/dist/{chunk-5XIPOCQC.js → chunk-X3YYQWOQ.js} +3 -3
- package/dist/{chunk-A2QF4JUE.js → chunk-X7QBD67R.js} +625 -293
- package/dist/chunk-X7QBD67R.js.map +1 -0
- package/dist/{chunk-QQJXBZCO.js → chunk-XDYREZWE.js} +82 -10
- package/dist/chunk-XDYREZWE.js.map +1 -0
- package/dist/{chunk-OEAATWH5.js → chunk-XWZVFISC.js} +40 -6
- package/dist/{chunk-OEAATWH5.js.map → chunk-XWZVFISC.js.map} +1 -1
- package/dist/{chunk-XFXUTFWQ.js → chunk-YFXZEAYK.js} +6 -6
- package/dist/{chunk-7ITPJFGC.js → chunk-ZAJAVEXY.js} +2 -2
- package/dist/{chunk-4R4Q64W5.js → chunk-ZICD77GM.js} +2 -2
- package/dist/{chunk-45ZZLTFH.js → chunk-ZJ2AK4V7.js} +2 -2
- package/dist/{chunk-UFILRICG.js → chunk-ZUODRVHY.js} +2 -2
- package/dist/classified/index.js +5 -5
- package/dist/{classified-marker-LQWWQNIJ.js → classified-marker-CZKA6ITE.js} +8 -4
- package/dist/classified-marker-CZKA6ITE.js.map +1 -0
- package/dist/collection-facade-TLWIPI76.js +44 -0
- package/dist/{computed-W6MVAMWZ.js → computed-ZIQTYTDI.js} +3 -3
- package/dist/consent/index.js +9 -9
- package/dist/{dead-filter-4KXZEB3X.js → dead-filter-ESOBZZP5.js} +2 -2
- package/dist/delegation-W7ZV2322.js +25 -0
- package/dist/derivations/index.js +12 -12
- package/dist/derive-H2BJTLUI.js +21 -0
- package/dist/{enclave-VXAQD4XJ.js → enclave-AP3I5W7O.js} +15 -9
- package/dist/executor-KGWTNEQD.js +9 -0
- package/dist/executor-OVEXR6RT.js +9 -0
- package/dist/executor-UNEH5ZYH.js +25 -0
- package/dist/export-accessible-PCMXSUZS.js +23 -0
- package/dist/extract-partition-SWHFSYJO.js +38 -0
- package/dist/{fanout-sidecar-CKYFH33E.js → fanout-sidecar-A765THMX.js} +9 -9
- package/dist/find-N6345CNT.js +11 -0
- package/dist/forget/index.js +9 -9
- package/dist/guards/index.js +3 -3
- package/dist/history/index.js +14 -11
- package/dist/history/index.js.map +1 -1
- package/dist/i18n/index.js +14 -14
- package/dist/index.d.ts +5 -1
- package/dist/index.js +108 -89
- package/dist/index.js.map +1 -1
- package/dist/indexing/index.js +5 -5
- package/dist/indexing/index.js.map +1 -1
- package/dist/issue-5OKB6I2R.js +19 -0
- package/dist/kernel/best-effort-revert.d.ts +52 -0
- package/dist/kernel/collection-config.d.ts +28 -0
- package/dist/kernel/collection.d.ts +49 -32
- package/dist/kernel/enclave/classify/verify.d.ts +3 -0
- package/dist/kernel/enclave/index.d.ts +2 -1
- package/dist/kernel/enclave/record-keys/deterministic.d.ts +1 -0
- package/dist/kernel/enclave/record-keys/lifecycle.d.ts +50 -0
- package/dist/kernel/enclave/record-keys/record-codec.d.ts +27 -0
- package/dist/kernel/errors.d.ts +75 -1
- package/dist/kernel/lazy-count.d.ts +13 -0
- package/dist/kernel/noydb.d.ts +8 -0
- package/dist/kernel/tier-visibility.d.ts +54 -0
- package/dist/kernel/types.d.ts +92 -0
- package/dist/kernel/vault.d.ts +23 -6
- package/dist/kernel/via/dispatch.d.ts +10 -0
- package/dist/kernel/via/graph.d.ts +2 -1
- package/dist/{ledger-FU6GH5EH.js → ledger-GFBKVPV4.js} +11 -11
- package/dist/legacy/bundle.d.ts +1 -1
- package/dist/liberate-3VDOT4KO.js +24 -0
- package/dist/{link-set-MNADSH5M.js → link-set-Z7Q2ASFX.js} +11 -11
- package/dist/materialized-views/index.js +18 -18
- package/dist/noydb-ZCJOYBDI.js +68 -0
- package/dist/on/index.js +9 -9
- package/dist/overlay-views/index.js +4 -4
- package/dist/periods/index.js +12 -12
- package/dist/pod/index.js +11 -11
- package/dist/{policy-JTFOPPUU.js → policy-Z3RUAIY2.js} +5 -5
- package/dist/port/with/blob-strategy.d.ts +17 -0
- package/dist/port/with/lookup-strategy.d.ts +2 -1
- package/dist/portability/index.js +8 -8
- package/dist/{post-register-HAWO3O7O.js → post-register-JTH76BLY.js} +12 -7
- package/dist/post-register-JTH76BLY.js.map +1 -0
- package/dist/{public-envelope-NJVB7LPA.js → public-envelope-B4KNWVUA.js} +4 -4
- package/dist/query/index.js +5 -5
- package/dist/register-VAHONCID.js +23 -0
- package/dist/registry-7MLVD3VO.js +19 -0
- package/dist/registry-EPKPD5SM.js +18 -0
- package/dist/registry-P5T7PS2U.js +9 -0
- package/dist/request-withdrawal-TI3A5WPS.js +31 -0
- package/dist/{reveal-BOY7XYFH.js → reveal-DIBHLUZX.js} +7 -7
- package/dist/reveal-DIBHLUZX.js.map +1 -0
- package/dist/revoke-FDRD6GRW.js +24 -0
- package/dist/satellites/index.js +1 -1
- package/dist/sealed-record/index.js +12 -12
- package/dist/{seed-4RRXT42N.js → seed-Q6M2IZFL.js} +11 -11
- package/dist/session/index.js +9 -9
- package/dist/shadow/index.js +2 -2
- package/dist/signer-MUWEIUI6.js +25 -0
- package/dist/snapshots/index.js +10 -10
- package/dist/stale-OSQ7J3AA.js +29 -0
- package/dist/storage-MVFCGEQE.js +23 -0
- package/dist/{store-coordination-provider-HPYVFJCV.js → store-coordination-provider-64OEZFGS.js} +3 -3
- package/dist/sync/index.js +9 -9
- package/dist/team/index.js +15 -15
- package/dist/tiers/index.js +14 -10
- package/dist/to/index.js +1 -1
- package/dist/tx/index.js +3 -3
- package/dist/util/index.js +1 -1
- package/dist/{verify-66RHOW7N.js → verify-ZASTRNPR.js} +9 -8
- package/dist/verify-ZASTRNPR.js.map +1 -0
- package/dist/via/lookup/registry.d.ts +9 -0
- package/dist/via/money/where.d.ts +27 -6
- package/dist/{walk-2RWEOCAS.js → walk-SVNDIZ62.js} +11 -11
- package/dist/with/index.js +11 -11
- package/dist/with-audit/forget/strategy.d.ts +22 -0
- package/dist/with-audit/tiers/index.d.ts +275 -3
- package/dist/with-audit/tiers/strategy.d.ts +5 -4
- package/dist/with-cargo/describe-extraction.d.ts +9 -1
- package/dist/with-cargo/extract-partition.d.ts +9 -1
- package/dist/with-cargo/walk-closure.d.ts +32 -3
- package/dist/with-commit/history/history.d.ts +46 -0
- package/dist/with-commit/history/ledger/store.d.ts +21 -0
- package/dist/with-commit/history/strategy.d.ts +10 -0
- package/dist/with-commit/history/time-machine.d.ts +23 -0
- package/dist/with-commit/tx/elevated-handle.d.ts +2 -1
- package/dist/with-commit/tx/transaction.d.ts +5 -0
- package/dist/with-formula/materialized-views/executor.d.ts +9 -0
- package/dist/with-formula/materialized-views/stale.d.ts +52 -1
- package/dist/with-lookup/embeddings/index.d.ts +1 -0
- package/dist/with-lookup/embeddings/vec-id.d.ts +47 -0
- package/dist/with-lookup/indexing/collection-facade.d.ts +38 -1
- package/dist/with-lookup/indexing/lazy-builder.d.ts +35 -2
- package/dist/with-lookup/indexing/persisted-indexes.d.ts +44 -1
- package/dist/with-lookup/search/collection-facade.d.ts +40 -0
- package/dist/with-lookup/search/persisted-index-store.d.ts +82 -2
- package/dist/with-lookup/search/strategy.d.ts +4 -0
- package/dist/with-party/team/sync.d.ts +9 -0
- package/dist/with-shape/blobs/blob-intent.d.ts +153 -0
- package/dist/with-shape/blobs/blob-set.d.ts +949 -5
- package/dist/with-shape/satellites/fanout.d.ts +5 -4
- package/dist/with-shape/satellites/migrate-cek.d.ts +26 -0
- package/dist/with-shape/satellites/types.d.ts +11 -0
- package/dist/withdraw-accessible-WZIEVWSR.js +28 -0
- package/package.json +3 -3
- package/dist/api-YGMINAET.js +0 -20
- package/dist/backup-XA5STIYQ.js.map +0 -1
- package/dist/chunk-2JMMY7HZ.js.map +0 -1
- package/dist/chunk-3CNQ7FQ3.js.map +0 -1
- package/dist/chunk-7QIXUSDQ.js.map +0 -1
- package/dist/chunk-A2QF4JUE.js.map +0 -1
- package/dist/chunk-AOVDSIL3.js +0 -1221
- package/dist/chunk-AOVDSIL3.js.map +0 -1
- package/dist/chunk-CKZW6P5V.js.map +0 -1
- package/dist/chunk-DGH65E7Q.js.map +0 -1
- package/dist/chunk-DJ3VKYFA.js.map +0 -1
- package/dist/chunk-FH542DDY.js.map +0 -1
- package/dist/chunk-H44ZE4IE.js.map +0 -1
- package/dist/chunk-H6HM6CVR.js.map +0 -1
- package/dist/chunk-L2SNBIV7.js.map +0 -1
- package/dist/chunk-MELR46EF.js.map +0 -1
- package/dist/chunk-P5RY4ZWD.js.map +0 -1
- package/dist/chunk-QQJXBZCO.js.map +0 -1
- package/dist/chunk-TPH5EO6L.js +0 -54
- package/dist/chunk-TPH5EO6L.js.map +0 -1
- package/dist/chunk-W5D62AQD.js.map +0 -1
- package/dist/classified-marker-LQWWQNIJ.js.map +0 -1
- package/dist/collection-facade-YE2O4J4O.js +0 -39
- package/dist/delegation-OPUU3R2E.js +0 -25
- package/dist/derive-BGUHU663.js +0 -21
- package/dist/executor-GTVSUUBX.js +0 -25
- package/dist/executor-GZWMTOXB.js +0 -9
- package/dist/executor-XXGS4S3K.js +0 -9
- package/dist/export-accessible-BMULIOYB.js +0 -23
- package/dist/extract-partition-JUQTWDXR.js +0 -36
- package/dist/find-XRGCNGNN.js +0 -11
- package/dist/issue-UB6AA5M6.js +0 -19
- package/dist/liberate-YUN7W5QG.js +0 -24
- package/dist/noydb-6JLBZU4U.js +0 -67
- package/dist/post-register-HAWO3O7O.js.map +0 -1
- package/dist/register-VCKOBWKT.js +0 -23
- package/dist/registry-72UKJ2L4.js +0 -9
- package/dist/registry-BZFLJNEH.js +0 -18
- package/dist/registry-YJEYSYI5.js +0 -19
- package/dist/request-withdrawal-6MJRMFHF.js +0 -31
- package/dist/reveal-BOY7XYFH.js.map +0 -1
- package/dist/revoke-4KUNSVJC.js +0 -24
- package/dist/signer-DDDXP5JD.js +0 -25
- package/dist/stale-NXPT56JA.js +0 -14
- package/dist/storage-IR6EEAV2.js +0 -23
- package/dist/verify-66RHOW7N.js.map +0 -1
- package/dist/withdraw-accessible-CLMZEHQT.js +0 -28
- /package/dist/{api-YGMINAET.js.map → api-ZGS6LCOF.js.map} +0 -0
- /package/dist/{chunk-OFJ5GPNA.js.map → chunk-3B5VVCNY.js.map} +0 -0
- /package/dist/{chunk-KPGX66PM.js.map → chunk-3LQ2YKO4.js.map} +0 -0
- /package/dist/{chunk-D26JB3LZ.js.map → chunk-3QCRBHCY.js.map} +0 -0
- /package/dist/{chunk-4N5QFSNQ.js.map → chunk-4JBYV75E.js.map} +0 -0
- /package/dist/{chunk-UTLEAJXC.js.map → chunk-4NXKCLLQ.js.map} +0 -0
- /package/dist/{chunk-ARSAMO24.js.map → chunk-4VNQOLML.js.map} +0 -0
- /package/dist/{chunk-X6CMGUAG.js.map → chunk-5M5DVGV7.js.map} +0 -0
- /package/dist/{chunk-XHV25KBM.js.map → chunk-5YOLBEQ6.js.map} +0 -0
- /package/dist/{chunk-CB25ONKC.js.map → chunk-6CRIV7DE.js.map} +0 -0
- /package/dist/{chunk-BE7N3AXA.js.map → chunk-6JTIAGHD.js.map} +0 -0
- /package/dist/{chunk-JOQ53DMI.js.map → chunk-6QTNZJBS.js.map} +0 -0
- /package/dist/{chunk-BZO4WCJI.js.map → chunk-6T2SCQRU.js.map} +0 -0
- /package/dist/{chunk-FQQF23MC.js.map → chunk-7DSTRQIJ.js.map} +0 -0
- /package/dist/{chunk-IP2QBAGS.js.map → chunk-AUSTCW2X.js.map} +0 -0
- /package/dist/{chunk-A2Y6YFVN.js.map → chunk-B3HJYUOF.js.map} +0 -0
- /package/dist/{chunk-SRVQHVNX.js.map → chunk-BDVFPG6Y.js.map} +0 -0
- /package/dist/{chunk-YXOUQ2H7.js.map → chunk-CAF6WOK7.js.map} +0 -0
- /package/dist/{chunk-HUS3J5WM.js.map → chunk-CIE2BASH.js.map} +0 -0
- /package/dist/{chunk-DIRRS7WP.js.map → chunk-CRI4OUV4.js.map} +0 -0
- /package/dist/{chunk-FXK4X4BL.js.map → chunk-DLG74CNB.js.map} +0 -0
- /package/dist/{chunk-WTUNZACT.js.map → chunk-E5ZQT5KX.js.map} +0 -0
- /package/dist/{chunk-DMFNPHCX.js.map → chunk-EQO2UVP4.js.map} +0 -0
- /package/dist/{chunk-MCEKIAO4.js.map → chunk-ERJ7FU55.js.map} +0 -0
- /package/dist/{chunk-6QILBDZU.js.map → chunk-EVVGJDRQ.js.map} +0 -0
- /package/dist/{chunk-7VSGW5KJ.js.map → chunk-EVX47VBM.js.map} +0 -0
- /package/dist/{chunk-D3EFFFOL.js.map → chunk-EXK7QRWF.js.map} +0 -0
- /package/dist/{chunk-5JB73NMC.js.map → chunk-EYZ6IQ6X.js.map} +0 -0
- /package/dist/{chunk-BCYQA5BK.js.map → chunk-F64IRYG3.js.map} +0 -0
- /package/dist/{chunk-K62IUKOD.js.map → chunk-FHS2HQSH.js.map} +0 -0
- /package/dist/{chunk-67TNU77I.js.map → chunk-FUG4SFN3.js.map} +0 -0
- /package/dist/{chunk-ZP5PL65C.js.map → chunk-GKEWXIV5.js.map} +0 -0
- /package/dist/{chunk-RKRGDAS7.js.map → chunk-GTGPO5KW.js.map} +0 -0
- /package/dist/{chunk-MSPNM2OM.js.map → chunk-HB3RFQSC.js.map} +0 -0
- /package/dist/{chunk-OOLO4LQG.js.map → chunk-I6GALP6E.js.map} +0 -0
- /package/dist/{chunk-57V5S7PW.js.map → chunk-IL6POWCW.js.map} +0 -0
- /package/dist/{chunk-7NS43EXZ.js.map → chunk-IU6SNYX6.js.map} +0 -0
- /package/dist/{chunk-5ZOSG3RJ.js.map → chunk-J2ZX2XUV.js.map} +0 -0
- /package/dist/{chunk-SYMS4546.js.map → chunk-JKJOGPZN.js.map} +0 -0
- /package/dist/{chunk-AWB5JZW6.js.map → chunk-JZUV47FZ.js.map} +0 -0
- /package/dist/{chunk-ODJWBC5I.js.map → chunk-K5IMOGHB.js.map} +0 -0
- /package/dist/{chunk-3G4KMVUN.js.map → chunk-KSKBRKGJ.js.map} +0 -0
- /package/dist/{chunk-HFJIGWJC.js.map → chunk-LASZKVMO.js.map} +0 -0
- /package/dist/{chunk-IGJHJYM6.js.map → chunk-LXEXBTKL.js.map} +0 -0
- /package/dist/{chunk-PR5LC5YX.js.map → chunk-MV43JSJF.js.map} +0 -0
- /package/dist/{chunk-ELNBMFOS.js.map → chunk-NJ4EOKMB.js.map} +0 -0
- /package/dist/{chunk-PXWVF7MC.js.map → chunk-NR5LT5RY.js.map} +0 -0
- /package/dist/{chunk-QYPKGVT4.js.map → chunk-NWSGI5C7.js.map} +0 -0
- /package/dist/{chunk-25NDNMQ7.js.map → chunk-Q5VNKNE5.js.map} +0 -0
- /package/dist/{chunk-CIKY6I4W.js.map → chunk-QLWMEXCT.js.map} +0 -0
- /package/dist/{chunk-VA4ZWLFY.js.map → chunk-QRB7NAOJ.js.map} +0 -0
- /package/dist/{chunk-3MSQLQNZ.js.map → chunk-R4ROFEYC.js.map} +0 -0
- /package/dist/{chunk-BEIRE5K4.js.map → chunk-RCVJZMFE.js.map} +0 -0
- /package/dist/{chunk-VR24ILCR.js.map → chunk-RIX4V2TB.js.map} +0 -0
- /package/dist/{chunk-Q3XSMOZM.js.map → chunk-RYCTDFUX.js.map} +0 -0
- /package/dist/{chunk-7E67FJ33.js.map → chunk-RZ5SVOYR.js.map} +0 -0
- /package/dist/{chunk-IDIV5NVH.js.map → chunk-SLFHQTTW.js.map} +0 -0
- /package/dist/{chunk-C3YH34IL.js.map → chunk-T2FFWNPK.js.map} +0 -0
- /package/dist/{chunk-O2DYPAZY.js.map → chunk-UNFPPVNI.js.map} +0 -0
- /package/dist/{chunk-GA2QHD6P.js.map → chunk-VLFCJYTL.js.map} +0 -0
- /package/dist/{chunk-YSXEFGND.js.map → chunk-VN3DBQAU.js.map} +0 -0
- /package/dist/{chunk-C7NTK5I3.js.map → chunk-VZRODIM3.js.map} +0 -0
- /package/dist/{chunk-QLLKLFE2.js.map → chunk-W22IKJE2.js.map} +0 -0
- /package/dist/{chunk-5XIPOCQC.js.map → chunk-X3YYQWOQ.js.map} +0 -0
- /package/dist/{chunk-XFXUTFWQ.js.map → chunk-YFXZEAYK.js.map} +0 -0
- /package/dist/{chunk-7ITPJFGC.js.map → chunk-ZAJAVEXY.js.map} +0 -0
- /package/dist/{chunk-4R4Q64W5.js.map → chunk-ZICD77GM.js.map} +0 -0
- /package/dist/{chunk-45ZZLTFH.js.map → chunk-ZJ2AK4V7.js.map} +0 -0
- /package/dist/{chunk-UFILRICG.js.map → chunk-ZUODRVHY.js.map} +0 -0
- /package/dist/{collection-facade-YE2O4J4O.js.map → collection-facade-TLWIPI76.js.map} +0 -0
- /package/dist/{computed-W6MVAMWZ.js.map → computed-ZIQTYTDI.js.map} +0 -0
- /package/dist/{dead-filter-4KXZEB3X.js.map → dead-filter-ESOBZZP5.js.map} +0 -0
- /package/dist/{delegation-OPUU3R2E.js.map → delegation-W7ZV2322.js.map} +0 -0
- /package/dist/{derive-BGUHU663.js.map → derive-H2BJTLUI.js.map} +0 -0
- /package/dist/{enclave-VXAQD4XJ.js.map → enclave-AP3I5W7O.js.map} +0 -0
- /package/dist/{executor-GTVSUUBX.js.map → executor-KGWTNEQD.js.map} +0 -0
- /package/dist/{executor-GZWMTOXB.js.map → executor-OVEXR6RT.js.map} +0 -0
- /package/dist/{executor-XXGS4S3K.js.map → executor-UNEH5ZYH.js.map} +0 -0
- /package/dist/{export-accessible-BMULIOYB.js.map → export-accessible-PCMXSUZS.js.map} +0 -0
- /package/dist/{extract-partition-JUQTWDXR.js.map → extract-partition-SWHFSYJO.js.map} +0 -0
- /package/dist/{fanout-sidecar-CKYFH33E.js.map → fanout-sidecar-A765THMX.js.map} +0 -0
- /package/dist/{find-XRGCNGNN.js.map → find-N6345CNT.js.map} +0 -0
- /package/dist/{issue-UB6AA5M6.js.map → issue-5OKB6I2R.js.map} +0 -0
- /package/dist/{ledger-FU6GH5EH.js.map → ledger-GFBKVPV4.js.map} +0 -0
- /package/dist/{liberate-YUN7W5QG.js.map → liberate-3VDOT4KO.js.map} +0 -0
- /package/dist/{link-set-MNADSH5M.js.map → link-set-Z7Q2ASFX.js.map} +0 -0
- /package/dist/{noydb-6JLBZU4U.js.map → noydb-ZCJOYBDI.js.map} +0 -0
- /package/dist/{policy-JTFOPPUU.js.map → policy-Z3RUAIY2.js.map} +0 -0
- /package/dist/{public-envelope-NJVB7LPA.js.map → public-envelope-B4KNWVUA.js.map} +0 -0
- /package/dist/{register-VCKOBWKT.js.map → register-VAHONCID.js.map} +0 -0
- /package/dist/{registry-72UKJ2L4.js.map → registry-7MLVD3VO.js.map} +0 -0
- /package/dist/{registry-BZFLJNEH.js.map → registry-EPKPD5SM.js.map} +0 -0
- /package/dist/{registry-YJEYSYI5.js.map → registry-P5T7PS2U.js.map} +0 -0
- /package/dist/{request-withdrawal-6MJRMFHF.js.map → request-withdrawal-TI3A5WPS.js.map} +0 -0
- /package/dist/{revoke-4KUNSVJC.js.map → revoke-FDRD6GRW.js.map} +0 -0
- /package/dist/{seed-4RRXT42N.js.map → seed-Q6M2IZFL.js.map} +0 -0
- /package/dist/{signer-DDDXP5JD.js.map → signer-MUWEIUI6.js.map} +0 -0
- /package/dist/{stale-NXPT56JA.js.map → stale-OSQ7J3AA.js.map} +0 -0
- /package/dist/{storage-IR6EEAV2.js.map → storage-MVFCGEQE.js.map} +0 -0
- /package/dist/{store-coordination-provider-HPYVFJCV.js.map → store-coordination-provider-64OEZFGS.js.map} +0 -0
- /package/dist/{walk-2RWEOCAS.js.map → walk-SVNDIZ62.js.map} +0 -0
- /package/dist/{withdraw-accessible-CLMZEHQT.js.map → withdraw-accessible-WZIEVWSR.js.map} +0 -0
package/dist/pod/index.js
CHANGED
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
createPodStore,
|
|
5
5
|
wrapBundleStore,
|
|
6
6
|
wrapPodStore
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-RZ5SVOYR.js";
|
|
8
8
|
import {
|
|
9
9
|
COMPRESSION_BROTLI,
|
|
10
10
|
COMPRESSION_GZIP,
|
|
@@ -23,21 +23,21 @@ import {
|
|
|
23
23
|
validateBundleHeader,
|
|
24
24
|
writeNoydbBundle,
|
|
25
25
|
writePod
|
|
26
|
-
} from "../chunk-
|
|
27
|
-
import "../chunk-
|
|
26
|
+
} from "../chunk-FHS2HQSH.js";
|
|
27
|
+
import "../chunk-X3YYQWOQ.js";
|
|
28
28
|
import {
|
|
29
29
|
generateULID,
|
|
30
30
|
isULID
|
|
31
31
|
} from "../chunk-ZJADGNYF.js";
|
|
32
|
-
import "../chunk-
|
|
33
|
-
import "../chunk-
|
|
34
|
-
import "../chunk-
|
|
35
|
-
import "../chunk-
|
|
36
|
-
import "../chunk-
|
|
32
|
+
import "../chunk-XDYREZWE.js";
|
|
33
|
+
import "../chunk-7DSTRQIJ.js";
|
|
34
|
+
import "../chunk-HB3RFQSC.js";
|
|
35
|
+
import "../chunk-JKJOGPZN.js";
|
|
36
|
+
import "../chunk-5M5DVGV7.js";
|
|
37
37
|
import "../chunk-LP7BEXCT.js";
|
|
38
|
-
import "../chunk-
|
|
39
|
-
import "../chunk-
|
|
40
|
-
import "../chunk-
|
|
38
|
+
import "../chunk-CIE2BASH.js";
|
|
39
|
+
import "../chunk-JNAI2HN2.js";
|
|
40
|
+
import "../chunk-BIOUI4HL.js";
|
|
41
41
|
import "../chunk-PZ5AY32C.js";
|
|
42
42
|
export {
|
|
43
43
|
COMPRESSION_BROTLI,
|
|
@@ -6,20 +6,20 @@ import {
|
|
|
6
6
|
createNoydbPolicy,
|
|
7
7
|
describeGate,
|
|
8
8
|
mergePolicy
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-ERJ7FU55.js";
|
|
10
10
|
import {
|
|
11
11
|
META_COLLECTION,
|
|
12
12
|
POLICY_RECORD_ID,
|
|
13
13
|
loadVaultPolicy,
|
|
14
14
|
saveVaultPolicy
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import "./chunk-
|
|
15
|
+
} from "./chunk-CRI4OUV4.js";
|
|
16
|
+
import "./chunk-JNAI2HN2.js";
|
|
17
17
|
import {
|
|
18
18
|
ManagedRecoveryNotEnrolledError,
|
|
19
19
|
PolicyDeniedError,
|
|
20
20
|
RecoveryNotEnrolledError,
|
|
21
21
|
RecoveryProfileNotImplementedError
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-BIOUI4HL.js";
|
|
23
23
|
import "./chunk-PZ5AY32C.js";
|
|
24
24
|
export {
|
|
25
25
|
DEFAULT_FRESHNESS_MS,
|
|
@@ -38,4 +38,4 @@ export {
|
|
|
38
38
|
mergePolicy,
|
|
39
39
|
saveVaultPolicy
|
|
40
40
|
};
|
|
41
|
-
//# sourceMappingURL=policy-
|
|
41
|
+
//# sourceMappingURL=policy-Z3RUAIY2.js.map
|
|
@@ -22,6 +22,7 @@ import type { NoydbStore } from '../../kernel/types.js';
|
|
|
22
22
|
import type { ObjectProjection } from '../../with-shape/blobs/object-projection.js';
|
|
23
23
|
import type { BlobFieldsConfig } from '../../with-shape/blobs/blob-compaction.js';
|
|
24
24
|
import type { EnclaveKey } from '../../kernel/enclave/index.js';
|
|
25
|
+
import type { UnlockedKeyring } from '../../with-party/team/keyring.js';
|
|
25
26
|
/**
|
|
26
27
|
* Args forwarded by `Collection.blob(id)` to the active strategy's
|
|
27
28
|
* `openSlot`. The strategy is responsible for returning a live
|
|
@@ -44,6 +45,13 @@ export interface BlobStrategyOpenArgs {
|
|
|
44
45
|
* CEK design spec.
|
|
45
46
|
*/
|
|
46
47
|
readonly erasableBlobs?: boolean;
|
|
48
|
+
/**
|
|
49
|
+
* Collection has `tiers` active (#724 I1 completion). Combined with
|
|
50
|
+
* `erasableBlobs` false, a content write is refused —
|
|
51
|
+
* `UnsupportedTierCompositionError` — since a legacy blob has no
|
|
52
|
+
* per-blob `_cek` and can never be tier-isolated on elevate/demote.
|
|
53
|
+
*/
|
|
54
|
+
readonly tiersActive?: boolean;
|
|
47
55
|
/**
|
|
48
56
|
* Vault is in debug-plaintext mode (`encrypt: false` + `debugPlaintext: true`).
|
|
49
57
|
* Blobs are then written as a single un-gzipped object (one base64 chunk) so
|
|
@@ -60,6 +68,15 @@ export interface BlobStrategyOpenArgs {
|
|
|
60
68
|
readonly objectStore?: ObjectProjection;
|
|
61
69
|
/** Per-collection blob field policies — used to resolve `external` / `public`. */
|
|
62
70
|
readonly blobFields?: BlobFieldsConfig;
|
|
71
|
+
/**
|
|
72
|
+
* The caller's unlocked keyring (#749). Threaded through so `BlobSet.atTier()`
|
|
73
|
+
* can run `assertTierAccess` — the SAME clearance gate `putAtTier`/`elevate`/
|
|
74
|
+
* `demote` run before any tier `getDEK` call — rather than relying on a bare
|
|
75
|
+
* `getDEK`, which auto-mints a DEK for ANY role and never throws (verified: it
|
|
76
|
+
* is not itself a gate). Omitted only by a construction path that never calls
|
|
77
|
+
* `atTier()`.
|
|
78
|
+
*/
|
|
79
|
+
readonly keyring?: UnlockedKeyring;
|
|
63
80
|
}
|
|
64
81
|
/**
|
|
65
82
|
* The seam interface. `@internal` — do not build public APIs on this
|
|
@@ -24,7 +24,7 @@ import type { UnlockedKeyring } from '../../with-party/team/keyring.js';
|
|
|
24
24
|
import type { NoydbEventEmitter } from '../../kernel/events.js';
|
|
25
25
|
import type { ViaCryptoCtx } from '../../kernel/via/index.js';
|
|
26
26
|
import type { LookupHandle, DictionaryOptions } from '../../via/lookup/handle.js';
|
|
27
|
-
import { enforceStaticDictOnPut, resolveDictSource, updateReferencingRecords, resolveLabelFromMap, collectLookupDictCompat, lookupToStaticDictCompat, materializeBackingTable, checkLookupMembership, buildLookupAltIndex, registerLookupRefEdges, buildLookupSnapshotRows, coerceLookupKey, resolveBackingRowKey, matchesReferencingValue, type DictReferencingCollection, type LookupDictCompat, type MaterializedBacking } from '../../via/lookup/registry.js';
|
|
27
|
+
import { enforceStaticDictOnPut, resolveDictSource, updateReferencingRecords, resolveLabelFromMap, collectLookupDictCompat, lookupToStaticDictCompat, reservedDictDepsOf, materializeBackingTable, checkLookupMembership, buildLookupAltIndex, registerLookupRefEdges, buildLookupSnapshotRows, coerceLookupKey, resolveBackingRowKey, matchesReferencingValue, type DictReferencingCollection, type LookupDictCompat, type MaterializedBacking } from '../../via/lookup/registry.js';
|
|
28
28
|
import { buildPresentForJoin } from '../../via/lookup/snapshot.js';
|
|
29
29
|
import type { LookupDescriptor } from '../../via/lookup/descriptor.js';
|
|
30
30
|
/**
|
|
@@ -106,6 +106,7 @@ export type { DictReferencingCollection };
|
|
|
106
106
|
export { dictCollectionName } from '../../via/lookup/handle.js';
|
|
107
107
|
export { resolveLabelFromMap, collectLookupDictCompat, lookupToStaticDictCompat };
|
|
108
108
|
export type { LookupDictCompat };
|
|
109
|
+
export { reservedDictDepsOf };
|
|
109
110
|
export { materializeBackingTable, checkLookupMembership, buildLookupAltIndex };
|
|
110
111
|
export type { MaterializedBacking };
|
|
111
112
|
export { registerLookupRefEdges };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NO_PORTABILITY
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-K5IMOGHB.js";
|
|
4
4
|
import {
|
|
5
5
|
PortabilityNotEnabledError
|
|
6
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-BIOUI4HL.js";
|
|
7
7
|
import "../chunk-PZ5AY32C.js";
|
|
8
8
|
|
|
9
9
|
// src/with-audit/portability/active.ts
|
|
10
10
|
function withPortability() {
|
|
11
11
|
return {
|
|
12
12
|
async exportAccessibleData(vault, opts) {
|
|
13
|
-
const { exportAccessibleData } = await import("../export-accessible-
|
|
13
|
+
const { exportAccessibleData } = await import("../export-accessible-PCMXSUZS.js");
|
|
14
14
|
return exportAccessibleData(vault, opts);
|
|
15
15
|
},
|
|
16
16
|
async withdrawAccessibleData(vault, opts) {
|
|
17
|
-
const { withdrawAccessibleData } = await import("../withdraw-accessible-
|
|
17
|
+
const { withdrawAccessibleData } = await import("../withdraw-accessible-WZIEVWSR.js");
|
|
18
18
|
return withdrawAccessibleData(vault, opts);
|
|
19
19
|
},
|
|
20
20
|
async requestWithdrawal(vault, opts) {
|
|
21
|
-
const { requestWithdrawal } = await import("../request-withdrawal-
|
|
21
|
+
const { requestWithdrawal } = await import("../request-withdrawal-TI3A5WPS.js");
|
|
22
22
|
return requestWithdrawal(vault, opts);
|
|
23
23
|
},
|
|
24
24
|
async listWithdrawalRequests(vault, opts) {
|
|
25
|
-
const { listWithdrawalRequests } = await import("../request-withdrawal-
|
|
25
|
+
const { listWithdrawalRequests } = await import("../request-withdrawal-TI3A5WPS.js");
|
|
26
26
|
return listWithdrawalRequests(vault, opts);
|
|
27
27
|
},
|
|
28
28
|
async approveWithdrawal(vault, requestId, opts) {
|
|
29
|
-
const { approveWithdrawal } = await import("../request-withdrawal-
|
|
29
|
+
const { approveWithdrawal } = await import("../request-withdrawal-TI3A5WPS.js");
|
|
30
30
|
return approveWithdrawal(vault, requestId, opts);
|
|
31
31
|
},
|
|
32
32
|
async rejectWithdrawal(vault, requestId, opts) {
|
|
33
|
-
const { rejectWithdrawal } = await import("../request-withdrawal-
|
|
33
|
+
const { rejectWithdrawal } = await import("../request-withdrawal-TI3A5WPS.js");
|
|
34
34
|
return rejectWithdrawal(vault, requestId, opts);
|
|
35
35
|
}
|
|
36
36
|
};
|
|
@@ -1,15 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
hashFields
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ZAJAVEXY.js";
|
|
4
4
|
import {
|
|
5
5
|
SatelliteConfigError
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-BIOUI4HL.js";
|
|
7
7
|
import "./chunk-PZ5AY32C.js";
|
|
8
8
|
|
|
9
9
|
// src/with-shape/satellites/marker.ts
|
|
10
10
|
async function ensureSatelliteMarker(store, vaultName, spec, dek) {
|
|
11
|
-
const next = {
|
|
12
|
-
|
|
11
|
+
const next = {
|
|
12
|
+
base: spec.base,
|
|
13
|
+
fieldsHash: hashFields(spec.fields),
|
|
14
|
+
joined: spec.joined,
|
|
15
|
+
epoch: (/* @__PURE__ */ new Date()).toISOString()
|
|
16
|
+
};
|
|
17
|
+
const { loadPersistedSchema } = await import("./storage-MVFCGEQE.js");
|
|
13
18
|
const persisted = await loadPersistedSchema(store, vaultName, spec.satellite, dek);
|
|
14
19
|
const prior = persisted?.satellite;
|
|
15
20
|
if (prior) {
|
|
@@ -20,7 +25,7 @@ async function ensureSatelliteMarker(store, vaultName, spec, dek) {
|
|
|
20
25
|
}
|
|
21
26
|
return;
|
|
22
27
|
}
|
|
23
|
-
const { persistSatelliteMarker } = await import("./register-
|
|
28
|
+
const { persistSatelliteMarker } = await import("./register-VAHONCID.js");
|
|
24
29
|
await persistSatelliteMarker({ store, vault: vaultName, collectionName: spec.satellite, dek, marker: next });
|
|
25
30
|
}
|
|
26
31
|
|
|
@@ -34,7 +39,7 @@ async function postRegister(store, vaultName, spec, getDEK, baseSchema, registry
|
|
|
34
39
|
}
|
|
35
40
|
if (baseSchema !== void 0) {
|
|
36
41
|
try {
|
|
37
|
-
const { derivePersistedSchema } = await import("./derive-
|
|
42
|
+
const { derivePersistedSchema } = await import("./derive-H2BJTLUI.js");
|
|
38
43
|
const envelope = await derivePersistedSchema(baseSchema);
|
|
39
44
|
const properties = envelope.jsonSchema?.["properties"];
|
|
40
45
|
const baseFields = Object.keys(properties ?? {});
|
|
@@ -52,4 +57,4 @@ async function postRegister(store, vaultName, spec, getDEK, baseSchema, registry
|
|
|
52
57
|
export {
|
|
53
58
|
postRegister
|
|
54
59
|
};
|
|
55
|
-
//# sourceMappingURL=post-register-
|
|
60
|
+
//# sourceMappingURL=post-register-JTH76BLY.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/with-shape/satellites/marker.ts","../src/with-shape/satellites/post-register.ts"],"sourcesContent":["import type { NoydbStore } from '../../kernel/types.js'\nimport type { EnclaveKey } from '../../kernel/enclave/index.js'\nimport { SatelliteConfigError } from '../../kernel/errors.js'\nimport { hashFields } from './validate.js'\nimport type { PairingMarker, SatelliteSpec } from './types.js'\n\n/**\n * Persist-or-reconcile the pairing marker in `_schemas/<satellite>`.\n * First declaration writes { base, fieldsHash, joined }; later declarations\n * must match exactly or are refused (R-S9). Lazy imports keep the satellite\n * spine tree-shakeable (config-drift.ts pattern).\n */\nexport async function ensureSatelliteMarker(\n store: NoydbStore, vaultName: string, spec: SatelliteSpec, dek: EnclaveKey,\n): Promise<void> {\n // #597: `epoch` only matters the first time this marker is ever persisted —\n // when a `prior` marker already exists below we return without ever using\n // it, so re-declaring a LIVE collection never mints (or compares) a new\n // epoch; the persisted one is carried forward untouched. Stamped here as a\n // timestamp (mirrors `derivedAt` in persisted-schemas/register.ts) rather\n // than a counter, since there's nothing to count from yet.\n const next: PairingMarker = {\n base: spec.base, fieldsHash: hashFields(spec.fields), joined: spec.joined,\n epoch: new Date().toISOString(),\n }\n const { loadPersistedSchema } = await import('../persisted-schemas/storage.js')\n const persisted = await loadPersistedSchema(store, vaultName, spec.satellite, dek)\n const prior = persisted?.satellite\n if (prior) {\n if (prior.base !== next.base || prior.fieldsHash !== next.fieldsHash || (prior.joined ?? null) !== (next.joined ?? null)) {\n throw new SatelliteConfigError(\n `R-S9: satellite \"${spec.satellite}\" re-declared divergently from its persisted pairing marker ` +\n `(persisted base=\"${prior.base}\" fieldsHash=${prior.fieldsHash}; declared base=\"${next.base}\" fieldsHash=${next.fieldsHash}). ` +\n `Evolve the marker deliberately, don't redeclare.`,\n )\n }\n return\n }\n const { persistSatelliteMarker } = await import('../persisted-schemas/register.js')\n await persistSatelliteMarker({ store, vault: vaultName, collectionName: spec.satellite, dek, marker: next })\n}\n","import type { NoydbStore } from '../../kernel/types.js'\nimport type { EnclaveKey } from '../../kernel/enclave/index.js'\nimport type { SatelliteSpec } from './types.js'\nimport type { SatelliteRegistry } from './registry.js'\nimport { ensureSatelliteMarker } from './marker.js'\n\n/** Async post-registration: R-S9 marker reconcile + R-S1/R-S5 derivable-schema cross-check. Failures poison, never throw. */\nexport async function postRegister(\n store: NoydbStore, vaultName: string, spec: SatelliteSpec,\n getDEK: (collectionName: string) => Promise<EnclaveKey>,\n baseSchema: unknown, registry: SatelliteRegistry,\n): Promise<void> {\n try {\n await ensureSatelliteMarker(store, vaultName, spec, await getDEK(spec.satellite))\n } catch (err) {\n registry.poison(spec.satellite, (err as Error).message); return\n }\n if (baseSchema !== undefined) {\n try {\n const { derivePersistedSchema } = await import('../persisted-schemas/derive.js')\n const envelope = await derivePersistedSchema(baseSchema)\n const properties = (envelope.jsonSchema as Record<string, unknown> | null)?.['properties'] as Record<string, unknown> | undefined\n const baseFields: string[] = Object.keys(properties ?? {})\n const overlap = spec.fields.filter(f => baseFields.includes(f))\n if (overlap.length > 0) {\n registry.poison(spec.satellite,\n `R-S1: satellite \"${spec.satellite}\" fields overlap the base schema: ${overlap.join(', ')} — routing must be unambiguous.`)\n }\n } catch { /* non-derivable validator → cross-check unavailable, by design (spec R-S5) */ }\n }\n}\n"],"mappings":";;;;;;;;;AAYA,eAAsB,sBACpB,OAAmB,WAAmB,MAAqB,KAC5C;AAOf,QAAM,OAAsB;AAAA,IAC1B,MAAM,KAAK;AAAA,IAAM,YAAY,WAAW,KAAK,MAAM;AAAA,IAAG,QAAQ,KAAK;AAAA,IACnE,QAAO,oBAAI,KAAK,GAAE,YAAY;AAAA,EAChC;AACA,QAAM,EAAE,oBAAoB,IAAI,MAAM,OAAO,uBAAiC;AAC9E,QAAM,YAAY,MAAM,oBAAoB,OAAO,WAAW,KAAK,WAAW,GAAG;AACjF,QAAM,QAAQ,WAAW;AACzB,MAAI,OAAO;AACT,QAAI,MAAM,SAAS,KAAK,QAAQ,MAAM,eAAe,KAAK,eAAe,MAAM,UAAU,WAAW,KAAK,UAAU,OAAO;AACxH,YAAM,IAAI;AAAA,QACR,oBAAoB,KAAK,SAAS,gFACd,MAAM,IAAI,gBAAgB,MAAM,UAAU,oBAAoB,KAAK,IAAI,gBAAgB,KAAK,UAAU;AAAA,MAE5H;AAAA,IACF;AACA;AAAA,EACF;AACA,QAAM,EAAE,uBAAuB,IAAI,MAAM,OAAO,wBAAkC;AAClF,QAAM,uBAAuB,EAAE,OAAO,OAAO,WAAW,gBAAgB,KAAK,WAAW,KAAK,QAAQ,KAAK,CAAC;AAC7G;;;ACjCA,eAAsB,aACpB,OAAmB,WAAmB,MACtC,QACA,YAAqB,UACN;AACf,MAAI;AACF,UAAM,sBAAsB,OAAO,WAAW,MAAM,MAAM,OAAO,KAAK,SAAS,CAAC;AAAA,EAClF,SAAS,KAAK;AACZ,aAAS,OAAO,KAAK,WAAY,IAAc,OAAO;AAAG;AAAA,EAC3D;AACA,MAAI,eAAe,QAAW;AAC5B,QAAI;AACF,YAAM,EAAE,sBAAsB,IAAI,MAAM,OAAO,sBAAgC;AAC/E,YAAM,WAAW,MAAM,sBAAsB,UAAU;AACvD,YAAM,aAAc,SAAS,aAAgD,YAAY;AACzF,YAAM,aAAuB,OAAO,KAAK,cAAc,CAAC,CAAC;AACzD,YAAM,UAAU,KAAK,OAAO,OAAO,OAAK,WAAW,SAAS,CAAC,CAAC;AAC9D,UAAI,QAAQ,SAAS,GAAG;AACtB,iBAAS;AAAA,UAAO,KAAK;AAAA,UACnB,oBAAoB,KAAK,SAAS,qCAAqC,QAAQ,KAAK,IAAI,CAAC;AAAA,QAAiC;AAAA,MAC9H;AAAA,IACF,QAAQ;AAAA,IAAiF;AAAA,EAC3F;AACF;","names":[]}
|
|
@@ -12,9 +12,9 @@ import {
|
|
|
12
12
|
resolveLocale,
|
|
13
13
|
savePublicEnvelope,
|
|
14
14
|
validatePublicEnvelopeInput
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
15
|
+
} from "./chunk-X3YYQWOQ.js";
|
|
16
|
+
import "./chunk-JNAI2HN2.js";
|
|
17
|
+
import "./chunk-BIOUI4HL.js";
|
|
18
18
|
import "./chunk-PZ5AY32C.js";
|
|
19
19
|
export {
|
|
20
20
|
DEFAULT_PUBLIC_ENVELOPE_SCHEMA,
|
|
@@ -29,4 +29,4 @@ export {
|
|
|
29
29
|
savePublicEnvelope,
|
|
30
30
|
validatePublicEnvelopeInput
|
|
31
31
|
};
|
|
32
|
-
//# sourceMappingURL=public-envelope-
|
|
32
|
+
//# sourceMappingURL=public-envelope-B4KNWVUA.js.map
|
package/dist/query/index.js
CHANGED
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
buildLiveQuery,
|
|
8
8
|
executePlan,
|
|
9
9
|
resetJoinWarnings
|
|
10
|
-
} from "../chunk-
|
|
10
|
+
} from "../chunk-454JXE57.js";
|
|
11
11
|
import {
|
|
12
12
|
CollectionIndexes
|
|
13
13
|
} from "../chunk-KPZS5QAQ.js";
|
|
@@ -31,14 +31,14 @@ import {
|
|
|
31
31
|
reducerBuilder,
|
|
32
32
|
resetGroupByWarnings,
|
|
33
33
|
sum
|
|
34
|
-
} from "../chunk-
|
|
34
|
+
} from "../chunk-LXEXBTKL.js";
|
|
35
35
|
import {
|
|
36
36
|
evaluateClause,
|
|
37
37
|
evaluateFieldClause,
|
|
38
38
|
readPath
|
|
39
39
|
} from "../chunk-IGJCYUT5.js";
|
|
40
|
-
import "../chunk-
|
|
41
|
-
import "../chunk-
|
|
40
|
+
import "../chunk-6JTIAGHD.js";
|
|
41
|
+
import "../chunk-4VNQOLML.js";
|
|
42
42
|
import {
|
|
43
43
|
CrossJoinSourceUnknownError,
|
|
44
44
|
CrossJoinTooLargeError,
|
|
@@ -48,7 +48,7 @@ import {
|
|
|
48
48
|
IndexRequiredError,
|
|
49
49
|
IndexWriteFailureError,
|
|
50
50
|
JoinTooLargeError
|
|
51
|
-
} from "../chunk-
|
|
51
|
+
} from "../chunk-BIOUI4HL.js";
|
|
52
52
|
import "../chunk-PZ5AY32C.js";
|
|
53
53
|
export {
|
|
54
54
|
Aggregation,
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import {
|
|
2
|
+
persistClassifiedMarker,
|
|
3
|
+
persistSatelliteMarker,
|
|
4
|
+
persistSchemaIfNeeded
|
|
5
|
+
} from "./chunk-2NVOWNI3.js";
|
|
6
|
+
import "./chunk-W22IKJE2.js";
|
|
7
|
+
import "./chunk-VZRODIM3.js";
|
|
8
|
+
import "./chunk-XDYREZWE.js";
|
|
9
|
+
import "./chunk-7DSTRQIJ.js";
|
|
10
|
+
import "./chunk-HB3RFQSC.js";
|
|
11
|
+
import "./chunk-JKJOGPZN.js";
|
|
12
|
+
import "./chunk-5M5DVGV7.js";
|
|
13
|
+
import "./chunk-LP7BEXCT.js";
|
|
14
|
+
import "./chunk-CIE2BASH.js";
|
|
15
|
+
import "./chunk-JNAI2HN2.js";
|
|
16
|
+
import "./chunk-BIOUI4HL.js";
|
|
17
|
+
import "./chunk-PZ5AY32C.js";
|
|
18
|
+
export {
|
|
19
|
+
persistClassifiedMarker,
|
|
20
|
+
persistSatelliteMarker,
|
|
21
|
+
persistSchemaIfNeeded
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=register-VAHONCID.js.map
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import {
|
|
2
|
+
MaterializedViewRegistry,
|
|
3
|
+
wrapDbWithPredicates
|
|
4
|
+
} from "./chunk-KSKBRKGJ.js";
|
|
5
|
+
import "./chunk-XDYREZWE.js";
|
|
6
|
+
import "./chunk-7DSTRQIJ.js";
|
|
7
|
+
import "./chunk-HB3RFQSC.js";
|
|
8
|
+
import "./chunk-JKJOGPZN.js";
|
|
9
|
+
import "./chunk-5M5DVGV7.js";
|
|
10
|
+
import "./chunk-LP7BEXCT.js";
|
|
11
|
+
import "./chunk-CIE2BASH.js";
|
|
12
|
+
import "./chunk-JNAI2HN2.js";
|
|
13
|
+
import "./chunk-BIOUI4HL.js";
|
|
14
|
+
import "./chunk-PZ5AY32C.js";
|
|
15
|
+
export {
|
|
16
|
+
MaterializedViewRegistry,
|
|
17
|
+
wrapDbWithPredicates
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=registry-7MLVD3VO.js.map
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
DerivationRegistry
|
|
3
|
+
} from "./chunk-RCVJZMFE.js";
|
|
4
|
+
import "./chunk-HTJQYHZP.js";
|
|
5
|
+
import "./chunk-XDYREZWE.js";
|
|
6
|
+
import "./chunk-7DSTRQIJ.js";
|
|
7
|
+
import "./chunk-HB3RFQSC.js";
|
|
8
|
+
import "./chunk-JKJOGPZN.js";
|
|
9
|
+
import "./chunk-5M5DVGV7.js";
|
|
10
|
+
import "./chunk-LP7BEXCT.js";
|
|
11
|
+
import "./chunk-CIE2BASH.js";
|
|
12
|
+
import "./chunk-JNAI2HN2.js";
|
|
13
|
+
import "./chunk-BIOUI4HL.js";
|
|
14
|
+
import "./chunk-PZ5AY32C.js";
|
|
15
|
+
export {
|
|
16
|
+
DerivationRegistry
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=registry-EPKPD5SM.js.map
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import {
|
|
2
|
+
WITHDRAWAL_REQUESTS_COLLECTION,
|
|
3
|
+
WithdrawalRequestError,
|
|
4
|
+
approveWithdrawal,
|
|
5
|
+
listWithdrawalRequests,
|
|
6
|
+
rejectWithdrawal,
|
|
7
|
+
requestWithdrawal
|
|
8
|
+
} from "./chunk-BDVFPG6Y.js";
|
|
9
|
+
import "./chunk-IU6SNYX6.js";
|
|
10
|
+
import "./chunk-F64IRYG3.js";
|
|
11
|
+
import "./chunk-FHS2HQSH.js";
|
|
12
|
+
import "./chunk-X3YYQWOQ.js";
|
|
13
|
+
import "./chunk-XDYREZWE.js";
|
|
14
|
+
import "./chunk-7DSTRQIJ.js";
|
|
15
|
+
import "./chunk-HB3RFQSC.js";
|
|
16
|
+
import "./chunk-JKJOGPZN.js";
|
|
17
|
+
import "./chunk-5M5DVGV7.js";
|
|
18
|
+
import "./chunk-LP7BEXCT.js";
|
|
19
|
+
import "./chunk-CIE2BASH.js";
|
|
20
|
+
import "./chunk-JNAI2HN2.js";
|
|
21
|
+
import "./chunk-BIOUI4HL.js";
|
|
22
|
+
import "./chunk-PZ5AY32C.js";
|
|
23
|
+
export {
|
|
24
|
+
WITHDRAWAL_REQUESTS_COLLECTION,
|
|
25
|
+
WithdrawalRequestError,
|
|
26
|
+
approveWithdrawal,
|
|
27
|
+
listWithdrawalRequests,
|
|
28
|
+
rejectWithdrawal,
|
|
29
|
+
requestWithdrawal
|
|
30
|
+
};
|
|
31
|
+
//# sourceMappingURL=request-withdrawal-TI3A5WPS.js.map
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isTombstone
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-7DSTRQIJ.js";
|
|
4
4
|
import {
|
|
5
5
|
dualReadSealedSlot
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-JKJOGPZN.js";
|
|
7
|
+
import "./chunk-CIE2BASH.js";
|
|
8
|
+
import "./chunk-JNAI2HN2.js";
|
|
9
9
|
import {
|
|
10
10
|
ClassifiedRevealError
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-BIOUI4HL.js";
|
|
12
12
|
import "./chunk-PZ5AY32C.js";
|
|
13
13
|
|
|
14
14
|
// src/kernel/enclave/classify/reveal.ts
|
|
15
15
|
async function revealSealedField(ctx, id, field) {
|
|
16
16
|
const env = await ctx.getEnvelope(id);
|
|
17
|
-
if (env === null || isTombstone(env, ctx.encrypted)) {
|
|
17
|
+
if (env === null || isTombstone(env, ctx.encrypted) || (env._tier ?? 0) > 0) {
|
|
18
18
|
throw new ClassifiedRevealError(ctx.collection, field, `record "${id}" not found in "${ctx.collection}"`);
|
|
19
19
|
}
|
|
20
20
|
if (!ctx.encrypted) {
|
|
@@ -35,4 +35,4 @@ async function revealSealedField(ctx, id, field) {
|
|
|
35
35
|
export {
|
|
36
36
|
revealSealedField
|
|
37
37
|
};
|
|
38
|
-
//# sourceMappingURL=reveal-
|
|
38
|
+
//# sourceMappingURL=reveal-DIBHLUZX.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/kernel/enclave/classify/reveal.ts"],"sourcesContent":["/**\n * Single-point audited reveal, stage-2 rework (I6): decrypt ONE sealed slot\n * from the raw envelope — no full record view, no collection.get(), so no\n * spurious 'get' consent entry. Fail-closed gates (b)/(c) live here; gate\n * (a) (storage:'never') fires in collection.reveal before any strategy call.\n * @module\n */\nimport { dualReadSealedSlot } from '../record-keys/sealed-slot.js'\nimport { isTombstone } from '../record-keys/tombstone.js'\nimport { ClassifiedRevealError } from '../../errors.js'\nimport type { EncryptedEnvelope } from '../../types.js'\nimport type { EnclaveKey } from '../crypto.js'\n\nexport interface RevealEngineCtx {\n readonly collection: string\n readonly encrypted: boolean\n getEnvelope(id: string): Promise<EncryptedEnvelope | null>\n resolveCek(env: EncryptedEnvelope): Promise<EnclaveKey | undefined>\n getDEK(): Promise<EnclaveKey>\n}\n\nexport async function revealSealedField(ctx: RevealEngineCtx, id: string, field: string): Promise<unknown> {\n const env = await ctx.getEnvelope(id)\n if (env === null || isTombstone(env, ctx.encrypted) || (env._tier ?? 0) > 0) {\n throw new ClassifiedRevealError(ctx.collection, field, `record \"${id}\" not found in \"${ctx.collection}\"`)\n }\n if (!ctx.encrypted) {\n // Plaintext collection: nothing is sealed; the value sits in the open body.\n const record = JSON.parse(env._data || '{}') as Record<string, unknown>\n if (!(field in record)) {\n throw new ClassifiedRevealError(ctx.collection, field, `no stored value for \"${field}\"`)\n }\n return record[field]\n }\n const blob = env._sealed?.[field]\n if (blob === undefined) {\n // Gate (c): fail-closed error, never parseSealedSlot(undefined)'s TypeError.\n throw new ClassifiedRevealError(ctx.collection, field, `no sealed value stored for \"${field}\"`)\n }\n const cek = await ctx.resolveCek(env)\n const dek = await ctx.getDEK()\n return JSON.parse(await dualReadSealedSlot(blob, field, ctx.collection, cek, dek))\n}\n"],"mappings":";;;;;;;;;;;;;;AAqBA,eAAsB,kBAAkB,KAAsB,IAAY,OAAiC;AACzG,QAAM,MAAM,MAAM,IAAI,YAAY,EAAE;AACpC,MAAI,QAAQ,QAAQ,YAAY,KAAK,IAAI,SAAS,MAAM,IAAI,SAAS,KAAK,GAAG;AAC3E,UAAM,IAAI,sBAAsB,IAAI,YAAY,OAAO,WAAW,EAAE,mBAAmB,IAAI,UAAU,GAAG;AAAA,EAC1G;AACA,MAAI,CAAC,IAAI,WAAW;AAElB,UAAM,SAAS,KAAK,MAAM,IAAI,SAAS,IAAI;AAC3C,QAAI,EAAE,SAAS,SAAS;AACtB,YAAM,IAAI,sBAAsB,IAAI,YAAY,OAAO,wBAAwB,KAAK,GAAG;AAAA,IACzF;AACA,WAAO,OAAO,KAAK;AAAA,EACrB;AACA,QAAM,OAAO,IAAI,UAAU,KAAK;AAChC,MAAI,SAAS,QAAW;AAEtB,UAAM,IAAI,sBAAsB,IAAI,YAAY,OAAO,+BAA+B,KAAK,GAAG;AAAA,EAChG;AACA,QAAM,MAAM,MAAM,IAAI,WAAW,GAAG;AACpC,QAAM,MAAM,MAAM,IAAI,OAAO;AAC7B,SAAO,KAAK,MAAM,MAAM,mBAAmB,MAAM,OAAO,IAAI,YAAY,KAAK,GAAG,CAAC;AACnF;","names":[]}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import {
|
|
2
|
+
getRevokedDocIdsCore,
|
|
3
|
+
publishRevocationListCore,
|
|
4
|
+
revokeDocCore,
|
|
5
|
+
unrevokeDocCore
|
|
6
|
+
} from "./chunk-YFXZEAYK.js";
|
|
7
|
+
import "./chunk-EXK7QRWF.js";
|
|
8
|
+
import "./chunk-XDYREZWE.js";
|
|
9
|
+
import "./chunk-7DSTRQIJ.js";
|
|
10
|
+
import "./chunk-HB3RFQSC.js";
|
|
11
|
+
import "./chunk-JKJOGPZN.js";
|
|
12
|
+
import "./chunk-5M5DVGV7.js";
|
|
13
|
+
import "./chunk-LP7BEXCT.js";
|
|
14
|
+
import "./chunk-CIE2BASH.js";
|
|
15
|
+
import "./chunk-JNAI2HN2.js";
|
|
16
|
+
import "./chunk-BIOUI4HL.js";
|
|
17
|
+
import "./chunk-PZ5AY32C.js";
|
|
18
|
+
export {
|
|
19
|
+
getRevokedDocIdsCore,
|
|
20
|
+
publishRevocationListCore,
|
|
21
|
+
revokeDocCore,
|
|
22
|
+
unrevokeDocCore
|
|
23
|
+
};
|
|
24
|
+
//# sourceMappingURL=revoke-FDRD6GRW.js.map
|
package/dist/satellites/index.js
CHANGED
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NO_SEALED_RECORD
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-QLWMEXCT.js";
|
|
4
|
+
import "../chunk-XDYREZWE.js";
|
|
5
|
+
import "../chunk-7DSTRQIJ.js";
|
|
6
|
+
import "../chunk-HB3RFQSC.js";
|
|
7
|
+
import "../chunk-JKJOGPZN.js";
|
|
8
|
+
import "../chunk-5M5DVGV7.js";
|
|
9
9
|
import "../chunk-LP7BEXCT.js";
|
|
10
10
|
import {
|
|
11
11
|
base64ToBuffer,
|
|
12
12
|
decrypt,
|
|
13
13
|
importCek
|
|
14
|
-
} from "../chunk-
|
|
15
|
-
import "../chunk-
|
|
14
|
+
} from "../chunk-CIE2BASH.js";
|
|
15
|
+
import "../chunk-JNAI2HN2.js";
|
|
16
16
|
import {
|
|
17
17
|
SealedRecordExpiredError,
|
|
18
18
|
SealedRecordMismatchError,
|
|
19
19
|
SealedRecordNotEnabledError
|
|
20
|
-
} from "../chunk-
|
|
20
|
+
} from "../chunk-BIOUI4HL.js";
|
|
21
21
|
import "../chunk-PZ5AY32C.js";
|
|
22
22
|
|
|
23
23
|
// src/with-audit/sealed-record/active.ts
|
|
24
24
|
function withSealedRecord() {
|
|
25
25
|
return {
|
|
26
26
|
async sealRecordToHost(ctx, collection, id, hostSealer, opts) {
|
|
27
|
-
const { sealRecordToHost } = await import("../enclave-
|
|
27
|
+
const { sealRecordToHost } = await import("../enclave-AP3I5W7O.js");
|
|
28
28
|
return sealRecordToHost(ctx, collection, id, hostSealer, opts);
|
|
29
29
|
},
|
|
30
30
|
async revokeSealedRecord(ctx, collection, id, pid, opts) {
|
|
31
|
-
const { revokeSealedRecord } = await import("../enclave-
|
|
31
|
+
const { revokeSealedRecord } = await import("../enclave-AP3I5W7O.js");
|
|
32
32
|
return revokeSealedRecord(ctx, collection, id, pid, opts);
|
|
33
33
|
},
|
|
34
34
|
async rotateRecordCek(ctx, collection, id) {
|
|
35
|
-
const { rotateRecordCek } = await import("../enclave-
|
|
35
|
+
const { rotateRecordCek } = await import("../enclave-AP3I5W7O.js");
|
|
36
36
|
return rotateRecordCek(ctx, collection, id);
|
|
37
37
|
}
|
|
38
38
|
};
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BROKER_COLLECTION,
|
|
3
3
|
ensureCollectionDEK
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-J2ZX2XUV.js";
|
|
5
|
+
import "./chunk-4JBYV75E.js";
|
|
6
6
|
import {
|
|
7
7
|
computeBrokerProof,
|
|
8
8
|
deriveBrokerProofBits,
|
|
9
9
|
openEnvelopeJson,
|
|
10
10
|
writeEnvelopeBody
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-XDYREZWE.js";
|
|
12
|
+
import "./chunk-7DSTRQIJ.js";
|
|
13
|
+
import "./chunk-HB3RFQSC.js";
|
|
14
|
+
import "./chunk-JKJOGPZN.js";
|
|
15
|
+
import "./chunk-5M5DVGV7.js";
|
|
16
16
|
import "./chunk-LP7BEXCT.js";
|
|
17
17
|
import {
|
|
18
18
|
base64ToBuffer,
|
|
19
19
|
bufferToBase64
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-CIE2BASH.js";
|
|
21
21
|
import {
|
|
22
22
|
NOYDB_FORMAT_VERSION
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-JNAI2HN2.js";
|
|
24
24
|
import {
|
|
25
25
|
BrokerEnrolmentError,
|
|
26
26
|
BrokerProofError,
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
NetworkError,
|
|
29
29
|
PermissionDeniedError,
|
|
30
30
|
ValidationError
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-BIOUI4HL.js";
|
|
32
32
|
import "./chunk-PZ5AY32C.js";
|
|
33
33
|
|
|
34
34
|
// src/with-party/broker/seed.ts
|
|
@@ -228,4 +228,4 @@ export {
|
|
|
228
228
|
mintStoreCredentials,
|
|
229
229
|
rotateSeed
|
|
230
230
|
};
|
|
231
|
-
//# sourceMappingURL=seed-
|
|
231
|
+
//# sourceMappingURL=seed-Q6M2IZFL.js.map
|
package/dist/session/index.js
CHANGED
|
@@ -12,21 +12,21 @@ import {
|
|
|
12
12
|
revokeAllSessions,
|
|
13
13
|
revokeSession,
|
|
14
14
|
validateSessionPolicy
|
|
15
|
-
} from "../chunk-
|
|
15
|
+
} from "../chunk-RIX4V2TB.js";
|
|
16
16
|
import "../chunk-ZJADGNYF.js";
|
|
17
|
-
import "../chunk-
|
|
18
|
-
import "../chunk-
|
|
19
|
-
import "../chunk-
|
|
20
|
-
import "../chunk-
|
|
21
|
-
import "../chunk-
|
|
17
|
+
import "../chunk-XDYREZWE.js";
|
|
18
|
+
import "../chunk-7DSTRQIJ.js";
|
|
19
|
+
import "../chunk-HB3RFQSC.js";
|
|
20
|
+
import "../chunk-JKJOGPZN.js";
|
|
21
|
+
import "../chunk-5M5DVGV7.js";
|
|
22
22
|
import "../chunk-LP7BEXCT.js";
|
|
23
|
-
import "../chunk-
|
|
24
|
-
import "../chunk-
|
|
23
|
+
import "../chunk-CIE2BASH.js";
|
|
24
|
+
import "../chunk-JNAI2HN2.js";
|
|
25
25
|
import {
|
|
26
26
|
SessionExpiredError,
|
|
27
27
|
SessionNotFoundError,
|
|
28
28
|
SessionPolicyError
|
|
29
|
-
} from "../chunk-
|
|
29
|
+
} from "../chunk-BIOUI4HL.js";
|
|
30
30
|
import "../chunk-PZ5AY32C.js";
|
|
31
31
|
|
|
32
32
|
// src/with-party/session/active.ts
|
package/dist/shadow/index.js
CHANGED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ATTESTATIONS_COLLECTION,
|
|
3
|
+
REVOKED_RECORD_ID,
|
|
4
|
+
SIGNER_RECORD_ID,
|
|
5
|
+
loadOrCreateSigner,
|
|
6
|
+
loadSigner
|
|
7
|
+
} from "./chunk-EXK7QRWF.js";
|
|
8
|
+
import "./chunk-XDYREZWE.js";
|
|
9
|
+
import "./chunk-7DSTRQIJ.js";
|
|
10
|
+
import "./chunk-HB3RFQSC.js";
|
|
11
|
+
import "./chunk-JKJOGPZN.js";
|
|
12
|
+
import "./chunk-5M5DVGV7.js";
|
|
13
|
+
import "./chunk-LP7BEXCT.js";
|
|
14
|
+
import "./chunk-CIE2BASH.js";
|
|
15
|
+
import "./chunk-JNAI2HN2.js";
|
|
16
|
+
import "./chunk-BIOUI4HL.js";
|
|
17
|
+
import "./chunk-PZ5AY32C.js";
|
|
18
|
+
export {
|
|
19
|
+
ATTESTATIONS_COLLECTION,
|
|
20
|
+
REVOKED_RECORD_ID,
|
|
21
|
+
SIGNER_RECORD_ID,
|
|
22
|
+
loadOrCreateSigner,
|
|
23
|
+
loadSigner
|
|
24
|
+
};
|
|
25
|
+
//# sourceMappingURL=signer-MUWEIUI6.js.map
|