@noy-db/hub 0.6.0-pre.22 → 0.6.0-pre.24
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 +84 -0
- package/dist/api-56KUWV6E.js +20 -0
- package/dist/attestation/index.js +18 -18
- package/dist/{backup-4PZAH67W.js → backup-WLKPDY3V.js} +12 -12
- package/dist/blobs/index.js +22 -20
- package/dist/blobs/index.js.map +1 -1
- package/dist/broker/index.js +12 -12
- package/dist/cargo/index.js +29 -29
- package/dist/{chunk-PNXJV4OS.js → chunk-24ZDSTEQ.js} +41 -17
- package/dist/chunk-24ZDSTEQ.js.map +1 -0
- package/dist/{chunk-4RZTW5JH.js → chunk-25HI46CB.js} +2 -2
- package/dist/{chunk-PWK3SSNB.js → chunk-264AKW4K.js} +4 -4
- package/dist/{chunk-7LJA7T4W.js → chunk-2CURJCLC.js} +3 -3
- package/dist/{chunk-YF3CIA6E.js → chunk-2D5NXYWY.js} +2 -2
- package/dist/{chunk-REQJLII3.js → chunk-2MYYXXVM.js} +2 -2
- package/dist/{chunk-DIYI32MG.js → chunk-2S6HROLU.js} +5 -5
- package/dist/{chunk-23XKHFNT.js → chunk-2ZSBPXFW.js} +3 -3
- package/dist/{chunk-XZZIZ544.js → chunk-34MSA4AO.js} +51 -16
- package/dist/chunk-34MSA4AO.js.map +1 -0
- package/dist/{chunk-BXHG26KN.js → chunk-35K4VWMD.js} +2 -2
- package/dist/{chunk-DIVPOJPV.js → chunk-43FOH2OK.js} +20 -8
- package/dist/chunk-43FOH2OK.js.map +1 -0
- package/dist/{chunk-UQUWSM33.js → chunk-4P3OG2AO.js} +5 -5
- package/dist/{chunk-KYUKZIW5.js → chunk-4Y7VHLCT.js} +2 -2
- package/dist/{chunk-RJYPFCID.js → chunk-576CTQ77.js} +5 -5
- package/dist/{chunk-OCW3IM2F.js → chunk-57MEX4LL.js} +3 -3
- package/dist/{chunk-PKUJ3JLQ.js → chunk-5OFC3QYL.js} +19 -2
- package/dist/chunk-5OFC3QYL.js.map +1 -0
- package/dist/{chunk-4O52JH3C.js → chunk-65WBEFVT.js} +6 -6
- package/dist/{chunk-JSTQGUE5.js → chunk-6J7SSCJW.js} +15 -10
- package/dist/chunk-6J7SSCJW.js.map +1 -0
- package/dist/{chunk-7JOXCSDU.js → chunk-6PLCNLBC.js} +2 -2
- package/dist/{chunk-QK2QAMF7.js → chunk-ACIEKVFR.js} +10 -10
- package/dist/{chunk-JPVJTTHU.js → chunk-AKPIBKHK.js} +4 -4
- package/dist/{chunk-AELW6OJZ.js → chunk-AM6V36AG.js} +2 -2
- package/dist/{chunk-DUUARUZI.js → chunk-AU45F5FD.js} +2 -2
- package/dist/{chunk-4BYZIQ5T.js → chunk-BZKQRED6.js} +2 -2
- package/dist/{chunk-OZ5QBLEL.js → chunk-C3FCXXNI.js} +6 -6
- package/dist/{chunk-FKZI4NSG.js → chunk-C4DFJ76X.js} +6 -6
- package/dist/{chunk-PGHSH4TY.js → chunk-CDHX3SRW.js} +3 -3
- package/dist/{chunk-O5QXH7U7.js → chunk-D7STIWJO.js} +11 -2
- package/dist/chunk-D7STIWJO.js.map +1 -0
- package/dist/{chunk-VMYXYFPX.js → chunk-DBPQUICN.js} +2 -2
- package/dist/{chunk-3TWEXEKX.js → chunk-DL7NXFAY.js} +2 -2
- package/dist/{chunk-2VMCJUK6.js → chunk-DM2BZDNV.js} +5 -5
- package/dist/{chunk-FFSQFH6D.js → chunk-DNKVKO7K.js} +2 -2
- package/dist/{chunk-IPA6ODWG.js → chunk-E2LYQUB7.js} +4 -4
- package/dist/{chunk-ANYVM4SX.js → chunk-ENTVT7PF.js} +2 -2
- package/dist/{chunk-M3FKPVOU.js → chunk-ESP4K32V.js} +3 -3
- package/dist/{chunk-A66LJYFG.js → chunk-FEWCVAFV.js} +131 -17
- package/dist/chunk-FEWCVAFV.js.map +1 -0
- package/dist/{chunk-H27DIXOV.js → chunk-FJGNYSB3.js} +6 -6
- package/dist/{chunk-OBPL43F3.js → chunk-FKLKAO2C.js} +54 -7
- package/dist/chunk-FKLKAO2C.js.map +1 -0
- package/dist/{chunk-PENPHA45.js → chunk-FX3UIDCS.js} +2 -2
- package/dist/{chunk-H3SEW5HB.js → chunk-G3ZMEUWD.js} +7 -7
- package/dist/{chunk-ZAZW5LLF.js → chunk-GCTZNHDO.js} +2 -2
- package/dist/{chunk-D5EXZVQC.js → chunk-GDYDYUO7.js} +6 -6
- package/dist/{chunk-47F6AI2K.js → chunk-GU5XWSH4.js} +3 -3
- package/dist/{chunk-6ZGDIN2D.js → chunk-H6J6MZ4J.js} +3 -3
- package/dist/{chunk-ZUDIY7YP.js → chunk-HMS3OCMA.js} +7 -7
- package/dist/{chunk-H6K24KLL.js → chunk-HUAAYTVS.js} +4 -4
- package/dist/{chunk-2DFE4TUE.js → chunk-HUDP5NSI.js} +4 -4
- package/dist/{chunk-VKYEEJJ2.js → chunk-HWJZCZSI.js} +2 -2
- package/dist/{chunk-NB2CKJ27.js → chunk-ICGLT356.js} +2 -2
- package/dist/{chunk-CW3VJARJ.js → chunk-IYXP6OR5.js} +3 -3
- package/dist/{chunk-A5YEUQOY.js → chunk-JSJS7RHS.js} +2 -2
- package/dist/{chunk-NHXIFF4Y.js → chunk-K6J7JKZM.js} +7 -7
- package/dist/{chunk-LLLSK7UQ.js → chunk-K7HPGV5K.js} +2 -2
- package/dist/{chunk-F3BICEMK.js → chunk-KC3S3OH6.js} +2 -2
- package/dist/{chunk-HZIIDYJV.js → chunk-KEMD6B3W.js} +4 -4
- package/dist/{chunk-SRR22EW2.js → chunk-L34HKPIS.js} +8 -8
- package/dist/{chunk-AGETRKC5.js → chunk-LG2P6S32.js} +3 -3
- package/dist/{chunk-FUIG7QSS.js → chunk-LT26SRU5.js} +4 -4
- package/dist/{chunk-6QMOJTC6.js → chunk-LTC77D4V.js} +2 -2
- package/dist/{chunk-QTWWZ25B.js → chunk-LU2HAOVP.js} +18 -14
- package/dist/chunk-LU2HAOVP.js.map +1 -0
- package/dist/{chunk-QMJI5VHV.js → chunk-M3XEJJDE.js} +2 -2
- package/dist/{chunk-VWPJX5B3.js → chunk-MGIAYREB.js} +5 -5
- package/dist/{chunk-VYLC5KAT.js → chunk-MLTGIDNB.js} +2 -2
- package/dist/{chunk-L2YYIQYR.js → chunk-MXJMCTSI.js} +2 -2
- package/dist/{chunk-F5IFR56V.js → chunk-NFARMKWK.js} +34 -12
- package/dist/chunk-NFARMKWK.js.map +1 -0
- package/dist/{chunk-IUQPNAGR.js → chunk-NK7DO6A2.js} +3 -3
- package/dist/{chunk-TKLQWOTY.js → chunk-NKND2IMW.js} +2 -2
- package/dist/{chunk-WUNRUSBJ.js → chunk-NSZGZYZL.js} +13 -3
- package/dist/{chunk-WUNRUSBJ.js.map → chunk-NSZGZYZL.js.map} +1 -1
- package/dist/{chunk-XPTYXXMD.js → chunk-NUHIPODK.js} +2 -2
- package/dist/{chunk-REKDM67V.js → chunk-ODGV6Q6U.js} +2 -2
- package/dist/{chunk-WRGNEAUZ.js → chunk-OJYLLNQN.js} +2 -2
- package/dist/{chunk-NCAMIRFB.js → chunk-OQT3G55N.js} +2 -2
- package/dist/{chunk-BPLSGN4X.js → chunk-PORGC5MH.js} +2 -2
- package/dist/{chunk-BFNBYT62.js → chunk-PRBJ4BJD.js} +2 -2
- package/dist/{chunk-4IPP2P74.js → chunk-PU5PNTE2.js} +2 -2
- package/dist/{chunk-L3AM6EGU.js → chunk-PZEDIO72.js} +7 -7
- package/dist/{chunk-M7VSXBUL.js → chunk-RTBCWDJ3.js} +10 -10
- package/dist/{chunk-OTHHO3KI.js → chunk-S2I5MYSA.js} +2 -2
- package/dist/{chunk-FHEVZQQY.js → chunk-S447GUNV.js} +4 -4
- package/dist/{chunk-WKT7NNNR.js → chunk-SP3AFEB7.js} +4 -4
- package/dist/{chunk-KMGAFLCK.js → chunk-SQWXF2HP.js} +5 -5
- package/dist/{chunk-HRSEAGLI.js → chunk-TTGZ6KGY.js} +3 -3
- package/dist/{chunk-MQFKH3ZJ.js → chunk-UHFF4G53.js} +3 -3
- package/dist/{chunk-IGNJOJEP.js → chunk-UJ4Z67UQ.js} +2 -2
- package/dist/chunk-UJ4Z67UQ.js.map +1 -0
- package/dist/{chunk-FGZ7GJXO.js → chunk-VZEBHQRT.js} +3 -3
- package/dist/{chunk-HUEG3YP4.js → chunk-VZHEFFUO.js} +97 -82
- package/dist/chunk-VZHEFFUO.js.map +1 -0
- package/dist/{chunk-OIW75CLW.js → chunk-WN377AAV.js} +6 -6
- package/dist/{chunk-ESXVNASI.js → chunk-XCNYOVFV.js} +5 -5
- package/dist/{chunk-FFESJQ5A.js → chunk-YEEV4ZXL.js} +95 -32
- package/dist/chunk-YEEV4ZXL.js.map +1 -0
- package/dist/{chunk-YOMI3ZCA.js → chunk-YIC34H3M.js} +2 -2
- package/dist/{chunk-MBZFAJKM.js → chunk-YZWRJRMF.js} +6 -2
- package/dist/chunk-YZWRJRMF.js.map +1 -0
- package/dist/{chunk-GWJJ5CK3.js → chunk-Z45PK2H5.js} +5 -5
- package/dist/{chunk-RT7CWTUG.js → chunk-ZI43U6FN.js} +6 -6
- package/dist/{chunk-WFC2GHJG.js → chunk-ZJJ46LNY.js} +3 -3
- package/dist/{chunk-3ENNPCIW.js → chunk-ZY6P7M52.js} +2 -2
- package/dist/classified/index.js +5 -5
- package/dist/{classified-marker-EPL2NX3H.js → classified-marker-DLLGRRXG.js} +3 -3
- package/dist/collection-facade-OHBCHCJV.js +45 -0
- package/dist/{computed-UXN4AMI5.js → computed-X2RKYFGX.js} +3 -3
- package/dist/consent/index.js +9 -9
- package/dist/cover/index.js +9 -9
- package/dist/custody/index.js +12 -11
- package/dist/{dead-filter-56AYTNAO.js → dead-filter-CCLDPNTJ.js} +2 -2
- package/dist/debug/index.js +1 -1
- package/dist/{delegation-MCCWCFZA.js → delegation-OSXUSSUO.js} +11 -11
- package/dist/derivations/index.js +12 -12
- package/dist/derive-6K35IOIN.js +22 -0
- package/dist/directory/index.js +10 -10
- package/dist/{dispatch-JM7X5BLP.js → dispatch-HCCQPOC7.js} +9 -6
- package/dist/dispatch-HCCQPOC7.js.map +1 -0
- package/dist/{dispatch-UPZW4MAO.js → dispatch-TRXQIBLA.js} +18 -18
- package/dist/{enclave-CCXI3WEU.js → enclave-K33BCSHB.js} +13 -9
- package/dist/executor-44ONIZTV.js +9 -0
- package/dist/executor-H7KLBIJN.js +9 -0
- package/dist/executor-PDK7IAPQ.js +29 -0
- package/dist/export-accessible-2LJH6JTI.js +23 -0
- package/dist/extract-partition-QQFOPCJ6.js +38 -0
- package/dist/{fanout-sidecar-2EHAV6UP.js → fanout-sidecar-ORVUHI3J.js} +9 -9
- package/dist/find-H6GHRBNL.js +11 -0
- package/dist/forget/index.js +9 -9
- package/dist/guards/index.js +4 -4
- package/dist/history/index.js +13 -13
- package/dist/i18n/index.js +14 -14
- package/dist/index.d.ts +1 -1
- package/dist/index.js +93 -91
- package/dist/index.js.map +1 -1
- package/dist/indexing/index.js +2 -2
- package/dist/introspection/index.js +11 -11
- package/dist/issue-LV2IWCKY.js +19 -0
- package/dist/kernel/collection.d.ts +8 -2
- package/dist/kernel/constants.d.ts +18 -0
- package/dist/kernel/enclave/crypto.d.ts +28 -0
- package/dist/kernel/enclave/index.d.ts +2 -2
- package/dist/kernel/enclave/record-keys/rekey.d.ts +23 -0
- package/dist/kernel/errors.d.ts +41 -0
- package/dist/kernel/refs.d.ts +3 -1
- package/dist/kernel/tier-visibility.d.ts +19 -0
- package/dist/kernel/types.d.ts +1 -1
- package/dist/kernel/via/reconcile.d.ts +12 -0
- package/dist/{ledger-TZIDVW22.js → ledger-RM5672K4.js} +11 -11
- package/dist/liberate-PNPIQ45H.js +25 -0
- package/dist/{link-set-VOMRQB2H.js → link-set-AZ6VDH5X.js} +11 -11
- package/dist/{managed-secret-N6FWB5LX.js → managed-secret-QZKTYCLD.js} +10 -10
- package/dist/materialized-views/index.js +20 -20
- package/dist/{migrate-cek-UEO2EUWI.js → migrate-cek-BVAPYJ5T.js} +2 -2
- package/dist/money/index.js +4 -4
- package/dist/noydb-QZN7G26J.js +85 -0
- package/dist/overlay-views/index.js +4 -4
- package/dist/periods/index.js +12 -12
- package/dist/pod/index.js +56 -55
- package/dist/{pod-handle-D6ZRTO4N.js → pod-handle-LVSMK4XC.js} +9 -9
- package/dist/policy/index.js +10 -10
- package/dist/portability/index.js +8 -8
- package/dist/{post-register-XVGHYYSB.js → post-register-TZGQ34YR.js} +6 -6
- package/dist/query/index.js +3 -3
- package/dist/reduce/index.js +4 -4
- package/dist/register-IQJGJSQQ.js +32 -0
- package/dist/registry-3JY3YSMU.js +9 -0
- package/dist/registry-G365BQDC.js +19 -0
- package/dist/registry-HVS6PGHV.js +9 -0
- package/dist/registry-TQ5FRB4T.js +18 -0
- package/dist/request-withdrawal-XQCCKMB3.js +31 -0
- package/dist/{reveal-Z62PLVJT.js → reveal-5PXWDCLZ.js} +6 -6
- package/dist/revoke-6NSQWTED.js +24 -0
- package/dist/satellites/index.js +1 -1
- package/dist/schema-update/index.js +2 -2
- package/dist/sealed-record/index.js +12 -12
- package/dist/search/index.js +4 -4
- package/dist/{seed-R2JK2YQK.js → seed-ZLOK3Z4M.js} +12 -11
- package/dist/{seed-R2JK2YQK.js.map → seed-ZLOK3Z4M.js.map} +1 -1
- package/dist/sequence/index.js +9 -9
- package/dist/session/index.js +9 -9
- package/dist/shadow/index.js +2 -2
- package/dist/signer-AJ3MCSPI.js +25 -0
- package/dist/snapshots/index.js +10 -10
- package/dist/{stale-FVK3WRMM.js → stale-KQR5QAYJ.js} +10 -10
- package/dist/storage-GACYAH6W.js +23 -0
- package/dist/{store-coordination-provider-HIPOZMC2.js → store-coordination-provider-RII4H3PJ.js} +10 -10
- package/dist/sync/index.js +10 -10
- package/dist/team/index.js +15 -15
- package/dist/tiers/index.js +11 -11
- package/dist/to/index.js +1 -1
- package/dist/transactions/index.js +3 -3
- package/dist/util/index.js +1 -1
- package/dist/vault-head/index.js +8 -8
- package/dist/{verify-KYICK5IW.js → verify-OMPYUO7C.js} +5 -5
- package/dist/via/blob/index.d.ts +3 -0
- package/dist/walk-ZYC74R65.js +21 -0
- package/dist/with-formula/materialized-views/dependency-analyzer.d.ts +4 -0
- package/dist/with-formula/materialized-views/projection-legs.d.ts +59 -0
- package/dist/with-formula/materialized-views/registry.d.ts +50 -0
- package/dist/with-formula/materialized-views/types.d.ts +68 -10
- package/dist/with-party/team/roster-tag.d.ts +1 -1
- package/dist/with-shape/blobs/blob-compaction.d.ts +13 -0
- package/dist/with-shape/blobs/blob-set.d.ts +23 -3
- package/dist/with-shape/blobs/orphan-report.d.ts +62 -0
- package/dist/withdraw-accessible-MEFFAGRD.js +28 -0
- package/package.json +3 -3
- package/dist/api-D6DBNTOS.js +0 -20
- package/dist/chunk-A66LJYFG.js.map +0 -1
- package/dist/chunk-DIVPOJPV.js.map +0 -1
- package/dist/chunk-F5IFR56V.js.map +0 -1
- package/dist/chunk-FFESJQ5A.js.map +0 -1
- package/dist/chunk-HUEG3YP4.js.map +0 -1
- package/dist/chunk-IGNJOJEP.js.map +0 -1
- package/dist/chunk-JSTQGUE5.js.map +0 -1
- package/dist/chunk-MBZFAJKM.js.map +0 -1
- package/dist/chunk-O5QXH7U7.js.map +0 -1
- package/dist/chunk-OBPL43F3.js.map +0 -1
- package/dist/chunk-PKUJ3JLQ.js.map +0 -1
- package/dist/chunk-PNXJV4OS.js.map +0 -1
- package/dist/chunk-QTWWZ25B.js.map +0 -1
- package/dist/chunk-XZZIZ544.js.map +0 -1
- package/dist/collection-facade-3DN4ETEP.js +0 -45
- package/dist/derive-BSAF6N5X.js +0 -22
- package/dist/dispatch-JM7X5BLP.js.map +0 -1
- package/dist/executor-6YQYFGHK.js +0 -9
- package/dist/executor-GLKPMISJ.js +0 -9
- package/dist/executor-ZEIX7Y7I.js +0 -29
- package/dist/export-accessible-SDIQEFHQ.js +0 -23
- package/dist/extract-partition-K232SO2V.js +0 -38
- package/dist/find-GKFC5753.js +0 -11
- package/dist/issue-QTQYQJCB.js +0 -19
- package/dist/liberate-FOK7RFYQ.js +0 -24
- package/dist/noydb-3BBLBSHI.js +0 -84
- package/dist/register-FVUE46K4.js +0 -32
- package/dist/registry-7PBVHSD5.js +0 -19
- package/dist/registry-CCXD57GV.js +0 -18
- package/dist/registry-K75FRKSU.js +0 -9
- package/dist/registry-KZYPKIOF.js +0 -9
- package/dist/request-withdrawal-WS7PXD7B.js +0 -31
- package/dist/revoke-JH4VQTJ3.js +0 -24
- package/dist/signer-AFV6AXSN.js +0 -25
- package/dist/storage-EIM5HO2O.js +0 -23
- package/dist/walk-FV6JFWXV.js +0 -21
- package/dist/withdraw-accessible-JYX3SPVY.js +0 -28
- /package/dist/{api-D6DBNTOS.js.map → api-56KUWV6E.js.map} +0 -0
- /package/dist/{backup-4PZAH67W.js.map → backup-WLKPDY3V.js.map} +0 -0
- /package/dist/{chunk-4RZTW5JH.js.map → chunk-25HI46CB.js.map} +0 -0
- /package/dist/{chunk-PWK3SSNB.js.map → chunk-264AKW4K.js.map} +0 -0
- /package/dist/{chunk-7LJA7T4W.js.map → chunk-2CURJCLC.js.map} +0 -0
- /package/dist/{chunk-YF3CIA6E.js.map → chunk-2D5NXYWY.js.map} +0 -0
- /package/dist/{chunk-REQJLII3.js.map → chunk-2MYYXXVM.js.map} +0 -0
- /package/dist/{chunk-DIYI32MG.js.map → chunk-2S6HROLU.js.map} +0 -0
- /package/dist/{chunk-23XKHFNT.js.map → chunk-2ZSBPXFW.js.map} +0 -0
- /package/dist/{chunk-BXHG26KN.js.map → chunk-35K4VWMD.js.map} +0 -0
- /package/dist/{chunk-UQUWSM33.js.map → chunk-4P3OG2AO.js.map} +0 -0
- /package/dist/{chunk-KYUKZIW5.js.map → chunk-4Y7VHLCT.js.map} +0 -0
- /package/dist/{chunk-RJYPFCID.js.map → chunk-576CTQ77.js.map} +0 -0
- /package/dist/{chunk-OCW3IM2F.js.map → chunk-57MEX4LL.js.map} +0 -0
- /package/dist/{chunk-4O52JH3C.js.map → chunk-65WBEFVT.js.map} +0 -0
- /package/dist/{chunk-7JOXCSDU.js.map → chunk-6PLCNLBC.js.map} +0 -0
- /package/dist/{chunk-QK2QAMF7.js.map → chunk-ACIEKVFR.js.map} +0 -0
- /package/dist/{chunk-JPVJTTHU.js.map → chunk-AKPIBKHK.js.map} +0 -0
- /package/dist/{chunk-AELW6OJZ.js.map → chunk-AM6V36AG.js.map} +0 -0
- /package/dist/{chunk-DUUARUZI.js.map → chunk-AU45F5FD.js.map} +0 -0
- /package/dist/{chunk-4BYZIQ5T.js.map → chunk-BZKQRED6.js.map} +0 -0
- /package/dist/{chunk-OZ5QBLEL.js.map → chunk-C3FCXXNI.js.map} +0 -0
- /package/dist/{chunk-FKZI4NSG.js.map → chunk-C4DFJ76X.js.map} +0 -0
- /package/dist/{chunk-PGHSH4TY.js.map → chunk-CDHX3SRW.js.map} +0 -0
- /package/dist/{chunk-VMYXYFPX.js.map → chunk-DBPQUICN.js.map} +0 -0
- /package/dist/{chunk-3TWEXEKX.js.map → chunk-DL7NXFAY.js.map} +0 -0
- /package/dist/{chunk-2VMCJUK6.js.map → chunk-DM2BZDNV.js.map} +0 -0
- /package/dist/{chunk-FFSQFH6D.js.map → chunk-DNKVKO7K.js.map} +0 -0
- /package/dist/{chunk-IPA6ODWG.js.map → chunk-E2LYQUB7.js.map} +0 -0
- /package/dist/{chunk-ANYVM4SX.js.map → chunk-ENTVT7PF.js.map} +0 -0
- /package/dist/{chunk-M3FKPVOU.js.map → chunk-ESP4K32V.js.map} +0 -0
- /package/dist/{chunk-H27DIXOV.js.map → chunk-FJGNYSB3.js.map} +0 -0
- /package/dist/{chunk-PENPHA45.js.map → chunk-FX3UIDCS.js.map} +0 -0
- /package/dist/{chunk-H3SEW5HB.js.map → chunk-G3ZMEUWD.js.map} +0 -0
- /package/dist/{chunk-ZAZW5LLF.js.map → chunk-GCTZNHDO.js.map} +0 -0
- /package/dist/{chunk-D5EXZVQC.js.map → chunk-GDYDYUO7.js.map} +0 -0
- /package/dist/{chunk-47F6AI2K.js.map → chunk-GU5XWSH4.js.map} +0 -0
- /package/dist/{chunk-6ZGDIN2D.js.map → chunk-H6J6MZ4J.js.map} +0 -0
- /package/dist/{chunk-ZUDIY7YP.js.map → chunk-HMS3OCMA.js.map} +0 -0
- /package/dist/{chunk-H6K24KLL.js.map → chunk-HUAAYTVS.js.map} +0 -0
- /package/dist/{chunk-2DFE4TUE.js.map → chunk-HUDP5NSI.js.map} +0 -0
- /package/dist/{chunk-VKYEEJJ2.js.map → chunk-HWJZCZSI.js.map} +0 -0
- /package/dist/{chunk-NB2CKJ27.js.map → chunk-ICGLT356.js.map} +0 -0
- /package/dist/{chunk-CW3VJARJ.js.map → chunk-IYXP6OR5.js.map} +0 -0
- /package/dist/{chunk-A5YEUQOY.js.map → chunk-JSJS7RHS.js.map} +0 -0
- /package/dist/{chunk-NHXIFF4Y.js.map → chunk-K6J7JKZM.js.map} +0 -0
- /package/dist/{chunk-LLLSK7UQ.js.map → chunk-K7HPGV5K.js.map} +0 -0
- /package/dist/{chunk-F3BICEMK.js.map → chunk-KC3S3OH6.js.map} +0 -0
- /package/dist/{chunk-HZIIDYJV.js.map → chunk-KEMD6B3W.js.map} +0 -0
- /package/dist/{chunk-SRR22EW2.js.map → chunk-L34HKPIS.js.map} +0 -0
- /package/dist/{chunk-AGETRKC5.js.map → chunk-LG2P6S32.js.map} +0 -0
- /package/dist/{chunk-FUIG7QSS.js.map → chunk-LT26SRU5.js.map} +0 -0
- /package/dist/{chunk-6QMOJTC6.js.map → chunk-LTC77D4V.js.map} +0 -0
- /package/dist/{chunk-QMJI5VHV.js.map → chunk-M3XEJJDE.js.map} +0 -0
- /package/dist/{chunk-VWPJX5B3.js.map → chunk-MGIAYREB.js.map} +0 -0
- /package/dist/{chunk-VYLC5KAT.js.map → chunk-MLTGIDNB.js.map} +0 -0
- /package/dist/{chunk-L2YYIQYR.js.map → chunk-MXJMCTSI.js.map} +0 -0
- /package/dist/{chunk-IUQPNAGR.js.map → chunk-NK7DO6A2.js.map} +0 -0
- /package/dist/{chunk-TKLQWOTY.js.map → chunk-NKND2IMW.js.map} +0 -0
- /package/dist/{chunk-XPTYXXMD.js.map → chunk-NUHIPODK.js.map} +0 -0
- /package/dist/{chunk-REKDM67V.js.map → chunk-ODGV6Q6U.js.map} +0 -0
- /package/dist/{chunk-WRGNEAUZ.js.map → chunk-OJYLLNQN.js.map} +0 -0
- /package/dist/{chunk-NCAMIRFB.js.map → chunk-OQT3G55N.js.map} +0 -0
- /package/dist/{chunk-BPLSGN4X.js.map → chunk-PORGC5MH.js.map} +0 -0
- /package/dist/{chunk-BFNBYT62.js.map → chunk-PRBJ4BJD.js.map} +0 -0
- /package/dist/{chunk-4IPP2P74.js.map → chunk-PU5PNTE2.js.map} +0 -0
- /package/dist/{chunk-L3AM6EGU.js.map → chunk-PZEDIO72.js.map} +0 -0
- /package/dist/{chunk-M7VSXBUL.js.map → chunk-RTBCWDJ3.js.map} +0 -0
- /package/dist/{chunk-OTHHO3KI.js.map → chunk-S2I5MYSA.js.map} +0 -0
- /package/dist/{chunk-FHEVZQQY.js.map → chunk-S447GUNV.js.map} +0 -0
- /package/dist/{chunk-WKT7NNNR.js.map → chunk-SP3AFEB7.js.map} +0 -0
- /package/dist/{chunk-KMGAFLCK.js.map → chunk-SQWXF2HP.js.map} +0 -0
- /package/dist/{chunk-HRSEAGLI.js.map → chunk-TTGZ6KGY.js.map} +0 -0
- /package/dist/{chunk-MQFKH3ZJ.js.map → chunk-UHFF4G53.js.map} +0 -0
- /package/dist/{chunk-FGZ7GJXO.js.map → chunk-VZEBHQRT.js.map} +0 -0
- /package/dist/{chunk-OIW75CLW.js.map → chunk-WN377AAV.js.map} +0 -0
- /package/dist/{chunk-ESXVNASI.js.map → chunk-XCNYOVFV.js.map} +0 -0
- /package/dist/{chunk-YOMI3ZCA.js.map → chunk-YIC34H3M.js.map} +0 -0
- /package/dist/{chunk-GWJJ5CK3.js.map → chunk-Z45PK2H5.js.map} +0 -0
- /package/dist/{chunk-RT7CWTUG.js.map → chunk-ZI43U6FN.js.map} +0 -0
- /package/dist/{chunk-WFC2GHJG.js.map → chunk-ZJJ46LNY.js.map} +0 -0
- /package/dist/{chunk-3ENNPCIW.js.map → chunk-ZY6P7M52.js.map} +0 -0
- /package/dist/{classified-marker-EPL2NX3H.js.map → classified-marker-DLLGRRXG.js.map} +0 -0
- /package/dist/{collection-facade-3DN4ETEP.js.map → collection-facade-OHBCHCJV.js.map} +0 -0
- /package/dist/{computed-UXN4AMI5.js.map → computed-X2RKYFGX.js.map} +0 -0
- /package/dist/{dead-filter-56AYTNAO.js.map → dead-filter-CCLDPNTJ.js.map} +0 -0
- /package/dist/{delegation-MCCWCFZA.js.map → delegation-OSXUSSUO.js.map} +0 -0
- /package/dist/{derive-BSAF6N5X.js.map → derive-6K35IOIN.js.map} +0 -0
- /package/dist/{dispatch-UPZW4MAO.js.map → dispatch-TRXQIBLA.js.map} +0 -0
- /package/dist/{enclave-CCXI3WEU.js.map → enclave-K33BCSHB.js.map} +0 -0
- /package/dist/{executor-6YQYFGHK.js.map → executor-44ONIZTV.js.map} +0 -0
- /package/dist/{executor-GLKPMISJ.js.map → executor-H7KLBIJN.js.map} +0 -0
- /package/dist/{executor-ZEIX7Y7I.js.map → executor-PDK7IAPQ.js.map} +0 -0
- /package/dist/{export-accessible-SDIQEFHQ.js.map → export-accessible-2LJH6JTI.js.map} +0 -0
- /package/dist/{extract-partition-K232SO2V.js.map → extract-partition-QQFOPCJ6.js.map} +0 -0
- /package/dist/{fanout-sidecar-2EHAV6UP.js.map → fanout-sidecar-ORVUHI3J.js.map} +0 -0
- /package/dist/{find-GKFC5753.js.map → find-H6GHRBNL.js.map} +0 -0
- /package/dist/{issue-QTQYQJCB.js.map → issue-LV2IWCKY.js.map} +0 -0
- /package/dist/{ledger-TZIDVW22.js.map → ledger-RM5672K4.js.map} +0 -0
- /package/dist/{liberate-FOK7RFYQ.js.map → liberate-PNPIQ45H.js.map} +0 -0
- /package/dist/{link-set-VOMRQB2H.js.map → link-set-AZ6VDH5X.js.map} +0 -0
- /package/dist/{managed-secret-N6FWB5LX.js.map → managed-secret-QZKTYCLD.js.map} +0 -0
- /package/dist/{migrate-cek-UEO2EUWI.js.map → migrate-cek-BVAPYJ5T.js.map} +0 -0
- /package/dist/{noydb-3BBLBSHI.js.map → noydb-QZN7G26J.js.map} +0 -0
- /package/dist/{pod-handle-D6ZRTO4N.js.map → pod-handle-LVSMK4XC.js.map} +0 -0
- /package/dist/{post-register-XVGHYYSB.js.map → post-register-TZGQ34YR.js.map} +0 -0
- /package/dist/{register-FVUE46K4.js.map → register-IQJGJSQQ.js.map} +0 -0
- /package/dist/{registry-7PBVHSD5.js.map → registry-3JY3YSMU.js.map} +0 -0
- /package/dist/{registry-CCXD57GV.js.map → registry-G365BQDC.js.map} +0 -0
- /package/dist/{registry-K75FRKSU.js.map → registry-HVS6PGHV.js.map} +0 -0
- /package/dist/{registry-KZYPKIOF.js.map → registry-TQ5FRB4T.js.map} +0 -0
- /package/dist/{request-withdrawal-WS7PXD7B.js.map → request-withdrawal-XQCCKMB3.js.map} +0 -0
- /package/dist/{reveal-Z62PLVJT.js.map → reveal-5PXWDCLZ.js.map} +0 -0
- /package/dist/{revoke-JH4VQTJ3.js.map → revoke-6NSQWTED.js.map} +0 -0
- /package/dist/{signer-AFV6AXSN.js.map → signer-AJ3MCSPI.js.map} +0 -0
- /package/dist/{stale-FVK3WRMM.js.map → stale-KQR5QAYJ.js.map} +0 -0
- /package/dist/{storage-EIM5HO2O.js.map → storage-GACYAH6W.js.map} +0 -0
- /package/dist/{store-coordination-provider-HIPOZMC2.js.map → store-coordination-provider-RII4H3PJ.js.map} +0 -0
- /package/dist/{verify-KYICK5IW.js.map → verify-OMPYUO7C.js.map} +0 -0
- /package/dist/{walk-FV6JFWXV.js.map → walk-ZYC74R65.js.map} +0 -0
- /package/dist/{withdraw-accessible-JYX3SPVY.js.map → withdraw-accessible-MEFFAGRD.js.map} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,89 @@
|
|
|
1
1
|
# Changelog — hub
|
|
2
2
|
|
|
3
|
+
## 0.6.0-pre.24
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- The roster tag authenticates the DEK key set (#1115).
|
|
8
|
+
|
|
9
|
+
`revoke` derives its rotation scope from `Object.keys(target.deks)`. That set was not covered by the roster tag, so a store could strip entries from the target's keyring before a revocation and have those collections silently skipped by the rotation — a revoked member colluding with that store keeps live DEKs for exactly the collections it removed. That contradicted `SECURITY.md`'s _"the rotation cannot be skipped"_.
|
|
10
|
+
|
|
11
|
+
`rosterCanonical` now binds the key **names** of `deks` and `pending_deks`. Names only: the wrapped values are AES-KW and self-authenticating, so what was unprotected was the shape of the map, not its contents. `pending_deks` is included because stripping it makes an interrupted rotation mint a fresh DEK instead of resuming, orphaning every record already rewritten under the pending key.
|
|
12
|
+
|
|
13
|
+
**This is a keyring format change with no migration** — consistent with the position recorded for `0.6.0-pre.21`: an existing vault must be re-seeded. `NOYDB_KEYRING_VERSION` is bumped to `2`, and a tag that cannot verify against an older declared version now reports the new `format-superseded` reason, which names the format transition instead of accusing the store. Classification only — access is refused either way, so a store rewriting the plaintext version field changes the wording and nothing else.
|
|
14
|
+
|
|
15
|
+
Also fixes `adoptPartition`, which merged partition DEKs into a freshly-minted keyring without restamping. That was invisible while the tag ignored `deks`; it now restamps, as `liberateVault` already did.
|
|
16
|
+
|
|
17
|
+
- The blob content address survives a key rotation (#1126).
|
|
18
|
+
|
|
19
|
+
A blob's eTag is an HMAC over the plaintext. It was keyed by the `_blob` DEK — the very key `rotateKeys` replaces — so after any rotation `HMAC(live DEK, plaintext) !== storedETag` for every blob written before it, **permanently**. `decryptResponse()` checks that unconditionally, so the presigned-URL / external-object read path raised `TamperedError` on legitimate data forever; `verifyFlatETag` did the same on the flat-tier fallback; a resumed rehome mis-mapped; and dedup split, minting a second address for identical bytes.
|
|
20
|
+
|
|
21
|
+
Addresses now derive from `_blob_addr`, a **vault-lifetime keyring slot that rotation refuses to touch** — so a rotation re-keys chunk bodies while every stored address, chunk AAD and index row stays valid. The derivation stays **per tier**: the address is meant to be tier-scoped (`rehomeForTier` re-addresses on a tier move for exactly that reason); only the rotation coupling was ever wrong.
|
|
22
|
+
|
|
23
|
+
Reported by the same alarm as #1103, and this was the same cry-wolf class: a user who revoked a colleague was told their store may be attacking them.
|
|
24
|
+
|
|
25
|
+
**Format change, no migration** — consistent with the `0.6.0-pre.21` position: an existing vault must be re-seeded. **Residual:** a revoked member who kept the addressing root retains a confirmation oracle over content whose plaintext they already hold; they can read nothing, because bodies are sealed under DEKs that do rotate. See `SECURITY.md`.
|
|
26
|
+
|
|
27
|
+
Also restamps the roster tag on all three `recoverSecret` rebuild paths, which rewrote the keyring while carrying the previous tag.
|
|
28
|
+
|
|
29
|
+
### Patch Changes
|
|
30
|
+
|
|
31
|
+
- A narrowing re-grant rotates the collections it takes away (#1097, partial).
|
|
32
|
+
|
|
33
|
+
`writeKeyringFile` is a bare `put`, so a re-grant with a lower role or narrower permissions **overwrites in place** — and the file it replaces was legitimately minted by this vault. A store that kept a copy can re-serve it, and `loadKeyring` accepts it: the KEK unwraps, the canary checks out, the roster tag verifies. None of those is a claim about being _current_.
|
|
34
|
+
|
|
35
|
+
ADR 0003 bounded a suppressed keyring delete on the grounds that revocation rotates, so an old roster's DEKs cannot open post-rotation records. **A narrowing re-grant rotated nothing**, so a replayed file opened records written _after_ the narrowing — live access rather than stale access. Rotating the dropped collections restores that bound.
|
|
36
|
+
|
|
37
|
+
⚠️ **This does not close the replay itself.** The old file also restores the old **role**, and role gates capabilities rather than keys, so rotation cannot touch it. That half needs an anchor the store cannot rewind, and #1097 stays open for it.
|
|
38
|
+
|
|
39
|
+
A widening re-grant and a first grant rotate nothing, so this is not a tax on every grant.
|
|
40
|
+
|
|
41
|
+
- `rotateKeys` covers `collection#tier` DEK slots, in both directions (#1125).
|
|
42
|
+
|
|
43
|
+
Elevated records live in the same collection as their tier-0 siblings, distinguished by the envelope `_tier` field, and are sealed under `dekKey(collection, tier)`. Rotation keyed off the collection **name**, so it was broken twice over:
|
|
44
|
+
|
|
45
|
+
- **Rotating `docs` threw.** It met an elevated record it could not open under the tier-0 DEK and rethrew — and because `revoke` rotates as its final step, revoking anyone from a vault holding a single elevated record **failed after the keyring had already been deleted**. Part-applied.
|
|
46
|
+
- **Rotating `docs#1` was a silent no-op.** `store.list(vault, "docs#1")` is empty because the slot names a key, not a collection, so nothing was re-encrypted and a revoked member who retained the tier key kept opening elevated records.
|
|
47
|
+
|
|
48
|
+
Rotation now walks the base collection for every slot and classifies each envelope by **which key opens it** — never by the envelope's claimed `_tier`, which is unencrypted and store-written. Routing on `_tier` would let a store mark a tier-0 record `_tier: 5` and have the rotation skip real data.
|
|
49
|
+
|
|
50
|
+
Guarded by an output-domain invariant rather than a row per known defect: after a revocation, no retained key opens any envelope, and the owner can still read everything.
|
|
51
|
+
|
|
52
|
+
## 0.6.0-pre.23
|
|
53
|
+
|
|
54
|
+
### Minor Changes
|
|
55
|
+
|
|
56
|
+
- Query-form materialized views can join a declared ref, and a late `refs` declaration is no longer silently discarded.
|
|
57
|
+
|
|
58
|
+
**#1141 — `refs` declared on an already-constructed collection were dropped.** The declaration fan-out ran only when `vault.collection()` missed its cache, so any earlier touch of the collection silently discarded a later `refs` declaration: strict FK enforcement never engaged (a dangling `put()` was accepted) and `.join()` kept reporting "no ref() declared". `refs` now late-attaches through the same reconcile ladder every other declaration already used. An identical redeclaration stays a no-op; a conflicting one still throws.
|
|
59
|
+
|
|
60
|
+
**#1139 — a query-form MV that joins a declared FK threw at `openVault()`, with no ordering that avoided it.** MV strategies register during `openVault()`, but a collection's refs can only be declared after it returns, so the plan was built before any ref could exist. Such a strategy is now parked and replanned on the first write dispatch or `vault.refreshView()`, matching the projection form's timing. Every other planning failure still throws out of `openVault()` immediately — only a not-yet-declared ref defers.
|
|
61
|
+
|
|
62
|
+
Adds `RefNotDeclaredError` to the root barrel: `.join()` now throws it instead of a bare `Error`, with an unchanged message, so the deferral condition is matched on a type rather than on text.
|
|
63
|
+
|
|
64
|
+
- Report blob chunks that outlived their index row (#1133).
|
|
65
|
+
|
|
66
|
+
`vault.compact()` now returns `orphanBlobChunks` — a count of `_blob_chunks` rows whose eTag has no `_blob_index` entry, the distinct eTags involved, a small sample to inspect, and a separate count of ids that do not fit the `{eTag}_{index}` grammar at all. `reportOrphanBlobChunks(store, vault)` is exported from `@noy-db/hub/blobs` for callers that want it on its own.
|
|
67
|
+
|
|
68
|
+
This is the residue #1127 stopped producing: before that fix a crash between deleting a blob's index row and its chunks stranded bodies no reader and no key rotation can reach, which for a legacy blob leaves bytes openable under a retired `_blob` DEK.
|
|
69
|
+
|
|
70
|
+
**It reports and never reclaims, deliberately.** Deciding "orphaned" means trusting `store.list`, and the store is untrusted — one withheld index row would make a live blob's chunks look orphaned, so a reclaim pass would convert withholding, which is reversible, into permanent destruction. A lying store can only inflate this count.
|
|
71
|
+
|
|
72
|
+
- Projection MV legs can attach to another leg's alias (#1140).
|
|
73
|
+
|
|
74
|
+
`ProjectionJoinLeg` gains `from`, naming a previously-declared FORWARD leg. A collect leg then matches against that leg's record id instead of the primary row's, and a forward leg reads its FK off that record — which makes a lookup two FKs away expressible for the first time:
|
|
75
|
+
|
|
76
|
+
```ts
|
|
77
|
+
joins: [
|
|
78
|
+
{ field: "entityId", as: "entity" },
|
|
79
|
+
{ from: "entity", collect: "clients", on: "entityId", as: "clients" },
|
|
80
|
+
];
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
Every leg previously attached to the primary row, so `bill → entity → client` had no shape: the bill has no `clientId`, and `clients.entityId` refs `entities`, not `bills`. The two workarounds were denormalizing a redundant FK onto the source — reintroducing the duplicated relationship a projection MV exists to avoid — or dropping back to app code and forfeiting the dependency tracking.
|
|
84
|
+
|
|
85
|
+
`from` may only name a leg declared earlier, and only a forward one (a collect leg holds an array, not a record). Both are refused at `withMaterializedView()` construction, alongside the rest of the leg-shape checks. The backward-only rule is also why no depth cap is needed: a cycle cannot be spelled. `from` is folded into the plan summary, so two structurally different projections cannot share a `queryHash`.
|
|
86
|
+
|
|
3
87
|
## 0.6.0-pre.22
|
|
4
88
|
|
|
5
89
|
### Minor Changes
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import {
|
|
2
|
+
UserApi,
|
|
3
|
+
createUserApi
|
|
4
|
+
} from "./chunk-CDHX3SRW.js";
|
|
5
|
+
import "./chunk-SQWXF2HP.js";
|
|
6
|
+
import "./chunk-43FOH2OK.js";
|
|
7
|
+
import "./chunk-FX3UIDCS.js";
|
|
8
|
+
import "./chunk-NK7DO6A2.js";
|
|
9
|
+
import "./chunk-AM6V36AG.js";
|
|
10
|
+
import "./chunk-AU45F5FD.js";
|
|
11
|
+
import "./chunk-LP7BEXCT.js";
|
|
12
|
+
import "./chunk-D7STIWJO.js";
|
|
13
|
+
import "./chunk-UJ4Z67UQ.js";
|
|
14
|
+
import "./chunk-5OFC3QYL.js";
|
|
15
|
+
import "./chunk-PZ5AY32C.js";
|
|
16
|
+
export {
|
|
17
|
+
UserApi,
|
|
18
|
+
createUserApi
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=api-56KUWV6E.js.map
|
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
import {
|
|
2
2
|
issueAttestationCore
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-C3FCXXNI.js";
|
|
4
4
|
import {
|
|
5
5
|
getRevokedDocIdsCore,
|
|
6
6
|
publishRevocationListCore,
|
|
7
7
|
revokeDocCore,
|
|
8
8
|
unrevokeDocCore
|
|
9
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-GDYDYUO7.js";
|
|
10
10
|
import {
|
|
11
11
|
ATTESTATIONS_COLLECTION
|
|
12
|
-
} from "../chunk-
|
|
12
|
+
} from "../chunk-Z45PK2H5.js";
|
|
13
13
|
import {
|
|
14
14
|
NO_ATTESTATION
|
|
15
|
-
} from "../chunk-
|
|
15
|
+
} from "../chunk-ICGLT356.js";
|
|
16
16
|
import "../chunk-4AOERLTV.js";
|
|
17
|
-
import "../chunk-
|
|
18
|
-
import "../chunk-
|
|
19
|
-
import "../chunk-
|
|
20
|
-
import "../chunk-
|
|
21
|
-
import "../chunk-
|
|
17
|
+
import "../chunk-43FOH2OK.js";
|
|
18
|
+
import "../chunk-FX3UIDCS.js";
|
|
19
|
+
import "../chunk-NK7DO6A2.js";
|
|
20
|
+
import "../chunk-AM6V36AG.js";
|
|
21
|
+
import "../chunk-AU45F5FD.js";
|
|
22
22
|
import "../chunk-LP7BEXCT.js";
|
|
23
|
-
import "../chunk-
|
|
24
|
-
import "../chunk-
|
|
23
|
+
import "../chunk-D7STIWJO.js";
|
|
24
|
+
import "../chunk-UJ4Z67UQ.js";
|
|
25
25
|
import {
|
|
26
26
|
AttestationError,
|
|
27
27
|
AttestationNotEnabledError
|
|
28
|
-
} from "../chunk-
|
|
28
|
+
} from "../chunk-5OFC3QYL.js";
|
|
29
29
|
import "../chunk-PZ5AY32C.js";
|
|
30
30
|
|
|
31
31
|
// src/with-audit/attestation/active.ts
|
|
32
32
|
function withAttestation() {
|
|
33
33
|
return {
|
|
34
34
|
async issueAttestation(ctx, args) {
|
|
35
|
-
const { issueAttestationCore: issueAttestationCore2 } = await import("../issue-
|
|
35
|
+
const { issueAttestationCore: issueAttestationCore2 } = await import("../issue-LV2IWCKY.js");
|
|
36
36
|
return issueAttestationCore2(ctx, args);
|
|
37
37
|
},
|
|
38
38
|
async getDocumentSigningPublicKey(deps) {
|
|
39
|
-
const { loadSigner, loadOrCreateSigner } = await import("../signer-
|
|
39
|
+
const { loadSigner, loadOrCreateSigner } = await import("../signer-AJ3MCSPI.js");
|
|
40
40
|
const existing = await loadSigner(deps.adapter, deps.vault, deps.getDEK);
|
|
41
41
|
if (existing) return { keyId: existing.keyId, publicKeyB64: existing.publicKeyB64 };
|
|
42
42
|
if (deps.role !== "owner") {
|
|
@@ -46,19 +46,19 @@ function withAttestation() {
|
|
|
46
46
|
return { keyId: signer.keyId, publicKeyB64: signer.publicKeyB64 };
|
|
47
47
|
},
|
|
48
48
|
async revokeAttestation(ctx, docId) {
|
|
49
|
-
const { revokeDocCore: revokeDocCore2 } = await import("../revoke-
|
|
49
|
+
const { revokeDocCore: revokeDocCore2 } = await import("../revoke-6NSQWTED.js");
|
|
50
50
|
return revokeDocCore2(ctx, docId);
|
|
51
51
|
},
|
|
52
52
|
async unrevokeAttestation(ctx, docId) {
|
|
53
|
-
const { unrevokeDocCore: unrevokeDocCore2 } = await import("../revoke-
|
|
53
|
+
const { unrevokeDocCore: unrevokeDocCore2 } = await import("../revoke-6NSQWTED.js");
|
|
54
54
|
return unrevokeDocCore2(ctx, docId);
|
|
55
55
|
},
|
|
56
56
|
async getRevokedDocIds(ctx) {
|
|
57
|
-
const { getRevokedDocIdsCore: getRevokedDocIdsCore2 } = await import("../revoke-
|
|
57
|
+
const { getRevokedDocIdsCore: getRevokedDocIdsCore2 } = await import("../revoke-6NSQWTED.js");
|
|
58
58
|
return getRevokedDocIdsCore2(ctx);
|
|
59
59
|
},
|
|
60
60
|
async publishRevocationList(ctx) {
|
|
61
|
-
const { publishRevocationListCore: publishRevocationListCore2 } = await import("../revoke-
|
|
61
|
+
const { publishRevocationListCore: publishRevocationListCore2 } = await import("../revoke-6NSQWTED.js");
|
|
62
62
|
return publishRevocationListCore2(ctx);
|
|
63
63
|
}
|
|
64
64
|
};
|
|
@@ -3,37 +3,37 @@ import {
|
|
|
3
3
|
} from "./chunk-EPFF7LOX.js";
|
|
4
4
|
import {
|
|
5
5
|
SCHEMAS_COLLECTION
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-AKPIBKHK.js";
|
|
7
7
|
import {
|
|
8
8
|
SEQUENCE_COLLECTION
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-2S6HROLU.js";
|
|
10
10
|
import {
|
|
11
11
|
PERIODS_COLLECTION,
|
|
12
12
|
PERIOD_ARCHIVES_COLLECTION,
|
|
13
13
|
PERIOD_FREEZES_COLLECTION,
|
|
14
14
|
PERIOD_REOPENS_COLLECTION,
|
|
15
15
|
PERIOD_TARGET_PURGES_COLLECTION
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-OQT3G55N.js";
|
|
17
17
|
import {
|
|
18
18
|
LEDGER_COLLECTION,
|
|
19
19
|
LEDGER_DELTAS_COLLECTION
|
|
20
20
|
} from "./chunk-I7FD46FF.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-43FOH2OK.js";
|
|
22
22
|
import {
|
|
23
23
|
buildRecordEnvelope
|
|
24
|
-
} from "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
24
|
+
} from "./chunk-FX3UIDCS.js";
|
|
25
|
+
import "./chunk-NK7DO6A2.js";
|
|
26
|
+
import "./chunk-AM6V36AG.js";
|
|
27
|
+
import "./chunk-AU45F5FD.js";
|
|
28
28
|
import "./chunk-LP7BEXCT.js";
|
|
29
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-D7STIWJO.js";
|
|
30
30
|
import {
|
|
31
31
|
NOYDB_BACKUP_VERSION
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-UJ4Z67UQ.js";
|
|
33
33
|
import {
|
|
34
34
|
BackupCorruptedError,
|
|
35
35
|
BackupLedgerError
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-5OFC3QYL.js";
|
|
37
37
|
import "./chunk-PZ5AY32C.js";
|
|
38
38
|
|
|
39
39
|
// src/with-pod/backup.ts
|
|
@@ -262,4 +262,4 @@ export {
|
|
|
262
262
|
loadVault,
|
|
263
263
|
verifyBackupIntegrity
|
|
264
264
|
};
|
|
265
|
-
//# sourceMappingURL=backup-
|
|
265
|
+
//# sourceMappingURL=backup-WLKPDY3V.js.map
|
package/dist/blobs/index.js
CHANGED
|
@@ -2,6 +2,15 @@ import {
|
|
|
2
2
|
importExternalObjects,
|
|
3
3
|
memoryObjectProjection
|
|
4
4
|
} from "../chunk-4Q6HSHHL.js";
|
|
5
|
+
import {
|
|
6
|
+
BLOB_EVICTION_AUDIT_COLLECTION,
|
|
7
|
+
EXPORT_AUDIT_COLLECTION,
|
|
8
|
+
ExportBlobsAbortedError,
|
|
9
|
+
NO_BLOBS,
|
|
10
|
+
createExportBlobsHandle,
|
|
11
|
+
reportOrphanBlobChunks,
|
|
12
|
+
runCompaction
|
|
13
|
+
} from "../chunk-FKLKAO2C.js";
|
|
5
14
|
import {
|
|
6
15
|
BLOB_CHUNKS_COLLECTION,
|
|
7
16
|
BLOB_COLLECTION,
|
|
@@ -16,29 +25,21 @@ import {
|
|
|
16
25
|
detectMimeType,
|
|
17
26
|
isPreCompressed,
|
|
18
27
|
memoryBlobPinStore
|
|
19
|
-
} from "../chunk-
|
|
20
|
-
import
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
import "../chunk-7JOXCSDU.js";
|
|
29
|
-
import "../chunk-OCW3IM2F.js";
|
|
30
|
-
import "../chunk-WUNRUSBJ.js";
|
|
31
|
-
import "../chunk-DIVPOJPV.js";
|
|
32
|
-
import "../chunk-PENPHA45.js";
|
|
33
|
-
import "../chunk-IUQPNAGR.js";
|
|
34
|
-
import "../chunk-AELW6OJZ.js";
|
|
35
|
-
import "../chunk-DUUARUZI.js";
|
|
28
|
+
} from "../chunk-24ZDSTEQ.js";
|
|
29
|
+
import "../chunk-6PLCNLBC.js";
|
|
30
|
+
import "../chunk-57MEX4LL.js";
|
|
31
|
+
import "../chunk-NSZGZYZL.js";
|
|
32
|
+
import "../chunk-43FOH2OK.js";
|
|
33
|
+
import "../chunk-FX3UIDCS.js";
|
|
34
|
+
import "../chunk-NK7DO6A2.js";
|
|
35
|
+
import "../chunk-AM6V36AG.js";
|
|
36
|
+
import "../chunk-AU45F5FD.js";
|
|
36
37
|
import "../chunk-LP7BEXCT.js";
|
|
37
|
-
import "../chunk-
|
|
38
|
-
import "../chunk-
|
|
38
|
+
import "../chunk-D7STIWJO.js";
|
|
39
|
+
import "../chunk-UJ4Z67UQ.js";
|
|
39
40
|
import {
|
|
40
41
|
BlobOfflineError
|
|
41
|
-
} from "../chunk-
|
|
42
|
+
} from "../chunk-5OFC3QYL.js";
|
|
42
43
|
import "../chunk-PZ5AY32C.js";
|
|
43
44
|
|
|
44
45
|
// src/via/blob/active.ts
|
|
@@ -74,6 +75,7 @@ export {
|
|
|
74
75
|
isPreCompressed,
|
|
75
76
|
memoryBlobPinStore,
|
|
76
77
|
memoryObjectProjection,
|
|
78
|
+
reportOrphanBlobChunks,
|
|
77
79
|
runCompaction,
|
|
78
80
|
withBlobs
|
|
79
81
|
};
|
package/dist/blobs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/via/blob/active.ts"],"sourcesContent":["/**\n * Active blob strategy factory. Calling `blobs()` returns a\n * `BlobsStrategy` whose `openSlot` constructs a real `BlobSet` bound\n * to the caller's record. The returned strategy is passed into\n * `createNoydb({ blobsStrategy: blobs() })` to light up the\n * `collection.blob(id)` path.\n *\n * This module is only reachable through the `@noy-db/hub/blobs`\n * subpath — a consumer that never imports the subpath ships none of\n * this (ESM tree-shaking + hub's `\"sideEffects\": false`).\n */\n\nimport { BlobSet } from '../../with-shape/blobs/blob-set.js'\nimport type { BlobsStrategy } from '../../port/with/blob-strategy.js'\nimport { createBlobPinCache } from '../../with-shape/blobs/blob-pinning.js'\nimport type { BlobPinStore } from '../../with-shape/blobs/blob-pinning.js'\n\n/** Options for {@link withBlobs} (#808). */\nexport interface WithBlobsOptions {\n /**\n * Device-local backend for the offline-pin registry + external side-cache\n * (`collection.blob(id).pin()`, the `cacheBudget` LRU stamps). Default:\n * in-memory — pins then last one app session. Supply a durable,\n * DEVICE-LOCAL store (IndexedDB-backed on the web; it must never sync) to\n * keep pins across restarts. See `BlobPinStore`'s doc for the posture.\n */\n readonly pinStore?: BlobPinStore\n}\n\n/**\n * Build a default `BlobsStrategy` ready to pass into `createNoydb`.\n *\n * Named `withBlobs` (plugin-pattern canonical) rather than `blobs` to\n * avoid shadowing the very common local idiom\n * `const blobs = invoices.blob(id)` in user code.\n *\n * One `withBlobs()` instance owns one device-local pin registry + KPI\n * counter set (#808) — treat it as \"this device's\" blob service.\n *\n * @example\n * ```ts\n * import { createNoydb } from '@noy-db/hub'\n * import { withBlobs } from '@noy-db/hub/blobs'\n *\n * const db = await createNoydb({\n * store, user, secret,\n * blobsStrategy: withBlobs(),\n * })\n *\n * // Now live — delegates to BlobSet.\n * const vault = await db.openVault('acme')\n * await vault.collection('invoices').blob('inv-1').put('receipt.pdf', bytes)\n * ```\n */\nexport function withBlobs(options: WithBlobsOptions = {}): BlobsStrategy {\n const pinCache = createBlobPinCache(options.pinStore)\n return {\n openSlot(args) {\n return new BlobSet({ ...args, pinCache })\n },\n cacheStats() {\n return { ...pinCache.stats }\n },\n }\n}\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../src/via/blob/active.ts"],"sourcesContent":["/**\n * Active blob strategy factory. Calling `blobs()` returns a\n * `BlobsStrategy` whose `openSlot` constructs a real `BlobSet` bound\n * to the caller's record. The returned strategy is passed into\n * `createNoydb({ blobsStrategy: blobs() })` to light up the\n * `collection.blob(id)` path.\n *\n * This module is only reachable through the `@noy-db/hub/blobs`\n * subpath — a consumer that never imports the subpath ships none of\n * this (ESM tree-shaking + hub's `\"sideEffects\": false`).\n */\n\nimport { BlobSet } from '../../with-shape/blobs/blob-set.js'\nimport type { BlobsStrategy } from '../../port/with/blob-strategy.js'\nimport { createBlobPinCache } from '../../with-shape/blobs/blob-pinning.js'\nimport type { BlobPinStore } from '../../with-shape/blobs/blob-pinning.js'\n\n/** Options for {@link withBlobs} (#808). */\nexport interface WithBlobsOptions {\n /**\n * Device-local backend for the offline-pin registry + external side-cache\n * (`collection.blob(id).pin()`, the `cacheBudget` LRU stamps). Default:\n * in-memory — pins then last one app session. Supply a durable,\n * DEVICE-LOCAL store (IndexedDB-backed on the web; it must never sync) to\n * keep pins across restarts. See `BlobPinStore`'s doc for the posture.\n */\n readonly pinStore?: BlobPinStore\n}\n\n/**\n * Build a default `BlobsStrategy` ready to pass into `createNoydb`.\n *\n * Named `withBlobs` (plugin-pattern canonical) rather than `blobs` to\n * avoid shadowing the very common local idiom\n * `const blobs = invoices.blob(id)` in user code.\n *\n * One `withBlobs()` instance owns one device-local pin registry + KPI\n * counter set (#808) — treat it as \"this device's\" blob service.\n *\n * @example\n * ```ts\n * import { createNoydb } from '@noy-db/hub'\n * import { withBlobs } from '@noy-db/hub/blobs'\n *\n * const db = await createNoydb({\n * store, user, secret,\n * blobsStrategy: withBlobs(),\n * })\n *\n * // Now live — delegates to BlobSet.\n * const vault = await db.openVault('acme')\n * await vault.collection('invoices').blob('inv-1').put('receipt.pdf', bytes)\n * ```\n */\nexport function withBlobs(options: WithBlobsOptions = {}): BlobsStrategy {\n const pinCache = createBlobPinCache(options.pinStore)\n return {\n openSlot(args) {\n return new BlobSet({ ...args, pinCache })\n },\n cacheStats() {\n return { ...pinCache.stats }\n },\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsDO,SAAS,UAAU,UAA4B,CAAC,GAAkB;AACvE,QAAM,WAAW,mBAAmB,QAAQ,QAAQ;AACpD,SAAO;AAAA,IACL,SAAS,MAAM;AACb,aAAO,IAAI,QAAQ,EAAE,GAAG,MAAM,SAAS,CAAC;AAAA,IAC1C;AAAA,IACA,aAAa;AACX,aAAO,EAAE,GAAG,SAAS,MAAM;AAAA,IAC7B;AAAA,EACF;AACF;","names":[]}
|
package/dist/broker/index.js
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NO_BROKER
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-K7HPGV5K.js";
|
|
4
4
|
import {
|
|
5
5
|
issueChallenge,
|
|
6
6
|
verifyBrokerProof
|
|
7
|
-
} from "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-
|
|
7
|
+
} from "../chunk-43FOH2OK.js";
|
|
8
|
+
import "../chunk-FX3UIDCS.js";
|
|
9
|
+
import "../chunk-NK7DO6A2.js";
|
|
10
|
+
import "../chunk-AM6V36AG.js";
|
|
11
|
+
import "../chunk-AU45F5FD.js";
|
|
12
12
|
import "../chunk-LP7BEXCT.js";
|
|
13
|
-
import "../chunk-
|
|
14
|
-
import "../chunk-
|
|
13
|
+
import "../chunk-D7STIWJO.js";
|
|
14
|
+
import "../chunk-UJ4Z67UQ.js";
|
|
15
15
|
import {
|
|
16
16
|
BrokerEnrolmentError,
|
|
17
17
|
BrokerNotEnabledError,
|
|
18
18
|
BrokerProofError
|
|
19
|
-
} from "../chunk-
|
|
19
|
+
} from "../chunk-5OFC3QYL.js";
|
|
20
20
|
import "../chunk-PZ5AY32C.js";
|
|
21
21
|
|
|
22
22
|
// src/with-party/broker/active.ts
|
|
@@ -30,7 +30,7 @@ function withBroker(config) {
|
|
|
30
30
|
const cache = /* @__PURE__ */ new Map();
|
|
31
31
|
return {
|
|
32
32
|
async enroll(ctx) {
|
|
33
|
-
const { enrollSeed } = await import("../seed-
|
|
33
|
+
const { enrollSeed } = await import("../seed-ZLOK3Z4M.js");
|
|
34
34
|
return enrollSeed({ ...ctx, config });
|
|
35
35
|
},
|
|
36
36
|
async rotate(ctx) {
|
|
@@ -39,7 +39,7 @@ function withBroker(config) {
|
|
|
39
39
|
const inFlight = scoped.map(([, e]) => e.inFlight).filter((p) => p !== void 0);
|
|
40
40
|
await Promise.allSettled(inFlight);
|
|
41
41
|
for (const [key] of scoped) cache.delete(key);
|
|
42
|
-
const { rotateSeed } = await import("../seed-
|
|
42
|
+
const { rotateSeed } = await import("../seed-ZLOK3Z4M.js");
|
|
43
43
|
return rotateSeed({ ...ctx, config });
|
|
44
44
|
},
|
|
45
45
|
credentialSource(ctx, profile) {
|
|
@@ -56,7 +56,7 @@ function withBroker(config) {
|
|
|
56
56
|
const skewMs = config.skewMs ?? DEFAULT_SKEW_MS;
|
|
57
57
|
const capturedEntry = entry;
|
|
58
58
|
const inFlight = (async () => {
|
|
59
|
-
const { mintStoreCredentials } = await import("../seed-
|
|
59
|
+
const { mintStoreCredentials } = await import("../seed-ZLOK3Z4M.js");
|
|
60
60
|
const creds = await mintStoreCredentials({ ...ctx, config }, profile);
|
|
61
61
|
capturedEntry.cached = { creds, validUntil: cacheFloor(creds, skewMs) };
|
|
62
62
|
return creds;
|
package/dist/cargo/index.js
CHANGED
|
@@ -6,67 +6,67 @@ import {
|
|
|
6
6
|
diffVault,
|
|
7
7
|
unsealDeks,
|
|
8
8
|
withCargo
|
|
9
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-LU2HAOVP.js";
|
|
10
10
|
import {
|
|
11
11
|
extractPartition,
|
|
12
12
|
walkClosure
|
|
13
|
-
} from "../chunk-
|
|
13
|
+
} from "../chunk-RTBCWDJ3.js";
|
|
14
14
|
import {
|
|
15
15
|
createDeedOwner,
|
|
16
16
|
isDeedVault,
|
|
17
17
|
liberateVault,
|
|
18
18
|
loadDeedMarker
|
|
19
|
-
} from "../chunk-
|
|
20
|
-
import "../chunk-
|
|
21
|
-
import "../chunk-
|
|
19
|
+
} from "../chunk-PZEDIO72.js";
|
|
20
|
+
import "../chunk-576CTQ77.js";
|
|
21
|
+
import "../chunk-35K4VWMD.js";
|
|
22
22
|
import {
|
|
23
23
|
NO_CARGO,
|
|
24
24
|
isQuorum,
|
|
25
25
|
runDrainBarrier
|
|
26
|
-
} from "../chunk-
|
|
27
|
-
import "../chunk-
|
|
28
|
-
import "../chunk-
|
|
26
|
+
} from "../chunk-GCTZNHDO.js";
|
|
27
|
+
import "../chunk-S2I5MYSA.js";
|
|
28
|
+
import "../chunk-AKPIBKHK.js";
|
|
29
29
|
import {
|
|
30
30
|
CustodyApi
|
|
31
|
-
} from "../chunk-
|
|
32
|
-
import "../chunk-
|
|
33
|
-
import "../chunk-
|
|
31
|
+
} from "../chunk-KEMD6B3W.js";
|
|
32
|
+
import "../chunk-DM2BZDNV.js";
|
|
33
|
+
import "../chunk-TTGZ6KGY.js";
|
|
34
34
|
import {
|
|
35
35
|
fuseRetrieval
|
|
36
36
|
} from "../chunk-AURFOK3D.js";
|
|
37
|
-
import "../chunk-
|
|
37
|
+
import "../chunk-24ZDSTEQ.js";
|
|
38
38
|
import {
|
|
39
39
|
groupAndReduce,
|
|
40
40
|
reduceRecords
|
|
41
|
-
} from "../chunk-
|
|
41
|
+
} from "../chunk-264AKW4K.js";
|
|
42
42
|
import "../chunk-XZHEOSQ2.js";
|
|
43
43
|
import "../chunk-ATL3ZVXT.js";
|
|
44
44
|
import {
|
|
45
45
|
readPath
|
|
46
46
|
} from "../chunk-NSITFOCJ.js";
|
|
47
|
-
import "../chunk-
|
|
48
|
-
import "../chunk-
|
|
49
|
-
import "../chunk-
|
|
50
|
-
import "../chunk-
|
|
51
|
-
import "../chunk-
|
|
47
|
+
import "../chunk-IYXP6OR5.js";
|
|
48
|
+
import "../chunk-6PLCNLBC.js";
|
|
49
|
+
import "../chunk-YEEV4ZXL.js";
|
|
50
|
+
import "../chunk-SQWXF2HP.js";
|
|
51
|
+
import "../chunk-57MEX4LL.js";
|
|
52
52
|
import {
|
|
53
53
|
generateULID
|
|
54
54
|
} from "../chunk-4AOERLTV.js";
|
|
55
55
|
import "../chunk-SVLR4POP.js";
|
|
56
|
-
import "../chunk-
|
|
56
|
+
import "../chunk-FJGNYSB3.js";
|
|
57
57
|
import "../chunk-I7FD46FF.js";
|
|
58
|
-
import "../chunk-
|
|
59
|
-
import "../chunk-
|
|
60
|
-
import "../chunk-
|
|
61
|
-
import "../chunk-
|
|
62
|
-
import "../chunk-
|
|
63
|
-
import "../chunk-
|
|
64
|
-
import "../chunk-
|
|
58
|
+
import "../chunk-GU5XWSH4.js";
|
|
59
|
+
import "../chunk-NSZGZYZL.js";
|
|
60
|
+
import "../chunk-43FOH2OK.js";
|
|
61
|
+
import "../chunk-FX3UIDCS.js";
|
|
62
|
+
import "../chunk-NK7DO6A2.js";
|
|
63
|
+
import "../chunk-AM6V36AG.js";
|
|
64
|
+
import "../chunk-AU45F5FD.js";
|
|
65
65
|
import "../chunk-LP7BEXCT.js";
|
|
66
66
|
import {
|
|
67
67
|
sha256Hex
|
|
68
|
-
} from "../chunk-
|
|
69
|
-
import "../chunk-
|
|
68
|
+
} from "../chunk-D7STIWJO.js";
|
|
69
|
+
import "../chunk-UJ4Z67UQ.js";
|
|
70
70
|
import {
|
|
71
71
|
AdoptionStateError,
|
|
72
72
|
CargoNotEnabledError,
|
|
@@ -81,7 +81,7 @@ import {
|
|
|
81
81
|
UnknownShardError,
|
|
82
82
|
ValidationError,
|
|
83
83
|
VaultTemplateNotFoundError
|
|
84
|
-
} from "../chunk-
|
|
84
|
+
} from "../chunk-5OFC3QYL.js";
|
|
85
85
|
import "../chunk-PZ5AY32C.js";
|
|
86
86
|
export {
|
|
87
87
|
AdoptionStateError,
|