@minca/core 0.1.15 → 0.1.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.
Files changed (427) hide show
  1. package/README.md +2 -2
  2. package/dist/elements/auth-styles.d.ts +1 -1
  3. package/dist/elements/auth-styles.d.ts.map +1 -1
  4. package/dist/elements/auth-styles.js +21 -4
  5. package/dist/elements/auth-styles.js.map +1 -1
  6. package/dist/elements/minca-auth.d.ts.map +1 -1
  7. package/dist/elements/minca-auth.js +151 -57
  8. package/dist/elements/minca-auth.js.map +1 -1
  9. package/dist/identity/abilities.d.ts +2 -0
  10. package/dist/identity/abilities.d.ts.map +1 -1
  11. package/dist/identity/abilities.js +2 -0
  12. package/dist/identity/abilities.js.map +1 -1
  13. package/dist/identity/account-vault.d.ts +15 -71
  14. package/dist/identity/account-vault.d.ts.map +1 -1
  15. package/dist/identity/account-vault.js +45 -104
  16. package/dist/identity/account-vault.js.map +1 -1
  17. package/dist/identity/channel.d.ts +3 -9
  18. package/dist/identity/channel.d.ts.map +1 -1
  19. package/dist/identity/channel.js +42 -42
  20. package/dist/identity/channel.js.map +1 -1
  21. package/dist/identity/contact-key.d.ts +14 -29
  22. package/dist/identity/contact-key.d.ts.map +1 -1
  23. package/dist/identity/contact-key.js +31 -51
  24. package/dist/identity/contact-key.js.map +1 -1
  25. package/dist/identity/crypto-p256.d.ts.map +1 -1
  26. package/dist/identity/crypto-p256.js +39 -53
  27. package/dist/identity/crypto-p256.js.map +1 -1
  28. package/dist/identity/hpke.d.ts.map +1 -1
  29. package/dist/identity/hpke.js +19 -19
  30. package/dist/identity/hpke.js.map +1 -1
  31. package/dist/identity/identity-manager.d.ts.map +1 -1
  32. package/dist/identity/identity-manager.js +1 -2
  33. package/dist/identity/identity-manager.js.map +1 -1
  34. package/dist/identity/policy.d.ts.map +1 -1
  35. package/dist/identity/policy.js +35 -61
  36. package/dist/identity/policy.js.map +1 -1
  37. package/dist/identity/recovery-code.d.ts +2 -8
  38. package/dist/identity/recovery-code.d.ts.map +1 -1
  39. package/dist/identity/recovery-code.js +4 -11
  40. package/dist/identity/recovery-code.js.map +1 -1
  41. package/dist/identity/root-signer.d.ts +1 -6
  42. package/dist/identity/root-signer.d.ts.map +1 -1
  43. package/dist/identity/root-signer.js +12 -15
  44. package/dist/identity/root-signer.js.map +1 -1
  45. package/dist/identity/ucan.d.ts.map +1 -1
  46. package/dist/identity/ucan.js +48 -39
  47. package/dist/identity/ucan.js.map +1 -1
  48. package/dist/identity/webauthn.d.ts +6 -11
  49. package/dist/identity/webauthn.d.ts.map +1 -1
  50. package/dist/identity/webauthn.js +18 -30
  51. package/dist/identity/webauthn.js.map +1 -1
  52. package/dist/inbox/inbox.d.ts.map +1 -1
  53. package/dist/inbox/inbox.js +40 -30
  54. package/dist/inbox/inbox.js.map +1 -1
  55. package/dist/inbox/index.d.ts +2 -0
  56. package/dist/inbox/index.d.ts.map +1 -1
  57. package/dist/inbox/index.js +1 -0
  58. package/dist/inbox/index.js.map +1 -1
  59. package/dist/inbox/names.d.ts +54 -0
  60. package/dist/inbox/names.d.ts.map +1 -0
  61. package/dist/inbox/names.js +299 -0
  62. package/dist/inbox/names.js.map +1 -0
  63. package/dist/index.d.ts +3 -6
  64. package/dist/index.d.ts.map +1 -1
  65. package/dist/index.js +9 -12
  66. package/dist/index.js.map +1 -1
  67. package/dist/network/mesh.d.ts +7 -20
  68. package/dist/network/mesh.d.ts.map +1 -1
  69. package/dist/network/mesh.js +267 -245
  70. package/dist/network/mesh.js.map +1 -1
  71. package/dist/network/relay-link.d.ts +31 -0
  72. package/dist/network/relay-link.d.ts.map +1 -0
  73. package/dist/network/relay-link.js +62 -0
  74. package/dist/network/relay-link.js.map +1 -0
  75. package/dist/network/relay-minca.d.ts.map +1 -1
  76. package/dist/network/relay-minca.js +11 -49
  77. package/dist/network/relay-minca.js.map +1 -1
  78. package/dist/network/relay-nostr.d.ts.map +1 -1
  79. package/dist/network/relay-nostr.js +23 -63
  80. package/dist/network/relay-nostr.js.map +1 -1
  81. package/dist/network/relay-socket.d.ts +1 -1
  82. package/dist/network/relay-socket.d.ts.map +1 -1
  83. package/dist/network/relay-socket.js +3 -1
  84. package/dist/network/relay-socket.js.map +1 -1
  85. package/dist/node/actions.d.ts.map +1 -1
  86. package/dist/node/actions.js +50 -38
  87. package/dist/node/actions.js.map +1 -1
  88. package/dist/node/api.d.ts +6 -0
  89. package/dist/node/api.d.ts.map +1 -1
  90. package/dist/node/api.js +6 -0
  91. package/dist/node/api.js.map +1 -1
  92. package/dist/node/carrier.d.ts +5 -0
  93. package/dist/node/carrier.d.ts.map +1 -1
  94. package/dist/node/carrier.js +94 -73
  95. package/dist/node/carrier.js.map +1 -1
  96. package/dist/node/copy.d.ts +8 -7
  97. package/dist/node/copy.d.ts.map +1 -1
  98. package/dist/node/copy.js +54 -56
  99. package/dist/node/copy.js.map +1 -1
  100. package/dist/node/host.d.ts +39 -65
  101. package/dist/node/host.d.ts.map +1 -1
  102. package/dist/node/host.js +362 -379
  103. package/dist/node/host.js.map +1 -1
  104. package/dist/node/index.d.ts +2 -2
  105. package/dist/node/index.d.ts.map +1 -1
  106. package/dist/node/index.js +1 -1
  107. package/dist/node/index.js.map +1 -1
  108. package/dist/node/node-carriers.d.ts +35 -0
  109. package/dist/node/node-carriers.d.ts.map +1 -0
  110. package/dist/node/node-carriers.js +562 -0
  111. package/dist/node/node-carriers.js.map +1 -0
  112. package/dist/node/node-contacts.d.ts +11 -0
  113. package/dist/node/node-contacts.d.ts.map +1 -0
  114. package/dist/node/node-contacts.js +808 -0
  115. package/dist/node/node-contacts.js.map +1 -0
  116. package/dist/node/node-context.d.ts +76 -0
  117. package/dist/node/node-context.d.ts.map +1 -0
  118. package/dist/node/node-context.js +54 -0
  119. package/dist/node/node-context.js.map +1 -0
  120. package/dist/node/node-hosting.d.ts +20 -0
  121. package/dist/node/node-hosting.d.ts.map +1 -0
  122. package/dist/node/node-hosting.js +449 -0
  123. package/dist/node/node-hosting.js.map +1 -0
  124. package/dist/node/node-records.d.ts +18 -0
  125. package/dist/node/node-records.d.ts.map +1 -0
  126. package/dist/node/node-records.js +262 -0
  127. package/dist/node/node-records.js.map +1 -0
  128. package/dist/node/node.d.ts.map +1 -1
  129. package/dist/node/node.js +198 -1990
  130. package/dist/node/node.js.map +1 -1
  131. package/dist/node/remote.d.ts +5 -6
  132. package/dist/node/remote.d.ts.map +1 -1
  133. package/dist/node/remote.js +272 -260
  134. package/dist/node/remote.js.map +1 -1
  135. package/dist/node/space-catalog.d.ts +40 -0
  136. package/dist/node/space-catalog.d.ts.map +1 -0
  137. package/dist/node/space-catalog.js +158 -0
  138. package/dist/node/space-catalog.js.map +1 -0
  139. package/dist/node/space-checks.d.ts +25 -0
  140. package/dist/node/space-checks.d.ts.map +1 -0
  141. package/dist/node/space-checks.js +343 -0
  142. package/dist/node/space-checks.js.map +1 -0
  143. package/dist/node/space-history.d.ts +37 -0
  144. package/dist/node/space-history.d.ts.map +1 -0
  145. package/dist/node/space-history.js +350 -0
  146. package/dist/node/space-history.js.map +1 -0
  147. package/dist/node/space-holding.d.ts +49 -0
  148. package/dist/node/space-holding.d.ts.map +1 -0
  149. package/dist/node/space-holding.js +267 -0
  150. package/dist/node/space-holding.js.map +1 -0
  151. package/dist/node/space-index.d.ts +41 -0
  152. package/dist/node/space-index.d.ts.map +1 -0
  153. package/dist/node/space-index.js +217 -0
  154. package/dist/node/space-index.js.map +1 -0
  155. package/dist/node/space-keys.d.ts +34 -0
  156. package/dist/node/space-keys.d.ts.map +1 -0
  157. package/dist/node/space-keys.js +309 -0
  158. package/dist/node/space-keys.js.map +1 -0
  159. package/dist/node/space-lines.d.ts +33 -0
  160. package/dist/node/space-lines.d.ts.map +1 -0
  161. package/dist/node/space-lines.js +145 -0
  162. package/dist/node/space-lines.js.map +1 -0
  163. package/dist/node/space-membership.d.ts +69 -0
  164. package/dist/node/space-membership.d.ts.map +1 -0
  165. package/dist/node/space-membership.js +242 -0
  166. package/dist/node/space-membership.js.map +1 -0
  167. package/dist/node/space-mirrors.d.ts +43 -0
  168. package/dist/node/space-mirrors.d.ts.map +1 -0
  169. package/dist/node/space-mirrors.js +125 -0
  170. package/dist/node/space-mirrors.js.map +1 -0
  171. package/dist/node/space-peers.d.ts +104 -0
  172. package/dist/node/space-peers.d.ts.map +1 -0
  173. package/dist/node/space-peers.js +595 -0
  174. package/dist/node/space-peers.js.map +1 -0
  175. package/dist/node/space-profiles.d.ts +18 -0
  176. package/dist/node/space-profiles.d.ts.map +1 -0
  177. package/dist/node/space-profiles.js +105 -0
  178. package/dist/node/space-profiles.js.map +1 -0
  179. package/dist/node/space-rules.d.ts +29 -0
  180. package/dist/node/space-rules.d.ts.map +1 -0
  181. package/dist/node/space-rules.js +144 -0
  182. package/dist/node/space-rules.js.map +1 -0
  183. package/dist/node/space-runtime.d.ts +103 -142
  184. package/dist/node/space-runtime.d.ts.map +1 -1
  185. package/dist/node/space-runtime.js +290 -3963
  186. package/dist/node/space-runtime.js.map +1 -1
  187. package/dist/node/space-standing.d.ts +20 -0
  188. package/dist/node/space-standing.d.ts.map +1 -0
  189. package/dist/node/space-standing.js +317 -0
  190. package/dist/node/space-standing.js.map +1 -0
  191. package/dist/node/space-versions.d.ts +104 -0
  192. package/dist/node/space-versions.d.ts.map +1 -0
  193. package/dist/node/space-versions.js +153 -0
  194. package/dist/node/space-versions.js.map +1 -0
  195. package/dist/node/space-warrants.d.ts +25 -0
  196. package/dist/node/space-warrants.d.ts.map +1 -0
  197. package/dist/node/space-warrants.js +214 -0
  198. package/dist/node/space-warrants.js.map +1 -0
  199. package/dist/node/space-writing.d.ts +72 -0
  200. package/dist/node/space-writing.d.ts.map +1 -0
  201. package/dist/node/space-writing.js +440 -0
  202. package/dist/node/space-writing.js.map +1 -0
  203. package/dist/node/stores.d.ts +19 -50
  204. package/dist/node/stores.d.ts.map +1 -1
  205. package/dist/node/stores.js +14 -33
  206. package/dist/node/stores.js.map +1 -1
  207. package/dist/node/types.d.ts +225 -306
  208. package/dist/node/types.d.ts.map +1 -1
  209. package/dist/node/usage.d.ts +2 -24
  210. package/dist/node/usage.d.ts.map +1 -1
  211. package/dist/node/usage.js +118 -102
  212. package/dist/node/usage.js.map +1 -1
  213. package/dist/node/watch-notifications.d.ts.map +1 -1
  214. package/dist/node/watch-notifications.js +32 -29
  215. package/dist/node/watch-notifications.js.map +1 -1
  216. package/dist/node/worker.d.ts +5 -6
  217. package/dist/node/worker.d.ts.map +1 -1
  218. package/dist/node/worker.js +80 -72
  219. package/dist/node/worker.js.map +1 -1
  220. package/dist/node/writer-keys.d.ts +5 -6
  221. package/dist/node/writer-keys.d.ts.map +1 -1
  222. package/dist/node/writer-keys.js +66 -57
  223. package/dist/node/writer-keys.js.map +1 -1
  224. package/dist/node/writers.d.ts +12 -19
  225. package/dist/node/writers.d.ts.map +1 -1
  226. package/dist/node/writers.js +7 -15
  227. package/dist/node/writers.js.map +1 -1
  228. package/dist/privacy/direct.d.ts.map +1 -1
  229. package/dist/privacy/direct.js +31 -27
  230. package/dist/privacy/direct.js.map +1 -1
  231. package/dist/privacy/space-encryption.d.ts.map +1 -1
  232. package/dist/privacy/space-encryption.js +5 -9
  233. package/dist/privacy/space-encryption.js.map +1 -1
  234. package/dist/query/computed.d.ts.map +1 -1
  235. package/dist/query/computed.js +78 -77
  236. package/dist/query/computed.js.map +1 -1
  237. package/dist/query/engine.d.ts +3 -4
  238. package/dist/query/engine.d.ts.map +1 -1
  239. package/dist/query/engine.js +93 -86
  240. package/dist/query/engine.js.map +1 -1
  241. package/dist/query/filter.d.ts +8 -10
  242. package/dist/query/filter.d.ts.map +1 -1
  243. package/dist/query/filter.js +144 -161
  244. package/dist/query/filter.js.map +1 -1
  245. package/dist/records/cel-types.d.ts.map +1 -1
  246. package/dist/records/cel-types.js +13 -27
  247. package/dist/records/cel-types.js.map +1 -1
  248. package/dist/records/cel.d.ts.map +1 -1
  249. package/dist/records/cel.js +177 -242
  250. package/dist/records/cel.js.map +1 -1
  251. package/dist/records/rules.d.ts.map +1 -1
  252. package/dist/records/rules.js +46 -50
  253. package/dist/records/rules.js.map +1 -1
  254. package/dist/records/topics.d.ts.map +1 -1
  255. package/dist/records/topics.js +18 -22
  256. package/dist/records/topics.js.map +1 -1
  257. package/dist/schemas/automations.d.ts +8 -15
  258. package/dist/schemas/automations.d.ts.map +1 -1
  259. package/dist/schemas/automations.js +203 -165
  260. package/dist/schemas/automations.js.map +1 -1
  261. package/dist/schemas/blueprints.d.ts.map +1 -1
  262. package/dist/schemas/blueprints.js +14 -13
  263. package/dist/schemas/blueprints.js.map +1 -1
  264. package/dist/schemas/connectors.d.ts.map +1 -1
  265. package/dist/schemas/connectors.js +16 -11
  266. package/dist/schemas/connectors.js.map +1 -1
  267. package/dist/schemas/contacts.d.ts +57 -0
  268. package/dist/schemas/contacts.d.ts.map +1 -1
  269. package/dist/schemas/contacts.js +32 -0
  270. package/dist/schemas/contacts.js.map +1 -1
  271. package/dist/schemas/cron.d.ts.map +1 -1
  272. package/dist/schemas/cron.js +27 -28
  273. package/dist/schemas/cron.js.map +1 -1
  274. package/dist/schemas/defined.d.ts +6 -0
  275. package/dist/schemas/defined.d.ts.map +1 -0
  276. package/dist/schemas/defined.js +7 -0
  277. package/dist/schemas/defined.js.map +1 -0
  278. package/dist/schemas/guides.d.ts +3 -1
  279. package/dist/schemas/guides.d.ts.map +1 -1
  280. package/dist/schemas/guides.js +13 -12
  281. package/dist/schemas/guides.js.map +1 -1
  282. package/dist/schemas/index.d.ts +2 -2
  283. package/dist/schemas/index.d.ts.map +1 -1
  284. package/dist/schemas/index.js +18 -14
  285. package/dist/schemas/index.js.map +1 -1
  286. package/dist/session/account-hint.d.ts.map +1 -1
  287. package/dist/session/account-hint.js +8 -5
  288. package/dist/session/account-hint.js.map +1 -1
  289. package/dist/session/auth.d.ts +36 -2
  290. package/dist/session/auth.d.ts.map +1 -1
  291. package/dist/session/auth.js +95 -2
  292. package/dist/session/auth.js.map +1 -1
  293. package/dist/session/connect.d.ts +1 -0
  294. package/dist/session/connect.d.ts.map +1 -1
  295. package/dist/session/connect.js +3 -1
  296. package/dist/session/connect.js.map +1 -1
  297. package/dist/session/credentials.d.ts +8 -26
  298. package/dist/session/credentials.d.ts.map +1 -1
  299. package/dist/session/credentials.js +14 -32
  300. package/dist/session/credentials.js.map +1 -1
  301. package/dist/session/index.d.ts +1 -0
  302. package/dist/session/index.d.ts.map +1 -1
  303. package/dist/session/index.js +1 -0
  304. package/dist/session/index.js.map +1 -1
  305. package/dist/session/pairing.d.ts.map +1 -1
  306. package/dist/session/pairing.js +92 -88
  307. package/dist/session/pairing.js.map +1 -1
  308. package/dist/session/password-strength.d.ts.map +1 -1
  309. package/dist/session/password-strength.js +37 -37
  310. package/dist/session/password-strength.js.map +1 -1
  311. package/dist/session/places.d.ts.map +1 -1
  312. package/dist/session/places.js +18 -13
  313. package/dist/session/places.js.map +1 -1
  314. package/dist/session/popup.d.ts +13 -0
  315. package/dist/session/popup.d.ts.map +1 -0
  316. package/dist/session/popup.js +23 -0
  317. package/dist/session/popup.js.map +1 -0
  318. package/dist/space/constitution.d.ts.map +1 -1
  319. package/dist/space/constitution.js +22 -29
  320. package/dist/space/constitution.js.map +1 -1
  321. package/dist/space/grants.d.ts.map +1 -1
  322. package/dist/space/grants.js +37 -39
  323. package/dist/space/grants.js.map +1 -1
  324. package/dist/space/invite-link.d.ts.map +1 -1
  325. package/dist/space/invite-link.js +33 -33
  326. package/dist/space/invite-link.js.map +1 -1
  327. package/dist/space/own-automations.d.ts +13 -24
  328. package/dist/space/own-automations.d.ts.map +1 -1
  329. package/dist/space/own-automations.js +47 -37
  330. package/dist/space/own-automations.js.map +1 -1
  331. package/dist/space/roles.d.ts +56 -80
  332. package/dist/space/roles.d.ts.map +1 -1
  333. package/dist/space/roles.js +448 -441
  334. package/dist/space/roles.js.map +1 -1
  335. package/dist/space/space-access.d.ts +3 -4
  336. package/dist/space/space-access.d.ts.map +1 -1
  337. package/dist/space/space-access.js +3 -8
  338. package/dist/space/space-access.js.map +1 -1
  339. package/dist/storage/blob/directory.d.ts.map +1 -1
  340. package/dist/storage/blob/directory.js +39 -32
  341. package/dist/storage/blob/directory.js.map +1 -1
  342. package/dist/storage/blob/s3.d.ts.map +1 -1
  343. package/dist/storage/blob/s3.js +21 -19
  344. package/dist/storage/blob/s3.js.map +1 -1
  345. package/dist/storage/blob-store.d.ts +0 -9
  346. package/dist/storage/blob-store.d.ts.map +1 -1
  347. package/dist/storage/directory-access.d.ts +8 -32
  348. package/dist/storage/directory-access.d.ts.map +1 -1
  349. package/dist/storage/directory-access.js +11 -36
  350. package/dist/storage/directory-access.js.map +1 -1
  351. package/dist/storage/encrypted-adapter.d.ts +12 -32
  352. package/dist/storage/encrypted-adapter.d.ts.map +1 -1
  353. package/dist/storage/encrypted-adapter.js +31 -54
  354. package/dist/storage/encrypted-adapter.js.map +1 -1
  355. package/dist/storage/folder-adapter.d.ts +12 -26
  356. package/dist/storage/folder-adapter.d.ts.map +1 -1
  357. package/dist/storage/folder-adapter.js +37 -54
  358. package/dist/storage/folder-adapter.js.map +1 -1
  359. package/dist/storage/folder-reconcile.d.ts +12 -26
  360. package/dist/storage/folder-reconcile.d.ts.map +1 -1
  361. package/dist/storage/folder-reconcile.js +39 -48
  362. package/dist/storage/folder-reconcile.js.map +1 -1
  363. package/dist/storage/indexeddb-adapter.d.ts +2 -6
  364. package/dist/storage/indexeddb-adapter.d.ts.map +1 -1
  365. package/dist/storage/indexeddb-adapter.js +60 -114
  366. package/dist/storage/indexeddb-adapter.js.map +1 -1
  367. package/dist/storage/mirror.d.ts +0 -29
  368. package/dist/storage/mirror.d.ts.map +1 -1
  369. package/dist/storage/mirror.js +153 -110
  370. package/dist/storage/mirror.js.map +1 -1
  371. package/dist/storage/segment.d.ts.map +1 -1
  372. package/dist/storage/segment.js +3 -7
  373. package/dist/storage/segment.js.map +1 -1
  374. package/dist/storage/storage-provider.d.ts +6 -11
  375. package/dist/storage/storage-provider.d.ts.map +1 -1
  376. package/dist/storage/storage-provider.js +112 -116
  377. package/dist/storage/storage-provider.js.map +1 -1
  378. package/dist/sync/sync-engine.d.ts +10 -44
  379. package/dist/sync/sync-engine.d.ts.map +1 -1
  380. package/dist/sync/sync-engine.js +245 -247
  381. package/dist/sync/sync-engine.js.map +1 -1
  382. package/dist/sync/sync-messages.d.ts +1 -1
  383. package/dist/sync/sync-messages.d.ts.map +1 -1
  384. package/dist/sync/sync-messages.js +1 -1
  385. package/dist/sync/sync-messages.js.map +1 -1
  386. package/dist/utils/guards.d.ts +1 -0
  387. package/dist/utils/guards.d.ts.map +1 -1
  388. package/dist/utils/guards.js +1 -0
  389. package/dist/utils/guards.js.map +1 -1
  390. package/dist/utils/hmac.d.ts +5 -0
  391. package/dist/utils/hmac.d.ts.map +1 -0
  392. package/dist/utils/hmac.js +20 -0
  393. package/dist/utils/hmac.js.map +1 -0
  394. package/dist/utils/map.d.ts +10 -0
  395. package/dist/utils/map.d.ts.map +1 -0
  396. package/dist/utils/map.js +30 -0
  397. package/dist/utils/map.js.map +1 -0
  398. package/dist/utils/serial.d.ts +2 -0
  399. package/dist/utils/serial.d.ts.map +1 -1
  400. package/dist/utils/serial.js +9 -0
  401. package/dist/utils/serial.js.map +1 -1
  402. package/dist/validation/capability-gate.d.ts +7 -15
  403. package/dist/validation/capability-gate.d.ts.map +1 -1
  404. package/dist/validation/capability-gate.js +32 -36
  405. package/dist/validation/capability-gate.js.map +1 -1
  406. package/dist/validation/crypto-gate.d.ts.map +1 -1
  407. package/dist/validation/crypto-gate.js +12 -21
  408. package/dist/validation/crypto-gate.js.map +1 -1
  409. package/docs/README.md +1 -0
  410. package/docs/actions.md +1 -1
  411. package/docs/automations.md +1 -1
  412. package/docs/blueprints-and-guides.md +17 -1
  413. package/docs/building-an-app.md +7 -4
  414. package/docs/collections.md +3 -3
  415. package/docs/contacts.md +34 -1
  416. package/docs/contracts.md +1 -1
  417. package/docs/direct-messages.md +1 -1
  418. package/docs/inbox.md +5 -11
  419. package/docs/node.md +22 -14
  420. package/docs/records-and-queries.md +1 -1
  421. package/docs/sign-in.md +54 -26
  422. package/docs/spaces.md +6 -6
  423. package/docs/standard-library.md +7 -6
  424. package/docs/storage.md +4 -5
  425. package/docs/usernames.md +161 -0
  426. package/docs/warrants.md +1 -1
  427. package/package.json +1 -1
@@ -1,38 +1,28 @@
1
1
  /**
2
2
  * Who may do what in a space: its roles and their grants, the accounts
3
- * assigned to them, its invites, and the history of changes to them —
4
- * replayed the same way on every peer, by `strong-remove/1`.
3
+ * assigned to them, its invites, and the history of changes to them, replayed
4
+ * the same way on every peer by `strong-remove/1`.
5
5
  *
6
- * This module knows people and grants. It knows nothing about polls or
7
- * todos: it answers one question, *may this account invoke this command with
8
- * these arguments here, as of this point in the space's history?*
6
+ * It answers one question: *may this account invoke this command with these
7
+ * arguments here, as of this point in the space's history?*
9
8
  *
10
- * **Grants.** A role holds grants (`space/grants.ts`): delegations to the
11
- * role of a command path under a UCAN policy. The constitution's grants for
12
- * a role are its first definition; a later definition replaces them. A
13
- * definition holds only what its author could do as of the definition, and
14
- * definitions written apart hold only the grants they share.
9
+ * **Grants.** A role holds grants (`space/grants.ts`). The constitution's
10
+ * grants are a role's first definition; a later one replaces them. A
11
+ * definition holds only what its author could do, and rival definitions hold
12
+ * only what they share.
15
13
  *
16
- * **Accounts.** An account holds power only through the roles assigned to
17
- * it, and invokes nothing with none. Under `top: { founders }` the founders
18
- * hold every command, and no one but each founder itself can remove one,
19
- * change its roles or make it step down. Under `top: "none"` there are no
20
- * founders, and anyone may be removed by whoever holds the grant.
14
+ * **Accounts.** An account holds power only through its roles. Under
15
+ * `top: { founders }` the founders hold every command, and only each founder
16
+ * itself can remove one, change its roles or make it step down.
21
17
  *
22
- * **The access history.** Every change to a role, an assignment, a removal,
23
- * an invite, a revoked key or a collection definition is a record whose
24
- * `seen` names the latest changes its author knew of. That makes a small
25
- * graph, and no order over it decides anything (spec 03 §4):
18
+ * **The access history.** Every change names in `seen` the latest changes its
19
+ * author knew of. No order over that graph decides anything (spec 03 §4):
26
20
  *
27
- * 1. A change is allowed when its author had the power in its own view: the
28
- * changes it saw that are valid among what it saw.
29
- * 2. A removal or an unassignment strikes what its account did that it
30
- * hadn't seen, whatever that needed. A revoke, a fork proof or a closed
31
- * invite strikes what it reaches. Changes that strike each other all
32
- * stand.
21
+ * 1. A change is allowed when its author had the power in its own view.
22
+ * 2. A removal or unassignment strikes what its account did that it hadn't
23
+ * seen. A revoke, a fork proof or a closed invite strikes what it reaches.
24
+ * Changes that strike each other all stand.
33
25
  * 3. The state is a merge of the valid changes: on each record the latest.
34
- * Rival definitions of a role hold what they share, an unassignment beats
35
- * an assignment, and a closed invite an open one.
36
26
  */
37
27
  import { type FoundingRole } from './grants.js';
38
28
  import type { SpaceGrant as Grant } from '../types.js';
@@ -42,15 +32,15 @@ export declare const ASSIGN_COLLECTION = "sys.assign";
42
32
  export declare const REMOVE_COLLECTION = "sys.remove";
43
33
  export declare const INVITE_COLLECTION = "sys.invite";
44
34
  export declare const REVOKE_COLLECTION = "sys.revoke";
45
- /** Collection definitions are part of the access history too: what a version must keep to */
35
+ /** Collection definitions: what a version must keep to */
46
36
  export declare const DEFINITION_COLLECTION = "sys.collection";
47
- /** Which of a private space's keys is current; the key itself travels sealed to each member (`sys.box`) */
37
+ /** Which of a private space's keys is current; the key itself travels sealed (`sys.box`) */
48
38
  export declare const KEY_COLLECTION = "sys.key";
49
- /** The relays the space's members meet at, so people whose apps use different relays still find each other */
39
+ /** The relays the space's members meet at */
50
40
  export declare const RELAYS_COLLECTION = "sys.relays";
51
- /** Nodes that hold the whole space, and how many a write should reach before a partial node lets go of it */
41
+ /** Nodes that hold the whole space, and how many a write should reach */
52
42
  export declare const KEEPERS_COLLECTION = "sys.keepers";
53
- /** A fork proof: two versions one key signed at one place in its line (02 §4.10), checked by every peer */
43
+ /** A fork proof: two versions one key signed at one place in its line (02 §4.10) */
54
44
  export declare const FORK_COLLECTION = "sys.fork";
55
45
  /** A founder stepping down: it keeps its roles, and is a founder no more */
56
46
  export declare const STEPDOWN_COLLECTION = "sys.stepdown";
@@ -66,16 +56,16 @@ declare const accessKind: (collection: string, prefix: string, clear?: boolean)
66
56
  clear: boolean;
67
57
  }>;
68
58
  /**
69
- * Each kind of change: its collection, where its line is counted too; its record keys' prefix; and
70
- * whether a private space keeps it in the clear, so a peer without the key can still judge who may
71
- * do what. Collection definitions stay sealed: only readers need their rules.
59
+ * Each kind of change: its collection, its record keys' prefix, and whether a
60
+ * private space keeps it in the clear so a peer without the key can judge it.
61
+ * Collection definitions stay sealed: only readers need their rules.
72
62
  */
73
63
  export declare const ACCESS_KINDS: Readonly<Record<AccessEvent['kind'], ReturnType<typeof accessKind>>>;
74
64
  /** Every collection whose records are part of the access history */
75
65
  export declare const ACCESS_COLLECTIONS: ReadonlySet<string>;
76
66
  interface EventBase {
77
67
  readonly id: string;
78
- /** The record key it changes: `role:moderator`, `assign:…`, `remove:…`, `invite:…`, `collection:…` */
68
+ /** The record key it changes: `role:moderator`, `assign:…`, `collection:…` */
79
69
  readonly key: string;
80
70
  /** The account behind the key that signed it */
81
71
  readonly root: string;
@@ -83,9 +73,9 @@ interface EventBase {
83
73
  readonly author: string;
84
74
  /** The latest access changes its author knew of */
85
75
  readonly seen: ReadonlyArray<string>;
86
- /** Its place in its key's line for its collection here: what forks and cutoffs reach */
76
+ /** Its place in its key's line for its collection: what forks and cutoffs reach */
87
77
  readonly line?: number;
88
- /** What it leaves standing of what it takes: for each key and collection, the place covered up to */
78
+ /** What it leaves standing of what it takes */
89
79
  readonly cutoff: Cutoff;
90
80
  }
91
81
  /** A key whose line for a collection forked, and the place from which its versions there stop counting */
@@ -94,7 +84,7 @@ export interface ForkedLine {
94
84
  readonly collection: string;
95
85
  readonly from: number;
96
86
  }
97
- /** Key DID → collection → the place in that key's line for that collection, at and below which is covered */
87
+ /** Key DID → collection → the place in that line at and below which is covered */
98
88
  export type Cutoff = ReadonlyMap<string, ReadonlyMap<string, number>>;
99
89
  export type AccessEvent = EventBase & ({
100
90
  /** A role's definition: it replaces the definitions it saw */
@@ -104,16 +94,14 @@ export type AccessEvent = EventBase & ({
104
94
  readonly grants: ReadonlyArray<Grant>;
105
95
  readonly nests: ReadonlyArray<string>;
106
96
  } | {
107
- /** `/role/assign`, or with `assigned: false` `/role/unassign` (leaving, when it is the account's own) */
97
+ /** `/role/assign`, or with `assigned: false` `/role/unassign` */
108
98
  readonly kind: 'assign';
109
99
  readonly did: string;
110
100
  readonly role: string;
111
101
  readonly assigned: boolean;
112
102
  /** The invite's public key, when the runtime checked the invite's signature on this record */
113
103
  readonly viaInvite?: string;
114
- }
115
- /** `/member/remove`, or leaving when it is the account's own; a founder stepping down, only its own */
116
- | {
104
+ } | {
117
105
  readonly kind: 'remove' | 'stepdown';
118
106
  readonly did: string;
119
107
  } | {
@@ -125,7 +113,7 @@ export type AccessEvent = EventBase & ({
125
113
  readonly role: string;
126
114
  readonly open: boolean;
127
115
  }
128
- /** `target`: every version that key signed for this change's account, past the cutoff, stops counting */
116
+ /** `target`: every version that key signed for this account, past the cutoff, stops counting */
129
117
  | {
130
118
  readonly kind: 'revoke';
131
119
  readonly target: string;
@@ -134,20 +122,18 @@ export type AccessEvent = EventBase & ({
134
122
  readonly name: string;
135
123
  readonly deleted: boolean;
136
124
  }
137
- /** `keyId`: the hash of the new key, as encrypted bodies name it; `readKey`: what readers prove they hold */
125
+ /** `keyId`: the new key's hash; `readKey`: what readers prove they hold */
138
126
  | {
139
127
  readonly kind: 'key';
140
128
  readonly keyId: string;
141
129
  readonly readKey: string;
142
- }
143
- /** `writer`'s versions in `collection` from `from` on no longer count */
144
- | ({
130
+ } | ({
145
131
  readonly kind: 'fork';
146
132
  } & ForkedLine) | {
147
133
  readonly kind: 'relays';
148
134
  readonly relays: ReadonlyArray<string>;
149
135
  }
150
- /** `copies`: how many keepers a write should reach before a partial node lets go of it; null for the default */
136
+ /** `copies`: how many keepers a write should reach; null for the default */
151
137
  | {
152
138
  readonly kind: 'keepers';
153
139
  readonly keepers: ReadonlyArray<Keeper>;
@@ -177,18 +163,18 @@ export interface SpaceKeyEpoch {
177
163
  export interface RoleDefinition {
178
164
  /** The definition's id; the space id for the constitution's */
179
165
  readonly event: string;
180
- /** Its author's account; null for the constitution's, which the space itself issues */
166
+ /** Its author's account; null for the constitution's */
181
167
  readonly by: string | null;
182
168
  readonly title?: string;
183
169
  readonly grants: ReadonlyArray<Grant>;
184
170
  /** Roles whose grants members of this one hold too */
185
171
  readonly nests: ReadonlyArray<string>;
186
- /** Its own view: where its author's power is judged. Null for the constitution's */
172
+ /** Where its author's power is judged. Null for the constitution's */
187
173
  readonly view: AccessState | null;
188
174
  }
189
175
  /** Who holds what, at one point in the history */
190
176
  export interface AccessState {
191
- /** The founders: they hold every command, and only each founder itself takes its place or its roles */
177
+ /** They hold every command, and only each founder itself takes its place or its roles */
192
178
  readonly founders: ReadonlySet<string>;
193
179
  /** Role name → its current definitions: one, or rivals, which hold only the grants they share */
194
180
  readonly roles: ReadonlyMap<string, ReadonlyArray<RoleDefinition>>;
@@ -199,7 +185,7 @@ export interface AccessState {
199
185
  readonly role: string;
200
186
  readonly open: boolean;
201
187
  readonly event: string;
202
- /** The accounts whose latest changes opened it, sorted: one, or rivals for the same role */
188
+ /** The accounts whose latest changes opened it, sorted */
203
189
  readonly by: ReadonlyArray<string>;
204
190
  }>;
205
191
  /** Collection name → the definition in force, and who first defined it (null for rivals' different accounts) */
@@ -207,41 +193,32 @@ export interface AccessState {
207
193
  readonly event: string;
208
194
  readonly definedBy: string | null;
209
195
  }>;
210
- /**
211
- * Collections whose rival first definitions by different accounts no later one settles → the
212
- * latest ids, lowest first. Which is in force is not the replay's to say (02 §6.3).
213
- */
196
+ /** Collections whose rival first definitions no later one settles → their ids, lowest first (02 §6.3) */
214
197
  readonly contested: ReadonlyMap<string, ReadonlyArray<string>>;
215
198
  /** A private space's keys, oldest first; the last is current. Empty in a public space. */
216
199
  readonly keys: ReadonlyArray<SpaceKeyEpoch>;
217
200
  /** Whether someone lost their place since the current key, so a new one is due: the current state's only */
218
201
  readonly keyDue: boolean;
219
- /** The relays the space names — empty until someone names some */
220
202
  readonly relays: ReadonlyArray<string>;
221
- /** The nodes that keep the space whole — empty until someone names some */
222
203
  readonly keepers: ReadonlyArray<Keeper>;
223
204
  /** How many keepers a write should reach; null for whatever each node defaults to */
224
205
  readonly copies: number | null;
225
- /**
226
- * Spaces named as this one's successors → the accounts that named each,
227
- * sorted. Every one stands, and none is first: which to follow is each
228
- * member's choice.
229
- */
206
+ /** Spaces named as successors → the accounts that named each, sorted. Every one stands. */
230
207
  readonly successors: ReadonlyMap<string, ReadonlyArray<string>>;
231
208
  }
232
209
  /** What a space starts with, from its constitution (`space/constitution.ts`) */
233
210
  export interface AccessGenesis {
234
- /** The space id — also the id every change implicitly comes after */
211
+ /** The space id: also the id every change implicitly comes after */
235
212
  readonly id: string;
236
- /** How changes made apart resolve. Only `strong-remove/1` is known; the replay refuses any other */
213
+ /** How changes made apart resolve. Only `strong-remove/1` is known */
237
214
  readonly resolver: string;
238
- /** The founders, who hold every command: none under `top: "none"` */
215
+ /** The founders: none under `top: "none"` */
239
216
  readonly founders: ReadonlyArray<string>;
240
- /** The founding roles: the constitution's grants for each are its first definition */
217
+ /** The constitution's grants for each are its first definition */
241
218
  readonly roles: ReadonlyArray<FoundingRole>;
242
219
  /** The roles the constitution assigns: account → role names */
243
220
  readonly assigned?: Readonly<Record<string, ReadonlyArray<string>>>;
244
- /** A private space's first key, from its constitution */
221
+ /** A private space's first key */
245
222
  readonly key?: {
246
223
  readonly keyId: string;
247
224
  readonly readKey: string;
@@ -272,13 +249,13 @@ export interface AccessHistory {
272
249
  readonly current: AccessState;
273
250
  /** What became of one change */
274
251
  status(id: string): EventStatus | null;
275
- /** The latest applied changes to who holds what, which a new record's `seen` names: no revokes or fork proofs */
252
+ /** The latest applied changes, which a new record's `seen` names: no revokes or fork proofs */
276
253
  heads(): ReadonlyArray<string>;
277
254
  /** At most `max` heads: first ones that saw the latest change to each of `keys`, then the most recent */
278
255
  headsFor(keys: ReadonlyArray<string>, max: number): ReadonlyArray<string>;
279
256
  /**
280
257
  * The state as of what `seen` names and saw, counting the changes valid in the whole history, or
281
- * with `within` valid among what both name (a version another cites). Null until all of it is here.
258
+ * with `within` valid among what both name. Null until all of it is here.
282
259
  */
283
260
  at(seen: ReadonlyArray<string>, within?: ReadonlyArray<string>): AccessState | null;
284
261
  /** The state as its writer saw it: what `seen` names and saw, judged among themselves alone */
@@ -299,14 +276,14 @@ export interface AccessHistory {
299
276
  }, needs: Needs, within?: ReadonlyArray<string>): RecordVerdict;
300
277
  /** The applied changes by an account that revoked one of its keys */
301
278
  revoked(key: string, root: string): ReadonlyArray<string>;
302
- /** Where a key's line for a collection forked, as the lowest place any applied change proves, if it did */
279
+ /** Where a key's line for a collection forked, as the lowest place any applied change proves */
303
280
  forked(writer: string, collection: string): {
304
281
  readonly event: string;
305
282
  readonly from: number;
306
283
  } | null;
307
284
  /** Every key whose line for a collection forked, and from where */
308
285
  forks(): ReadonlyArray<ForkedLine>;
309
- /** Whether any founder, constitution or assignment names an account: it only grows, so it can decide what to store */
286
+ /** Whether any founder, constitution or assignment names an account: it only grows */
310
287
  named(did: string): boolean;
311
288
  /** Whether any change held opens an invite with this key */
312
289
  knownInvite(inviteKey: string): boolean;
@@ -317,7 +294,7 @@ export interface AccessHistory {
317
294
  export declare function rolesOf(state: AccessState, did: string): ReadonlyArray<string>;
318
295
  /** Whether an account is a member in a state: a founder, or assigned a role */
319
296
  export declare function isMember(state: AccessState, did: string): boolean;
320
- /** Every member — who can read, as far as the history is concerned */
297
+ /** Every member: who can read, as far as the history is concerned */
321
298
  export declare function readers(state: AccessState): Set<string>;
322
299
  /**
323
300
  * Whether nobody can run the space any more: no founder is left, and no
@@ -333,15 +310,14 @@ export interface MayOptions {
333
310
  /**
334
311
  * Whether an account may invoke a command with these arguments in a state:
335
312
  * a founder may invoke anything; anyone else, what a role assigned to it
336
- * holds. A role holds what its current definitions all hold, each only as far
337
- * as its author could invoke it, as of that definition (UCAN's attenuation),
338
- * and what the roles it nests hold.
313
+ * holds, each definition only as far as its author could invoke it (UCAN's
314
+ * attenuation), with what the roles it nests hold.
339
315
  */
340
316
  export declare function may(state: AccessState, did: string, cmd: string, args: unknown, options?: MayOptions): boolean;
341
317
  /**
342
- * Whether an account holds every grant a role gives, each as wide or wider (its command covering,
343
- * its policy's statements among the other's): what it may hand a bot of its own. Only the policies'
344
- * words are compared, so it may say no where they would allow; never yes where they wouldn't.
318
+ * Whether an account holds every grant a role gives, each as wide or wider:
319
+ * what it may hand a bot of its own. Only the policies' words are compared, so
320
+ * it may say no where they would allow, never yes where they wouldn't.
345
321
  */
346
322
  export declare function holdsRole(state: AccessState, did: string, role: string): boolean;
347
323
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"roles.d.ts","sourceRoot":"","sources":["../../src/space/roles.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AAKH,OAAO,EAYL,KAAK,YAAY,EAClB,MAAM,aAAa,CAAC;AACrB,OAAO,KAAK,EAAE,UAAU,IAAI,KAAK,EAAE,MAAM,aAAa,CAAC;AAEvD,eAAO,MAAM,eAAe,aAAa,CAAC;AAC1C,yDAAyD;AACzD,eAAO,MAAM,iBAAiB,eAAe,CAAC;AAC9C,eAAO,MAAM,iBAAiB,eAAe,CAAC;AAC9C,eAAO,MAAM,iBAAiB,eAAe,CAAC;AAC9C,eAAO,MAAM,iBAAiB,eAAe,CAAC;AAC9C,6FAA6F;AAC7F,eAAO,MAAM,qBAAqB,mBAAmB,CAAC;AACtD,2GAA2G;AAC3G,eAAO,MAAM,cAAc,YAAY,CAAC;AACxC,8GAA8G;AAC9G,eAAO,MAAM,iBAAiB,eAAe,CAAC;AAC9C,6GAA6G;AAC7G,eAAO,MAAM,kBAAkB,gBAAgB,CAAC;AAChD,2GAA2G;AAC3G,eAAO,MAAM,eAAe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