@interop/wallet-core 0.51.0 → 0.52.1

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 (239) hide show
  1. package/README.md +7 -11
  2. package/dist/clientAnnex/credentialAnchoredGenesis.d.ts +2 -2
  3. package/dist/clientAnnex/credentialAnchoredGenesis.d.ts.map +1 -1
  4. package/dist/clientAnnex/credentialAnchoredGenesis.js +1 -1
  5. package/dist/clientAnnex/forget.d.ts +18 -6
  6. package/dist/clientAnnex/forget.d.ts.map +1 -1
  7. package/dist/clientAnnex/forget.js +19 -6
  8. package/dist/clientAnnex/forget.js.map +1 -1
  9. package/dist/clientAnnex/forgetLast.d.ts +33 -20
  10. package/dist/clientAnnex/forgetLast.d.ts.map +1 -1
  11. package/dist/clientAnnex/forgetLast.js +43 -17
  12. package/dist/clientAnnex/forgetLast.js.map +1 -1
  13. package/dist/clientAnnex/gc.d.ts +3 -3
  14. package/dist/clientAnnex/gc.d.ts.map +1 -1
  15. package/dist/clientAnnex/gc.js +2 -2
  16. package/dist/clientAnnex/gc.js.map +1 -1
  17. package/dist/clientAnnex/index.d.ts +5 -5
  18. package/dist/clientAnnex/index.d.ts.map +1 -1
  19. package/dist/clientAnnex/index.js +4 -4
  20. package/dist/clientAnnex/index.js.map +1 -1
  21. package/dist/clientAnnex/ladder.d.ts +19 -11
  22. package/dist/clientAnnex/ladder.d.ts.map +1 -1
  23. package/dist/clientAnnex/ladder.js +77 -14
  24. package/dist/clientAnnex/ladder.js.map +1 -1
  25. package/dist/clientAnnex/ladderAnchored.d.ts +36 -7
  26. package/dist/clientAnnex/ladderAnchored.d.ts.map +1 -1
  27. package/dist/clientAnnex/ladderAnchored.js +80 -18
  28. package/dist/clientAnnex/ladderAnchored.js.map +1 -1
  29. package/dist/clientAnnex/log.d.ts +6 -6
  30. package/dist/clientAnnex/log.d.ts.map +1 -1
  31. package/dist/clientAnnex/log.js +8 -8
  32. package/dist/clientAnnex/log.js.map +1 -1
  33. package/dist/clientAnnex/recoveryLadderAnchored.d.ts +7 -7
  34. package/dist/clientAnnex/recoveryLadderAnchored.js +9 -9
  35. package/dist/clientAnnex/recoveryLadderAnchored.js.map +1 -1
  36. package/dist/clientAnnex/selfEnroll.d.ts +6 -4
  37. package/dist/clientAnnex/selfEnroll.d.ts.map +1 -1
  38. package/dist/clientAnnex/selfEnroll.js +19 -7
  39. package/dist/clientAnnex/selfEnroll.js.map +1 -1
  40. package/dist/clients/listing.d.ts +1 -1
  41. package/dist/clients/listing.d.ts.map +1 -1
  42. package/dist/clients/listing.js +1 -1
  43. package/dist/clients/listing.js.map +1 -1
  44. package/dist/clients/revocation.d.ts +1 -1
  45. package/dist/clients/rosterPolicy.d.ts +1 -1
  46. package/dist/clients/rosterPolicy.d.ts.map +1 -1
  47. package/dist/descriptors/acquire.js +1 -1
  48. package/dist/descriptors/logSource.d.ts +1 -2
  49. package/dist/descriptors/logSource.d.ts.map +1 -1
  50. package/dist/descriptors/logSource.js +2 -2
  51. package/dist/descriptors/logSource.js.map +1 -1
  52. package/dist/enrollment/enrollment.d.ts +1 -1
  53. package/dist/enrollment/enrollment.d.ts.map +1 -1
  54. package/dist/enrollment/enrollment.js +2 -1
  55. package/dist/enrollment/enrollment.js.map +1 -1
  56. package/dist/genesis/accountGenesis.d.ts +1 -1
  57. package/dist/genesis/accountGenesis.d.ts.map +1 -1
  58. package/dist/genesis/accountGenesis.js +1 -1
  59. package/dist/index.d.ts +1 -3
  60. package/dist/index.d.ts.map +1 -1
  61. package/dist/index.js +1 -3
  62. package/dist/index.js.map +1 -1
  63. package/dist/keyring/kdf.d.ts +6 -20
  64. package/dist/keyring/kdf.d.ts.map +1 -1
  65. package/dist/keyring/kdf.js +8 -5
  66. package/dist/keyring/kdf.js.map +1 -1
  67. package/dist/keyring/unlockSpace.js +1 -1
  68. package/dist/keys/rosterLogStore.d.ts +16 -14
  69. package/dist/keys/rosterLogStore.d.ts.map +1 -1
  70. package/dist/keys/rosterLogStore.js +149 -32
  71. package/dist/keys/rosterLogStore.js.map +1 -1
  72. package/dist/keys/rosterStore.d.ts +8 -7
  73. package/dist/keys/rosterStore.d.ts.map +1 -1
  74. package/dist/keys/rosterStore.js +6 -6
  75. package/dist/keys/rosterStore.js.map +1 -1
  76. package/dist/keys/spaceEpochs.d.ts +1 -1
  77. package/dist/keys/spaceEpochs.js +1 -1
  78. package/dist/keys/userKeyRoster.d.ts +3 -3
  79. package/dist/keys/userKeyRoster.d.ts.map +1 -1
  80. package/dist/keys/userKeyRoster.js +3 -3
  81. package/dist/keys/userKeyRoster.js.map +1 -1
  82. package/dist/recovery/index.d.ts +2 -2
  83. package/dist/recovery/index.js +2 -2
  84. package/dist/recovery/recoveryDelegation.js +1 -1
  85. package/dist/recovery/recoveryDelegation.js.map +1 -1
  86. package/dist/recovery/recoveryWebvh.d.ts +4 -4
  87. package/dist/recovery/recoveryWebvh.js +5 -5
  88. package/dist/request/appKey.d.ts +9 -3
  89. package/dist/request/appKey.d.ts.map +1 -1
  90. package/dist/request/appKey.js +13 -8
  91. package/dist/request/appKey.js.map +1 -1
  92. package/dist/request/classify.d.ts.map +1 -1
  93. package/dist/request/classify.js +13 -1
  94. package/dist/request/classify.js.map +1 -1
  95. package/dist/request/ephemeralExchange.d.ts +6 -1
  96. package/dist/request/ephemeralExchange.d.ts.map +1 -1
  97. package/dist/request/ephemeralExchange.js +6 -1
  98. package/dist/request/ephemeralExchange.js.map +1 -1
  99. package/dist/request/exchangeClient.d.ts +0 -23
  100. package/dist/request/exchangeClient.d.ts.map +1 -1
  101. package/dist/request/exchangeClient.js +30 -1
  102. package/dist/request/exchangeClient.js.map +1 -1
  103. package/dist/request/index.d.ts +4 -1
  104. package/dist/request/index.d.ts.map +1 -1
  105. package/dist/request/index.js +4 -1
  106. package/dist/request/index.js.map +1 -1
  107. package/dist/request/interactionRequest.d.ts +23 -0
  108. package/dist/request/interactionRequest.d.ts.map +1 -0
  109. package/dist/request/interactionRequest.js +46 -0
  110. package/dist/request/interactionRequest.js.map +1 -0
  111. package/dist/request/interactionUrl.d.ts +3 -14
  112. package/dist/request/interactionUrl.d.ts.map +1 -1
  113. package/dist/request/interactionUrl.js +20 -1
  114. package/dist/request/interactionUrl.js.map +1 -1
  115. package/dist/resourceLog/controller.d.ts +48 -49
  116. package/dist/resourceLog/controller.d.ts.map +1 -1
  117. package/dist/resourceLog/controller.js +40 -20
  118. package/dist/resourceLog/controller.js.map +1 -1
  119. package/dist/resourceLog/errors.d.ts +12 -78
  120. package/dist/resourceLog/errors.d.ts.map +1 -1
  121. package/dist/resourceLog/errors.js +12 -79
  122. package/dist/resourceLog/errors.js.map +1 -1
  123. package/dist/resourceLog/index.d.ts +17 -22
  124. package/dist/resourceLog/index.d.ts.map +1 -1
  125. package/dist/resourceLog/index.js +16 -21
  126. package/dist/resourceLog/index.js.map +1 -1
  127. package/dist/resourceLog/license.d.ts +27 -26
  128. package/dist/resourceLog/license.d.ts.map +1 -1
  129. package/dist/resourceLog/license.js +31 -30
  130. package/dist/resourceLog/license.js.map +1 -1
  131. package/dist/unlock/index.d.ts +6 -6
  132. package/dist/unlock/index.d.ts.map +1 -1
  133. package/dist/unlock/index.js +5 -5
  134. package/dist/unlock/retire.d.ts +29 -28
  135. package/dist/unlock/retire.d.ts.map +1 -1
  136. package/dist/unlock/retire.js +25 -16
  137. package/dist/unlock/retire.js.map +1 -1
  138. package/dist/unlock/standingClient.d.ts +1 -1
  139. package/dist/unlock/standingClient.js +3 -3
  140. package/dist/unlock/standingWebvh.d.ts +28 -10
  141. package/dist/unlock/standingWebvh.d.ts.map +1 -1
  142. package/dist/unlock/standingWebvh.js +75 -37
  143. package/dist/unlock/standingWebvh.js.map +1 -1
  144. package/dist/unlock/unlockRecord.js +1 -1
  145. package/dist/webvh/delegatedLogStore.d.ts +2 -2
  146. package/dist/webvh/delegatedLogStore.js +2 -2
  147. package/dist/webvh/didWeb.js +1 -1
  148. package/dist/webvh/didWeb.js.map +1 -1
  149. package/dist/webvh/didWebvh.d.ts +3 -3
  150. package/dist/webvh/didWebvh.d.ts.map +1 -1
  151. package/dist/webvh/didWebvh.js +5 -5
  152. package/dist/webvh/didWebvh.js.map +1 -1
  153. package/dist/webvh/listClients.js +1 -1
  154. package/dist/webvh/listClients.js.map +1 -1
  155. package/dist/webvh/verifyLog.d.ts +1 -1
  156. package/dist/webvh/verifyLog.d.ts.map +1 -1
  157. package/dist/webvh/verifyLog.js +1 -2
  158. package/dist/webvh/verifyLog.js.map +1 -1
  159. package/package.json +5 -9
  160. package/dist/display/alignment.d.ts +0 -55
  161. package/dist/display/alignment.d.ts.map +0 -1
  162. package/dist/display/alignment.js +0 -117
  163. package/dist/display/alignment.js.map +0 -1
  164. package/dist/display/credentialName.d.ts +0 -42
  165. package/dist/display/credentialName.d.ts.map +0 -1
  166. package/dist/display/credentialName.js +0 -106
  167. package/dist/display/credentialName.js.map +0 -1
  168. package/dist/display/displayFields.d.ts +0 -59
  169. package/dist/display/displayFields.d.ts.map +0 -1
  170. package/dist/display/displayFields.js +0 -136
  171. package/dist/display/displayFields.js.map +0 -1
  172. package/dist/display/evidence.d.ts +0 -50
  173. package/dist/display/evidence.d.ts.map +0 -1
  174. package/dist/display/evidence.js +0 -67
  175. package/dist/display/evidence.js.map +0 -1
  176. package/dist/display/image.d.ts +0 -18
  177. package/dist/display/image.d.ts.map +0 -1
  178. package/dist/display/image.js +0 -23
  179. package/dist/display/image.js.map +0 -1
  180. package/dist/display/index.d.ts +0 -38
  181. package/dist/display/index.d.ts.map +0 -1
  182. package/dist/display/index.js +0 -32
  183. package/dist/display/index.js.map +0 -1
  184. package/dist/display/issuer.d.ts +0 -105
  185. package/dist/display/issuer.d.ts.map +0 -1
  186. package/dist/display/issuer.js +0 -126
  187. package/dist/display/issuer.js.map +0 -1
  188. package/dist/display/obv3.d.ts +0 -82
  189. package/dist/display/obv3.d.ts.map +0 -1
  190. package/dist/display/obv3.js +0 -117
  191. package/dist/display/obv3.js.map +0 -1
  192. package/dist/display/parse.d.ts +0 -66
  193. package/dist/display/parse.d.ts.map +0 -1
  194. package/dist/display/parse.js +0 -104
  195. package/dist/display/parse.js.map +0 -1
  196. package/dist/display/subject.d.ts +0 -79
  197. package/dist/display/subject.d.ts.map +0 -1
  198. package/dist/display/subject.js +0 -124
  199. package/dist/display/subject.js.map +0 -1
  200. package/dist/display/text.d.ts +0 -53
  201. package/dist/display/text.d.ts.map +0 -1
  202. package/dist/display/text.js +0 -78
  203. package/dist/display/text.js.map +0 -1
  204. package/dist/display/types.d.ts +0 -55
  205. package/dist/display/types.d.ts.map +0 -1
  206. package/dist/display/types.js +0 -41
  207. package/dist/display/types.js.map +0 -1
  208. package/dist/display/validity.d.ts +0 -51
  209. package/dist/display/validity.d.ts.map +0 -1
  210. package/dist/display/validity.js +0 -51
  211. package/dist/display/validity.js.map +0 -1
  212. package/dist/display/verificationView.d.ts +0 -115
  213. package/dist/display/verificationView.d.ts.map +0 -1
  214. package/dist/display/verificationView.js +0 -199
  215. package/dist/display/verificationView.js.map +0 -1
  216. package/dist/resourceLog/append.d.ts +0 -112
  217. package/dist/resourceLog/append.d.ts.map +0 -1
  218. package/dist/resourceLog/append.js +0 -197
  219. package/dist/resourceLog/append.js.map +0 -1
  220. package/dist/resourceLog/entry.d.ts +0 -68
  221. package/dist/resourceLog/entry.d.ts.map +0 -1
  222. package/dist/resourceLog/entry.js +0 -167
  223. package/dist/resourceLog/entry.js.map +0 -1
  224. package/dist/resourceLog/pin.d.ts +0 -82
  225. package/dist/resourceLog/pin.d.ts.map +0 -1
  226. package/dist/resourceLog/pin.js +0 -57
  227. package/dist/resourceLog/pin.js.map +0 -1
  228. package/dist/resourceLog/seal.d.ts +0 -97
  229. package/dist/resourceLog/seal.d.ts.map +0 -1
  230. package/dist/resourceLog/seal.js +0 -113
  231. package/dist/resourceLog/seal.js.map +0 -1
  232. package/dist/resourceLog/verify.d.ts +0 -96
  233. package/dist/resourceLog/verify.d.ts.map +0 -1
  234. package/dist/resourceLog/verify.js +0 -474
  235. package/dist/resourceLog/verify.js.map +0 -1
  236. package/dist/resourceLog/vmFragment.d.ts +0 -33
  237. package/dist/resourceLog/vmFragment.d.ts.map +0 -1
  238. package/dist/resourceLog/vmFragment.js +0 -39
  239. package/dist/resourceLog/vmFragment.js.map +0 -1
@@ -2,77 +2,24 @@
2
2
  * Copyright (c) 2026 Interop Alliance. All rights reserved.
3
3
  */
4
4
  /**
5
- * The resource-log refusal taxonomy, carried over from the roster's WC-1
6
- * detached-signature design onto the log design. Two adversarial classes plus
7
- * two admission refusals:
8
- *
9
- * - {@link ResourceLogIntegrityError} -- fabrication: the served log fails
10
- * verification on its own terms (parse shape, SCID, chain hashes, proofs,
11
- * or the external-authorization rule). Whoever produced it could not make a
12
- * log the account's clients would have made.
13
- * - {@link ResourceLogContinuityError} -- a served log that verifies but
14
- * conflicts with what this client has already accepted: a rollback behind
15
- * the chain-head pin, a fork off the pinned history, or an SCID/method
16
- * switch outside a verified handover. The log may be internally consistent;
17
- * it is not the continuation of the history this client pinned.
18
- * - {@link ResourceLogClosedError} -- an append refused because the verified
19
- * head is a terminal handover entry. Not an attack: the log's own authors
20
- * closed it, and a verifier of this profile must refuse to extend a closed
21
- * log even though nothing currently emits terminal entries.
22
- * - {@link ResourceLogLicenseError} -- a ladder-signed append outside the
23
- * ceremony-tail license. An admission refusal, not log corruption: the
24
- * append (attempted, or already served) is not licensed, and the same
25
- * append can become licensed after a posture-changing controller-document
26
- * entry -- callers must not treat it with the reject-the-whole-log
27
- * severity of the integrity class.
5
+ * The one refusal class the resource-log layer still owns after the generic
6
+ * client side moved to `@interop/vh-resource-log`: the ceremony-tail license
7
+ * refusal. The generic taxonomy (`ResourceLogIntegrityError`,
8
+ * `ResourceLogContinuityError`, `ResourceLogClosedError`,
9
+ * `LogNotConfirmedError`, and the store port's `ResourceLogConflictError`)
10
+ * is the library's; wallet-core re-exports none of it -- one owner per name.
11
+ * Like every class in that taxonomy, this one assigns its `name` string
12
+ * explicitly and is matched by `err.name` across package boundaries (the
13
+ * WC-64 rule; minified class names do not survive bundling).
28
14
  */
29
- /**
30
- * A served log failed verification: malformed entries, a non-verifying SCID,
31
- * a broken hash chain, a failing proof, or a signer the controller document
32
- * does not back at the entry's anchored version. Fabrication-class: refused
33
- * as something no enrolled client produced.
34
- */
35
- export class ResourceLogIntegrityError extends Error {
36
- constructor(message, options) {
37
- super(message, options);
38
- this.name = 'ResourceLogIntegrityError';
39
- }
40
- }
41
- /**
42
- * A served log conflicts with this client's chain-head pin: `rollback` (the
43
- * served head is behind the pinned head -- possibly replication lag; the pin
44
- * is never regressed and the caller may retry), `fork` (the served log
45
- * diverges from the pinned history -- both logs are transferable evidence of
46
- * equivocation, so the served entries ride along), `scid-switch` /
47
- * `method-switch` (a different log identity or format under the pinned
48
- * location, outside a verified handover).
49
- */
50
- export class ResourceLogContinuityError extends Error {
51
- reason;
52
- pinnedHead;
53
- /**
54
- * On a `fork`, the full served log retained as evidence: every entry is
55
- * signed, so a conflicting pair of logs under one SCID is transferable,
56
- * independently verifiable proof of equivocation.
57
- */
58
- servedEntries;
59
- constructor({ reason, pinnedHead, servedEntries }) {
60
- super(`The served resource log is not a continuation of the pinned history ` +
61
- `(${reason}; pinned head ${pinnedHead}).`);
62
- this.name = 'ResourceLogContinuityError';
63
- this.reason = reason;
64
- this.pinnedHead = pinnedHead;
65
- this.servedEntries = servedEntries;
66
- }
67
- }
68
15
  /**
69
16
  * A ladder-signed append outside the ceremony-tail license: it is not the
70
- * log's first entry, and it does not anchor at a posture-changing controller
71
- * document version no verified entry already anchors at or past. Above all
17
+ * log's first entry, and it does not carry an inventory-changing controller
18
+ * document version no verified entry already carries at or past. Above all
72
19
  * this refuses the silent-rekey shape -- a ladder-signed rotation against an
73
20
  * unchanged document. Write-time admission class: the log is not corrupt and
74
21
  * whoever signed the append genuinely holds the credential; the append is
75
- * merely unlicensed, and a retry after a posture-changing document entry may
22
+ * merely unlicensed, and a retry after a inventory-changing document entry may
76
23
  * succeed.
77
24
  */
78
25
  export class ResourceLogLicenseError extends Error {
@@ -81,18 +28,4 @@ export class ResourceLogLicenseError extends Error {
81
28
  this.name = 'ResourceLogLicenseError';
82
29
  }
83
30
  }
84
- /**
85
- * An append was refused because the log's verified head is a terminal
86
- * handover entry: the log is closed and names a successor, and this profile
87
- * forbids extending a history its authors have closed.
88
- */
89
- export class ResourceLogClosedError extends Error {
90
- nextLog;
91
- constructor({ nextLog }) {
92
- super('The resource log is closed by a terminal handover entry; appends must ' +
93
- 'go to its successor log.');
94
- this.name = 'ResourceLogClosedError';
95
- this.nextLog = nextLog;
96
- }
97
- }
98
31
  //# sourceMappingURL=errors.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"errors.js","sourceRoot":"","sources":["../../src/resourceLog/errors.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AAEH;;;;;GAKG;AACH,MAAM,OAAO,yBAA0B,SAAQ,KAAK;IAClD,YAAY,OAAe,EAAE,OAA6B;QACxD,KAAK,CAAC,OAAO,EAAE,OAAO,CAAC,CAAA;QACvB,IAAI,CAAC,IAAI,GAAG,2BAA2B,CAAA;IACzC,CAAC;CACF;AAED;;;;;;;;GAQG;AACH,MAAM,OAAO,0BAA2B,SAAQ,KAAK;IACnD,MAAM,CAAuD;IAC7D,UAAU,CAAQ;IAClB;;;;OAIG;IACH,aAAa,CAAY;IACzB,YAAY,EACV,MAAM,EACN,UAAU,EACV,aAAa,EAKd;QACC,KAAK,CACH,sEAAsE;YACpE,IAAI,MAAM,iBAAiB,UAAU,IAAI,CAC5C,CAAA;QACD,IAAI,CAAC,IAAI,GAAG,4BAA4B,CAAA;QACxC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAA;QACpB,IAAI,CAAC,UAAU,GAAG,UAAU,CAAA;QAC5B,IAAI,CAAC,aAAa,GAAG,aAAa,CAAA;IACpC,CAAC;CACF;AAED;;;;;;;;;GASG;AACH,MAAM,OAAO,uBAAwB,SAAQ,KAAK;IAChD,YAAY,OAAe,EAAE,OAA6B;QACxD,KAAK,CAAC,OAAO,EAAE,OAAO,CAAC,CAAA;QACvB,IAAI,CAAC,IAAI,GAAG,yBAAyB,CAAA;IACvC,CAAC;CACF;AAED;;;;GAIG;AACH,MAAM,OAAO,sBAAuB,SAAQ,KAAK;IAC/C,OAAO,CAAkC;IACzC,YAAY,EAAE,OAAO,EAAiD;QACpE,KAAK,CACH,wEAAwE;YACtE,0BAA0B,CAC7B,CAAA;QACD,IAAI,CAAC,IAAI,GAAG,wBAAwB,CAAA;QACpC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAA;IACxB,CAAC;CACF"}
1
+ {"version":3,"file":"errors.js","sourceRoot":"","sources":["../../src/resourceLog/errors.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;;;;;;;;;GAUG;AAEH;;;;;;;;;GASG;AACH,MAAM,OAAO,uBAAwB,SAAQ,KAAK;IAChD,YAAY,OAAe,EAAE,OAA6B;QACxD,KAAK,CAAC,OAAO,EAAE,OAAO,CAAC,CAAA;QACvB,IAAI,CAAC,IAAI,GAAG,yBAAyB,CAAA;IACvC,CAAC;CACF"}
@@ -2,28 +2,23 @@
2
2
  * Copyright (c) 2026 Interop Alliance. All rights reserved.
3
3
  */
4
4
  /**
5
- * The `@interop/wallet-core/resourceLog` entry: the client side of the
6
- * Resource Log Profile (App Connect spec `#resource-log-profile`) -- full
7
- * chain verification against an adversarial host (parse shape, SCID and
8
- * entry-hash recomputation, entry proofs, the external-authorization rule
9
- * against the independently verified did:webvh controller document, terminal
10
- * entries), the ceremony-tail license on ladder-signed appends, the
11
- * chain-head pin with its continuity rules, the append path (verified-head
12
- * build, CAS with rebase-and-retry, read-back confirmation), and the sealing
13
- * sweep (the idempotent backstop append that re-anchors a log's head past
14
- * the controller's latest membership change).
15
- * Transport (JSON Lines, the store seam, the projection write) lives in
16
- * `@interop/was-client/log`; the hashing and proof kernel in
17
- * `@interop/did-method-webvh`. Kept out of the root export: this subpath
18
- * pulls the did:webvh and ed25519 dependency graph.
5
+ * The `@interop/wallet-core/resourceLog` entry: the wallet-domain residue of
6
+ * the Resource Log Profile's client side after the generic half moved to
7
+ * `@interop/vh-resource-log` -- the did:webvh controller adapter (the
8
+ * library's controller port extended with the per-version
9
+ * credential-inventory view, supplying the mandatory `admitAppend` admission
10
+ * hook), and the ceremony-tail license the hook carries
11
+ * (`assertLadderAppendLicensed`, refusing with `ResourceLogLicenseError`).
12
+ * Everything generic -- the JSON Lines codec, the store port and
13
+ * `confirmAppend`, chain verification, the chain-head pin
14
+ * (`ResourceLogPinStore` and `resourceLogPinId`; the named slot-key builders
15
+ * stay on their owning subpaths: `accountLogPinId` in `webvh`,
16
+ * `userKeyRosterPinId` in `keys`, `clientAnnexLogPinId` in `clientAnnex`),
17
+ * the append path, and the sealing sweep -- lives in the library, and this
18
+ * subpath re-exports none of it: one owner per name. Kept out of the root
19
+ * export: this subpath pulls the did:webvh and ed25519 dependency graph.
19
20
  */
20
- export { webvhResourceLogController, type ControllerPosture, type ResourceLogController } from './controller.js';
21
- export { ResourceLogClosedError, ResourceLogContinuityError, ResourceLogIntegrityError, ResourceLogLicenseError } from './errors.js';
21
+ export { webvhResourceLogController, type ControllerInventory, type WebvhResourceLogController } from './controller.js';
22
+ export { ResourceLogLicenseError } from './errors.js';
22
23
  export { assertLadderAppendLicensed } from './license.js';
23
- export { buildResourceLogEntry, buildResourceLogGenesis, type ResourceLogSigner } from './entry.js';
24
- export { memoryResourceLogPinStore, resourceLogPinId, type ResourceLogHeadPin, type ResourceLogPinStore } from './pin.js';
25
- export { isTerminalResourceLogEntry, verifyResourceLog, verifyResourceLogHandover, type VerifiedResourceLog } from './verify.js';
26
- export { appendResourceLog, createResourceLog, readResourceLog } from './append.js';
27
- export { latestAssertionRemovalIndex, sealResourceLog } from './seal.js';
28
- export { vmFragmentOf } from './vmFragment.js';
29
24
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resourceLog/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;;;;;;;;;;;;;;GAeG;AACH,OAAO,EACL,0BAA0B,EAC1B,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,EAC3B,MAAM,iBAAiB,CAAA;AACxB,OAAO,EACL,sBAAsB,EACtB,0BAA0B,EAC1B,yBAAyB,EACzB,uBAAuB,EACxB,MAAM,aAAa,CAAA;AACpB,OAAO,EAAE,0BAA0B,EAAE,MAAM,cAAc,CAAA;AACzD,OAAO,EACL,qBAAqB,EACrB,uBAAuB,EACvB,KAAK,iBAAiB,EACvB,MAAM,YAAY,CAAA;AACnB,OAAO,EACL,yBAAyB,EACzB,gBAAgB,EAChB,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,EACzB,MAAM,UAAU,CAAA;AACjB,OAAO,EACL,0BAA0B,EAC1B,iBAAiB,EACjB,yBAAyB,EACzB,KAAK,mBAAmB,EACzB,MAAM,aAAa,CAAA;AACpB,OAAO,EACL,iBAAiB,EACjB,iBAAiB,EACjB,eAAe,EAChB,MAAM,aAAa,CAAA;AACpB,OAAO,EAAE,2BAA2B,EAAE,eAAe,EAAE,MAAM,WAAW,CAAA;AACxE,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resourceLog/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;;;;;;;;;;;;;;;GAgBG;AACH,OAAO,EACL,0BAA0B,EAC1B,KAAK,mBAAmB,EACxB,KAAK,0BAA0B,EAChC,MAAM,iBAAiB,CAAA;AACxB,OAAO,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAA;AACrD,OAAO,EAAE,0BAA0B,EAAE,MAAM,cAAc,CAAA"}
@@ -2,28 +2,23 @@
2
2
  * Copyright (c) 2026 Interop Alliance. All rights reserved.
3
3
  */
4
4
  /**
5
- * The `@interop/wallet-core/resourceLog` entry: the client side of the
6
- * Resource Log Profile (App Connect spec `#resource-log-profile`) -- full
7
- * chain verification against an adversarial host (parse shape, SCID and
8
- * entry-hash recomputation, entry proofs, the external-authorization rule
9
- * against the independently verified did:webvh controller document, terminal
10
- * entries), the ceremony-tail license on ladder-signed appends, the
11
- * chain-head pin with its continuity rules, the append path (verified-head
12
- * build, CAS with rebase-and-retry, read-back confirmation), and the sealing
13
- * sweep (the idempotent backstop append that re-anchors a log's head past
14
- * the controller's latest membership change).
15
- * Transport (JSON Lines, the store seam, the projection write) lives in
16
- * `@interop/was-client/log`; the hashing and proof kernel in
17
- * `@interop/did-method-webvh`. Kept out of the root export: this subpath
18
- * pulls the did:webvh and ed25519 dependency graph.
5
+ * The `@interop/wallet-core/resourceLog` entry: the wallet-domain residue of
6
+ * the Resource Log Profile's client side after the generic half moved to
7
+ * `@interop/vh-resource-log` -- the did:webvh controller adapter (the
8
+ * library's controller port extended with the per-version
9
+ * credential-inventory view, supplying the mandatory `admitAppend` admission
10
+ * hook), and the ceremony-tail license the hook carries
11
+ * (`assertLadderAppendLicensed`, refusing with `ResourceLogLicenseError`).
12
+ * Everything generic -- the JSON Lines codec, the store port and
13
+ * `confirmAppend`, chain verification, the chain-head pin
14
+ * (`ResourceLogPinStore` and `resourceLogPinId`; the named slot-key builders
15
+ * stay on their owning subpaths: `accountLogPinId` in `webvh`,
16
+ * `userKeyRosterPinId` in `keys`, `clientAnnexLogPinId` in `clientAnnex`),
17
+ * the append path, and the sealing sweep -- lives in the library, and this
18
+ * subpath re-exports none of it: one owner per name. Kept out of the root
19
+ * export: this subpath pulls the did:webvh and ed25519 dependency graph.
19
20
  */
20
21
  export { webvhResourceLogController } from './controller.js';
21
- export { ResourceLogClosedError, ResourceLogContinuityError, ResourceLogIntegrityError, ResourceLogLicenseError } from './errors.js';
22
+ export { ResourceLogLicenseError } from './errors.js';
22
23
  export { assertLadderAppendLicensed } from './license.js';
23
- export { buildResourceLogEntry, buildResourceLogGenesis } from './entry.js';
24
- export { memoryResourceLogPinStore, resourceLogPinId } from './pin.js';
25
- export { isTerminalResourceLogEntry, verifyResourceLog, verifyResourceLogHandover } from './verify.js';
26
- export { appendResourceLog, createResourceLog, readResourceLog } from './append.js';
27
- export { latestAssertionRemovalIndex, sealResourceLog } from './seal.js';
28
- export { vmFragmentOf } from './vmFragment.js';
29
24
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resourceLog/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;;;;;;;;;;;;;;GAeG;AACH,OAAO,EACL,0BAA0B,EAG3B,MAAM,iBAAiB,CAAA;AACxB,OAAO,EACL,sBAAsB,EACtB,0BAA0B,EAC1B,yBAAyB,EACzB,uBAAuB,EACxB,MAAM,aAAa,CAAA;AACpB,OAAO,EAAE,0BAA0B,EAAE,MAAM,cAAc,CAAA;AACzD,OAAO,EACL,qBAAqB,EACrB,uBAAuB,EAExB,MAAM,YAAY,CAAA;AACnB,OAAO,EACL,yBAAyB,EACzB,gBAAgB,EAGjB,MAAM,UAAU,CAAA;AACjB,OAAO,EACL,0BAA0B,EAC1B,iBAAiB,EACjB,yBAAyB,EAE1B,MAAM,aAAa,CAAA;AACpB,OAAO,EACL,iBAAiB,EACjB,iBAAiB,EACjB,eAAe,EAChB,MAAM,aAAa,CAAA;AACpB,OAAO,EAAE,2BAA2B,EAAE,eAAe,EAAE,MAAM,WAAW,CAAA;AACxE,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resourceLog/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;;;;;;;;;;;;;;;GAgBG;AACH,OAAO,EACL,0BAA0B,EAG3B,MAAM,iBAAiB,CAAA;AACxB,OAAO,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAA;AACrD,OAAO,EAAE,0BAA0B,EAAE,MAAM,cAAc,CAAA"}
@@ -6,39 +6,40 @@
6
6
  * of the ladder VM's authority clauses). A ladder-signed append is accepted
7
7
  * in exactly two shapes: the log's first entry (creation, never extension --
8
8
  * callers admit that shape by not calling this check on a genesis entry),
9
- * or a rotation anchored at a posture-changing controller-document version,
10
- * one-shot -- refused when the verified log head already carries an entry
11
- * anchored at that version or later. Everything else, above all a rotation
9
+ * or a rotation that carries an inventory-changing controller document
10
+ * version, one-shot -- refused when the verified log head already carries
11
+ * an entry at that version or later. Everything else, above all a rotation
12
12
  * against an unchanged document (the silent-rekey shape), is refused with
13
- * {@link ResourceLogLicenseError}. Anchors compare by position in the
14
- * controller's verified version history, the structural twin of the sealing
15
- * sweep's `headAnchorIndex >= removalIndex` check.
13
+ * {@link ResourceLogLicenseError}. Controller versions compare by position
14
+ * in the controller's verified version history, the structural twin of the
15
+ * sealing sweep's `headControllerVersionIndex >= removalIndex` check.
16
16
  */
17
- import type { ResourceLogController } from './controller.js';
17
+ import type { WebvhResourceLogController } from './controller.js';
18
18
  /**
19
19
  * Evaluates the ceremony-tail license's second shape for one ladder-signed
20
- * append: the append must anchor at a posture-changing document version V --
21
- * S(V) differs from S(V-1) in either direction, with S(-1) empty for a
22
- * genesis-version anchor -- and no verified entry may already anchor at V or
23
- * later (`headAnchorIndex >= anchorIndex` refuses; the license is one-shot,
24
- * so a torn ceremony's late-arriving tail still passes while a second
25
- * rotation against the same anchor does not). A `null` anchor index (an
26
- * unversioned controller, where no anchor exists to license against) is
27
- * refused fail-closed.
20
+ * append: the append must carry an inventory-changing document version V --
21
+ * S(V) differs from S(V-1) in either direction, with S(-1) empty for the
22
+ * genesis version -- and no verified entry may already carry V or later
23
+ * (`headControllerVersionIndex >= controllerVersionIndex` refuses; the
24
+ * license is one-shot, so a torn ceremony's late-arriving tail still passes
25
+ * while a second rotation against the same version does not). A `null`
26
+ * controller version index (an unversioned controller, where no version
27
+ * exists to license against) is refused fail-closed.
28
28
  *
29
29
  * @param options {object}
30
- * @param options.controller {ResourceLogController} the verified controller
31
- * view
32
- * @param options.anchorIndex {number | null} the append's anchor as an
33
- * index into `controller.versionIds` (`null`: unanchored)
34
- * @param options.headAnchorIndex {number | null} the verified log head's
35
- * effective anchor before this append (`null`: the log has no anchored
36
- * entries yet)
30
+ * @param options.controller {object} the verified controller view's
31
+ * version list and inventory accessor
32
+ * @param options.controllerVersionIndex {number | null} the append's
33
+ * controller version as an index into `controller.versionIds` (`null`:
34
+ * no controller version)
35
+ * @param options.headControllerVersionIndex {number | null} the verified
36
+ * log head's effective controller version index before this append
37
+ * (`null`: the log has no versioned entries yet)
37
38
  * @returns {Promise<void>}
38
39
  */
39
- export declare function assertLadderAppendLicensed({ controller, anchorIndex, headAnchorIndex }: {
40
- controller: ResourceLogController;
41
- anchorIndex: number | null;
42
- headAnchorIndex: number | null;
40
+ export declare function assertLadderAppendLicensed({ controller, controllerVersionIndex, headControllerVersionIndex }: {
41
+ controller: Pick<WebvhResourceLogController, 'versionIds' | 'inventoryAt'>;
42
+ controllerVersionIndex: number | null;
43
+ headControllerVersionIndex: number | null;
43
44
  }): Promise<void>;
44
45
  //# sourceMappingURL=license.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"license.d.ts","sourceRoot":"","sources":["../../src/resourceLog/license.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;;;;;;;;;;;GAYG;AACH,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAA;AAsB5D;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAsB,0BAA0B,CAAC,EAC/C,UAAU,EACV,WAAW,EACX,eAAe,EAChB,EAAE;IACD,UAAU,EAAE,qBAAqB,CAAA;IACjC,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B,eAAe,EAAE,MAAM,GAAG,IAAI,CAAA;CAC/B,GAAG,OAAO,CAAC,IAAI,CAAC,CAgChB"}
1
+ {"version":3,"file":"license.d.ts","sourceRoot":"","sources":["../../src/resourceLog/license.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;;;;;;;;;;;GAYG;AACH,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,iBAAiB,CAAA;AAsBjE;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAsB,0BAA0B,CAAC,EAC/C,UAAU,EACV,sBAAsB,EACtB,0BAA0B,EAC3B,EAAE;IACD,UAAU,EAAE,IAAI,CAAC,0BAA0B,EAAE,YAAY,GAAG,aAAa,CAAC,CAAA;IAC1E,sBAAsB,EAAE,MAAM,GAAG,IAAI,CAAA;IACrC,0BAA0B,EAAE,MAAM,GAAG,IAAI,CAAA;CAC1C,GAAG,OAAO,CAAC,IAAI,CAAC,CAsChB"}
@@ -1,6 +1,6 @@
1
1
  import { ResourceLogLicenseError } from './errors.js';
2
2
  /**
3
- * Set equality over posture members.
3
+ * Set equality over inventory members.
4
4
  *
5
5
  * @param left {Set<string>}
6
6
  * @param right {Set<string>}
@@ -19,45 +19,46 @@ function setsEqual(left, right) {
19
19
  }
20
20
  /**
21
21
  * Evaluates the ceremony-tail license's second shape for one ladder-signed
22
- * append: the append must anchor at a posture-changing document version V --
23
- * S(V) differs from S(V-1) in either direction, with S(-1) empty for a
24
- * genesis-version anchor -- and no verified entry may already anchor at V or
25
- * later (`headAnchorIndex >= anchorIndex` refuses; the license is one-shot,
26
- * so a torn ceremony's late-arriving tail still passes while a second
27
- * rotation against the same anchor does not). A `null` anchor index (an
28
- * unversioned controller, where no anchor exists to license against) is
29
- * refused fail-closed.
22
+ * append: the append must carry an inventory-changing document version V --
23
+ * S(V) differs from S(V-1) in either direction, with S(-1) empty for the
24
+ * genesis version -- and no verified entry may already carry V or later
25
+ * (`headControllerVersionIndex >= controllerVersionIndex` refuses; the
26
+ * license is one-shot, so a torn ceremony's late-arriving tail still passes
27
+ * while a second rotation against the same version does not). A `null`
28
+ * controller version index (an unversioned controller, where no version
29
+ * exists to license against) is refused fail-closed.
30
30
  *
31
31
  * @param options {object}
32
- * @param options.controller {ResourceLogController} the verified controller
33
- * view
34
- * @param options.anchorIndex {number | null} the append's anchor as an
35
- * index into `controller.versionIds` (`null`: unanchored)
36
- * @param options.headAnchorIndex {number | null} the verified log head's
37
- * effective anchor before this append (`null`: the log has no anchored
38
- * entries yet)
32
+ * @param options.controller {object} the verified controller view's
33
+ * version list and inventory accessor
34
+ * @param options.controllerVersionIndex {number | null} the append's
35
+ * controller version as an index into `controller.versionIds` (`null`:
36
+ * no controller version)
37
+ * @param options.headControllerVersionIndex {number | null} the verified
38
+ * log head's effective controller version index before this append
39
+ * (`null`: the log has no versioned entries yet)
39
40
  * @returns {Promise<void>}
40
41
  */
41
- export async function assertLadderAppendLicensed({ controller, anchorIndex, headAnchorIndex }) {
42
- if (anchorIndex === null ||
43
- anchorIndex < 0 ||
44
- anchorIndex >= controller.versionIds.length) {
42
+ export async function assertLadderAppendLicensed({ controller, controllerVersionIndex, headControllerVersionIndex }) {
43
+ if (controllerVersionIndex === null ||
44
+ controllerVersionIndex < 0 ||
45
+ controllerVersionIndex >= controller.versionIds.length) {
45
46
  throw new ResourceLogLicenseError('A ladder-signed append past the genesis entry cannot be licensed ' +
46
- 'without an anchor into the controller document version history.');
47
+ 'without a controller document version to license against.');
47
48
  }
48
- const current = (await controller.postureAt(controller.versionIds[anchorIndex])).postureKeys;
49
- const previous = anchorIndex === 0
49
+ const current = (await controller.inventoryAt(controller.versionIds[controllerVersionIndex])).inventoryKeys;
50
+ const previous = controllerVersionIndex === 0
50
51
  ? new Set()
51
- : (await controller.postureAt(controller.versionIds[anchorIndex - 1]))
52
- .postureKeys;
52
+ : (await controller.inventoryAt(controller.versionIds[controllerVersionIndex - 1])).inventoryKeys;
53
53
  if (setsEqual(current, previous)) {
54
- throw new ResourceLogLicenseError('The ladder-signed append anchors at a controller document version ' +
55
- 'that did not change the credential posture (a rotation against an ' +
54
+ throw new ResourceLogLicenseError('The ladder-signed append carries a controller document version ' +
55
+ 'that did not change the credential inventory (a rotation against an ' +
56
56
  'unchanged document is never licensed).');
57
57
  }
58
- if (headAnchorIndex !== null && headAnchorIndex >= anchorIndex) {
59
- throw new ResourceLogLicenseError('The verified log head already carries an entry anchored at or past ' +
60
- 'this posture-changing document version (the license is one-shot).');
58
+ if (headControllerVersionIndex !== null &&
59
+ headControllerVersionIndex >= controllerVersionIndex) {
60
+ throw new ResourceLogLicenseError('The verified log head already carries an entry at or past this ' +
61
+ 'inventory-changing document version (the license is one-shot).');
61
62
  }
62
63
  }
63
64
  //# sourceMappingURL=license.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"license.js","sourceRoot":"","sources":["../../src/resourceLog/license.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAA;AAErD;;;;;;GAMG;AACH,SAAS,SAAS,CAAC,IAAiB,EAAE,KAAkB;IACtD,IAAI,IAAI,CAAC,IAAI,KAAK,KAAK,CAAC,IAAI,EAAE,CAAC;QAC7B,OAAO,KAAK,CAAA;IACd,CAAC;IACD,KAAK,MAAM,MAAM,IAAI,IAAI,EAAE,CAAC;QAC1B,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,MAAM,CAAC,EAAE,CAAC;YACvB,OAAO,KAAK,CAAA;QACd,CAAC;IACH,CAAC;IACD,OAAO,IAAI,CAAA;AACb,CAAC;AAED;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAM,CAAC,KAAK,UAAU,0BAA0B,CAAC,EAC/C,UAAU,EACV,WAAW,EACX,eAAe,EAKhB;IACC,IACE,WAAW,KAAK,IAAI;QACpB,WAAW,GAAG,CAAC;QACf,WAAW,IAAI,UAAU,CAAC,UAAU,CAAC,MAAM,EAC3C,CAAC;QACD,MAAM,IAAI,uBAAuB,CAC/B,mEAAmE;YACjE,iEAAiE,CACpE,CAAA;IACH,CAAC;IACD,MAAM,OAAO,GAAG,CACd,MAAM,UAAU,CAAC,SAAS,CAAC,UAAU,CAAC,UAAU,CAAC,WAAW,CAAE,CAAC,CAChE,CAAC,WAAW,CAAA;IACb,MAAM,QAAQ,GACZ,WAAW,KAAK,CAAC;QACf,CAAC,CAAC,IAAI,GAAG,EAAU;QACnB,CAAC,CAAC,CAAC,MAAM,UAAU,CAAC,SAAS,CAAC,UAAU,CAAC,UAAU,CAAC,WAAW,GAAG,CAAC,CAAE,CAAC,CAAC;aAClE,WAAW,CAAA;IACpB,IAAI,SAAS,CAAC,OAAO,EAAE,QAAQ,CAAC,EAAE,CAAC;QACjC,MAAM,IAAI,uBAAuB,CAC/B,oEAAoE;YAClE,oEAAoE;YACpE,wCAAwC,CAC3C,CAAA;IACH,CAAC;IACD,IAAI,eAAe,KAAK,IAAI,IAAI,eAAe,IAAI,WAAW,EAAE,CAAC;QAC/D,MAAM,IAAI,uBAAuB,CAC/B,qEAAqE;YACnE,mEAAmE,CACtE,CAAA;IACH,CAAC;AACH,CAAC"}
1
+ {"version":3,"file":"license.js","sourceRoot":"","sources":["../../src/resourceLog/license.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAA;AAErD;;;;;;GAMG;AACH,SAAS,SAAS,CAAC,IAAiB,EAAE,KAAkB;IACtD,IAAI,IAAI,CAAC,IAAI,KAAK,KAAK,CAAC,IAAI,EAAE,CAAC;QAC7B,OAAO,KAAK,CAAA;IACd,CAAC;IACD,KAAK,MAAM,MAAM,IAAI,IAAI,EAAE,CAAC;QAC1B,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,MAAM,CAAC,EAAE,CAAC;YACvB,OAAO,KAAK,CAAA;QACd,CAAC;IACH,CAAC;IACD,OAAO,IAAI,CAAA;AACb,CAAC;AAED;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,MAAM,CAAC,KAAK,UAAU,0BAA0B,CAAC,EAC/C,UAAU,EACV,sBAAsB,EACtB,0BAA0B,EAK3B;IACC,IACE,sBAAsB,KAAK,IAAI;QAC/B,sBAAsB,GAAG,CAAC;QAC1B,sBAAsB,IAAI,UAAU,CAAC,UAAU,CAAC,MAAM,EACtD,CAAC;QACD,MAAM,IAAI,uBAAuB,CAC/B,mEAAmE;YACjE,2DAA2D,CAC9D,CAAA;IACH,CAAC;IACD,MAAM,OAAO,GAAG,CACd,MAAM,UAAU,CAAC,WAAW,CAAC,UAAU,CAAC,UAAU,CAAC,sBAAsB,CAAE,CAAC,CAC7E,CAAC,aAAa,CAAA;IACf,MAAM,QAAQ,GACZ,sBAAsB,KAAK,CAAC;QAC1B,CAAC,CAAC,IAAI,GAAG,EAAU;QACnB,CAAC,CAAC,CACE,MAAM,UAAU,CAAC,WAAW,CAC1B,UAAU,CAAC,UAAU,CAAC,sBAAsB,GAAG,CAAC,CAAE,CACnD,CACF,CAAC,aAAa,CAAA;IACrB,IAAI,SAAS,CAAC,OAAO,EAAE,QAAQ,CAAC,EAAE,CAAC;QACjC,MAAM,IAAI,uBAAuB,CAC/B,iEAAiE;YAC/D,sEAAsE;YACtE,wCAAwC,CAC3C,CAAA;IACH,CAAC;IACD,IACE,0BAA0B,KAAK,IAAI;QACnC,0BAA0B,IAAI,sBAAsB,EACpD,CAAC;QACD,MAAM,IAAI,uBAAuB,CAC/B,iEAAiE;YAC/D,gEAAgE,CACnE,CAAA;IACH,CAAC;AACH,CAAC"}
@@ -4,7 +4,7 @@
4
4
  /**
5
5
  * The `@interop/wallet-core/unlock` subpath: standing unlock credentials --
6
6
  * every unlock method (passphrase, passkey PRF, recovery code) as a standing
7
- * credential in the recovery-code posture, with self-enrolling login. The
7
+ * credential in the recovery-code configuration, with self-enrolling login. The
8
8
  * recovery subpath's spend-on-use flows sit on top of the machinery here.
9
9
  *
10
10
  * - `standingClientFromUnlockSeed` / `unlockClientIdentityFromSeed` -- the
@@ -16,17 +16,17 @@
16
16
  * client-annex Space `delegatedClients` delegations re-mintable; the ladder
17
17
  * seed sealed and carried verbatim, its `LADDER_SEED_BYTES` size owned by
18
18
  * the record format).
19
- * - `publishUnlockKey` / `removeUnlockKey` -- the merged document posture
19
+ * - `publishUnlockKey` / `removeUnlockKey` -- the merged document inventory
20
20
  * edit, parameterized by credential class: a verbatim `keyAgreement` entry,
21
21
  * or a `MultikeyCommitment` entry for a low-entropy-derived key.
22
22
  * - `retireUnlockCredential` -- the retirement ceremony behind "change my
23
- * passphrase" and "remove this passkey": the posture edit, then the shared
23
+ * passphrase" and "remove this passkey": the inventory edit, then the shared
24
24
  * roster rotation and collection fan-out off the retired credential's wrap.
25
25
  *
26
26
  * The ladder itself, and every ceremony that exercises it (the ladder-anchored
27
27
  * genesis, self-enrollment, the forget ceremony), live in
28
- * `@interop/wallet-core/clientAnnex` -- what stays here is the posture and
29
- * record machinery every wallet needs regardless of posture.
28
+ * `@interop/wallet-core/clientAnnex` -- what stays here is the inventory and
29
+ * record machinery every wallet needs regardless of account configuration.
30
30
  *
31
31
  * Kept out of the root export: this subpath pulls the webkms-client / ezcap /
32
32
  * was-client dependency graph (the same isolation pattern as `./keyring`).
@@ -38,5 +38,5 @@ export type { SealedRecordMember, SignedUnlockRecord, UnlockRecordContents, Unlo
38
38
  export { publishUnlockKey, removeUnlockKey, unlockKeyVerificationMethod, unlockKeyVmId } from './standingWebvh.js';
39
39
  export type { StandingUnlockKeys, UnlockKeyAgreementPublication, UnlockLogStore } from './standingWebvh.js';
40
40
  export { retireUnlockCredential } from './retire.js';
41
- export type { ClientAnnexPostureRetirement, UnlockCredentialRetirementResult } from './retire.js';
41
+ export type { ClientAnnexInventoryRetirement, UnlockCredentialRetirementResult } from './retire.js';
42
42
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/unlock/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,OAAO,EACL,4BAA4B,EAC5B,oBAAoB,EACpB,4BAA4B,EAC7B,MAAM,qBAAqB,CAAA;AAC5B,YAAY,EACV,oBAAoB,EACpB,oBAAoB,EACrB,MAAM,qBAAqB,CAAA;AAE5B,OAAO,EACL,oBAAoB,EACpB,iBAAiB,EACjB,6BAA6B,EAC7B,kBAAkB,EAClB,mBAAmB,EACnB,kBAAkB,EAClB,gBAAgB,EACjB,MAAM,mBAAmB,CAAA;AAC1B,YAAY,EACV,kBAAkB,EAClB,kBAAkB,EAClB,oBAAoB,EACpB,sBAAsB,EACvB,MAAM,mBAAmB,CAAA;AAE1B,OAAO,EACL,gBAAgB,EAChB,eAAe,EACf,2BAA2B,EAC3B,aAAa,EACd,MAAM,oBAAoB,CAAA;AAC3B,YAAY,EACV,kBAAkB,EAClB,6BAA6B,EAC7B,cAAc,EACf,MAAM,oBAAoB,CAAA;AAE3B,OAAO,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAA;AACpD,YAAY,EACV,4BAA4B,EAC5B,gCAAgC,EACjC,MAAM,aAAa,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/unlock/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,OAAO,EACL,4BAA4B,EAC5B,oBAAoB,EACpB,4BAA4B,EAC7B,MAAM,qBAAqB,CAAA;AAC5B,YAAY,EACV,oBAAoB,EACpB,oBAAoB,EACrB,MAAM,qBAAqB,CAAA;AAE5B,OAAO,EACL,oBAAoB,EACpB,iBAAiB,EACjB,6BAA6B,EAC7B,kBAAkB,EAClB,mBAAmB,EACnB,kBAAkB,EAClB,gBAAgB,EACjB,MAAM,mBAAmB,CAAA;AAC1B,YAAY,EACV,kBAAkB,EAClB,kBAAkB,EAClB,oBAAoB,EACpB,sBAAsB,EACvB,MAAM,mBAAmB,CAAA;AAE1B,OAAO,EACL,gBAAgB,EAChB,eAAe,EACf,2BAA2B,EAC3B,aAAa,EACd,MAAM,oBAAoB,CAAA;AAC3B,YAAY,EACV,kBAAkB,EAClB,6BAA6B,EAC7B,cAAc,EACf,MAAM,oBAAoB,CAAA;AAE3B,OAAO,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAA;AACpD,YAAY,EACV,8BAA8B,EAC9B,gCAAgC,EACjC,MAAM,aAAa,CAAA"}
@@ -4,7 +4,7 @@
4
4
  /**
5
5
  * The `@interop/wallet-core/unlock` subpath: standing unlock credentials --
6
6
  * every unlock method (passphrase, passkey PRF, recovery code) as a standing
7
- * credential in the recovery-code posture, with self-enrolling login. The
7
+ * credential in the recovery-code configuration, with self-enrolling login. The
8
8
  * recovery subpath's spend-on-use flows sit on top of the machinery here.
9
9
  *
10
10
  * - `standingClientFromUnlockSeed` / `unlockClientIdentityFromSeed` -- the
@@ -16,17 +16,17 @@
16
16
  * client-annex Space `delegatedClients` delegations re-mintable; the ladder
17
17
  * seed sealed and carried verbatim, its `LADDER_SEED_BYTES` size owned by
18
18
  * the record format).
19
- * - `publishUnlockKey` / `removeUnlockKey` -- the merged document posture
19
+ * - `publishUnlockKey` / `removeUnlockKey` -- the merged document inventory
20
20
  * edit, parameterized by credential class: a verbatim `keyAgreement` entry,
21
21
  * or a `MultikeyCommitment` entry for a low-entropy-derived key.
22
22
  * - `retireUnlockCredential` -- the retirement ceremony behind "change my
23
- * passphrase" and "remove this passkey": the posture edit, then the shared
23
+ * passphrase" and "remove this passkey": the inventory edit, then the shared
24
24
  * roster rotation and collection fan-out off the retired credential's wrap.
25
25
  *
26
26
  * The ladder itself, and every ceremony that exercises it (the ladder-anchored
27
27
  * genesis, self-enrollment, the forget ceremony), live in
28
- * `@interop/wallet-core/clientAnnex` -- what stays here is the posture and
29
- * record machinery every wallet needs regardless of posture.
28
+ * `@interop/wallet-core/clientAnnex` -- what stays here is the inventory and
29
+ * record machinery every wallet needs regardless of account configuration.
30
30
  *
31
31
  * Kept out of the root export: this subpath pulls the webkms-client / ezcap /
32
32
  * was-client dependency graph (the same isolation pattern as `./keyring`).