@noy-db/hub 0.7.0-pre.14 → 0.7.0-pre.16
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 +148 -0
- package/README.md +2 -2
- package/dist/{api-JPZT6BDD.js → api-TXFOVOXX.js} +6 -6
- package/dist/as/index.js +5 -5
- package/dist/at/index.js +4 -4
- package/dist/attestation/index.js +12 -12
- package/dist/{backup-AKWIMYWU.js → backup-IJTB4S4M.js} +6 -6
- package/dist/blobs/index.js +5 -5
- package/dist/broker/index.js +6 -6
- package/dist/cargo/index.js +18 -18
- package/dist/{chunk-5UKIZIO3.js → chunk-2577DKXB.js} +2 -2
- package/dist/{chunk-4SZMZAYN.js → chunk-2C3AQB46.js} +4 -4
- package/dist/{chunk-4SZMZAYN.js.map → chunk-2C3AQB46.js.map} +1 -1
- package/dist/{chunk-EVKR67PQ.js → chunk-2N4GY74U.js} +4 -4
- package/dist/{chunk-WWNYSV7S.js → chunk-2Y4IMKA6.js} +3 -3
- package/dist/{chunk-3LK2XZCW.js → chunk-3RCJJBNR.js} +8 -8
- package/dist/{chunk-GM4IM7TC.js → chunk-453F654R.js} +2 -2
- package/dist/{chunk-JUBWUJY5.js → chunk-4GVM6QZA.js} +2 -2
- package/dist/{chunk-KCUIMITG.js → chunk-5VCRVKOZ.js} +2 -2
- package/dist/{chunk-NLOLF6LD.js → chunk-5WDXHNSW.js} +3 -3
- package/dist/{chunk-BMSOTHIA.js → chunk-6GMZ7HEE.js} +3 -3
- package/dist/{chunk-RDZZHYMV.js → chunk-6I2RQCET.js} +3 -3
- package/dist/chunk-6LMAVYOY.js +63 -0
- package/dist/chunk-6LMAVYOY.js.map +1 -0
- package/dist/{chunk-CIGAQBJR.js → chunk-77K4PG6P.js} +3 -3
- package/dist/{chunk-N4CHCXDL.js → chunk-7MG7SJT7.js} +1 -1
- package/dist/{chunk-N4CHCXDL.js.map → chunk-7MG7SJT7.js.map} +1 -1
- package/dist/{chunk-RGSTMLVO.js → chunk-7V4TP3AF.js} +3 -3
- package/dist/{chunk-WSJG5L5C.js → chunk-ANATMFIO.js} +3 -3
- package/dist/{chunk-DMJZBQ7F.js → chunk-AO42KJO6.js} +4 -4
- package/dist/{chunk-ZG4XLOKB.js → chunk-BM5TWITZ.js} +3 -3
- package/dist/{chunk-IPFE6MVM.js → chunk-BOET4NA4.js} +2 -2
- package/dist/{chunk-TGPST6FK.js → chunk-BSFNRLK2.js} +3 -3
- package/dist/{chunk-MGOXJIBV.js → chunk-CARABLSQ.js} +2 -2
- package/dist/{chunk-RJ7NN2UR.js → chunk-CHJBLCOG.js} +5 -5
- package/dist/{chunk-GHHUF2KL.js → chunk-CPWQB3N5.js} +4 -4
- package/dist/{chunk-Q4RWFV3G.js → chunk-ELNXJMGB.js} +4 -4
- package/dist/{chunk-MLO75SFJ.js → chunk-EQEYOJBM.js} +2 -2
- package/dist/{chunk-PFBL4M7E.js → chunk-EYBQEIUY.js} +2 -2
- package/dist/{chunk-AMODH7AU.js → chunk-FMZY5Q6L.js} +3 -3
- package/dist/{chunk-2HVILGVR.js → chunk-FXBIP2WD.js} +2 -2
- package/dist/{chunk-VNR2SNVJ.js → chunk-G56KBWFY.js} +5 -5
- package/dist/{chunk-QQ2YMQZU.js → chunk-GPEQUXHL.js} +3 -3
- package/dist/{chunk-WZW37ZHL.js → chunk-K6LHRFBL.js} +5 -5
- package/dist/{chunk-FYEZC4PX.js → chunk-K7NTTA6P.js} +2 -2
- package/dist/{chunk-YQWBEJCS.js → chunk-KG7TZKZG.js} +3 -3
- package/dist/{chunk-EWPRPP3M.js → chunk-KJIMGIWO.js} +4 -4
- package/dist/{chunk-THX6FEEC.js → chunk-KUJDV5QH.js} +3 -3
- package/dist/{chunk-FUJSIP4K.js → chunk-KUX3OB6D.js} +2 -2
- package/dist/{chunk-U7VPHXXO.js → chunk-L742JPKZ.js} +4 -4
- package/dist/{chunk-EKZ6VZYF.js → chunk-L7CIOOBW.js} +2 -2
- package/dist/{chunk-V2PNPF6J.js → chunk-LVS44C35.js} +6 -6
- package/dist/{chunk-XGDYGUEH.js → chunk-MUM7IANK.js} +2 -2
- package/dist/{chunk-EKVNVJVV.js → chunk-MWAHERVR.js} +12 -3
- package/dist/chunk-MWAHERVR.js.map +1 -0
- package/dist/{chunk-FFBYRWDJ.js → chunk-NA2NIJZI.js} +2 -2
- package/dist/{chunk-KLPASWYY.js → chunk-NKHRDYOR.js} +3 -3
- package/dist/{chunk-VGXZT72I.js → chunk-PT43Y56J.js} +4 -4
- package/dist/{chunk-LHH6H43C.js → chunk-RRNRNANG.js} +6 -6
- package/dist/{chunk-BOBFL5TW.js → chunk-SPXXX5E4.js} +2 -2
- package/dist/{chunk-KTDGZPOZ.js → chunk-SPYWXKJN.js} +2 -2
- package/dist/{chunk-4RUFYGWG.js → chunk-SZJ3DLZA.js} +2 -2
- package/dist/{chunk-YPXNAP72.js → chunk-U4FOQDY4.js} +2 -2
- package/dist/{chunk-DRB6IHPS.js → chunk-URDWKAQQ.js} +54 -54
- package/dist/{chunk-OMB2ZKIT.js → chunk-UXWB3FPF.js} +8 -8
- package/dist/{chunk-NOSRK3ZZ.js → chunk-VNZUVPUO.js} +10 -10
- package/dist/{chunk-BBWVXF57.js → chunk-VXGSWL6L.js} +6 -6
- package/dist/{chunk-XNIQ7DP2.js → chunk-X2DLENDQ.js} +3 -3
- package/dist/{chunk-B2KCRDJM.js → chunk-XTXOCYOJ.js} +4 -4
- package/dist/{chunk-MMOZQTXV.js → chunk-ZVO4QVPD.js} +3 -3
- package/dist/classified/index.js +3 -3
- package/dist/{classified-marker-OO65UYXN.js → classified-marker-LI2SF2E4.js} +3 -3
- package/dist/{collection-facade-VOWW732S.js → collection-facade-4GRREZ6C.js} +8 -8
- package/dist/consent/index.js +4 -4
- package/dist/cover/index.js +4 -4
- package/dist/custody/index.js +6 -6
- package/dist/{dead-filter-OMMVBAKZ.js → dead-filter-TSWZQRR5.js} +2 -2
- package/dist/{delegation-VRYMQRCF.js → delegation-OVIFFPG4.js} +4 -4
- package/dist/derivations/index.js +11 -11
- package/dist/{derive-HHBRFS2U.js → derive-6O5SWQKN.js} +4 -4
- package/dist/directory/index.js +5 -5
- package/dist/{dispatch-DC3LQJ3S.js → dispatch-SYKRVTYW.js} +45 -14
- package/dist/dispatch-SYKRVTYW.js.map +1 -0
- package/dist/{dispatch-GGFBWQU7.js → dispatch-WC6X2M6C.js} +5 -5
- package/dist/{enclave-VM2YQONI.js → enclave-KJOTOH7X.js} +4 -4
- package/dist/{executor-5XJNV5H5.js → executor-PUAO6AKJ.js} +9 -9
- package/dist/{export-accessible-2LOBM67T.js → export-accessible-72EQNBMR.js} +7 -7
- package/dist/{extract-partition-AZGSEMIF.js → extract-partition-PUYNU3UF.js} +10 -10
- package/dist/{fanout-sidecar-HJIVUPTD.js → fanout-sidecar-WUFXNYP4.js} +4 -4
- package/dist/forget/index.js +4 -4
- package/dist/history/index.js +7 -7
- package/dist/i18n/index.js +6 -6
- package/dist/index.js +50 -50
- package/dist/introspection/index.js +5 -5
- package/dist/{issue-RH4H733Z.js → issue-SIDORTSZ.js} +6 -6
- package/dist/kernel/types.d.ts +39 -0
- package/dist/{ledger-454SU3VE.js → ledger-F33ZVMTK.js} +6 -6
- package/dist/liberate-LCDPNAG2.js +24 -0
- package/dist/{link-set-67CAMUAL.js → link-set-FKNWAYKS.js} +5 -5
- package/dist/{managed-secret-NHRYG7CD.js → managed-secret-PQYKSR6T.js} +5 -5
- package/dist/materialized-views/index.js +9 -9
- package/dist/{noydb-Y53CQHZK.js → noydb-RFEFYWE4.js} +29 -29
- package/dist/periods/index.js +6 -6
- package/dist/pod/index.js +32 -32
- package/dist/{pod-handle-S7AMCJIF.js → pod-handle-Q736KYON.js} +4 -4
- package/dist/policy/index.js +5 -5
- package/dist/port/to/index.d.ts +40 -0
- package/dist/portability/index.js +6 -6
- package/dist/{post-register-HIYY4Y5S.js → post-register-LNE2FE2A.js} +4 -4
- package/dist/{register-7OJWAWT5.js → register-I2DZXGAR.js} +10 -10
- package/dist/{registry-HDINK5QW.js → registry-K734HBSO.js} +12 -12
- package/dist/{registry-5MVJGPXW.js → registry-VSSQPIGF.js} +4 -4
- package/dist/{request-withdrawal-P5EQATZ7.js → request-withdrawal-KFQHEZ25.js} +9 -9
- package/dist/{reveal-IMGQ2EE5.js → reveal-67RDQRIN.js} +3 -3
- package/dist/{revoke-POHP4GPB.js → revoke-DQDZAZZM.js} +6 -6
- package/dist/sealed-record/index.js +6 -6
- package/dist/search/index.js +1 -1
- package/dist/{seed-UYR6YG3V.js → seed-G42JYN56.js} +6 -6
- package/dist/sequence/index.js +4 -4
- package/dist/session/index.js +3 -3
- package/dist/{signer-5K3WDHOC.js → signer-WAMDZHEN.js} +5 -5
- package/dist/snapshots/index.js +5 -5
- package/dist/{stale-AU74OPUW.js → stale-DDL7WQEZ.js} +5 -5
- package/dist/{storage-AVJA5BTW.js → storage-FLR73HHF.js} +5 -5
- package/dist/{store-coordination-provider-RX2CGWXV.js → store-coordination-provider-MEQ2MJQG.js} +5 -5
- package/dist/sync/index.js +4 -4
- package/dist/team/index.js +8 -8
- package/dist/tiers/index.js +4 -4
- package/dist/to/index.js +1 -1
- package/dist/vault-head/index.js +3 -3
- package/dist/{walk-ERAJ5RHO.js → walk-3UQBRMDV.js} +6 -6
- package/dist/with-formula/derivations/trigger-match.d.ts +55 -0
- package/dist/with-formula/derivations/types.d.ts +33 -0
- package/dist/{withdraw-accessible-42D32Z7G.js → withdraw-accessible-EL5GXZBS.js} +8 -8
- package/package.json +4 -4
- package/dist/chunk-EKVNVJVV.js.map +0 -1
- package/dist/chunk-TPHAGLUH.js +0 -30
- package/dist/chunk-TPHAGLUH.js.map +0 -1
- package/dist/dispatch-DC3LQJ3S.js.map +0 -1
- package/dist/liberate-AAZSP2BT.js +0 -24
- /package/dist/{api-JPZT6BDD.js.map → api-TXFOVOXX.js.map} +0 -0
- /package/dist/{backup-AKWIMYWU.js.map → backup-IJTB4S4M.js.map} +0 -0
- /package/dist/{chunk-5UKIZIO3.js.map → chunk-2577DKXB.js.map} +0 -0
- /package/dist/{chunk-EVKR67PQ.js.map → chunk-2N4GY74U.js.map} +0 -0
- /package/dist/{chunk-WWNYSV7S.js.map → chunk-2Y4IMKA6.js.map} +0 -0
- /package/dist/{chunk-3LK2XZCW.js.map → chunk-3RCJJBNR.js.map} +0 -0
- /package/dist/{chunk-GM4IM7TC.js.map → chunk-453F654R.js.map} +0 -0
- /package/dist/{chunk-JUBWUJY5.js.map → chunk-4GVM6QZA.js.map} +0 -0
- /package/dist/{chunk-KCUIMITG.js.map → chunk-5VCRVKOZ.js.map} +0 -0
- /package/dist/{chunk-NLOLF6LD.js.map → chunk-5WDXHNSW.js.map} +0 -0
- /package/dist/{chunk-BMSOTHIA.js.map → chunk-6GMZ7HEE.js.map} +0 -0
- /package/dist/{chunk-RDZZHYMV.js.map → chunk-6I2RQCET.js.map} +0 -0
- /package/dist/{chunk-CIGAQBJR.js.map → chunk-77K4PG6P.js.map} +0 -0
- /package/dist/{chunk-RGSTMLVO.js.map → chunk-7V4TP3AF.js.map} +0 -0
- /package/dist/{chunk-WSJG5L5C.js.map → chunk-ANATMFIO.js.map} +0 -0
- /package/dist/{chunk-DMJZBQ7F.js.map → chunk-AO42KJO6.js.map} +0 -0
- /package/dist/{chunk-ZG4XLOKB.js.map → chunk-BM5TWITZ.js.map} +0 -0
- /package/dist/{chunk-IPFE6MVM.js.map → chunk-BOET4NA4.js.map} +0 -0
- /package/dist/{chunk-TGPST6FK.js.map → chunk-BSFNRLK2.js.map} +0 -0
- /package/dist/{chunk-MGOXJIBV.js.map → chunk-CARABLSQ.js.map} +0 -0
- /package/dist/{chunk-RJ7NN2UR.js.map → chunk-CHJBLCOG.js.map} +0 -0
- /package/dist/{chunk-GHHUF2KL.js.map → chunk-CPWQB3N5.js.map} +0 -0
- /package/dist/{chunk-Q4RWFV3G.js.map → chunk-ELNXJMGB.js.map} +0 -0
- /package/dist/{chunk-MLO75SFJ.js.map → chunk-EQEYOJBM.js.map} +0 -0
- /package/dist/{chunk-PFBL4M7E.js.map → chunk-EYBQEIUY.js.map} +0 -0
- /package/dist/{chunk-AMODH7AU.js.map → chunk-FMZY5Q6L.js.map} +0 -0
- /package/dist/{chunk-2HVILGVR.js.map → chunk-FXBIP2WD.js.map} +0 -0
- /package/dist/{chunk-VNR2SNVJ.js.map → chunk-G56KBWFY.js.map} +0 -0
- /package/dist/{chunk-QQ2YMQZU.js.map → chunk-GPEQUXHL.js.map} +0 -0
- /package/dist/{chunk-WZW37ZHL.js.map → chunk-K6LHRFBL.js.map} +0 -0
- /package/dist/{chunk-FYEZC4PX.js.map → chunk-K7NTTA6P.js.map} +0 -0
- /package/dist/{chunk-YQWBEJCS.js.map → chunk-KG7TZKZG.js.map} +0 -0
- /package/dist/{chunk-EWPRPP3M.js.map → chunk-KJIMGIWO.js.map} +0 -0
- /package/dist/{chunk-THX6FEEC.js.map → chunk-KUJDV5QH.js.map} +0 -0
- /package/dist/{chunk-FUJSIP4K.js.map → chunk-KUX3OB6D.js.map} +0 -0
- /package/dist/{chunk-U7VPHXXO.js.map → chunk-L742JPKZ.js.map} +0 -0
- /package/dist/{chunk-EKZ6VZYF.js.map → chunk-L7CIOOBW.js.map} +0 -0
- /package/dist/{chunk-V2PNPF6J.js.map → chunk-LVS44C35.js.map} +0 -0
- /package/dist/{chunk-XGDYGUEH.js.map → chunk-MUM7IANK.js.map} +0 -0
- /package/dist/{chunk-FFBYRWDJ.js.map → chunk-NA2NIJZI.js.map} +0 -0
- /package/dist/{chunk-KLPASWYY.js.map → chunk-NKHRDYOR.js.map} +0 -0
- /package/dist/{chunk-VGXZT72I.js.map → chunk-PT43Y56J.js.map} +0 -0
- /package/dist/{chunk-LHH6H43C.js.map → chunk-RRNRNANG.js.map} +0 -0
- /package/dist/{chunk-BOBFL5TW.js.map → chunk-SPXXX5E4.js.map} +0 -0
- /package/dist/{chunk-KTDGZPOZ.js.map → chunk-SPYWXKJN.js.map} +0 -0
- /package/dist/{chunk-4RUFYGWG.js.map → chunk-SZJ3DLZA.js.map} +0 -0
- /package/dist/{chunk-YPXNAP72.js.map → chunk-U4FOQDY4.js.map} +0 -0
- /package/dist/{chunk-DRB6IHPS.js.map → chunk-URDWKAQQ.js.map} +0 -0
- /package/dist/{chunk-OMB2ZKIT.js.map → chunk-UXWB3FPF.js.map} +0 -0
- /package/dist/{chunk-NOSRK3ZZ.js.map → chunk-VNZUVPUO.js.map} +0 -0
- /package/dist/{chunk-BBWVXF57.js.map → chunk-VXGSWL6L.js.map} +0 -0
- /package/dist/{chunk-XNIQ7DP2.js.map → chunk-X2DLENDQ.js.map} +0 -0
- /package/dist/{chunk-B2KCRDJM.js.map → chunk-XTXOCYOJ.js.map} +0 -0
- /package/dist/{chunk-MMOZQTXV.js.map → chunk-ZVO4QVPD.js.map} +0 -0
- /package/dist/{classified-marker-OO65UYXN.js.map → classified-marker-LI2SF2E4.js.map} +0 -0
- /package/dist/{collection-facade-VOWW732S.js.map → collection-facade-4GRREZ6C.js.map} +0 -0
- /package/dist/{dead-filter-OMMVBAKZ.js.map → dead-filter-TSWZQRR5.js.map} +0 -0
- /package/dist/{delegation-VRYMQRCF.js.map → delegation-OVIFFPG4.js.map} +0 -0
- /package/dist/{derive-HHBRFS2U.js.map → derive-6O5SWQKN.js.map} +0 -0
- /package/dist/{dispatch-GGFBWQU7.js.map → dispatch-WC6X2M6C.js.map} +0 -0
- /package/dist/{enclave-VM2YQONI.js.map → enclave-KJOTOH7X.js.map} +0 -0
- /package/dist/{executor-5XJNV5H5.js.map → executor-PUAO6AKJ.js.map} +0 -0
- /package/dist/{export-accessible-2LOBM67T.js.map → export-accessible-72EQNBMR.js.map} +0 -0
- /package/dist/{extract-partition-AZGSEMIF.js.map → extract-partition-PUYNU3UF.js.map} +0 -0
- /package/dist/{fanout-sidecar-HJIVUPTD.js.map → fanout-sidecar-WUFXNYP4.js.map} +0 -0
- /package/dist/{issue-RH4H733Z.js.map → issue-SIDORTSZ.js.map} +0 -0
- /package/dist/{ledger-454SU3VE.js.map → ledger-F33ZVMTK.js.map} +0 -0
- /package/dist/{liberate-AAZSP2BT.js.map → liberate-LCDPNAG2.js.map} +0 -0
- /package/dist/{link-set-67CAMUAL.js.map → link-set-FKNWAYKS.js.map} +0 -0
- /package/dist/{managed-secret-NHRYG7CD.js.map → managed-secret-PQYKSR6T.js.map} +0 -0
- /package/dist/{noydb-Y53CQHZK.js.map → noydb-RFEFYWE4.js.map} +0 -0
- /package/dist/{pod-handle-S7AMCJIF.js.map → pod-handle-Q736KYON.js.map} +0 -0
- /package/dist/{post-register-HIYY4Y5S.js.map → post-register-LNE2FE2A.js.map} +0 -0
- /package/dist/{register-7OJWAWT5.js.map → register-I2DZXGAR.js.map} +0 -0
- /package/dist/{registry-5MVJGPXW.js.map → registry-K734HBSO.js.map} +0 -0
- /package/dist/{registry-HDINK5QW.js.map → registry-VSSQPIGF.js.map} +0 -0
- /package/dist/{request-withdrawal-P5EQATZ7.js.map → request-withdrawal-KFQHEZ25.js.map} +0 -0
- /package/dist/{reveal-IMGQ2EE5.js.map → reveal-67RDQRIN.js.map} +0 -0
- /package/dist/{revoke-POHP4GPB.js.map → revoke-DQDZAZZM.js.map} +0 -0
- /package/dist/{seed-UYR6YG3V.js.map → seed-G42JYN56.js.map} +0 -0
- /package/dist/{signer-5K3WDHOC.js.map → signer-WAMDZHEN.js.map} +0 -0
- /package/dist/{stale-AU74OPUW.js.map → stale-DDL7WQEZ.js.map} +0 -0
- /package/dist/{storage-AVJA5BTW.js.map → storage-FLR73HHF.js.map} +0 -0
- /package/dist/{store-coordination-provider-RX2CGWXV.js.map → store-coordination-provider-MEQ2MJQG.js.map} +0 -0
- /package/dist/{walk-ERAJ5RHO.js.map → walk-3UQBRMDV.js.map} +0 -0
- /package/dist/{withdraw-accessible-42D32Z7G.js.map → withdraw-accessible-EL5GXZBS.js.map} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,153 @@
|
|
|
1
1
|
# Changelog — hub
|
|
2
2
|
|
|
3
|
+
## 0.7.0-pre.16
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- New published type on `@noy-db/hub/to`: `NoydbRelayStore` — the store contract
|
|
8
|
+
minus the two members a relay profile omits by construction (#1237).
|
|
9
|
+
|
|
10
|
+
`saveAll` is whole-vault replace, a rollback superweapon pointed at a relay's own
|
|
11
|
+
hosts. `listVaults` is an existence leak. A relay handler typed against
|
|
12
|
+
`NoydbRelayStore` **cannot compile a call to either**, so the exclusions are
|
|
13
|
+
enforced by the compiler rather than by handing a handler an object that carries
|
|
14
|
+
`saveAll` and trusting a runtime `Set` not to call it.
|
|
15
|
+
|
|
16
|
+
Purely additive and purely type-level. The `NoydbStore` runtime contract is
|
|
17
|
+
unchanged — still the same 6 methods — and a full store satisfies the relay type
|
|
18
|
+
structurally, so relaying an ordinary store needs no changes to it. That
|
|
19
|
+
boundary was a precondition rather than a convenience: the format-conformance
|
|
20
|
+
kit's store-observation design (#1211) names a change to the `NoydbStore`
|
|
21
|
+
contract as the single thing that would invalidate it, so a narrowing had to
|
|
22
|
+
stay in the type layer or stop.
|
|
23
|
+
|
|
24
|
+
It ships on `/to` rather than inside a relay package because a second consumer
|
|
25
|
+
already needs to name the shape without depending on a relay server it does not
|
|
26
|
+
run.
|
|
27
|
+
|
|
28
|
+
- `triggerBy` match pairs accept ONE declared hop through an intermediate
|
|
29
|
+
collection (#1277).
|
|
30
|
+
|
|
31
|
+
```ts
|
|
32
|
+
match: [
|
|
33
|
+
{
|
|
34
|
+
from: "clientId",
|
|
35
|
+
to: "entityId",
|
|
36
|
+
via: { collection: "clients", take: "id", on: "entityId" },
|
|
37
|
+
},
|
|
38
|
+
{ from: "cycle", to: "cycle" },
|
|
39
|
+
];
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
A source matches when the intermediate — the record in `via.collection` whose
|
|
43
|
+
`via.take` equals `written[from]` — carries a `via.on` equal to `source[to]`.
|
|
44
|
+
This makes a relationship expressible where the two collections share no field
|
|
45
|
+
at all: bills carry `entityId`, disbursements carry `clientId`, and the client
|
|
46
|
+
record is what relates them.
|
|
47
|
+
|
|
48
|
+
The alternative was a denormalised key on one side. That is a second copy of
|
|
49
|
+
something the vault can already resolve, and a partial backfill goes quiet on
|
|
50
|
+
exactly the oldest, least-audited rows — the silent staleness `match` exists to
|
|
51
|
+
remove, handed back one layer down.
|
|
52
|
+
|
|
53
|
+
**A write to the INTERMEDIATE collection fires the trigger too**, fanning out on
|
|
54
|
+
its old ∪ new value. This is the whole correctness argument: re-pointing an
|
|
55
|
+
intermediate writes to neither the trigger nor the source collection, so nothing
|
|
56
|
+
else in the system can notice, and every source it used to address would be
|
|
57
|
+
stranded silently. The cheaper design — resolving the hop only on trigger writes
|
|
58
|
+
— passes every test anyone would think to write and fails only on that edit.
|
|
59
|
+
|
|
60
|
+
Hop resolution costs ONE lookup per written record (`take: 'id'` is a direct
|
|
61
|
+
get), never one per candidate row. A dangling hop matches nothing rather than
|
|
62
|
+
throwing. `maxFanout` caps the hop fan-out as it does the direct form, and the
|
|
63
|
+
intermediate's edge enters the cycle-detection graph.
|
|
64
|
+
|
|
65
|
+
### Patch Changes
|
|
66
|
+
|
|
67
|
+
- `HistoryConfig.ledger` now documents what it costs (#1248).
|
|
68
|
+
|
|
69
|
+
**The hash chain is the entire cost of history; per-record snapshots are free.**
|
|
70
|
+
Measured on the primitive write path (no guards / MVs / derivations, sequential
|
|
71
|
+
`put()`, in-memory store, N = 3000): snapshots-only is 1.00×, ledger-only is
|
|
72
|
+
2.35×, both is 2.41×.
|
|
73
|
+
|
|
74
|
+
The cause is structural rather than an inefficiency: an entry's `prevHash`
|
|
75
|
+
depends on the current head, so appends are inherently serialized — one head
|
|
76
|
+
read, one delta encryption and one CAS-put per record op. That serialization is
|
|
77
|
+
the tamper-evidence property.
|
|
78
|
+
|
|
79
|
+
⚠️ The microsecond figures come from an in-memory store and **understate the
|
|
80
|
+
felt cost**: on browser IndexedDB the ledger adds a whole extra encrypted store
|
|
81
|
+
write to a path whose base op is already milliseconds. The ~2.4× ratio is the
|
|
82
|
+
portable number; the microseconds are a floor.
|
|
83
|
+
|
|
84
|
+
A single human-paced write pays a difference nobody perceives. What pays visibly
|
|
85
|
+
is a one-click batch — an "approve all", a CSV import, a period prefill — and a
|
|
86
|
+
write that fans out through derivations and MVs pays once per resulting stored
|
|
87
|
+
write. `HistoryConfig` is per-collection so the chain can be confined to the
|
|
88
|
+
collections where tamper-evidence carries weight.
|
|
89
|
+
|
|
90
|
+
## 0.7.0-pre.15
|
|
91
|
+
|
|
92
|
+
### Patch Changes
|
|
93
|
+
|
|
94
|
+
- CORRECTION to `0.7.0-pre.14`'s description of #1269 — the fix is unchanged; what
|
|
95
|
+
it covers was described wrongly, twice.
|
|
96
|
+
|
|
97
|
+
The guard reads **declarative `spec.groupBy` and nothing else**. So:
|
|
98
|
+
|
|
99
|
+
- **caught** — a spec declaring `groupBy: [...]` as a top-level field, whether
|
|
100
|
+
`unionSources` or query-form;
|
|
101
|
+
- **silent** — `.groupBy(...)` chained INSIDE a `query: (db) => …` callback,
|
|
102
|
+
which is a runtime call on the query builder and never appears in the spec;
|
|
103
|
+
- **irrelevant** — `spec.sources`. The guard never reads it, so declaring it
|
|
104
|
+
cannot bring a shape into coverage.
|
|
105
|
+
|
|
106
|
+
The published `pre.14` entry said the uncovered case was "a single-query MV that
|
|
107
|
+
constructs its own source before the dependency is recorded". That framing is
|
|
108
|
+
wrong in a way that misleads: it points at dependency ORDERING and invites a
|
|
109
|
+
reader to fix coverage by declaring `sources`, which does nothing. Ordering
|
|
110
|
+
decides which OTHER guard fires first — a late-attach reconcile can loudly
|
|
111
|
+
refuse a virtual field on an already-constructed collection — not whether this
|
|
112
|
+
one fires.
|
|
113
|
+
|
|
114
|
+
Measured by a consumer on the published `pre.14` and re-derived from the code
|
|
115
|
+
here. No behaviour change: a `.groupBy()` chained in a callback was silent
|
|
116
|
+
before this correction and is silent after it. Closing that residue needs the
|
|
117
|
+
built query plan inspected, or a compute-time refusal, and is not attempted
|
|
118
|
+
here.
|
|
119
|
+
|
|
120
|
+
- CORRECTION to `0.7.0-pre.14`: the optional `zod` peer now reads
|
|
121
|
+
`^3.0.0 || ^4.0.0`, not `^4.0.0`.
|
|
122
|
+
|
|
123
|
+
`pre.14` un-vendored zod and declared it as an optional peer — correctly — but
|
|
124
|
+
declared a range NARROWER THAN WHAT HUB SUPPORTS. Under npm that made
|
|
125
|
+
`@noy-db/hub@0.7.0-pre.14` + `zod@3` uninstallable by name.
|
|
126
|
+
|
|
127
|
+
Measured, with controls in both directions:
|
|
128
|
+
|
|
129
|
+
```
|
|
130
|
+
npm i @noy-db/hub@0.7.0-pre.14 zod@3.25.76 -> exit 1, ERESOLVE
|
|
131
|
+
npm i @noy-db/hub@0.7.0-pre.14 zod@4.4.3 -> exit 0 (control: major, not range shape)
|
|
132
|
+
npm i @noy-db/hub@0.7.0-pre.13 zod@3.25.76 -> exit 0 (control: the DECLARATION changed,
|
|
133
|
+
not the support)
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
Zod 3 has always worked and still does — through the `zod-to-json-schema`
|
|
137
|
+
optional peer, with the v4-native `toJSONSchema` loader falling back when it is
|
|
138
|
+
absent. The two releases immediately before this one were substantially Zod 3
|
|
139
|
+
hardening (the `ZodEffects` unwrap, `z.preprocess` on both majors), so the
|
|
140
|
+
investment and the declaration pointed in opposite directions.
|
|
141
|
+
|
|
142
|
+
**Why no gate caught it:** while zod was vendored, no resolver ever saw a range,
|
|
143
|
+
so none was ever exercised. Every in-repo check stays green under either
|
|
144
|
+
declaration — a peer FORM deciding installability, which is the same class as
|
|
145
|
+
this family's exact-peer incident. There is now a test asserting the range
|
|
146
|
+
admits a real version of each major, and refusing a range that ends in a
|
|
147
|
+
dangling `||`.
|
|
148
|
+
|
|
149
|
+
pnpm only warns, so a pnpm workspace saw nothing; npm refuses.
|
|
150
|
+
|
|
3
151
|
## 0.7.0-pre.14
|
|
4
152
|
|
|
5
153
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -77,8 +77,8 @@ const all = await invoices.list()
|
|
|
77
77
|
- **Offline-first sync** — push/pull with optimistic concurrency on encrypted envelopes
|
|
78
78
|
- **Audit history** — full-copy snapshots with `history()`, `diff()`, `revert()`, `pruneHistory()`
|
|
79
79
|
- **No third-party runtime dependencies to install** — the only runtime dependency is
|
|
80
|
-
`@noy-db/attestation`, on the same version line. `zod` and `zod-to-json-schema` are
|
|
81
|
-
peers used by the persisted-schema converter: nothing is installed on your behalf, nothing is
|
|
80
|
+
`@noy-db/attestation`, on the same version line. `zod` (v3 or v4) and `zod-to-json-schema` are
|
|
81
|
+
OPTIONAL peers used by the persisted-schema converter: nothing is installed on your behalf, nothing is
|
|
82
82
|
vendored into the bundle, and if you do use Zod schemas the converter reads YOUR copy rather
|
|
83
83
|
than a second one frozen at hub's build time.
|
|
84
84
|
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
UserApi,
|
|
3
3
|
createUserApi
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-MUM7IANK.js";
|
|
5
|
+
import "./chunk-KG7TZKZG.js";
|
|
6
|
+
import "./chunk-77K4PG6P.js";
|
|
7
|
+
import "./chunk-SZJ3DLZA.js";
|
|
8
8
|
import "./chunk-BOWNCWZT.js";
|
|
9
9
|
import "./chunk-YSRUYAVU.js";
|
|
10
10
|
import "./chunk-RMF67KCG.js";
|
|
11
11
|
import "./chunk-LP7BEXCT.js";
|
|
12
12
|
import "./chunk-SL3JAAKN.js";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-7MG7SJT7.js";
|
|
14
14
|
import "./chunk-7O3Y4PPD.js";
|
|
15
15
|
export {
|
|
16
16
|
UserApi,
|
|
17
17
|
createUserApi
|
|
18
18
|
};
|
|
19
|
-
//# sourceMappingURL=api-
|
|
19
|
+
//# sourceMappingURL=api-TXFOVOXX.js.map
|
package/dist/as/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "../chunk-UBSFPGVJ.js";
|
|
2
|
-
import "../chunk-
|
|
2
|
+
import "../chunk-KUX3OB6D.js";
|
|
3
3
|
import {
|
|
4
4
|
applyListProjection
|
|
5
5
|
} from "../chunk-VG2ZSFYD.js";
|
|
@@ -7,15 +7,15 @@ import "../chunk-RXLYKVTF.js";
|
|
|
7
7
|
import "../chunk-VYYM3MEN.js";
|
|
8
8
|
import "../chunk-REDOOY2Q.js";
|
|
9
9
|
import "../chunk-Y2NBBT6K.js";
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-
|
|
10
|
+
import "../chunk-2Y4IMKA6.js";
|
|
11
|
+
import "../chunk-77K4PG6P.js";
|
|
12
|
+
import "../chunk-SZJ3DLZA.js";
|
|
13
13
|
import "../chunk-BOWNCWZT.js";
|
|
14
14
|
import "../chunk-YSRUYAVU.js";
|
|
15
15
|
import "../chunk-RMF67KCG.js";
|
|
16
16
|
import "../chunk-LP7BEXCT.js";
|
|
17
17
|
import "../chunk-SL3JAAKN.js";
|
|
18
|
-
import "../chunk-
|
|
18
|
+
import "../chunk-7MG7SJT7.js";
|
|
19
19
|
import {
|
|
20
20
|
ValidationError
|
|
21
21
|
} from "../chunk-7O3Y4PPD.js";
|
package/dist/at/index.js
CHANGED
|
@@ -3,15 +3,15 @@ import {
|
|
|
3
3
|
MemorySealer,
|
|
4
4
|
SEALED_SECRET_RECORD_ID,
|
|
5
5
|
parseSealedEnvelope
|
|
6
|
-
} from "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
6
|
+
} from "../chunk-4GVM6QZA.js";
|
|
7
|
+
import "../chunk-77K4PG6P.js";
|
|
8
|
+
import "../chunk-SZJ3DLZA.js";
|
|
9
9
|
import "../chunk-BOWNCWZT.js";
|
|
10
10
|
import "../chunk-YSRUYAVU.js";
|
|
11
11
|
import "../chunk-RMF67KCG.js";
|
|
12
12
|
import "../chunk-LP7BEXCT.js";
|
|
13
13
|
import "../chunk-SL3JAAKN.js";
|
|
14
|
-
import "../chunk-
|
|
14
|
+
import "../chunk-7MG7SJT7.js";
|
|
15
15
|
import "../chunk-7O3Y4PPD.js";
|
|
16
16
|
export {
|
|
17
17
|
MemoryRecipientSealer,
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
issueAttestationCore
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-2N4GY74U.js";
|
|
4
4
|
import {
|
|
5
5
|
getRevokedDocIdsCore,
|
|
6
6
|
publishRevocationListCore,
|
|
7
7
|
revokeDocCore,
|
|
8
8
|
unrevokeDocCore
|
|
9
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-ELNXJMGB.js";
|
|
10
10
|
import {
|
|
11
11
|
ATTESTATIONS_COLLECTION
|
|
12
|
-
} from "../chunk-
|
|
12
|
+
} from "../chunk-ANATMFIO.js";
|
|
13
13
|
import {
|
|
14
14
|
NO_ATTESTATION
|
|
15
15
|
} from "../chunk-Q7HZX3IF.js";
|
|
16
16
|
import "../chunk-4AOERLTV.js";
|
|
17
|
-
import "../chunk-
|
|
18
|
-
import "../chunk-
|
|
17
|
+
import "../chunk-77K4PG6P.js";
|
|
18
|
+
import "../chunk-SZJ3DLZA.js";
|
|
19
19
|
import "../chunk-BOWNCWZT.js";
|
|
20
20
|
import "../chunk-YSRUYAVU.js";
|
|
21
21
|
import "../chunk-RMF67KCG.js";
|
|
22
22
|
import "../chunk-LP7BEXCT.js";
|
|
23
23
|
import "../chunk-SL3JAAKN.js";
|
|
24
|
-
import "../chunk-
|
|
24
|
+
import "../chunk-7MG7SJT7.js";
|
|
25
25
|
import {
|
|
26
26
|
AttestationError,
|
|
27
27
|
AttestationNotEnabledError
|
|
@@ -31,11 +31,11 @@ import {
|
|
|
31
31
|
function withAttestation() {
|
|
32
32
|
return {
|
|
33
33
|
async issueAttestation(ctx, args) {
|
|
34
|
-
const { issueAttestationCore: issueAttestationCore2 } = await import("../issue-
|
|
34
|
+
const { issueAttestationCore: issueAttestationCore2 } = await import("../issue-SIDORTSZ.js");
|
|
35
35
|
return issueAttestationCore2(ctx, args);
|
|
36
36
|
},
|
|
37
37
|
async getDocumentSigningPublicKey(deps) {
|
|
38
|
-
const { loadSigner, loadOrCreateSigner } = await import("../signer-
|
|
38
|
+
const { loadSigner, loadOrCreateSigner } = await import("../signer-WAMDZHEN.js");
|
|
39
39
|
const existing = await loadSigner(deps.adapter, deps.vault, deps.getDEK);
|
|
40
40
|
if (existing) return { keyId: existing.keyId, publicKeyB64: existing.publicKeyB64 };
|
|
41
41
|
if (deps.role !== "owner") {
|
|
@@ -45,19 +45,19 @@ function withAttestation() {
|
|
|
45
45
|
return { keyId: signer.keyId, publicKeyB64: signer.publicKeyB64 };
|
|
46
46
|
},
|
|
47
47
|
async revokeAttestation(ctx, docId) {
|
|
48
|
-
const { revokeDocCore: revokeDocCore2 } = await import("../revoke-
|
|
48
|
+
const { revokeDocCore: revokeDocCore2 } = await import("../revoke-DQDZAZZM.js");
|
|
49
49
|
return revokeDocCore2(ctx, docId);
|
|
50
50
|
},
|
|
51
51
|
async unrevokeAttestation(ctx, docId) {
|
|
52
|
-
const { unrevokeDocCore: unrevokeDocCore2 } = await import("../revoke-
|
|
52
|
+
const { unrevokeDocCore: unrevokeDocCore2 } = await import("../revoke-DQDZAZZM.js");
|
|
53
53
|
return unrevokeDocCore2(ctx, docId);
|
|
54
54
|
},
|
|
55
55
|
async getRevokedDocIds(ctx) {
|
|
56
|
-
const { getRevokedDocIdsCore: getRevokedDocIdsCore2 } = await import("../revoke-
|
|
56
|
+
const { getRevokedDocIdsCore: getRevokedDocIdsCore2 } = await import("../revoke-DQDZAZZM.js");
|
|
57
57
|
return getRevokedDocIdsCore2(ctx);
|
|
58
58
|
},
|
|
59
59
|
async publishRevocationList(ctx) {
|
|
60
|
-
const { publishRevocationListCore: publishRevocationListCore2 } = await import("../revoke-
|
|
60
|
+
const { publishRevocationListCore: publishRevocationListCore2 } = await import("../revoke-DQDZAZZM.js");
|
|
61
61
|
return publishRevocationListCore2(ctx);
|
|
62
62
|
}
|
|
63
63
|
};
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
} from "./chunk-EPFF7LOX.js";
|
|
4
4
|
import {
|
|
5
5
|
SEQUENCE_COLLECTION
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ZVO4QVPD.js";
|
|
7
7
|
import {
|
|
8
8
|
SCHEMAS_COLLECTION
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-2Y4IMKA6.js";
|
|
10
10
|
import {
|
|
11
11
|
PERIODS_COLLECTION,
|
|
12
12
|
PERIOD_ARCHIVES_COLLECTION,
|
|
@@ -18,10 +18,10 @@ import {
|
|
|
18
18
|
LEDGER_COLLECTION,
|
|
19
19
|
LEDGER_DELTAS_COLLECTION
|
|
20
20
|
} from "./chunk-I7FD46FF.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-77K4PG6P.js";
|
|
22
22
|
import {
|
|
23
23
|
buildRecordEnvelope
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-SZJ3DLZA.js";
|
|
25
25
|
import "./chunk-BOWNCWZT.js";
|
|
26
26
|
import "./chunk-YSRUYAVU.js";
|
|
27
27
|
import "./chunk-RMF67KCG.js";
|
|
@@ -29,7 +29,7 @@ import "./chunk-LP7BEXCT.js";
|
|
|
29
29
|
import "./chunk-SL3JAAKN.js";
|
|
30
30
|
import {
|
|
31
31
|
NOYDB_BACKUP_VERSION
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-7MG7SJT7.js";
|
|
33
33
|
import {
|
|
34
34
|
BackupCorruptedError,
|
|
35
35
|
BackupLedgerError
|
|
@@ -261,4 +261,4 @@ export {
|
|
|
261
261
|
loadVault,
|
|
262
262
|
verifyBackupIntegrity
|
|
263
263
|
};
|
|
264
|
-
//# sourceMappingURL=backup-
|
|
264
|
+
//# sourceMappingURL=backup-IJTB4S4M.js.map
|
package/dist/blobs/index.js
CHANGED
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
createExportBlobsHandle,
|
|
11
11
|
reportOrphanBlobChunks,
|
|
12
12
|
runCompaction
|
|
13
|
-
} from "../chunk-
|
|
13
|
+
} from "../chunk-AO42KJO6.js";
|
|
14
14
|
import {
|
|
15
15
|
BLOB_CHUNKS_COLLECTION,
|
|
16
16
|
BLOB_COLLECTION,
|
|
@@ -25,18 +25,18 @@ import {
|
|
|
25
25
|
detectMimeType,
|
|
26
26
|
isPreCompressed,
|
|
27
27
|
memoryBlobPinStore
|
|
28
|
-
} from "../chunk-
|
|
28
|
+
} from "../chunk-BM5TWITZ.js";
|
|
29
29
|
import "../chunk-UXVWEX5L.js";
|
|
30
30
|
import "../chunk-UGTBXF5U.js";
|
|
31
31
|
import "../chunk-JMGDHKQF.js";
|
|
32
|
-
import "../chunk-
|
|
33
|
-
import "../chunk-
|
|
32
|
+
import "../chunk-77K4PG6P.js";
|
|
33
|
+
import "../chunk-SZJ3DLZA.js";
|
|
34
34
|
import "../chunk-BOWNCWZT.js";
|
|
35
35
|
import "../chunk-YSRUYAVU.js";
|
|
36
36
|
import "../chunk-RMF67KCG.js";
|
|
37
37
|
import "../chunk-LP7BEXCT.js";
|
|
38
38
|
import "../chunk-SL3JAAKN.js";
|
|
39
|
-
import "../chunk-
|
|
39
|
+
import "../chunk-7MG7SJT7.js";
|
|
40
40
|
import {
|
|
41
41
|
BlobOfflineError
|
|
42
42
|
} from "../chunk-7O3Y4PPD.js";
|
package/dist/broker/index.js
CHANGED
|
@@ -4,14 +4,14 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
issueChallenge,
|
|
6
6
|
verifyBrokerProof
|
|
7
|
-
} from "../chunk-
|
|
8
|
-
import "../chunk-
|
|
7
|
+
} from "../chunk-77K4PG6P.js";
|
|
8
|
+
import "../chunk-SZJ3DLZA.js";
|
|
9
9
|
import "../chunk-BOWNCWZT.js";
|
|
10
10
|
import "../chunk-YSRUYAVU.js";
|
|
11
11
|
import "../chunk-RMF67KCG.js";
|
|
12
12
|
import "../chunk-LP7BEXCT.js";
|
|
13
13
|
import "../chunk-SL3JAAKN.js";
|
|
14
|
-
import "../chunk-
|
|
14
|
+
import "../chunk-7MG7SJT7.js";
|
|
15
15
|
import {
|
|
16
16
|
BrokerEnrolmentError,
|
|
17
17
|
BrokerNotEnabledError,
|
|
@@ -29,7 +29,7 @@ function withBroker(config) {
|
|
|
29
29
|
const cache = /* @__PURE__ */ new Map();
|
|
30
30
|
return {
|
|
31
31
|
async enroll(ctx) {
|
|
32
|
-
const { enrollSeed } = await import("../seed-
|
|
32
|
+
const { enrollSeed } = await import("../seed-G42JYN56.js");
|
|
33
33
|
return enrollSeed({ ...ctx, config });
|
|
34
34
|
},
|
|
35
35
|
async rotate(ctx) {
|
|
@@ -38,7 +38,7 @@ function withBroker(config) {
|
|
|
38
38
|
const inFlight = scoped.map(([, e]) => e.inFlight).filter((p) => p !== void 0);
|
|
39
39
|
await Promise.allSettled(inFlight);
|
|
40
40
|
for (const [key] of scoped) cache.delete(key);
|
|
41
|
-
const { rotateSeed } = await import("../seed-
|
|
41
|
+
const { rotateSeed } = await import("../seed-G42JYN56.js");
|
|
42
42
|
return rotateSeed({ ...ctx, config });
|
|
43
43
|
},
|
|
44
44
|
credentialSource(ctx, profile) {
|
|
@@ -55,7 +55,7 @@ function withBroker(config) {
|
|
|
55
55
|
const skewMs = config.skewMs ?? DEFAULT_SKEW_MS;
|
|
56
56
|
const capturedEntry = entry;
|
|
57
57
|
const inFlight = (async () => {
|
|
58
|
-
const { mintStoreCredentials } = await import("../seed-
|
|
58
|
+
const { mintStoreCredentials } = await import("../seed-G42JYN56.js");
|
|
59
59
|
const creds = await mintStoreCredentials({ ...ctx, config }, profile);
|
|
60
60
|
capturedEntry.cached = { creds, validUntil: cacheFloor(creds, skewMs) };
|
|
61
61
|
return creds;
|
package/dist/cargo/index.js
CHANGED
|
@@ -5,40 +5,40 @@ import {
|
|
|
5
5
|
describeExtraction,
|
|
6
6
|
unsealDeks,
|
|
7
7
|
withCargo
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-VNZUVPUO.js";
|
|
9
9
|
import {
|
|
10
10
|
diffVault
|
|
11
11
|
} from "../chunk-LFUID7OW.js";
|
|
12
12
|
import {
|
|
13
13
|
extractPartition,
|
|
14
14
|
walkClosure
|
|
15
|
-
} from "../chunk-
|
|
15
|
+
} from "../chunk-3RCJJBNR.js";
|
|
16
16
|
import {
|
|
17
17
|
createDeedOwner,
|
|
18
18
|
isDeedVault,
|
|
19
19
|
liberateVault,
|
|
20
20
|
loadDeedMarker
|
|
21
|
-
} from "../chunk-
|
|
22
|
-
import "../chunk-
|
|
23
|
-
import "../chunk-
|
|
21
|
+
} from "../chunk-CHJBLCOG.js";
|
|
22
|
+
import "../chunk-BSFNRLK2.js";
|
|
23
|
+
import "../chunk-L7CIOOBW.js";
|
|
24
24
|
import {
|
|
25
25
|
NO_CARGO
|
|
26
26
|
} from "../chunk-NQKIUNW5.js";
|
|
27
|
-
import "../chunk-
|
|
27
|
+
import "../chunk-4GVM6QZA.js";
|
|
28
28
|
import {
|
|
29
29
|
isQuorum,
|
|
30
30
|
runDrainBarrier
|
|
31
31
|
} from "../chunk-VTFVLCUH.js";
|
|
32
32
|
import {
|
|
33
33
|
CustodyApi
|
|
34
|
-
} from "../chunk-
|
|
35
|
-
import "../chunk-
|
|
36
|
-
import "../chunk-
|
|
37
|
-
import "../chunk-
|
|
34
|
+
} from "../chunk-GPEQUXHL.js";
|
|
35
|
+
import "../chunk-2Y4IMKA6.js";
|
|
36
|
+
import "../chunk-5WDXHNSW.js";
|
|
37
|
+
import "../chunk-EQEYOJBM.js";
|
|
38
38
|
import {
|
|
39
39
|
fuseRetrieval
|
|
40
40
|
} from "../chunk-AURFOK3D.js";
|
|
41
|
-
import "../chunk-
|
|
41
|
+
import "../chunk-BM5TWITZ.js";
|
|
42
42
|
import {
|
|
43
43
|
groupAndReduce,
|
|
44
44
|
reduceRecords
|
|
@@ -50,19 +50,19 @@ import {
|
|
|
50
50
|
} from "../chunk-NSITFOCJ.js";
|
|
51
51
|
import "../chunk-TRGTKX5E.js";
|
|
52
52
|
import "../chunk-UXVWEX5L.js";
|
|
53
|
-
import "../chunk-
|
|
54
|
-
import "../chunk-
|
|
53
|
+
import "../chunk-G56KBWFY.js";
|
|
54
|
+
import "../chunk-KG7TZKZG.js";
|
|
55
55
|
import "../chunk-UGTBXF5U.js";
|
|
56
56
|
import {
|
|
57
57
|
generateULID
|
|
58
58
|
} from "../chunk-4AOERLTV.js";
|
|
59
59
|
import "../chunk-SVLR4POP.js";
|
|
60
|
-
import "../chunk-
|
|
60
|
+
import "../chunk-L742JPKZ.js";
|
|
61
61
|
import "../chunk-I7FD46FF.js";
|
|
62
|
-
import "../chunk-
|
|
62
|
+
import "../chunk-BOET4NA4.js";
|
|
63
63
|
import "../chunk-JMGDHKQF.js";
|
|
64
|
-
import "../chunk-
|
|
65
|
-
import "../chunk-
|
|
64
|
+
import "../chunk-77K4PG6P.js";
|
|
65
|
+
import "../chunk-SZJ3DLZA.js";
|
|
66
66
|
import "../chunk-BOWNCWZT.js";
|
|
67
67
|
import "../chunk-YSRUYAVU.js";
|
|
68
68
|
import "../chunk-RMF67KCG.js";
|
|
@@ -72,7 +72,7 @@ import {
|
|
|
72
72
|
} from "../chunk-SL3JAAKN.js";
|
|
73
73
|
import {
|
|
74
74
|
NOYDB_ENVELOPE_GENERATION
|
|
75
|
-
} from "../chunk-
|
|
75
|
+
} from "../chunk-7MG7SJT7.js";
|
|
76
76
|
import {
|
|
77
77
|
AdoptionStateError,
|
|
78
78
|
CargoNotEnabledError,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
buildRecordEnvelope
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-SZJ3DLZA.js";
|
|
4
4
|
|
|
5
5
|
// src/with-party/policy/storage.ts
|
|
6
6
|
var META_COLLECTION = "_meta";
|
|
@@ -36,4 +36,4 @@ export {
|
|
|
36
36
|
loadVaultPolicy,
|
|
37
37
|
saveVaultPolicy
|
|
38
38
|
};
|
|
39
|
-
//# sourceMappingURL=chunk-
|
|
39
|
+
//# sourceMappingURL=chunk-2577DKXB.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
guardClassifiedCompat,
|
|
6
6
|
resolveClassifiedFields
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-5VCRVKOZ.js";
|
|
8
8
|
import {
|
|
9
9
|
jsonSchemaToFields
|
|
10
10
|
} from "./chunk-VYYM3MEN.js";
|
|
@@ -14,11 +14,11 @@ import {
|
|
|
14
14
|
} from "./chunk-REDOOY2Q.js";
|
|
15
15
|
import {
|
|
16
16
|
loadPersistedSchema
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-2Y4IMKA6.js";
|
|
18
18
|
import {
|
|
19
19
|
buildPresentForJoin,
|
|
20
20
|
isLookupDescriptor
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-U4FOQDY4.js";
|
|
22
22
|
import {
|
|
23
23
|
Lru
|
|
24
24
|
} from "./chunk-V4PXLYWM.js";
|
|
@@ -1649,4 +1649,4 @@ export {
|
|
|
1649
1649
|
DEFAULT_POSTURE,
|
|
1650
1650
|
ViaGraph
|
|
1651
1651
|
};
|
|
1652
|
-
//# sourceMappingURL=chunk-
|
|
1652
|
+
//# sourceMappingURL=chunk-2C3AQB46.js.map
|