@noy-db/hub 0.4.0-pre.0 → 0.4.0-pre.10

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.
Files changed (611) hide show
  1. package/README.md +3 -4
  2. package/dist/api-ZDKTWNBB.js +20 -0
  3. package/dist/attestation/index.js +18 -18
  4. package/dist/{backup-YPUEKIJC.js → backup-2UX7PRM5.js} +13 -13
  5. package/dist/blobs/index.js +30 -15
  6. package/dist/blobs/index.js.map +1 -1
  7. package/dist/broker/index.js +12 -12
  8. package/dist/broker/index.js.map +1 -1
  9. package/dist/cargo/index.js +58 -29
  10. package/dist/{chunk-IY23KFNZ.js → chunk-35NMVJ7I.js} +3 -3
  11. package/dist/{chunk-S3BFKGET.js → chunk-3HUYRN24.js} +4 -4
  12. package/dist/chunk-3HUYRN24.js.map +1 -0
  13. package/dist/{walk-IPLXE36W.js → chunk-3V3XR4S4.js} +4 -13
  14. package/dist/{walk-IPLXE36W.js.map → chunk-3V3XR4S4.js.map} +1 -1
  15. package/dist/{chunk-RTEK4C4I.js → chunk-4JQK3L4V.js} +2 -2
  16. package/dist/{chunk-3ELCWU56.js → chunk-4ZKNC6A6.js} +2 -2
  17. package/dist/{chunk-VQNJ7UZL.js → chunk-55LKVALY.js} +106 -10
  18. package/dist/chunk-55LKVALY.js.map +1 -0
  19. package/dist/{chunk-VAIS3SOM.js → chunk-55LX6FSX.js} +2 -2
  20. package/dist/chunk-5D2ALSM5.js +19 -0
  21. package/dist/chunk-5D2ALSM5.js.map +1 -0
  22. package/dist/{chunk-6HPG2YNX.js → chunk-5DRROK5W.js} +2 -2
  23. package/dist/{chunk-S6Q37VGE.js → chunk-5GQEU4DN.js} +2 -2
  24. package/dist/chunk-5JOFWL4G.js +25 -0
  25. package/dist/chunk-5JOFWL4G.js.map +1 -0
  26. package/dist/{chunk-ZXEZCY6F.js → chunk-63FE525P.js} +6 -6
  27. package/dist/chunk-6LJY7X5A.js +18 -0
  28. package/dist/chunk-6LJY7X5A.js.map +1 -0
  29. package/dist/{chunk-JVBO4SZL.js → chunk-6UBZ6I5Z.js} +2 -2
  30. package/dist/{chunk-BOKIKJJB.js → chunk-6ZNSB3H6.js} +5 -17
  31. package/dist/chunk-6ZNSB3H6.js.map +1 -0
  32. package/dist/{chunk-IK43HLDQ.js → chunk-7YVBQJ7K.js} +13 -355
  33. package/dist/chunk-7YVBQJ7K.js.map +1 -0
  34. package/dist/{chunk-VRBTNCM4.js → chunk-ABS7FMMD.js} +6 -6
  35. package/dist/chunk-AFHQATY4.js +47 -0
  36. package/dist/chunk-AFHQATY4.js.map +1 -0
  37. package/dist/{chunk-HOONYZY2.js → chunk-AKKRXT23.js} +7 -7
  38. package/dist/chunk-AKKRXT23.js.map +1 -0
  39. package/dist/{chunk-DDHM2TLX.js → chunk-AT2JJEKJ.js} +4 -4
  40. package/dist/chunk-AT2JJEKJ.js.map +1 -0
  41. package/dist/{chunk-M75ZZHSR.js → chunk-BLBAQRBM.js} +2 -2
  42. package/dist/{chunk-554KLAAN.js → chunk-BLCWSJLN.js} +88 -81
  43. package/dist/chunk-BLCWSJLN.js.map +1 -0
  44. package/dist/chunk-CADUYBQD.js +151 -0
  45. package/dist/chunk-CADUYBQD.js.map +1 -0
  46. package/dist/{chunk-WOM2HTML.js → chunk-CI32CAFS.js} +5 -5
  47. package/dist/{chunk-FH52K7EG.js → chunk-CUZLNGD5.js} +2 -6
  48. package/dist/{chunk-FH52K7EG.js.map → chunk-CUZLNGD5.js.map} +1 -1
  49. package/dist/{chunk-U6JMEH2P.js → chunk-CXQW2NWO.js} +145 -3
  50. package/dist/chunk-CXQW2NWO.js.map +1 -0
  51. package/dist/{chunk-EO43ANYJ.js → chunk-DABACXEF.js} +3 -3
  52. package/dist/{chunk-CJ5KKU6X.js → chunk-DMH3VZU5.js} +4 -4
  53. package/dist/chunk-DSDXAKIP.js +50 -0
  54. package/dist/chunk-DSDXAKIP.js.map +1 -0
  55. package/dist/{chunk-WZSHL6DQ.js → chunk-DZ2JXHWK.js} +5 -5
  56. package/dist/chunk-DZFQVICS.js +23 -0
  57. package/dist/chunk-DZFQVICS.js.map +1 -0
  58. package/dist/chunk-E23UGFVC.js +63 -0
  59. package/dist/chunk-E23UGFVC.js.map +1 -0
  60. package/dist/{chunk-Z4PD65VQ.js → chunk-EE7UHLKH.js} +4 -4
  61. package/dist/chunk-EIPVYUEP.js +654 -0
  62. package/dist/chunk-EIPVYUEP.js.map +1 -0
  63. package/dist/{chunk-RNG4VRP4.js → chunk-EKRSCRNM.js} +3 -3
  64. package/dist/{chunk-YMUGBZN2.js → chunk-FQ5CHJR7.js} +1 -1
  65. package/dist/chunk-FQ5CHJR7.js.map +1 -0
  66. package/dist/{chunk-RFI7GGFO.js → chunk-FQZ6XTQ7.js} +17 -20
  67. package/dist/chunk-FQZ6XTQ7.js.map +1 -0
  68. package/dist/{chunk-MT62YSPZ.js → chunk-FRMPM7WG.js} +4 -4
  69. package/dist/{chunk-W4TCUGQR.js → chunk-G2JUIDFA.js} +13 -9
  70. package/dist/{chunk-W4TCUGQR.js.map → chunk-G2JUIDFA.js.map} +1 -1
  71. package/dist/{chunk-T3GY65MA.js → chunk-G6WWZNJP.js} +13 -13
  72. package/dist/chunk-G6WWZNJP.js.map +1 -0
  73. package/dist/chunk-GJW4HX2O.js +1 -0
  74. package/dist/{chunk-KS6SAVCZ.js → chunk-GU3IP74F.js} +6 -6
  75. package/dist/{chunk-UHNGNKLV.js → chunk-GWWOGNBK.js} +308 -18
  76. package/dist/chunk-GWWOGNBK.js.map +1 -0
  77. package/dist/{chunk-5PFOMHTB.js → chunk-H2GPHUZD.js} +12 -13
  78. package/dist/chunk-H2GPHUZD.js.map +1 -0
  79. package/dist/{chunk-H2KSZMIX.js → chunk-HMU5P6RL.js} +5 -5
  80. package/dist/chunk-HMU5P6RL.js.map +1 -0
  81. package/dist/{chunk-JFCV5QIK.js → chunk-I5GEJX3R.js} +5 -5
  82. package/dist/chunk-I5GEJX3R.js.map +1 -0
  83. package/dist/{chunk-GWKAVKHI.js → chunk-IG6KUWBX.js} +2 -2
  84. package/dist/chunk-IG6KUWBX.js.map +1 -0
  85. package/dist/{chunk-LVGTA624.js → chunk-IPUG56GJ.js} +15 -5
  86. package/dist/{chunk-LVGTA624.js.map → chunk-IPUG56GJ.js.map} +1 -1
  87. package/dist/{chunk-SMIRGMS7.js → chunk-IXNCZTWA.js} +2 -2
  88. package/dist/{chunk-WQIYTNJV.js → chunk-IXTSNGYY.js} +3 -3
  89. package/dist/{chunk-WHXXI3W5.js → chunk-IYZISPGD.js} +7 -5
  90. package/dist/chunk-IYZISPGD.js.map +1 -0
  91. package/dist/{chunk-HQBM64EE.js → chunk-JDOMW53O.js} +145 -16
  92. package/dist/chunk-JDOMW53O.js.map +1 -0
  93. package/dist/{chunk-NCCBLYEB.js → chunk-JJZGIE4U.js} +6 -5
  94. package/dist/{chunk-DRWBEDYO.js → chunk-JYJFGD2H.js} +2 -2
  95. package/dist/{chunk-TAGR72IR.js → chunk-KRCBZYTZ.js} +26 -177
  96. package/dist/chunk-KRCBZYTZ.js.map +1 -0
  97. package/dist/{chunk-DSBQODMZ.js → chunk-L2DGWBCT.js} +14 -14
  98. package/dist/chunk-L2DGWBCT.js.map +1 -0
  99. package/dist/{chunk-VEALDPHW.js → chunk-L3YYLT4E.js} +15 -2
  100. package/dist/chunk-L3YYLT4E.js.map +1 -0
  101. package/dist/{chunk-FXZDAV62.js → chunk-LNPUSMZL.js} +29 -31
  102. package/dist/chunk-LNPUSMZL.js.map +1 -0
  103. package/dist/{chunk-XJMBYYQK.js → chunk-LNZKOUJR.js} +2 -2
  104. package/dist/{chunk-R3BLCFD2.js → chunk-MBKVNOJS.js} +6 -6
  105. package/dist/chunk-MCHBCNCE.js +367 -0
  106. package/dist/chunk-MCHBCNCE.js.map +1 -0
  107. package/dist/{chunk-VCBHAE4R.js → chunk-MHMLXJ3I.js} +2 -2
  108. package/dist/chunk-MHMLXJ3I.js.map +1 -0
  109. package/dist/{chunk-WNGGJWF7.js → chunk-MSMJJB4J.js} +2 -2
  110. package/dist/chunk-MSMJJB4J.js.map +1 -0
  111. package/dist/{chunk-T36RFODW.js → chunk-MXUT7FTE.js} +2 -2
  112. package/dist/chunk-MXUT7FTE.js.map +1 -0
  113. package/dist/{chunk-WG4QBZDN.js → chunk-N4BBNYIB.js} +11 -9
  114. package/dist/chunk-N4BBNYIB.js.map +1 -0
  115. package/dist/{chunk-PK6JIDQ4.js → chunk-NFIBXF4V.js} +1084 -1583
  116. package/dist/chunk-NFIBXF4V.js.map +1 -0
  117. package/dist/{chunk-VKCADNMR.js → chunk-NFNJLRY7.js} +368 -52
  118. package/dist/chunk-NFNJLRY7.js.map +1 -0
  119. package/dist/{chunk-N6WF5PKC.js → chunk-NFZGZ4AK.js} +2 -2
  120. package/dist/{chunk-JRBNCUNT.js → chunk-NGSJZFGL.js} +21 -4
  121. package/dist/chunk-NGSJZFGL.js.map +1 -0
  122. package/dist/chunk-NJ4DYYO5.js +81 -0
  123. package/dist/chunk-NJ4DYYO5.js.map +1 -0
  124. package/dist/chunk-NM5UYF6Q.js +24 -0
  125. package/dist/chunk-NM5UYF6Q.js.map +1 -0
  126. package/dist/{chunk-JBBSYJHP.js → chunk-NYEFP7DY.js} +4 -4
  127. package/dist/chunk-NYEFP7DY.js.map +1 -0
  128. package/dist/{chunk-GDG5VVYG.js → chunk-NZ24MX4J.js} +8 -46
  129. package/dist/chunk-NZ24MX4J.js.map +1 -0
  130. package/dist/{chunk-IFJTPAQQ.js → chunk-OLEPKFTW.js} +4 -4
  131. package/dist/chunk-OLEPKFTW.js.map +1 -0
  132. package/dist/{chunk-THVIPWRF.js → chunk-PEATRIYJ.js} +9 -9
  133. package/dist/chunk-PEOZ34EM.js +13 -0
  134. package/dist/chunk-PEOZ34EM.js.map +1 -0
  135. package/dist/{chunk-UC2ETWF3.js → chunk-PTHKZWEH.js} +2 -14
  136. package/dist/{chunk-UC2ETWF3.js.map → chunk-PTHKZWEH.js.map} +1 -1
  137. package/dist/chunk-PVEWA2DU.js +23 -0
  138. package/dist/chunk-PVEWA2DU.js.map +1 -0
  139. package/dist/{chunk-VCTXU4AT.js → chunk-QBAC3GXA.js} +1 -1
  140. package/dist/chunk-QBAC3GXA.js.map +1 -0
  141. package/dist/{chunk-RDXW3OBQ.js → chunk-QD46HPZG.js} +2 -2
  142. package/dist/chunk-QD46HPZG.js.map +1 -0
  143. package/dist/{chunk-YZQOGE2L.js → chunk-QDIH2744.js} +2 -2
  144. package/dist/{chunk-6HY2X62D.js → chunk-QJNCB5SK.js} +2 -2
  145. package/dist/{chunk-IAO54J4R.js → chunk-QX76XVQH.js} +6 -6
  146. package/dist/chunk-QX76XVQH.js.map +1 -0
  147. package/dist/{chunk-W2OG6JOL.js → chunk-QZWTRENR.js} +24 -7
  148. package/dist/chunk-QZWTRENR.js.map +1 -0
  149. package/dist/{chunk-6NQMXTYC.js → chunk-RO5NM6UI.js} +2 -2
  150. package/dist/chunk-RO5NM6UI.js.map +1 -0
  151. package/dist/chunk-SGDPRCC4.js +1075 -0
  152. package/dist/chunk-SGDPRCC4.js.map +1 -0
  153. package/dist/{chunk-2PCAVW2I.js → chunk-SHEEBRZ4.js} +2 -2
  154. package/dist/chunk-SMY5X46Z.js +14 -0
  155. package/dist/chunk-SMY5X46Z.js.map +1 -0
  156. package/dist/{chunk-ISMV2QVG.js → chunk-TG634KCO.js} +11 -2
  157. package/dist/chunk-TG634KCO.js.map +1 -0
  158. package/dist/{chunk-XUW3PXHU.js → chunk-TUXQSFHZ.js} +4 -16
  159. package/dist/{chunk-XUW3PXHU.js.map → chunk-TUXQSFHZ.js.map} +1 -1
  160. package/dist/{chunk-GULTLPFB.js → chunk-UADPR6F4.js} +3 -3
  161. package/dist/{chunk-GULTLPFB.js.map → chunk-UADPR6F4.js.map} +1 -1
  162. package/dist/{chunk-XTHCN77N.js → chunk-UDHBXYGG.js} +29 -19
  163. package/dist/chunk-UDHBXYGG.js.map +1 -0
  164. package/dist/{chunk-RA5VTXXG.js → chunk-V6UQZA2H.js} +2 -2
  165. package/dist/chunk-VG2ZSFYD.js +32 -0
  166. package/dist/chunk-VG2ZSFYD.js.map +1 -0
  167. package/dist/chunk-VKQCVU2Z.js +21 -0
  168. package/dist/chunk-VKQCVU2Z.js.map +1 -0
  169. package/dist/{chunk-QDPZWTN2.js → chunk-W3G5REIU.js} +2 -2
  170. package/dist/{chunk-A4FXFAKF.js → chunk-W3L64Y3J.js} +2 -2
  171. package/dist/{chunk-ONTBCHCP.js → chunk-W66AM5IB.js} +2 -2
  172. package/dist/chunk-W66AM5IB.js.map +1 -0
  173. package/dist/{chunk-A5BDDEXK.js → chunk-WBKZUO5V.js} +26 -43
  174. package/dist/chunk-WBKZUO5V.js.map +1 -0
  175. package/dist/{chunk-XDIAFPUM.js → chunk-WLXMTYGO.js} +2 -2
  176. package/dist/{chunk-RJ6K6K5M.js → chunk-X3F5YJG2.js} +2 -2
  177. package/dist/{chunk-WKGF2TJR.js → chunk-X45JYIAY.js} +3 -3
  178. package/dist/chunk-X45JYIAY.js.map +1 -0
  179. package/dist/{chunk-6XE5TMPR.js → chunk-X4MVWPHV.js} +3 -3
  180. package/dist/chunk-X4MVWPHV.js.map +1 -0
  181. package/dist/chunk-XZHEOSQ2.js +16 -0
  182. package/dist/chunk-XZHEOSQ2.js.map +1 -0
  183. package/dist/chunk-Y2NBBT6K.js +18 -0
  184. package/dist/chunk-Y2NBBT6K.js.map +1 -0
  185. package/dist/{chunk-CZTLE22N.js → chunk-Y2NJBNX3.js} +8 -8
  186. package/dist/{chunk-CZTLE22N.js.map → chunk-Y2NJBNX3.js.map} +1 -1
  187. package/dist/{chunk-YTGDPCPW.js → chunk-Y6B6HVKC.js} +2 -2
  188. package/dist/chunk-YMUFFJCO.js +23 -0
  189. package/dist/chunk-YMUFFJCO.js.map +1 -0
  190. package/dist/{chunk-SV6EAJEP.js → chunk-YWWQM7KP.js} +5 -14
  191. package/dist/chunk-YWWQM7KP.js.map +1 -0
  192. package/dist/{chunk-UDSR4X4L.js → chunk-YZJSJOUI.js} +239 -16
  193. package/dist/chunk-YZJSJOUI.js.map +1 -0
  194. package/dist/{chunk-5WZXVULX.js → chunk-ZTLOXFPB.js} +2 -2
  195. package/dist/chunk-ZTLOXFPB.js.map +1 -0
  196. package/dist/classified/index.js +5 -5
  197. package/dist/{classified-marker-QWMASIT7.js → classified-marker-7PKJBFCG.js} +3 -3
  198. package/dist/collection-facade-6I5K5IOD.js +45 -0
  199. package/dist/{computed-DSMPXG2Y.js → computed-AB45PS4V.js} +3 -3
  200. package/dist/consent/index.js +13 -9
  201. package/dist/consent/index.js.map +1 -1
  202. package/dist/cover/index.js +37 -0
  203. package/dist/crdt/index.js +4 -0
  204. package/dist/crdt/index.js.map +1 -1
  205. package/dist/custody/index.js +26 -0
  206. package/dist/{dead-filter-66VGI6JV.js → dead-filter-FL3WIUZS.js} +2 -2
  207. package/dist/{chunk-OCVM6KDH.js → delegation-QXZ4MPPH.js} +12 -6
  208. package/dist/{chunk-OCVM6KDH.js.map → delegation-QXZ4MPPH.js.map} +1 -1
  209. package/dist/derivations/index.js +12 -12
  210. package/dist/derive-VGS7FKE3.js +22 -0
  211. package/dist/directory/index.js +46 -0
  212. package/dist/dispatch-EGGC7UD7.js +72 -0
  213. package/dist/dispatch-EGGC7UD7.js.map +1 -0
  214. package/dist/dispatch-GDSTUTVP.js +194 -0
  215. package/dist/dispatch-GDSTUTVP.js.map +1 -0
  216. package/dist/{enclave-TKPN2G2U.js → enclave-SPEEDYZ4.js} +13 -11
  217. package/dist/executor-IEBLTBCW.js +9 -0
  218. package/dist/executor-OTF556PL.js +28 -0
  219. package/dist/executor-RM7XWQDU.js +9 -0
  220. package/dist/export-accessible-P42BQ4PB.js +23 -0
  221. package/dist/extract-partition-TCYXRWBN.js +38 -0
  222. package/dist/{fanout-sidecar-B5LVUMQX.js → fanout-sidecar-SSMRSC2L.js} +9 -9
  223. package/dist/find-OZMTRIK3.js +11 -0
  224. package/dist/forget/index.js +11 -11
  225. package/dist/forget/index.js.map +1 -1
  226. package/dist/guards/index.js +4 -4
  227. package/dist/history/index.js +16 -12
  228. package/dist/history/index.js.map +1 -1
  229. package/dist/i18n/index.js +16 -14
  230. package/dist/i18n/index.js.map +1 -1
  231. package/dist/index.d.ts +42 -42
  232. package/dist/index.js +332 -2106
  233. package/dist/index.js.map +1 -1
  234. package/dist/indexing/index.js +4 -2
  235. package/dist/indexing/index.js.map +1 -1
  236. package/dist/introspection/index.js +28 -0
  237. package/dist/issue-FCKN5O6C.js +19 -0
  238. package/dist/kernel/best-effort-revert.d.ts +9 -1
  239. package/dist/kernel/collection-config.d.ts +12 -70
  240. package/dist/kernel/collection.d.ts +11 -23
  241. package/dist/kernel/enclave/crypto.d.ts +8 -8
  242. package/dist/kernel/enclave/index.d.ts +4 -4
  243. package/dist/kernel/enclave/record-keys/envelope-body.d.ts +8 -0
  244. package/dist/kernel/errors.d.ts +41 -22
  245. package/dist/kernel/lazy.d.ts +30 -0
  246. package/dist/kernel/noydb.d.ts +81 -124
  247. package/dist/kernel/query/builder.d.ts +10 -10
  248. package/dist/kernel/query/index.d.ts +0 -6
  249. package/dist/kernel/query/scan-builder.d.ts +4 -4
  250. package/dist/kernel/sync-policy.d.ts +76 -4
  251. package/dist/kernel/types.d.ts +187 -86
  252. package/dist/kernel/validation.d.ts +33 -33
  253. package/dist/kernel/vault.d.ts +41 -229
  254. package/dist/kernel/via/dispatch.d.ts +7 -0
  255. package/dist/{ledger-PTK7XZYT.js → ledger-6XBEVWYP.js} +11 -11
  256. package/dist/liberate-CYUOS4NC.js +24 -0
  257. package/dist/{link-set-SLJHDNRB.js → link-set-NK6L2A5S.js} +11 -11
  258. package/dist/materialized-views/index.js +22 -19
  259. package/dist/money/index.js +31 -0
  260. package/dist/noydb-FZZIMLCI.js +81 -0
  261. package/dist/overlay-views/index.js +4 -4
  262. package/dist/periods/index.js +21 -17
  263. package/dist/pod/index.js +26 -12
  264. package/dist/{policy-YDLCOX4P.js → policy/index.js} +6 -6
  265. package/dist/port/with/archive-strategy.d.ts +31 -0
  266. package/dist/port/with/blob-strategy.d.ts +15 -5
  267. package/dist/port/with/collection-options.d.ts +171 -0
  268. package/dist/port/with/collection-registries.d.ts +62 -0
  269. package/dist/port/with/strategies.d.ts +134 -0
  270. package/dist/port/with/team-strategy.d.ts +3 -2
  271. package/dist/portability/index.js +8 -8
  272. package/dist/{post-register-2YHSADFI.js → post-register-VFIYISUK.js} +6 -6
  273. package/dist/query/index.js +6 -46
  274. package/dist/{aggregate → reduce}/index.js +24 -17
  275. package/dist/reduce/index.js.map +1 -0
  276. package/dist/register-UKU2J6MN.js +25 -0
  277. package/dist/registry-2VCWVHZS.js +19 -0
  278. package/dist/registry-7Y5WF7GS.js +9 -0
  279. package/dist/{registry-VW6P6A3J.js → registry-BWD2ED52.js} +2 -2
  280. package/dist/registry-DTWRJLSF.js +18 -0
  281. package/dist/request-withdrawal-JYDZ5XY2.js +31 -0
  282. package/dist/{reveal-HWO4YMTJ.js → reveal-CL2BCW6A.js} +6 -6
  283. package/dist/revoke-2TSAD2T4.js +24 -0
  284. package/dist/satellites/index.js +1 -1
  285. package/dist/schema-update/index.js +26 -0
  286. package/dist/sealed-record/index.js +12 -12
  287. package/dist/search/index.js +36 -0
  288. package/dist/{seed-3ZMF5EQA.js → seed-NUVJEL7T.js} +12 -12
  289. package/dist/seed-NUVJEL7T.js.map +1 -0
  290. package/dist/sequence/index.js +30 -0
  291. package/dist/session/index.js +13 -9
  292. package/dist/session/index.js.map +1 -1
  293. package/dist/shadow/index.js +6 -2
  294. package/dist/shadow/index.js.map +1 -1
  295. package/dist/share-link/index.d.ts +19 -0
  296. package/dist/share-link/index.js +201 -0
  297. package/dist/share-link/index.js.map +1 -0
  298. package/dist/share-link/share-link.d.ts +123 -0
  299. package/dist/signer-K7Z2EOMG.js +25 -0
  300. package/dist/snapshots/index.js +14 -10
  301. package/dist/snapshots/index.js.map +1 -1
  302. package/dist/{stale-VZL4OGUB.js → stale-A4J26OIC.js} +11 -10
  303. package/dist/storage-YVHZUISN.js +23 -0
  304. package/dist/store/index.js +22 -0
  305. package/dist/{store-coordination-provider-FKX3F6TQ.js → store-coordination-provider-EWRZL7XF.js} +3 -3
  306. package/dist/sync/index.js +15 -11
  307. package/dist/sync/index.js.map +1 -1
  308. package/dist/team/index.js +33 -47
  309. package/dist/tiers/index.js +10 -10
  310. package/dist/to/index.js +1 -1
  311. package/dist/{tx → transactions}/index.js +7 -3
  312. package/dist/transactions/index.js.map +1 -0
  313. package/dist/util/index.js +1 -1
  314. package/dist/{verify-26Y5GNMK.js → verify-7XWHJWUN.js} +5 -5
  315. package/dist/via/blob/active.d.ts +23 -7
  316. package/dist/via/blob/binding.d.ts +1 -1
  317. package/dist/via/blob/index.d.ts +7 -1
  318. package/dist/via/i18n/core.d.ts +1 -1
  319. package/dist/via/i18n/index.d.ts +2 -0
  320. package/dist/via/money/money-reducer.d.ts +2 -2
  321. package/dist/walk-P5D6CF4V.js +21 -0
  322. package/dist/with-audit/consent/index.d.ts +2 -0
  323. package/dist/with-audit/forget/active.d.ts +3 -3
  324. package/dist/with-audit/forget/index.d.ts +6 -5
  325. package/dist/with-audit/forget/strategy.d.ts +3 -3
  326. package/dist/with-audit/guards/executor.d.ts +4 -4
  327. package/dist/with-audit/guards/immutable-guard.d.ts +3 -3
  328. package/dist/with-audit/guards/index.d.ts +1 -1
  329. package/dist/with-audit/guards/registry.d.ts +3 -3
  330. package/dist/with-audit/guards/transition-guard.d.ts +3 -3
  331. package/dist/with-audit/guards/types.d.ts +10 -10
  332. package/dist/with-audit/guards/with-guard.d.ts +2 -2
  333. package/dist/with-audit/periods/index.d.ts +2 -0
  334. package/dist/with-audit/periods/periods.d.ts +1 -16
  335. package/dist/with-audit/periods/vault-facade.d.ts +6 -0
  336. package/dist/with-audit/periods/window.d.ts +16 -0
  337. package/dist/with-audit/portability/export-accessible.d.ts +4 -4
  338. package/dist/with-audit/portability/request-withdrawal.d.ts +3 -3
  339. package/dist/with-audit/portability/withdraw-accessible.d.ts +2 -2
  340. package/dist/with-audit/sealed-record/strategy.d.ts +1 -1
  341. package/dist/with-audit/tiers/index.d.ts +1 -0
  342. package/dist/with-cargo/adopt-partition.d.ts +7 -7
  343. package/dist/{legacy/kernel.d.ts → with-cargo/floor.d.ts} +4 -4
  344. package/dist/with-cargo/index.d.ts +15 -2
  345. package/dist/with-commit/crdt/index.d.ts +2 -0
  346. package/dist/with-commit/history/index.d.ts +2 -0
  347. package/dist/with-commit/history/time-machine.d.ts +2 -2
  348. package/dist/with-commit/numbering/descriptor.d.ts +16 -6
  349. package/dist/with-commit/tx/active.d.ts +5 -5
  350. package/dist/with-commit/tx/index.d.ts +2 -2
  351. package/dist/with-commit/tx/invariants.d.ts +1 -1
  352. package/dist/with-commit/tx/strategy.d.ts +3 -3
  353. package/dist/with-fork/shadow/index.d.ts +2 -0
  354. package/dist/with-fork/snapshots/active.d.ts +2 -2
  355. package/dist/with-fork/snapshots/index.d.ts +3 -1
  356. package/dist/with-fork/snapshots/noydb-facade.d.ts +3 -3
  357. package/dist/with-fork/snapshots/strategy.d.ts +2 -2
  358. package/dist/with-formula/derivations/dispatch.d.ts +98 -0
  359. package/dist/with-formula/derivations/executor.d.ts +2 -2
  360. package/dist/with-formula/derivations/index.d.ts +4 -1
  361. package/dist/with-formula/derivations/registry.d.ts +3 -3
  362. package/dist/with-formula/derivations/stale.d.ts +2 -2
  363. package/dist/with-formula/derivations/types.d.ts +3 -3
  364. package/dist/with-formula/derivations/with-derivation.d.ts +2 -2
  365. package/dist/with-formula/derivations/with-rollup.d.ts +15 -8
  366. package/dist/with-formula/materialized-views/dependency-analyzer.d.ts +3 -3
  367. package/dist/with-formula/materialized-views/dispatch.d.ts +75 -0
  368. package/dist/with-formula/materialized-views/index.d.ts +2 -1
  369. package/dist/with-formula/materialized-views/registry.d.ts +4 -4
  370. package/dist/with-formula/materialized-views/types.d.ts +11 -11
  371. package/dist/with-formula/materialized-views/with-materialized-view.d.ts +2 -2
  372. package/dist/with-formula/overlay-views/index.d.ts +1 -1
  373. package/dist/with-formula/overlay-views/registry.d.ts +4 -4
  374. package/dist/with-formula/overlay-views/types.d.ts +3 -3
  375. package/dist/with-formula/overlay-views/virtual-collection.d.ts +2 -2
  376. package/dist/with-formula/overlay-views/with-overlayed-view.d.ts +2 -2
  377. package/dist/with-lookup/indexing/active.d.ts +5 -5
  378. package/dist/with-lookup/indexing/index.d.ts +3 -1
  379. package/dist/with-lookup/indexing/strategy.d.ts +3 -3
  380. package/dist/with-lookup/{aggregate → reduce}/active.d.ts +8 -8
  381. package/dist/with-lookup/{aggregate → reduce}/groupby.d.ts +21 -21
  382. package/dist/with-lookup/reduce/index.d.ts +34 -0
  383. package/dist/with-lookup/{aggregate → reduce}/reducers.d.ts +11 -12
  384. package/dist/with-lookup/{aggregate/aggregation.d.ts → reduce/reduction.d.ts} +21 -21
  385. package/dist/with-lookup/{aggregate → reduce}/strategy.d.ts +15 -15
  386. package/dist/with-lookup/search/build-docs.d.ts +7 -2
  387. package/dist/with-lookup/search/index.d.ts +1 -1
  388. package/dist/with-party/broker/index.d.ts +1 -0
  389. package/dist/with-party/broker/seed.d.ts +1 -1
  390. package/dist/with-party/custody/liberate.d.ts +3 -3
  391. package/dist/with-party/directory/cover/index.d.ts +1 -5
  392. package/dist/with-party/directory/cover/schema.d.ts +0 -6
  393. package/dist/with-party/directory/cover/storage.d.ts +0 -8
  394. package/dist/with-party/directory/cover/types.d.ts +0 -21
  395. package/dist/with-party/directory/index.d.ts +2 -0
  396. package/dist/with-party/session/dev-unlock.d.ts +2 -2
  397. package/dist/with-party/session/index.d.ts +2 -0
  398. package/dist/with-party/session/session.d.ts +2 -2
  399. package/dist/with-party/team/deed.d.ts +8 -8
  400. package/dist/with-party/team/index.d.ts +4 -7
  401. package/dist/with-party/team/keyring.d.ts +83 -35
  402. package/dist/with-party/team/{managed-passphrase.d.ts → managed-secret.d.ts} +27 -27
  403. package/dist/with-party/team/noydb-facade.d.ts +43 -42
  404. package/dist/with-party/team/peer-recover.d.ts +13 -13
  405. package/dist/with-party/team/recovery.d.ts +5 -5
  406. package/dist/with-party/team/rotate-recover.d.ts +30 -30
  407. package/dist/with-pod/bundle.d.ts +30 -32
  408. package/dist/with-pod/format.d.ts +2 -2
  409. package/dist/with-pod/index.d.ts +2 -1
  410. package/dist/with-shape/blobs/blob-compaction.d.ts +43 -3
  411. package/dist/with-shape/blobs/blob-pinning.d.ts +112 -0
  412. package/dist/with-shape/blobs/blob-set.d.ts +86 -2
  413. package/dist/with-shape/introspection/index.d.ts +6 -0
  414. package/dist/with-shape/schema-update/index.d.ts +1 -0
  415. package/dist/with-store/index.d.ts +3 -2
  416. package/dist/with-store/route-store.d.ts +1 -1
  417. package/dist/{with-party/team/sync-active.d.ts → with-sync/active.d.ts} +1 -1
  418. package/dist/{with-party/team/sync-credentials.d.ts → with-sync/credentials.d.ts} +3 -3
  419. package/dist/{with-party/team/sync.d.ts → with-sync/engine.d.ts} +17 -4
  420. package/dist/{with-party/sync → with-sync}/index.d.ts +4 -2
  421. package/dist/with-sync/period-scope.d.ts +78 -0
  422. package/dist/{with-party/team → with-sync}/presence.d.ts +2 -2
  423. package/dist/{with-party/team/sync-strategy.d.ts → with-sync/strategy.d.ts} +6 -6
  424. package/dist/{with-party/team/sync-transaction.d.ts → with-sync/transaction.d.ts} +3 -3
  425. package/dist/withdraw-accessible-A2PWF5MZ.js +28 -0
  426. package/dist/withdraw-accessible-A2PWF5MZ.js.map +1 -0
  427. package/package.json +49 -36
  428. package/dist/aggregate/index.js.map +0 -1
  429. package/dist/api-3A3S4SHH.js +0 -20
  430. package/dist/as/index.js +0 -30
  431. package/dist/at/index.js +0 -1
  432. package/dist/bundle/index.js +0 -153
  433. package/dist/bundle/index.js.map +0 -1
  434. package/dist/by/index.js +0 -11
  435. package/dist/chunk-554KLAAN.js.map +0 -1
  436. package/dist/chunk-5PFOMHTB.js.map +0 -1
  437. package/dist/chunk-5WZXVULX.js.map +0 -1
  438. package/dist/chunk-6NQMXTYC.js.map +0 -1
  439. package/dist/chunk-6XE5TMPR.js.map +0 -1
  440. package/dist/chunk-A5BDDEXK.js.map +0 -1
  441. package/dist/chunk-ANATMTOA.js +0 -205
  442. package/dist/chunk-ANATMTOA.js.map +0 -1
  443. package/dist/chunk-BOKIKJJB.js.map +0 -1
  444. package/dist/chunk-CHFZDSE4.js +0 -1
  445. package/dist/chunk-DDHM2TLX.js.map +0 -1
  446. package/dist/chunk-DSBQODMZ.js.map +0 -1
  447. package/dist/chunk-EWPOHMN2.js +0 -255
  448. package/dist/chunk-EWPOHMN2.js.map +0 -1
  449. package/dist/chunk-FXZDAV62.js.map +0 -1
  450. package/dist/chunk-GDG5VVYG.js.map +0 -1
  451. package/dist/chunk-GWKAVKHI.js.map +0 -1
  452. package/dist/chunk-H2KSZMIX.js.map +0 -1
  453. package/dist/chunk-HOONYZY2.js.map +0 -1
  454. package/dist/chunk-HQBM64EE.js.map +0 -1
  455. package/dist/chunk-IAO54J4R.js.map +0 -1
  456. package/dist/chunk-IFJTPAQQ.js.map +0 -1
  457. package/dist/chunk-IK43HLDQ.js.map +0 -1
  458. package/dist/chunk-ISMV2QVG.js.map +0 -1
  459. package/dist/chunk-JBBSYJHP.js.map +0 -1
  460. package/dist/chunk-JFCV5QIK.js.map +0 -1
  461. package/dist/chunk-JRBNCUNT.js.map +0 -1
  462. package/dist/chunk-LB7FD65R.js +0 -163
  463. package/dist/chunk-LB7FD65R.js.map +0 -1
  464. package/dist/chunk-ONTBCHCP.js.map +0 -1
  465. package/dist/chunk-PK6JIDQ4.js.map +0 -1
  466. package/dist/chunk-RDXW3OBQ.js.map +0 -1
  467. package/dist/chunk-RFI7GGFO.js.map +0 -1
  468. package/dist/chunk-S3BFKGET.js.map +0 -1
  469. package/dist/chunk-SV6EAJEP.js.map +0 -1
  470. package/dist/chunk-T36RFODW.js.map +0 -1
  471. package/dist/chunk-T3GY65MA.js.map +0 -1
  472. package/dist/chunk-TAGR72IR.js.map +0 -1
  473. package/dist/chunk-TIGPQDYP.js +0 -14
  474. package/dist/chunk-TIGPQDYP.js.map +0 -1
  475. package/dist/chunk-U6JMEH2P.js.map +0 -1
  476. package/dist/chunk-UDSR4X4L.js.map +0 -1
  477. package/dist/chunk-UHNGNKLV.js.map +0 -1
  478. package/dist/chunk-VCBHAE4R.js.map +0 -1
  479. package/dist/chunk-VCTXU4AT.js.map +0 -1
  480. package/dist/chunk-VEALDPHW.js.map +0 -1
  481. package/dist/chunk-VKCADNMR.js.map +0 -1
  482. package/dist/chunk-VQNJ7UZL.js.map +0 -1
  483. package/dist/chunk-W2OG6JOL.js.map +0 -1
  484. package/dist/chunk-WG4QBZDN.js.map +0 -1
  485. package/dist/chunk-WHXXI3W5.js.map +0 -1
  486. package/dist/chunk-WKGF2TJR.js.map +0 -1
  487. package/dist/chunk-WNGGJWF7.js.map +0 -1
  488. package/dist/chunk-XTHCN77N.js.map +0 -1
  489. package/dist/chunk-YCH5GBN6.js +0 -99
  490. package/dist/chunk-YCH5GBN6.js.map +0 -1
  491. package/dist/chunk-YMUGBZN2.js.map +0 -1
  492. package/dist/collection-facade-KMBWNCYP.js +0 -44
  493. package/dist/cover-QJRXINN5.js +0 -52
  494. package/dist/delegation-SU6CV3W7.js +0 -25
  495. package/dist/derive-6RWU4EOA.js +0 -21
  496. package/dist/executor-KGNLJD6M.js +0 -9
  497. package/dist/executor-UX4FASYZ.js +0 -26
  498. package/dist/executor-XGIS6CR7.js +0 -9
  499. package/dist/export-accessible-LKW3QV22.js +0 -23
  500. package/dist/extract-partition-UP2ARO75.js +0 -38
  501. package/dist/find-YS6XWB46.js +0 -11
  502. package/dist/in/index.js +0 -1
  503. package/dist/issue-3ACYX7LO.js +0 -19
  504. package/dist/legacy/bundle.d.ts +0 -30
  505. package/dist/liberate-MQQXBUCY.js +0 -24
  506. package/dist/noydb-ANIW5FLE.js +0 -69
  507. package/dist/on/index.js +0 -17
  508. package/dist/port/as/index.d.ts +0 -26
  509. package/dist/port/at/index.d.ts +0 -18
  510. package/dist/port/in/index.d.ts +0 -21
  511. package/dist/port/on/index.d.ts +0 -27
  512. package/dist/port/ui/index.d.ts +0 -21
  513. package/dist/port/with/index.d.ts +0 -18
  514. package/dist/register-PAM3ASRZ.js +0 -23
  515. package/dist/registry-4S2U2TR4.js +0 -19
  516. package/dist/registry-NPOWJHC4.js +0 -9
  517. package/dist/registry-VZ3CCI2R.js +0 -18
  518. package/dist/request-withdrawal-DI3H5WUI.js +0 -31
  519. package/dist/revoke-R5CZSVUT.js +0 -24
  520. package/dist/seed-3ZMF5EQA.js.map +0 -1
  521. package/dist/signer-MBVHW4WE.js +0 -25
  522. package/dist/storage-3MEJUENZ.js +0 -23
  523. package/dist/tx/index.js.map +0 -1
  524. package/dist/ui/index.js +0 -1
  525. package/dist/with/index.js +0 -31
  526. package/dist/with-lookup/aggregate/index.d.ts +0 -23
  527. package/dist/withdraw-accessible-TZDATQVR.js +0 -28
  528. /package/dist/{api-3A3S4SHH.js.map → api-ZDKTWNBB.js.map} +0 -0
  529. /package/dist/{backup-YPUEKIJC.js.map → backup-2UX7PRM5.js.map} +0 -0
  530. /package/dist/{chunk-IY23KFNZ.js.map → chunk-35NMVJ7I.js.map} +0 -0
  531. /package/dist/{chunk-RTEK4C4I.js.map → chunk-4JQK3L4V.js.map} +0 -0
  532. /package/dist/{chunk-3ELCWU56.js.map → chunk-4ZKNC6A6.js.map} +0 -0
  533. /package/dist/{chunk-VAIS3SOM.js.map → chunk-55LX6FSX.js.map} +0 -0
  534. /package/dist/{chunk-6HPG2YNX.js.map → chunk-5DRROK5W.js.map} +0 -0
  535. /package/dist/{chunk-S6Q37VGE.js.map → chunk-5GQEU4DN.js.map} +0 -0
  536. /package/dist/{chunk-ZXEZCY6F.js.map → chunk-63FE525P.js.map} +0 -0
  537. /package/dist/{chunk-JVBO4SZL.js.map → chunk-6UBZ6I5Z.js.map} +0 -0
  538. /package/dist/{chunk-VRBTNCM4.js.map → chunk-ABS7FMMD.js.map} +0 -0
  539. /package/dist/{chunk-M75ZZHSR.js.map → chunk-BLBAQRBM.js.map} +0 -0
  540. /package/dist/{chunk-WOM2HTML.js.map → chunk-CI32CAFS.js.map} +0 -0
  541. /package/dist/{chunk-EO43ANYJ.js.map → chunk-DABACXEF.js.map} +0 -0
  542. /package/dist/{chunk-CJ5KKU6X.js.map → chunk-DMH3VZU5.js.map} +0 -0
  543. /package/dist/{chunk-WZSHL6DQ.js.map → chunk-DZ2JXHWK.js.map} +0 -0
  544. /package/dist/{chunk-Z4PD65VQ.js.map → chunk-EE7UHLKH.js.map} +0 -0
  545. /package/dist/{chunk-RNG4VRP4.js.map → chunk-EKRSCRNM.js.map} +0 -0
  546. /package/dist/{chunk-MT62YSPZ.js.map → chunk-FRMPM7WG.js.map} +0 -0
  547. /package/dist/{as/index.js.map → chunk-GJW4HX2O.js.map} +0 -0
  548. /package/dist/{chunk-KS6SAVCZ.js.map → chunk-GU3IP74F.js.map} +0 -0
  549. /package/dist/{chunk-SMIRGMS7.js.map → chunk-IXNCZTWA.js.map} +0 -0
  550. /package/dist/{chunk-WQIYTNJV.js.map → chunk-IXTSNGYY.js.map} +0 -0
  551. /package/dist/{chunk-NCCBLYEB.js.map → chunk-JJZGIE4U.js.map} +0 -0
  552. /package/dist/{chunk-DRWBEDYO.js.map → chunk-JYJFGD2H.js.map} +0 -0
  553. /package/dist/{chunk-XJMBYYQK.js.map → chunk-LNZKOUJR.js.map} +0 -0
  554. /package/dist/{chunk-R3BLCFD2.js.map → chunk-MBKVNOJS.js.map} +0 -0
  555. /package/dist/{chunk-N6WF5PKC.js.map → chunk-NFZGZ4AK.js.map} +0 -0
  556. /package/dist/{chunk-THVIPWRF.js.map → chunk-PEATRIYJ.js.map} +0 -0
  557. /package/dist/{chunk-YZQOGE2L.js.map → chunk-QDIH2744.js.map} +0 -0
  558. /package/dist/{chunk-6HY2X62D.js.map → chunk-QJNCB5SK.js.map} +0 -0
  559. /package/dist/{chunk-2PCAVW2I.js.map → chunk-SHEEBRZ4.js.map} +0 -0
  560. /package/dist/{chunk-RA5VTXXG.js.map → chunk-V6UQZA2H.js.map} +0 -0
  561. /package/dist/{chunk-QDPZWTN2.js.map → chunk-W3G5REIU.js.map} +0 -0
  562. /package/dist/{chunk-A4FXFAKF.js.map → chunk-W3L64Y3J.js.map} +0 -0
  563. /package/dist/{chunk-XDIAFPUM.js.map → chunk-WLXMTYGO.js.map} +0 -0
  564. /package/dist/{chunk-RJ6K6K5M.js.map → chunk-X3F5YJG2.js.map} +0 -0
  565. /package/dist/{chunk-YTGDPCPW.js.map → chunk-Y6B6HVKC.js.map} +0 -0
  566. /package/dist/{classified-marker-QWMASIT7.js.map → classified-marker-7PKJBFCG.js.map} +0 -0
  567. /package/dist/{at/index.js.map → collection-facade-6I5K5IOD.js.map} +0 -0
  568. /package/dist/{by/index.js.map → computed-AB45PS4V.js.map} +0 -0
  569. /package/dist/{in → cover}/index.js.map +0 -0
  570. /package/dist/{on → custody}/index.js.map +0 -0
  571. /package/dist/{dead-filter-66VGI6JV.js.map → dead-filter-FL3WIUZS.js.map} +0 -0
  572. /package/dist/{chunk-CHFZDSE4.js.map → derive-VGS7FKE3.js.map} +0 -0
  573. /package/dist/{ui → directory}/index.js.map +0 -0
  574. /package/dist/{collection-facade-KMBWNCYP.js.map → enclave-SPEEDYZ4.js.map} +0 -0
  575. /package/dist/{computed-DSMPXG2Y.js.map → executor-IEBLTBCW.js.map} +0 -0
  576. /package/dist/{cover-QJRXINN5.js.map → executor-OTF556PL.js.map} +0 -0
  577. /package/dist/{delegation-SU6CV3W7.js.map → executor-RM7XWQDU.js.map} +0 -0
  578. /package/dist/{derive-6RWU4EOA.js.map → export-accessible-P42BQ4PB.js.map} +0 -0
  579. /package/dist/{enclave-TKPN2G2U.js.map → extract-partition-TCYXRWBN.js.map} +0 -0
  580. /package/dist/{fanout-sidecar-B5LVUMQX.js.map → fanout-sidecar-SSMRSC2L.js.map} +0 -0
  581. /package/dist/{executor-KGNLJD6M.js.map → find-OZMTRIK3.js.map} +0 -0
  582. /package/dist/{with → introspection}/index.js.map +0 -0
  583. /package/dist/{executor-UX4FASYZ.js.map → issue-FCKN5O6C.js.map} +0 -0
  584. /package/dist/{executor-XGIS6CR7.js.map → ledger-6XBEVWYP.js.map} +0 -0
  585. /package/dist/{export-accessible-LKW3QV22.js.map → liberate-CYUOS4NC.js.map} +0 -0
  586. /package/dist/{extract-partition-UP2ARO75.js.map → link-set-NK6L2A5S.js.map} +0 -0
  587. /package/dist/{find-YS6XWB46.js.map → money/index.js.map} +0 -0
  588. /package/dist/{issue-3ACYX7LO.js.map → noydb-FZZIMLCI.js.map} +0 -0
  589. /package/dist/{ledger-PTK7XZYT.js.map → policy/index.js.map} +0 -0
  590. /package/dist/{post-register-2YHSADFI.js.map → post-register-VFIYISUK.js.map} +0 -0
  591. /package/dist/{liberate-MQQXBUCY.js.map → register-UKU2J6MN.js.map} +0 -0
  592. /package/dist/{link-set-SLJHDNRB.js.map → registry-2VCWVHZS.js.map} +0 -0
  593. /package/dist/{noydb-ANIW5FLE.js.map → registry-7Y5WF7GS.js.map} +0 -0
  594. /package/dist/{policy-YDLCOX4P.js.map → registry-BWD2ED52.js.map} +0 -0
  595. /package/dist/{register-PAM3ASRZ.js.map → registry-DTWRJLSF.js.map} +0 -0
  596. /package/dist/{registry-4S2U2TR4.js.map → request-withdrawal-JYDZ5XY2.js.map} +0 -0
  597. /package/dist/{reveal-HWO4YMTJ.js.map → reveal-CL2BCW6A.js.map} +0 -0
  598. /package/dist/{registry-NPOWJHC4.js.map → revoke-2TSAD2T4.js.map} +0 -0
  599. /package/dist/{registry-VW6P6A3J.js.map → schema-update/index.js.map} +0 -0
  600. /package/dist/{registry-VZ3CCI2R.js.map → search/index.js.map} +0 -0
  601. /package/dist/{request-withdrawal-DI3H5WUI.js.map → sequence/index.js.map} +0 -0
  602. /package/dist/{revoke-R5CZSVUT.js.map → signer-K7Z2EOMG.js.map} +0 -0
  603. /package/dist/{signer-MBVHW4WE.js.map → stale-A4J26OIC.js.map} +0 -0
  604. /package/dist/{stale-VZL4OGUB.js.map → storage-YVHZUISN.js.map} +0 -0
  605. /package/dist/{storage-3MEJUENZ.js.map → store/index.js.map} +0 -0
  606. /package/dist/{store-coordination-provider-FKX3F6TQ.js.map → store-coordination-provider-EWRZL7XF.js.map} +0 -0
  607. /package/dist/{verify-26Y5GNMK.js.map → verify-7XWHJWUN.js.map} +0 -0
  608. /package/dist/{withdraw-accessible-TZDATQVR.js.map → walk-P5D6CF4V.js.map} +0 -0
  609. /package/dist/with-lookup/{aggregate → reduce}/canonical-key.d.ts +0 -0
  610. /package/dist/{with-party → with-sync}/tab-coordination.d.ts +0 -0
  611. /package/dist/{with-party → with-sync}/tab-write-relay.d.ts +0 -0
@@ -1,33 +1,31 @@
1
1
  import {
2
- burnPaperRecoveryEntry,
3
- loadPaperRecoveryEntries,
4
- loadShamirRecoveryEntries,
5
- unwrapDeksFromPaperEntry,
6
- unwrapDeksFromShamirEntry
7
- } from "./chunk-ANATMTOA.js";
2
+ loadVaultPolicy
3
+ } from "./chunk-WLXMTYGO.js";
8
4
  import {
9
- assertStrongPassphrase,
5
+ assertStrongSecret,
10
6
  mintKeyringCanary,
11
7
  persistKeyring
12
- } from "./chunk-554KLAAN.js";
8
+ } from "./chunk-BLCWSJLN.js";
13
9
  import {
14
10
  dekKey
15
- } from "./chunk-UC2ETWF3.js";
11
+ } from "./chunk-PTHKZWEH.js";
16
12
  import {
17
13
  openEnvelopeJson
18
- } from "./chunk-W4TCUGQR.js";
14
+ } from "./chunk-G2JUIDFA.js";
19
15
  import {
20
16
  base64ToBuffer,
21
17
  bufferToBase64,
22
18
  deriveKey,
19
+ deriveSecretKey,
23
20
  encrypt,
24
21
  generateSalt,
25
22
  unwrapKey,
26
23
  wrapKey
27
- } from "./chunk-HOONYZY2.js";
24
+ } from "./chunk-AKKRXT23.js";
28
25
  import {
26
+ NOYDB_FORMAT_VERSION,
29
27
  NOYDB_KEYRING_VERSION
30
- } from "./chunk-VCTXU4AT.js";
28
+ } from "./chunk-QBAC3GXA.js";
31
29
  import {
32
30
  DelegationTargetMissingError,
33
31
  InvalidKeyError,
@@ -37,20 +35,214 @@ import {
37
35
  RecoveryProfileNotImplementedError,
38
36
  TeamNotEnabledError,
39
37
  ValidationError
40
- } from "./chunk-W2OG6JOL.js";
38
+ } from "./chunk-QZWTRENR.js";
39
+
40
+ // src/port/with/team-strategy.ts
41
+ var NO_TEAM = {
42
+ async grant() {
43
+ throw new TeamNotEnabledError();
44
+ },
45
+ async revoke() {
46
+ throw new TeamNotEnabledError();
47
+ },
48
+ async rotate() {
49
+ throw new TeamNotEnabledError();
50
+ }
51
+ };
52
+
53
+ // src/with-party/team/wrapped-deks.ts
54
+ var PBKDF2_ITERATIONS = 6e5;
55
+ var SALT_BYTES = 32;
56
+ var IV_BYTES = 12;
57
+ var subtle = globalThis.crypto.subtle;
58
+ async function mintWrappedDeksBlob(deks, credential) {
59
+ const salt = crypto.getRandomValues(new Uint8Array(SALT_BYTES));
60
+ const iv = crypto.getRandomValues(new Uint8Array(IV_BYTES));
61
+ const wrappingKey = await deriveWrappingKey(credential, salt);
62
+ const exported = {};
63
+ for (const [coll, dek] of deks) {
64
+ const raw = await subtle.exportKey("raw", dek);
65
+ exported[coll] = bytesToBase64(new Uint8Array(raw));
66
+ }
67
+ const plaintext = new TextEncoder().encode(JSON.stringify({ deks: exported }));
68
+ const ciphertext = await subtle.encrypt(
69
+ { name: "AES-GCM", iv },
70
+ wrappingKey,
71
+ plaintext
72
+ );
73
+ return {
74
+ salt: bytesToBase64(salt),
75
+ iv: bytesToBase64(iv),
76
+ wrappedDeks: bytesToBase64(new Uint8Array(ciphertext))
77
+ };
78
+ }
79
+ async function unwrapDeksFromBlob(blob, credential) {
80
+ const wrappingKey = await deriveWrappingKey(credential, base64ToBytes(blob.salt));
81
+ const plaintext = await subtle.decrypt(
82
+ { name: "AES-GCM", iv: base64ToBytes(blob.iv) },
83
+ wrappingKey,
84
+ base64ToBytes(blob.wrappedDeks)
85
+ );
86
+ const parsed = JSON.parse(new TextDecoder().decode(plaintext));
87
+ const deks = /* @__PURE__ */ new Map();
88
+ for (const [coll, b64] of Object.entries(parsed.deks)) {
89
+ const raw = base64ToBytes(b64);
90
+ const key = await subtle.importKey(
91
+ "raw",
92
+ raw,
93
+ { name: "AES-GCM", length: 256 },
94
+ true,
95
+ ["encrypt", "decrypt"]
96
+ );
97
+ deks.set(coll, key);
98
+ }
99
+ return deks;
100
+ }
101
+ async function deriveWrappingKey(credential, salt) {
102
+ return deriveSecretKey(credential, salt, { iterations: PBKDF2_ITERATIONS, keyUsage: "aes-gcm" });
103
+ }
104
+ function bytesToBase64(b) {
105
+ let s = "";
106
+ for (const x of b) s += String.fromCharCode(x);
107
+ return btoa(s);
108
+ }
109
+ function base64ToBytes(b64) {
110
+ const s = atob(b64);
111
+ const out = new Uint8Array(s.length);
112
+ for (let i = 0; i < s.length; i++) out[i] = s.charCodeAt(i);
113
+ return out;
114
+ }
115
+
116
+ // src/with-party/team/recovery.ts
117
+ var PAPER_DOC_ID = "recovery-paper";
118
+ async function loadPaperRecoveryEntries(store, vault) {
119
+ const env = await store.get(vault, "_meta", PAPER_DOC_ID);
120
+ if (!env) return [];
121
+ try {
122
+ const doc = JSON.parse(env._data);
123
+ if (doc.profile !== "paper" || !Array.isArray(doc.entries)) return [];
124
+ return doc.entries;
125
+ } catch {
126
+ return [];
127
+ }
128
+ }
129
+ async function savePaperRecoveryEntries(store, vault, entries) {
130
+ const doc = {
131
+ _noydb_recovery: 1,
132
+ profile: "paper",
133
+ entries
134
+ };
135
+ const envelope = {
136
+ _noydb: NOYDB_FORMAT_VERSION,
137
+ _v: 1,
138
+ _ts: (/* @__PURE__ */ new Date()).toISOString(),
139
+ _iv: "",
140
+ _data: JSON.stringify(doc)
141
+ };
142
+ await store.put(vault, "_meta", PAPER_DOC_ID, envelope);
143
+ }
144
+ async function burnPaperRecoveryEntry(store, vault, codeId) {
145
+ const entries = await loadPaperRecoveryEntries(store, vault);
146
+ const remaining = entries.filter((e) => e.codeId !== codeId);
147
+ await savePaperRecoveryEntries(store, vault, remaining);
148
+ }
149
+ async function hasRecoveryEnrolled(store, vault) {
150
+ const paper = await loadPaperRecoveryEntries(store, vault);
151
+ if (paper.length > 0) return true;
152
+ const shamir = await loadShamirRecoveryEntries(store, vault);
153
+ return shamir.length > 0;
154
+ }
155
+ async function hasStrongRecoveryEnrolled(store, vault) {
156
+ const shamir = await loadShamirRecoveryEntries(store, vault);
157
+ return shamir.length > 0;
158
+ }
159
+ var SHAMIR_DOC_ID = "recovery-shamir";
160
+ async function loadShamirRecoveryEntries(store, vault) {
161
+ const env = await store.get(vault, "_meta", SHAMIR_DOC_ID);
162
+ if (!env) return [];
163
+ try {
164
+ const doc = JSON.parse(env._data);
165
+ if (doc.profile !== "shamir" || !Array.isArray(doc.entries)) return [];
166
+ return doc.entries;
167
+ } catch {
168
+ return [];
169
+ }
170
+ }
171
+ async function saveShamirRecoveryEntries(store, vault, entries) {
172
+ const doc = {
173
+ _noydb_recovery: 1,
174
+ profile: "shamir",
175
+ entries
176
+ };
177
+ const envelope = {
178
+ _noydb: NOYDB_FORMAT_VERSION,
179
+ _v: 1,
180
+ _ts: (/* @__PURE__ */ new Date()).toISOString(),
181
+ _iv: "",
182
+ _data: JSON.stringify(doc)
183
+ };
184
+ await store.put(vault, "_meta", SHAMIR_DOC_ID, envelope);
185
+ }
186
+ async function mintShamirRecoveryEntry(provider, deks, entryId, k, n, label) {
187
+ const recoverySecret = crypto.getRandomValues(new Uint8Array(32));
188
+ try {
189
+ const credential = bytesToBase642(recoverySecret);
190
+ const blob = await mintWrappedDeksBlob(deks, credential);
191
+ const shareStrings = provider.splitToShares(recoverySecret, k, n);
192
+ const entry = {
193
+ ...blob,
194
+ entryId,
195
+ k,
196
+ n,
197
+ enrolledAt: (/* @__PURE__ */ new Date()).toISOString(),
198
+ ...label !== void 0 && { label }
199
+ };
200
+ return { entry, shareStrings };
201
+ } finally {
202
+ recoverySecret.fill(0);
203
+ }
204
+ }
205
+ async function unwrapDeksFromShamirEntry(provider, entry, shareStrings) {
206
+ if (shareStrings.length < entry.k) {
207
+ throw new Error(
208
+ `Insufficient shares: this Shamir entry needs ${entry.k} of ${entry.n}, but ${shareStrings.length} were provided.`
209
+ );
210
+ }
211
+ const secret = provider.combineShares(shareStrings);
212
+ try {
213
+ return await unwrapDeksFromBlob(entry, bytesToBase642(secret));
214
+ } finally {
215
+ secret.fill(0);
216
+ }
217
+ }
218
+ function bytesToBase642(b) {
219
+ let s = "";
220
+ for (const x of b) s += String.fromCharCode(x);
221
+ return btoa(s);
222
+ }
223
+ async function mintPaperRecoveryEntry(deks, code, codeId) {
224
+ const blob = await mintWrappedDeksBlob(deks, code);
225
+ return {
226
+ ...blob,
227
+ codeId,
228
+ enrolledAt: (/* @__PURE__ */ new Date()).toISOString()
229
+ };
230
+ }
231
+ async function unwrapDeksFromPaperEntry(entry, code) {
232
+ return unwrapDeksFromBlob(entry, code);
233
+ }
41
234
 
42
235
  // src/with-party/team/magic-link-grant.ts
43
236
  var MAGIC_LINK_GRANTS_COLLECTION = "_magic_link_grants";
44
237
  var MAGIC_LINK_CONTENT_INFO_PREFIX = "noydb-magic-link-content-v1:";
45
- var MAGIC_LINK_KEK_INFO_PREFIX = "noydb-magic-link-v1:";
46
238
  async function deriveMagicLinkContentKey(serverSecret, token, vault) {
47
- const subtle = globalThis.crypto.subtle;
239
+ const subtle2 = globalThis.crypto.subtle;
48
240
  const ikmBytes = serverSecret instanceof Uint8Array ? serverSecret : new TextEncoder().encode(serverSecret);
49
241
  const tokenBytes = new TextEncoder().encode(token);
50
- const saltBuffer = await subtle.digest("SHA-256", tokenBytes);
242
+ const saltBuffer = await subtle2.digest("SHA-256", tokenBytes);
51
243
  const info = new TextEncoder().encode(MAGIC_LINK_CONTENT_INFO_PREFIX + vault);
52
- const ikm = await subtle.importKey("raw", ikmBytes, "HKDF", false, ["deriveKey"]);
53
- return subtle.deriveKey(
244
+ const ikm = await subtle2.importKey("raw", ikmBytes, "HKDF", false, ["deriveKey"]);
245
+ return subtle2.deriveKey(
54
246
  { name: "HKDF", hash: "SHA-256", salt: saltBuffer, info },
55
247
  ikm,
56
248
  { name: "AES-GCM", length: 256 },
@@ -132,23 +324,10 @@ function isMagicLinkGrantExpired(payload, now = /* @__PURE__ */ new Date()) {
132
324
  return payload.until <= now.toISOString();
133
325
  }
134
326
 
135
- // src/port/with/team-strategy.ts
136
- var NO_TEAM = {
137
- async grant() {
138
- throw new TeamNotEnabledError();
139
- },
140
- async revoke() {
141
- throw new TeamNotEnabledError();
142
- },
143
- async rotate() {
144
- throw new TeamNotEnabledError();
145
- }
146
- };
147
-
148
327
  // src/with-party/team/rotate-recover.ts
149
- async function rotatePassphrase(store, vault, userId, input) {
150
- if (!input.allowWeakPassphrase) {
151
- assertStrongPassphrase(input.newPassphrase, input.passphrasePolicy);
328
+ async function rotateSecret(store, vault, userId, input) {
329
+ if (!input.allowWeakSecret) {
330
+ assertStrongSecret(input.newSecret, input.secretPolicy);
152
331
  }
153
332
  const env = await store.get(vault, "_keyring", userId);
154
333
  if (!env) {
@@ -156,13 +335,13 @@ async function rotatePassphrase(store, vault, userId, input) {
156
335
  }
157
336
  const file = JSON.parse(env._data);
158
337
  const oldSalt = base64ToBuffer(file.salt);
159
- const oldKek = await deriveKey(input.oldPassphrase, oldSalt);
338
+ const oldKek = await deriveKey(input.oldSecret, oldSalt);
160
339
  const deks = /* @__PURE__ */ new Map();
161
340
  for (const [coll, wrapped] of Object.entries(file.deks)) {
162
341
  deks.set(coll, await unwrapKey(wrapped, oldKek));
163
342
  }
164
343
  const newSalt = generateSalt();
165
- const newKek = await deriveKey(input.newPassphrase, newSalt);
344
+ const newKek = await deriveKey(input.newSecret, newSalt);
166
345
  const wrappedDeks = {};
167
346
  for (const [coll, dek] of deks) {
168
347
  wrappedDeks[coll] = await wrapKey(dek, newKek);
@@ -238,9 +417,9 @@ async function rotatePassphrase(store, vault, userId, input) {
238
417
  ...file.import_capability !== void 0 && { importCapability: file.import_capability }
239
418
  };
240
419
  }
241
- async function recoverPassphrase(provider, store, vault, userId, input) {
242
- if (!input.allowWeakPassphrase) {
243
- assertStrongPassphrase(input.newPassphrase, input.passphrasePolicy);
420
+ async function recoverSecret(provider, store, vault, userId, input) {
421
+ if (!input.allowWeakSecret) {
422
+ assertStrongSecret(input.newSecret, input.secretPolicy);
244
423
  }
245
424
  const profile = input.recoveryProof.profile;
246
425
  if (profile === "paper") {
@@ -265,7 +444,7 @@ async function recoverViaPaperCode(store, vault, userId, input) {
265
444
  const entries = await loadPaperRecoveryEntries(store, vault);
266
445
  if (entries.length === 0) {
267
446
  throw new NoAccessError(
268
- `No paper-recovery entries enrolled for vault "${vault}". Enroll via \`db.enrollRecovery({ profile: "paper", entries })\` before relying on recovery.`
447
+ `No paper-recovery entries enrolled for vault "${vault}". Enroll via \`db.team.enrollRecovery({ profile: "paper", entries })\` before relying on recovery.`
269
448
  );
270
449
  }
271
450
  const normalized = normalizePaperCode(code);
@@ -285,7 +464,7 @@ async function recoverViaPaperCode(store, vault, userId, input) {
285
464
  }
286
465
  const deks = recovered.deks;
287
466
  const newSalt = generateSalt();
288
- const newKek = await deriveKey(input.newPassphrase, newSalt);
467
+ const newKek = await deriveKey(input.newSecret, newSalt);
289
468
  const wrappedDeks = {};
290
469
  for (const [coll, dek] of deks) {
291
470
  wrappedDeks[coll] = await wrapKey(dek, newKek);
@@ -334,7 +513,7 @@ async function recoverViaShamir(provider, store, vault, userId, input) {
334
513
  const allEntries = await loadShamirRecoveryEntries(store, vault);
335
514
  if (allEntries.length === 0) {
336
515
  throw new NoAccessError(
337
- `No Shamir-recovery entries enrolled for vault "${vault}". Enroll via \`db.enrollRecovery({ profile: "shamir", k, n })\` before relying on recovery.`
516
+ `No Shamir-recovery entries enrolled for vault "${vault}". Enroll via \`db.team.enrollRecovery({ profile: "shamir", k, n })\` before relying on recovery.`
338
517
  );
339
518
  }
340
519
  if (!provider) {
@@ -377,7 +556,7 @@ async function recoverViaShamir(provider, store, vault, userId, input) {
377
556
  );
378
557
  }
379
558
  const newSalt = generateSalt();
380
- const newKek = await deriveKey(input.newPassphrase, newSalt);
559
+ const newKek = await deriveKey(input.newSecret, newSalt);
381
560
  const wrappedDeks = {};
382
561
  for (const [coll, dek] of recoveredDeks) {
383
562
  wrappedDeks[coll] = await wrapKey(dek, newKek);
@@ -448,11 +627,11 @@ async function recoverUser(store, vault, callerKeyring, options) {
448
627
  throw new PrivilegeEscalationError(coll);
449
628
  }
450
629
  }
451
- if (options.validatePassphrase && !options.allowWeakPassphrase) {
452
- assertStrongPassphrase(options.passphrase, options.passphrasePolicy);
630
+ if (options.validateSecret && !options.allowWeakSecret) {
631
+ assertStrongSecret(options.secret, options.secretPolicy);
453
632
  }
454
633
  const newSalt = generateSalt();
455
- const newKek = await deriveKey(options.passphrase, newSalt);
634
+ const newKek = await deriveKey(options.secret, newSalt);
456
635
  const wrappedDeks = {};
457
636
  for (const coll of Object.keys(target.deks)) {
458
637
  const callerDek = callerKeyring.deks.get(coll);
@@ -483,6 +662,129 @@ async function recoverUser(store, vault, callerKeyring, options) {
483
662
  await store.put(vault, "_keyring", options.userId, envelope);
484
663
  }
485
664
 
665
+ // src/with-party/auth-introspection/index.ts
666
+ async function describeAuthConfig(store, vault) {
667
+ const policy = await loadVaultPolicy(store, vault) ?? defaultPolicySnapshot();
668
+ const recoveryProfiles = await listRecoveryProfilesEnrolled(store, vault);
669
+ const lines = [];
670
+ lines.push(`Vault "${vault}" \u2014 three-tier authentication`);
671
+ lines.push("");
672
+ lines.push("Tier 1 \u2014 Secret (master)");
673
+ lines.push(` Phrase format: ${policy.secret?.minWords ?? 6}+ words, lowercase letters, \u2265${policy.secret?.minWordLength ?? 3} chars/word`);
674
+ lines.push(" Strength validator: enforced (override available for tests only)");
675
+ lines.push("");
676
+ lines.push("Tier 2 \u2014 Authenticate (routine login)");
677
+ lines.push(" Allowed methods: WebAuthn (passkey), OIDC, Password");
678
+ lines.push(" Slots per user: unlimited");
679
+ lines.push("");
680
+ lines.push("Tier 3 \u2014 Unlock (quick resume)");
681
+ lines.push(" Method: PIN (per-app configurable)");
682
+ lines.push("");
683
+ lines.push(`Recovery profiles enrolled: ${recoveryProfiles.length === 0 ? "none" : recoveryProfiles.join(", ")}`);
684
+ lines.push("Managed-secret mode: off (post-1.0)");
685
+ lines.push("");
686
+ lines.push("Sensitive-action gates:");
687
+ for (const [gate, gp] of Object.entries(policy.gates)) {
688
+ lines.push(` ${gate} \u2014 ${describeGatePolicy(gp)}`);
689
+ }
690
+ return lines.join("\n");
691
+ }
692
+ async function diagramAuthConfig(store, vault) {
693
+ const policy = await loadVaultPolicy(store, vault) ?? defaultPolicySnapshot();
694
+ const lines = [];
695
+ lines.push("flowchart TB");
696
+ lines.push(` vault["Vault: ${escapeMermaid(vault)}"]`);
697
+ lines.push(' tier1["Tier 1<br/>Secret"]');
698
+ lines.push(' tier2["Tier 2<br/>Multi-slot Authenticate"]');
699
+ lines.push(' tier3["Tier 3<br/>PIN / Quick-resume"]');
700
+ lines.push(" vault --> tier1");
701
+ lines.push(" tier1 --> tier2");
702
+ lines.push(" tier2 --> tier3");
703
+ for (const [gateName, gp] of Object.entries(policy.gates)) {
704
+ if (gp.enabled === false) continue;
705
+ const id = sanitizeId(gateName);
706
+ const label = `${gateName}<br/>tier \u2265 ${gp.minTier}`;
707
+ lines.push(` ${id}["${escapeMermaid(label)}"]`);
708
+ const tierNode = gp.minTier === 1 ? "tier1" : gp.minTier === 2 ? "tier2" : "tier3";
709
+ lines.push(` ${tierNode} --> ${id}`);
710
+ }
711
+ return lines.join("\n");
712
+ }
713
+ async function describeUserAuth(store, vault, userId) {
714
+ const env = await store.get(vault, "_keyring", userId);
715
+ if (!env) return "";
716
+ const file = JSON.parse(env._data);
717
+ const lines = [];
718
+ lines.push(
719
+ `User: ${file.user_id} (joined ${file.created_at.slice(0, 10)}, role: ${file.role})`
720
+ );
721
+ lines.push("");
722
+ lines.push("Tier 2 enrollments:");
723
+ if (!file.authenticators || file.authenticators.length === 0) {
724
+ lines.push(" (none enrolled)");
725
+ } else {
726
+ for (const slot of file.authenticators) {
727
+ lines.push(` - ${describeSlot(slot)}`);
728
+ }
729
+ }
730
+ return lines.join("\n");
731
+ }
732
+ async function describeAllUsersAuth(store, vault) {
733
+ const ids = await store.list(vault, "_keyring");
734
+ const results = [];
735
+ for (const userId of ids) {
736
+ const description = await describeUserAuth(store, vault, userId);
737
+ if (description !== "") results.push({ userId, description });
738
+ }
739
+ return results;
740
+ }
741
+ var SLOT_FIELD_ALLOWLIST = [
742
+ "id",
743
+ "method",
744
+ "enrolled_at",
745
+ "enrolled_via_tier"
746
+ ];
747
+ function describeSlot(slot) {
748
+ const sanitized = {};
749
+ for (const key of SLOT_FIELD_ALLOWLIST) {
750
+ if (key in slot) {
751
+ sanitized[key] = slot[key];
752
+ }
753
+ }
754
+ const date = (sanitized.enrolled_at ?? "").slice(0, 10);
755
+ return `${sanitized.method ?? "?"} (id=${sanitized.id ?? "?"}, enrolled ${date}, via tier ${sanitized.enrolled_via_tier ?? "?"})`;
756
+ }
757
+ function describeGatePolicy(gp) {
758
+ if (gp.enabled === false) return "disabled";
759
+ const parts = [];
760
+ parts.push(`tier ${gp.minTier}`);
761
+ if (gp.factors && gp.factors.length > 0) {
762
+ for (const f of gp.factors) {
763
+ parts.push(`+ ${f.count ?? 1}\xD7 ${f.anyOf.join("|")}`);
764
+ }
765
+ }
766
+ if (gp.warn?.sharedDevice === "block") parts.push("block-on-shared-device");
767
+ return parts.join(" ");
768
+ }
769
+ function defaultPolicySnapshot() {
770
+ return {
771
+ secret: { minWords: 6, minWordLength: 3, rejectRepeatedAdjacent: true },
772
+ gates: {}
773
+ };
774
+ }
775
+ async function listRecoveryProfilesEnrolled(store, vault) {
776
+ const enrolled = [];
777
+ const paper = await loadPaperRecoveryEntries(store, vault);
778
+ if (paper.length > 0) enrolled.push(`paper (${paper.length} codes)`);
779
+ return enrolled;
780
+ }
781
+ function escapeMermaid(s) {
782
+ return s.replace(/"/g, '\\"').replace(/\n/g, " ");
783
+ }
784
+ function sanitizeId(s) {
785
+ return s.replace(/[^a-zA-Z0-9]/g, "_");
786
+ }
787
+
486
788
  // src/with-party/team/authenticators.ts
487
789
  async function enrollAuthenticator(store, vault, keyring, options) {
488
790
  const existing = keyring.authenticators.find((a) => a.id === options.id);
@@ -566,9 +868,20 @@ function appendSlot(keyring, slot) {
566
868
  }
567
869
 
568
870
  export {
871
+ NO_TEAM,
872
+ mintWrappedDeksBlob,
873
+ unwrapDeksFromBlob,
874
+ loadPaperRecoveryEntries,
875
+ savePaperRecoveryEntries,
876
+ burnPaperRecoveryEntry,
877
+ hasRecoveryEnrolled,
878
+ hasStrongRecoveryEnrolled,
879
+ loadShamirRecoveryEntries,
880
+ saveShamirRecoveryEntries,
881
+ mintShamirRecoveryEntry,
882
+ mintPaperRecoveryEntry,
883
+ unwrapDeksFromPaperEntry,
569
884
  MAGIC_LINK_GRANTS_COLLECTION,
570
- MAGIC_LINK_CONTENT_INFO_PREFIX,
571
- MAGIC_LINK_KEK_INFO_PREFIX,
572
885
  deriveMagicLinkContentKey,
573
886
  writeMagicLinkGrant,
574
887
  readMagicLinkGrantRecord,
@@ -577,13 +890,16 @@ export {
577
890
  revokeMagicLinkGrant,
578
891
  magicLinkGrantRecordId,
579
892
  isMagicLinkGrantExpired,
580
- NO_TEAM,
581
- rotatePassphrase,
582
- recoverPassphrase,
893
+ rotateSecret,
894
+ recoverSecret,
583
895
  recoverUser,
896
+ describeAuthConfig,
897
+ diagramAuthConfig,
898
+ describeUserAuth,
899
+ describeAllUsersAuth,
584
900
  enrollAuthenticator,
585
901
  updateAuthenticator,
586
902
  removeAuthenticator,
587
903
  findAuthenticator
588
904
  };
589
- //# sourceMappingURL=chunk-VKCADNMR.js.map
905
+ //# sourceMappingURL=chunk-NFNJLRY7.js.map