@interop/wallet-core 0.57.0 → 0.59.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/clientAnnex/credentialAnchoredGenesis.d.ts +24 -23
- package/dist/clientAnnex/credentialAnchoredGenesis.d.ts.map +1 -1
- package/dist/clientAnnex/credentialAnchoredGenesis.js +28 -26
- package/dist/clientAnnex/credentialAnchoredGenesis.js.map +1 -1
- package/dist/clientAnnex/establish.d.ts +3 -3
- package/dist/clientAnnex/establish.js +1 -1
- package/dist/clientAnnex/forget.d.ts +9 -9
- package/dist/clientAnnex/forget.d.ts.map +1 -1
- package/dist/clientAnnex/forget.js +5 -5
- package/dist/clientAnnex/forget.js.map +1 -1
- package/dist/clientAnnex/forgetLast.d.ts +15 -15
- package/dist/clientAnnex/forgetLast.d.ts.map +1 -1
- package/dist/clientAnnex/forgetLast.js +12 -12
- package/dist/clientAnnex/forgetLast.js.map +1 -1
- package/dist/clientAnnex/gc.d.ts +6 -6
- package/dist/clientAnnex/gc.js +4 -4
- package/dist/clientAnnex/gc.js.map +1 -1
- package/dist/clientAnnex/heal.d.ts +2 -2
- package/dist/clientAnnex/index.d.ts +12 -13
- package/dist/clientAnnex/index.d.ts.map +1 -1
- package/dist/clientAnnex/index.js +10 -11
- package/dist/clientAnnex/index.js.map +1 -1
- package/dist/clientAnnex/ladder.js +1 -1
- package/dist/clientAnnex/ladderAnchored.d.ts +34 -34
- package/dist/clientAnnex/ladderAnchored.d.ts.map +1 -1
- package/dist/clientAnnex/ladderAnchored.js +66 -66
- package/dist/clientAnnex/ladderAnchored.js.map +1 -1
- package/dist/clientAnnex/log.d.ts +34 -29
- package/dist/clientAnnex/log.d.ts.map +1 -1
- package/dist/clientAnnex/log.js +39 -31
- package/dist/clientAnnex/log.js.map +1 -1
- package/dist/clientAnnex/mend.d.ts +6 -6
- package/dist/clientAnnex/mend.d.ts.map +1 -1
- package/dist/clientAnnex/mend.js +8 -7
- package/dist/clientAnnex/mend.js.map +1 -1
- package/dist/clientAnnex/recoveryLadderAnchored.d.ts +2 -2
- package/dist/clientAnnex/recoveryLadderAnchored.js +4 -4
- package/dist/clientAnnex/selfEnroll.d.ts +2 -1
- package/dist/clientAnnex/selfEnroll.d.ts.map +1 -1
- package/dist/clientAnnex/selfEnroll.js +2 -2
- package/dist/clientAnnex/selfEnroll.js.map +1 -1
- package/dist/clientAnnex/zcap.d.ts +9 -3
- package/dist/clientAnnex/zcap.d.ts.map +1 -1
- package/dist/clientAnnex/zcap.js +10 -4
- package/dist/clientAnnex/zcap.js.map +1 -1
- package/dist/clients/revocation.d.ts +4 -4
- package/dist/descriptors/acquire.d.ts +8 -7
- package/dist/descriptors/acquire.d.ts.map +1 -1
- package/dist/descriptors/acquire.js.map +1 -1
- package/dist/descriptors/index.d.ts +1 -1
- package/dist/descriptors/index.js +1 -1
- package/dist/enrollment/enrollment.d.ts +2 -2
- package/dist/enrollment/enrollment.js +4 -4
- package/dist/enrollment/enrollment.js.map +1 -1
- package/dist/genesis/accountGenesis.d.ts +4 -4
- package/dist/genesis/accountGenesis.js +2 -2
- package/dist/recovery/recoveryDelegation.d.ts.map +1 -1
- package/dist/recovery/recoveryDelegation.js +5 -6
- package/dist/recovery/recoveryDelegation.js.map +1 -1
- package/dist/recovery/recoveryWebvh.d.ts +3 -3
- package/dist/recovery/recoveryWebvh.js +7 -7
- package/dist/recovery/recoveryWebvh.js.map +1 -1
- package/dist/space/provisioning.d.ts.map +1 -1
- package/dist/space/provisioning.js +15 -3
- package/dist/space/provisioning.js.map +1 -1
- package/dist/sync/engine.d.ts +1 -1
- package/dist/webvh/didWebvh.d.ts +31 -28
- package/dist/webvh/didWebvh.d.ts.map +1 -1
- package/dist/webvh/didWebvh.js +40 -36
- package/dist/webvh/didWebvh.js.map +1 -1
- package/dist/webvh/listClients.d.ts +5 -6
- package/dist/webvh/listClients.d.ts.map +1 -1
- package/dist/webvh/listClients.js +5 -6
- package/dist/webvh/listClients.js.map +1 -1
- package/package.json +5 -5
package/dist/clientAnnex/gc.d.ts
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* The ceremony has two halves with different rhythms:
|
|
9
9
|
*
|
|
10
10
|
* - The SWAP runs on the fixed quarterly cadence (90 days, at the first
|
|
11
|
-
*
|
|
11
|
+
* remembered login after the period elapses -- coarse on purpose, so the
|
|
12
12
|
* account log's permanent pointer-entry rhythm reveals little about
|
|
13
13
|
* transient-use frequency), and only when the pointed generation is
|
|
14
14
|
* GC-quiet (the 24-hour max-visit quiet bound over its newest entry's
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
* before the delete (the POST needs the capability bytes the delete
|
|
23
23
|
* destroys).
|
|
24
24
|
*
|
|
25
|
-
* - The COLLECT fan-out is predicate-driven and runs at every
|
|
25
|
+
* - The COLLECT fan-out is predicate-driven and runs at every remembered login:
|
|
26
26
|
* every `gen-` collection the pointer does not name -- the generation a
|
|
27
27
|
* swap just superseded, a torn GC's leftover, a torn signup's orphan, a
|
|
28
28
|
* double-genesis loser -- gets identical treatment (revoke its embedded
|
|
@@ -56,7 +56,7 @@ import type { WasClient } from '@interop/was-client';
|
|
|
56
56
|
import type { ResourceLogPinStore } from '@interop/vh-resource-log';
|
|
57
57
|
import type { ClientWebvhUpdateKeys, PublishedWebvhLog, WebvhIdStore } from '../webvh/didWebvh.js';
|
|
58
58
|
/**
|
|
59
|
-
* The fixed GC cadence: a generation is replaced at the first
|
|
59
|
+
* The fixed GC cadence: a generation is replaced at the first remembered login
|
|
60
60
|
* 90 days after the current pointer value was established. Wallet GC policy
|
|
61
61
|
* over the account log's own timestamps, never a stored or wire value.
|
|
62
62
|
*/
|
|
@@ -85,7 +85,7 @@ export declare const GENERATION_QUIET_GRACE_MS: number;
|
|
|
85
85
|
* different annex DID than the entry before it (or the first entry, when
|
|
86
86
|
* the pointer has been there since genesis). This is the cadence's clock --
|
|
87
87
|
* "the pointer-update entry is the record" -- and it is read off the log a
|
|
88
|
-
*
|
|
88
|
+
* remembered login has already verified, so the cadence costs no extra fetch
|
|
89
89
|
* and every enrolled client agrees on it.
|
|
90
90
|
*
|
|
91
91
|
* @param options {object}
|
|
@@ -143,7 +143,7 @@ export type ClientAnnexGcSwapOutcome = 'replaced' | 'not-due' | 'deferred-live'
|
|
|
143
143
|
* One GC pass's report: the swap outcome, the annex DID the account
|
|
144
144
|
* points at after the pass, the generation ids collected (revoked, digested,
|
|
145
145
|
* deleted), and the per-generation failures. A report with `failed` entries
|
|
146
|
-
* is a resumable success -- the next
|
|
146
|
+
* is a resumable success -- the next remembered login's pass picks up exactly
|
|
147
147
|
* the generations still listed.
|
|
148
148
|
*/
|
|
149
149
|
export interface ClientAnnexGcReport {
|
|
@@ -227,7 +227,7 @@ export declare function runClientAnnexGc({ was, wasServerUrl, accountSpaceId, ac
|
|
|
227
227
|
* retired credential's annex inventory dies with the whole generation the
|
|
228
228
|
* moment the re-point lands. The abandoned generation is an ordinary
|
|
229
229
|
* non-pointed `gen-` collection the standing collect fan-out picks up at the
|
|
230
|
-
* next
|
|
230
|
+
* next remembered login.
|
|
231
231
|
*
|
|
232
232
|
* Same four swap stages and ordering as the quarterly GC swap, minus the
|
|
233
233
|
* cadence and quiet gates (the caller's reason for swapping is authority
|
package/dist/clientAnnex/gc.js
CHANGED
|
@@ -2,7 +2,7 @@ import { clientAnnexDidParts, clientAnnexLogPinId, clientAnnexLogStore, delegate
|
|
|
2
2
|
import { readPublishedLog } from '../webvh/didWebvh.js';
|
|
3
3
|
import { accountLogPinId } from '../webvh/verifyLog.js';
|
|
4
4
|
/**
|
|
5
|
-
* The fixed GC cadence: a generation is replaced at the first
|
|
5
|
+
* The fixed GC cadence: a generation is replaced at the first remembered login
|
|
6
6
|
* 90 days after the current pointer value was established. Wallet GC policy
|
|
7
7
|
* over the account log's own timestamps, never a stored or wire value.
|
|
8
8
|
*/
|
|
@@ -31,7 +31,7 @@ export const GENERATION_QUIET_GRACE_MS = 60 * 60 * 1000;
|
|
|
31
31
|
* different annex DID than the entry before it (or the first entry, when
|
|
32
32
|
* the pointer has been there since genesis). This is the cadence's clock --
|
|
33
33
|
* "the pointer-update entry is the record" -- and it is read off the log a
|
|
34
|
-
*
|
|
34
|
+
* remembered login has already verified, so the cadence costs no extra fetch
|
|
35
35
|
* and every enrolled client agrees on it.
|
|
36
36
|
*
|
|
37
37
|
* @param options {object}
|
|
@@ -150,7 +150,7 @@ export async function runClientAnnexGc({ was, wasServerUrl, accountSpaceId, acco
|
|
|
150
150
|
// 1. The swap, when the quarterly cadence is due. Its own failure is
|
|
151
151
|
// collected under the pointed generation's id rather than aborting the
|
|
152
152
|
// pass: the collect fan-out below still cleans what it can, and the next
|
|
153
|
-
//
|
|
153
|
+
// remembered login re-attempts the swap from durable state.
|
|
154
154
|
let swap = 'not-due';
|
|
155
155
|
let currentDid = pointedDid;
|
|
156
156
|
if (clientAnnexGcDue({ log: account.log, now })) {
|
|
@@ -351,7 +351,7 @@ async function replaceClientAnnexGeneration({ was, wasServerUrl, accountSpaceId,
|
|
|
351
351
|
* retired credential's annex inventory dies with the whole generation the
|
|
352
352
|
* moment the re-point lands. The abandoned generation is an ordinary
|
|
353
353
|
* non-pointed `gen-` collection the standing collect fan-out picks up at the
|
|
354
|
-
* next
|
|
354
|
+
* next remembered login.
|
|
355
355
|
*
|
|
356
356
|
* Same four swap stages and ordering as the quarterly GC swap, minus the
|
|
357
357
|
* cadence and quiet gates (the caller's reason for swapping is authority
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gc.js","sourceRoot":"","sources":["../../src/clientAnnex/gc.ts"],"names":[],"mappings":"AAwDA,OAAO,EACL,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,uBAAuB,EACvB,4BAA4B,EAC5B,iCAAiC,EACjC,oBAAoB,EACpB,mCAAmC,EACnC,wBAAwB,EACxB,qCAAqC,EACrC,0BAA0B,EAC3B,MAAM,UAAU,CAAA;AACjB,OAAO,EAAE,gBAAgB,EAA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pE,iEAAiE;QACjE,MAAM,YAAY,CAAC;YACjB,YAAY;YACZ,UAAU,EAAE,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,WAAW;YACzC,SAAS,EAAE,SAAS,CAAC,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,MAAM,GAAG,CAAC,CAAC,EAAE,WAAW;YAC/D,UAAU,EAAE,SAAS,CAAC,GAAG,CAAC,MAAM;SACjC,CAAC,CAAA;IACJ,CAAC;IAED,2EAA2E;IAC3E,MAAM,GAAG,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,UAAU,CAAC,YAAY,CAAC,CAAC,MAAM,EAAE,CAAA;IAC1D,MAAM,WAAW,EAAE,CAAC,EAAE,YAAY,EAAE,CAAC,CAAA;AACvC,CAAC"}
|
|
@@ -59,8 +59,8 @@ import type { ICapabilityAgent } from '../webvh/zcap.js';
|
|
|
59
59
|
*
|
|
60
60
|
* `'ladder-vm-not-anchored'`: this credential's ladder VM is not a
|
|
61
61
|
* verification method of the account document, so nothing ladder-signed can
|
|
62
|
-
* verify. Two distinct states land here: an account with enrolled
|
|
63
|
-
*
|
|
62
|
+
* verify. Two distinct states land here: an account with enrolled clients
|
|
63
|
+
* and no ladder VM at all (the self-enrollment's add entry removes
|
|
64
64
|
* them; the mender there is the step-up ceremony, not this ensure), and a
|
|
65
65
|
* client-less account anchored on ANOTHER standing credential's ladder --
|
|
66
66
|
* e.g. a passkey visiting an account the passphrase's ladder anchors, whose
|
|
@@ -4,18 +4,17 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* The `@interop/wallet-core/clientAnnex` subpath: the client annex -- the
|
|
6
6
|
* authoring and maintenance surface of everything anchored on a standing
|
|
7
|
-
* credential's ladder rather than on an enrolled
|
|
7
|
+
* credential's ladder rather than on an enrolled client. One boundary
|
|
8
8
|
* rule holds throughout: this subpath imports from the base subpaths;
|
|
9
9
|
* nothing in the base imports from it (enforced in the lint pass, with one
|
|
10
10
|
* pinned exception -- `unlock/standingWebvh.ts` uses the shared ladder
|
|
11
11
|
* attribution helpers here, never the annex log machinery). The verify-side
|
|
12
|
-
* halves every wallet needs regardless of account configuration stay in the
|
|
13
|
-
* resource-log ladder-append license and `ControllerInventory`
|
|
14
|
-
* computation (`resourceLog`), `ladderVmIds` recognition (`webvh`),
|
|
15
|
-
* unlock-record codec with its `ladder` and `delegatedClients` members
|
|
16
|
-
* (`unlock`), the standing-zcap staleness policy and the generalized log
|
|
17
|
-
*
|
|
18
|
-
* (`space`).
|
|
12
|
+
* halves every wallet needs regardless of account configuration stay in the
|
|
13
|
+
* base: the resource-log ladder-append license and `ControllerInventory`
|
|
14
|
+
* ladder-key computation (`resourceLog`), `ladderVmIds` recognition (`webvh`),
|
|
15
|
+
* the unlock-record codec with its `ladder` and `delegatedClients` members
|
|
16
|
+
* (`unlock`), the standing-zcap staleness policy and the generalized log store
|
|
17
|
+
* seams (`webvh`), and the `GenerationCollect` activity builder (`space`).
|
|
19
18
|
*
|
|
20
19
|
* - The ladder (`ladder.ts`): rung and ladder-VM derivation from the record's
|
|
21
20
|
* random seed, and the shared attribution walks (`attributeLadderRung`,
|
|
@@ -56,12 +55,12 @@ export { ensureRosterDeliveredEpochs } from './rosterDeliveredEpochs.js';
|
|
|
56
55
|
export type { RosterDeliveredEpochsResult } from './rosterDeliveredEpochs.js';
|
|
57
56
|
export { mendCredentialAnchoredAccount } from './mend.js';
|
|
58
57
|
export type { CredentialAnchoredAccountCore, CredentialAnchoredMendReport, CredentialAnchoredRegistryContext } from './mend.js';
|
|
59
|
-
export { BuiltOnHeadNotReachedError, createLadderAnchoredAccountLog, ensureLadderAnchoredDidWebvh, forgetLastWebvhClient, forgetWebvhClient, installLadderVmWebvh,
|
|
58
|
+
export { BuiltOnHeadNotReachedError, createLadderAnchoredAccountLog, ensureLadderAnchoredDidWebvh, forgetLastWebvhClient, forgetWebvhClient, installLadderVmWebvh, LastEnrolledClientForgetError, selfEnrollWebvhClient } from './ladderAnchored.js';
|
|
60
59
|
export { selfEnrollClientCore } from './selfEnroll.js';
|
|
61
|
-
export {
|
|
62
|
-
export type {
|
|
63
|
-
export {
|
|
64
|
-
export type { GenerationDelegationRetirement,
|
|
60
|
+
export { forgetEnrolledClient } from './forget.js';
|
|
61
|
+
export type { EnrolledClientForgetResult } from './forget.js';
|
|
62
|
+
export { forgetLastEnrolledClient, RecordRemintFailedError } from './forgetLast.js';
|
|
63
|
+
export type { GenerationDelegationRetirement, LastEnrolledClientForgetResult, UnlockMethodsRemintReach } from './forgetLast.js';
|
|
65
64
|
export { ensureCredentialAnchoredAccountGenesis, mintCredentialAnchoredAccountKeySet } from './credentialAnchoredGenesis.js';
|
|
66
65
|
export { recoverWebvhLadderAnchored } from './recoveryLadderAnchored.js';
|
|
67
66
|
export { createLadderAnchoredWebvhLog, ladderVerificationMethod } from '../webvh/didWebvh.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/clientAnnex/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/clientAnnex/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,OAAO,EACL,wBAAwB,EACxB,mBAAmB,EACnB,eAAe,EACf,mBAAmB,EACnB,kBAAkB,EAClB,eAAe,EACf,sBAAsB,EACtB,UAAU,EACV,cAAc,EACd,oBAAoB,EACpB,YAAY,EACb,MAAM,aAAa,CAAA;AACpB,YAAY,EACV,UAAU,EACV,eAAe,EACf,uBAAuB,EACxB,MAAM,aAAa,CAAA;AAEpB,OAAO,EACL,kBAAkB,EAClB,iBAAiB,EACjB,uBAAuB,EACvB,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,+BAA+B,EAC/B,qBAAqB,EACrB,oBAAoB,EACpB,oCAAoC,EACpC,mCAAmC,EACnC,8BAA8B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AC7B,4BAA4B,EAC5B,iCAAiC,EAClC,MAAM,WAAW,CAAA;AAElB,OAAO,EACL,0BAA0B,EAC1B,8BAA8B,EAC9B,4BAA4B,EAC5B,qBAAqB,EACrB,iBAAiB,EACjB,oBAAoB,EACpB,6BAA6B,EAC7B,qBAAqB,EACtB,MAAM,qBAAqB,CAAA;AAE5B,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAA;AAEtD,OAAO,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAA;AAClD,YAAY,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAA;AAE7D,OAAO,EACL,wBAAwB,EACxB,uBAAuB,EACxB,MAAM,iBAAiB,CAAA;AACxB,YAAY,EACV,8BAA8B,EAC9B,8BAA8B,EAC9B,wBAAwB,EACzB,MAAM,iBAAiB,CAAA;AAExB,OAAO,EACL,sCAAsC,EACtC,mCAAmC,EACpC,MAAM,gCAAgC,CAAA;AAEvC,OAAO,EAAE,0BAA0B,EAAE,MAAM,6BAA6B,CAAA;AAOxE,OAAO,EACL,4BAA4B,EAC5B,wBAAwB,EACzB,MAAM,sBAAsB,CAAA"}
|
|
@@ -4,18 +4,17 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* The `@interop/wallet-core/clientAnnex` subpath: the client annex -- the
|
|
6
6
|
* authoring and maintenance surface of everything anchored on a standing
|
|
7
|
-
* credential's ladder rather than on an enrolled
|
|
7
|
+
* credential's ladder rather than on an enrolled client. One boundary
|
|
8
8
|
* rule holds throughout: this subpath imports from the base subpaths;
|
|
9
9
|
* nothing in the base imports from it (enforced in the lint pass, with one
|
|
10
10
|
* pinned exception -- `unlock/standingWebvh.ts` uses the shared ladder
|
|
11
11
|
* attribution helpers here, never the annex log machinery). The verify-side
|
|
12
|
-
* halves every wallet needs regardless of account configuration stay in the
|
|
13
|
-
* resource-log ladder-append license and `ControllerInventory`
|
|
14
|
-
* computation (`resourceLog`), `ladderVmIds` recognition (`webvh`),
|
|
15
|
-
* unlock-record codec with its `ladder` and `delegatedClients` members
|
|
16
|
-
* (`unlock`), the standing-zcap staleness policy and the generalized log
|
|
17
|
-
*
|
|
18
|
-
* (`space`).
|
|
12
|
+
* halves every wallet needs regardless of account configuration stay in the
|
|
13
|
+
* base: the resource-log ladder-append license and `ControllerInventory`
|
|
14
|
+
* ladder-key computation (`resourceLog`), `ladderVmIds` recognition (`webvh`),
|
|
15
|
+
* the unlock-record codec with its `ladder` and `delegatedClients` members
|
|
16
|
+
* (`unlock`), the standing-zcap staleness policy and the generalized log store
|
|
17
|
+
* seams (`webvh`), and the `GenerationCollect` activity builder (`space`).
|
|
19
18
|
*
|
|
20
19
|
* - The ladder (`ladder.ts`): rung and ladder-VM derivation from the record's
|
|
21
20
|
* random seed, and the shared attribution walks (`attributeLadderRung`,
|
|
@@ -49,10 +48,10 @@ export { ClientAnnexGenerationUnavailableError, ensureCredentialClientAnnexGener
|
|
|
49
48
|
export { ensurePointedClientAnnexGeneration, establishCredentialAnchoredAccount } from './establish.js';
|
|
50
49
|
export { ensureRosterDeliveredEpochs } from './rosterDeliveredEpochs.js';
|
|
51
50
|
export { mendCredentialAnchoredAccount } from './mend.js';
|
|
52
|
-
export { BuiltOnHeadNotReachedError, createLadderAnchoredAccountLog, ensureLadderAnchoredDidWebvh, forgetLastWebvhClient, forgetWebvhClient, installLadderVmWebvh,
|
|
51
|
+
export { BuiltOnHeadNotReachedError, createLadderAnchoredAccountLog, ensureLadderAnchoredDidWebvh, forgetLastWebvhClient, forgetWebvhClient, installLadderVmWebvh, LastEnrolledClientForgetError, selfEnrollWebvhClient } from './ladderAnchored.js';
|
|
53
52
|
export { selfEnrollClientCore } from './selfEnroll.js';
|
|
54
|
-
export {
|
|
55
|
-
export {
|
|
53
|
+
export { forgetEnrolledClient } from './forget.js';
|
|
54
|
+
export { forgetLastEnrolledClient, RecordRemintFailedError } from './forgetLast.js';
|
|
56
55
|
export { ensureCredentialAnchoredAccountGenesis, mintCredentialAnchoredAccountKeySet } from './credentialAnchoredGenesis.js';
|
|
57
56
|
export { recoverWebvhLadderAnchored } from './recoveryLadderAnchored.js';
|
|
58
57
|
// The ladder VM's pure document builder and the ladder-anchored genesis log
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/clientAnnex/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/clientAnnex/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,OAAO,EACL,wBAAwB,EACxB,mBAAmB,EACnB,eAAe,EACf,mBAAmB,EACnB,kBAAkB,EAClB,eAAe,EACf,sBAAsB,EACtB,UAAU,EACV,cAAc,EACd,oBAAoB,EACpB,YAAY,EACb,MAAM,aAAa,CAAA;AAOpB,OAAO,EACL,kBAAkB,EAClB,iBAAiB,EACjB,uBAAuB,EACvB,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,+BAA+B,EAC/B,qBAAqB,EACrB,oBAAoB,EACpB,oCAAoC,EACpC,mCAAmC,EACnC,8BAA8B,EAC9B,gCAAgC,EAChC,iCAAiC,EACjC,uBAAuB,EACvB,4BAA4B,EAC5B,4BAA4B,EAC5B,gCAAgC,EAChC,qBAAqB,EACrB,sBAAsB,EACtB,iCAAiC,EACjC,6BAA6B,EAC7B,kCAAkC,EAClC,4BAA4B,EAC5B,oBAAoB,EACpB,2BAA2B,EAC3B,gCAAgC,EAChC,yBAAyB,EACzB,mCAAmC,EACnC,8BAA8B,EAC9B,wBAAwB,EACxB,gBAAgB,EAChB,qBAAqB,EACrB,qCAAqC,EACrC,4BAA4B,EAC5B,0BAA0B,EAC3B,MAAM,UAAU,CAAA;AAGjB,OAAO,EACL,gBAAgB,EAChB,oCAAoC,EACpC,uBAAuB,EACvB,yBAAyB,EACzB,yBAAyB,EACzB,eAAe,EACf,gBAAgB,EAChB,yBAAyB,EAC1B,MAAM,SAAS,CAAA;AAGhB,OAAO,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAA;AAE7D,OAAO,EACL,qCAAqC,EACrC,qCAAqC,EACrC,sCAAsC,EACtC,sBAAsB,EACtB,yBAAyB,EAC1B,MAAM,WAAW,CAAA;AAMlB,OAAO,EACL,kCAAkC,EAClC,kCAAkC,EACnC,MAAM,gBAAgB,CAAA;AAQvB,OAAO,EAAE,2BAA2B,EAAE,MAAM,4BAA4B,CAAA;AAGxE,OAAO,EAAE,6BAA6B,EAAE,MAAM,WAAW,CAAA;AAOzD,OAAO,EACL,0BAA0B,EAC1B,8BAA8B,EAC9B,4BAA4B,EAC5B,qBAAqB,EACrB,iBAAiB,EACjB,oBAAoB,EACpB,6BAA6B,EAC7B,qBAAqB,EACtB,MAAM,qBAAqB,CAAA;AAE5B,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAA;AAEtD,OAAO,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAA;AAGlD,OAAO,EACL,wBAAwB,EACxB,uBAAuB,EACxB,MAAM,iBAAiB,CAAA;AAOxB,OAAO,EACL,sCAAsC,EACtC,mCAAmC,EACpC,MAAM,gCAAgC,CAAA;AAEvC,OAAO,EAAE,0BAA0B,EAAE,MAAM,6BAA6B,CAAA;AAExE,4EAA4E;AAC5E,qEAAqE;AACrE,6EAA6E;AAC7E,4EAA4E;AAC5E,wBAAwB;AACxB,OAAO,EACL,4BAA4B,EAC5B,wBAAwB,EACzB,MAAM,sBAAsB,CAAA"}
|
|
@@ -40,7 +40,7 @@ const LADDER_SALT = 'freewallet/unlock/update-ladder/v1';
|
|
|
40
40
|
const LADDER_RUNG_INFO_PREFIX = 'rung/';
|
|
41
41
|
/**
|
|
42
42
|
* The info label of the ladder VM -- the stable sibling key published in the
|
|
43
|
-
* account document while the account has no enrolled
|
|
43
|
+
* account document while the account has no enrolled client. One salt
|
|
44
44
|
* for everything ladder-seed-derived, with the info namespace doing the
|
|
45
45
|
* separation: `vm` can never collide with a `rung/<n>` label. Permanent.
|
|
46
46
|
*/
|
|
@@ -5,11 +5,11 @@ import { type RevokedClientKeys } from '../webvh/revokeClient.js';
|
|
|
5
5
|
import { type UnlockKeyAgreementPublication, type UnlockLogStore } from '../unlock/standingWebvh.js';
|
|
6
6
|
/**
|
|
7
7
|
* LADDER-ANCHORED GENESIS: assembles the one-entry did:webvh log of an account
|
|
8
|
-
* with zero enrolled
|
|
8
|
+
* with zero enrolled clients, anchored on the minting credential's
|
|
9
9
|
* ladder alone. Everything derives from the ladder seed: rung 0 is the sole
|
|
10
10
|
* `updateKeys` member and signs the entry, `nextKeyHashes` commits rung 0's
|
|
11
11
|
* own carry-over hash plus rung 1 (the staged rung) -- the carry-over hash is
|
|
12
|
-
* what the first
|
|
12
|
+
* what the first self-enrollment's reveal-and-commit entry,
|
|
13
13
|
* re-stating `updateKeys` containing rung 0, requires --
|
|
14
14
|
* and the ladder VM (the stable sibling) is published under `assertionMethod`
|
|
15
15
|
* and `capabilityDelegation` only. The credential's `keyAgreement`
|
|
@@ -18,13 +18,13 @@ import { type UnlockKeyAgreementPublication, type UnlockLogStore } from '../unlo
|
|
|
18
18
|
* `keyAgreement` array holds only the credential's entry.
|
|
19
19
|
*
|
|
20
20
|
* The ladder-anchored window this opens is closed by the credential's first
|
|
21
|
-
*
|
|
21
|
+
* self-enrollment ({@link selfEnrollWebvhClient}), whose add entry
|
|
22
22
|
* atomically publishes the client, retires rung 0, and removes the ladder VM.
|
|
23
23
|
*
|
|
24
24
|
* When the wallet keeps a KMS, `didWebKeys` folds the KMS-held
|
|
25
25
|
* authentication key into the entry under `authentication` only -- the
|
|
26
|
-
*
|
|
27
|
-
* KMS keyAgreement or assertion key).
|
|
26
|
+
* enrolled-client genesis's server-side convenience, with its exclusions
|
|
27
|
+
* intact (no KMS keyAgreement or assertion key).
|
|
28
28
|
*
|
|
29
29
|
* The caller owns publication (conditional, create-only) and the pointer
|
|
30
30
|
* write that follows; this assembles and signs the log only.
|
|
@@ -52,13 +52,13 @@ export declare function createLadderAnchoredAccountLog({ wasServerUrl, spaceId,
|
|
|
52
52
|
}>;
|
|
53
53
|
/**
|
|
54
54
|
* LADDER-ANCHORED GENESIS AS AN ENSURE: probe, adopt, or create-and-publish --
|
|
55
|
-
* {@link createLadderAnchoredAccountLog} with the
|
|
56
|
-
* convention wrapped around it. The convergence rule is what
|
|
57
|
-
* ceremony rather than a bare create: `createDID` timestamps
|
|
58
|
-
* entry, so a naive re-run of a torn signup mints a DIFFERENT SCID
|
|
59
|
-
* create-if-absent PUT can never land. So a published log is ADOPTED
|
|
60
|
-
* -- iff `attributeLadderRung` attributes its update parameters to
|
|
61
|
-
* credential's ladder (rung revealed or committed; a foreign log fails
|
|
55
|
+
* {@link createLadderAnchoredAccountLog} with the enrolled-client flow's
|
|
56
|
+
* `ensureDidWebvh` convention wrapped around it. The convergence rule is what
|
|
57
|
+
* makes signup a ceremony rather than a bare create: `createDID` timestamps
|
|
58
|
+
* the genesis entry, so a naive re-run of a torn signup mints a DIFFERENT SCID
|
|
59
|
+
* and its create-if-absent PUT can never land. So a published log is ADOPTED
|
|
60
|
+
* instead -- iff `attributeLadderRung` attributes its update parameters to
|
|
61
|
+
* this credential's ladder (rung revealed or committed; a foreign log fails
|
|
62
62
|
* closed with `LadderAttributionError` and is never built on).
|
|
63
63
|
*
|
|
64
64
|
* The publish is a conditional create-if-absent, so a concurrent signup's
|
|
@@ -74,7 +74,7 @@ export declare function createLadderAnchoredAccountLog({ wasServerUrl, spaceId,
|
|
|
74
74
|
* @param [options.didWebKeys] {DidWebKeyMapV2} the parsed keys.json, when
|
|
75
75
|
* the wallet keeps a KMS; folded into the CREATE path only (see the
|
|
76
76
|
* adoption note in the body), which also records the minted DID into
|
|
77
|
-
* keys.json's webvh block as the
|
|
77
|
+
* keys.json's webvh block as the enrolled-client ensure does
|
|
78
78
|
* @param options.ladderSeed {Uint8Array} the credential's ladder seed
|
|
79
79
|
* @param options.keyAgreement {UnlockKeyAgreementPublication} the
|
|
80
80
|
* credential's key-agreement publication (commitment or verbatim)
|
|
@@ -124,10 +124,10 @@ export declare function ensureLadderAnchoredDidWebvh(options: {
|
|
|
124
124
|
* the REQUIRED persist-before-publish seam. It runs once per attempt, after
|
|
125
125
|
* the reveal-and-commit entry stands (published here, or standing from a
|
|
126
126
|
* torn earlier run) and BEFORE the add entry -- the ceremony's pivot -- is
|
|
127
|
-
* built. The caller
|
|
128
|
-
* `pending` codec group of `keys/clientKeyRecord.ts`:
|
|
129
|
-
* `'self-enrollment'`, the handed-back `builtOnHead`), so the add
|
|
130
|
-
* never publish a client whose seed nothing can re-derive, per the
|
|
127
|
+
* built. The caller writes the pending client-key record to client-local
|
|
128
|
+
* storage there (the `pending` codec group of `keys/clientKeyRecord.ts`:
|
|
129
|
+
* ceremony `'self-enrollment'`, the handed-back `builtOnHead`), so the add
|
|
130
|
+
* entry can never publish a client whose seed nothing can re-derive, per the
|
|
131
131
|
* post-pivot derivability rule (`decisions/0010`). A throw propagates and
|
|
132
132
|
* the add entry is withheld. What a throw leaves behind is inert: the
|
|
133
133
|
* standing reveal entry's committed hashes for the unpersisted client stay
|
|
@@ -254,20 +254,20 @@ export declare class BuiltOnHeadNotReachedError extends Error {
|
|
|
254
254
|
}
|
|
255
255
|
/**
|
|
256
256
|
* Thrown when the client being forgotten is the account's LAST enrolled
|
|
257
|
-
*
|
|
257
|
+
* client. Removing it through this entry would leave the document
|
|
258
258
|
* with no client and no ladder verification method -- an account nothing can
|
|
259
259
|
* invoke for -- so that case is its own ceremony (the two-entry
|
|
260
260
|
* ladder-VM-install shape), and this primitive refuses rather than
|
|
261
261
|
* transitioning the account by accident.
|
|
262
262
|
*
|
|
263
263
|
* **`name` is a stable contract.** It is always the string
|
|
264
|
-
* `'
|
|
264
|
+
* `'LastEnrolledClientForgetError'`, and a consumer should match on that
|
|
265
265
|
* rather than on `instanceof`: a wallet app that links this package (or holds
|
|
266
266
|
* two copies of it through a dependency tree) gets a different class object
|
|
267
267
|
* for the same error, so `instanceof` silently fails there while the name
|
|
268
268
|
* does not.
|
|
269
269
|
*/
|
|
270
|
-
export declare class
|
|
270
|
+
export declare class LastEnrolledClientForgetError extends Error {
|
|
271
271
|
constructor();
|
|
272
272
|
}
|
|
273
273
|
/**
|
|
@@ -296,8 +296,8 @@ export declare class LastDurableClientForgetError extends Error {
|
|
|
296
296
|
* next self-enrollment consumes and retires it, and retiring the credential
|
|
297
297
|
* itself strikes it (`attributeLadderInventory`).
|
|
298
298
|
*
|
|
299
|
-
* Forgetting the LAST enrolled
|
|
300
|
-
* ({@link
|
|
299
|
+
* Forgetting the LAST enrolled client is refused
|
|
300
|
+
* ({@link LastEnrolledClientForgetError}): that transition -- to the
|
|
301
301
|
* client-less, ladder-anchored state -- is its own two-entry ceremony.
|
|
302
302
|
*
|
|
303
303
|
* Idempotent: a client with no remaining presence is a no-op that returns the
|
|
@@ -344,13 +344,13 @@ export declare function forgetWebvhClient(options: {
|
|
|
344
344
|
/**
|
|
345
345
|
* THE LAST-CLIENT REMOVAL ENTRY (the two-entry transition ceremony's second
|
|
346
346
|
* entry): {@link forgetWebvhClient}'s removal shape with the last-client
|
|
347
|
-
* refusal inverted -- the forgotten client IS the last enrolled
|
|
348
|
-
*
|
|
349
|
-
*
|
|
347
|
+
* refusal inverted -- the forgotten client IS the last enrolled client, and
|
|
348
|
+
* the account stays invocable because the ladder VM the install entry
|
|
349
|
+
* published ({@link installLadderVmWebvh}) remains in the document. A
|
|
350
350
|
* document NOT carrying this credential's ladder VM refuses: publishing the
|
|
351
|
-
* entry would strand the account with neither
|
|
351
|
+
* entry would strand the account with neither an enrolled client nor the
|
|
352
352
|
* ladder anchor. Run only from the composed ceremony
|
|
353
|
-
* (`
|
|
353
|
+
* (`forgetLastEnrolledClient`), which sequences the install entry and the
|
|
354
354
|
* delegation revocations before it.
|
|
355
355
|
*
|
|
356
356
|
* @param options {object} see {@link forgetWebvhClient}
|
|
@@ -372,13 +372,13 @@ export declare function forgetLastWebvhClient(options: {
|
|
|
372
372
|
/**
|
|
373
373
|
* THE LADDER-VM INSTALL ENTRY (the two-entry transition ceremony's first
|
|
374
374
|
* entry): publishes the credential's ladder VM -- the stable sibling, under
|
|
375
|
-
* `assertionMethod` and `capabilityDelegation` only -- while the last
|
|
376
|
-
* client's whole inventory stays untouched: the both-present
|
|
377
|
-
* state the no-neither invariant permits. The entry is
|
|
378
|
-
* attributed rung, which reveals itself into
|
|
379
|
-
* kept committed (the carry-over convention),
|
|
380
|
-
* rung math -- so a torn ceremony's re-run
|
|
381
|
-
* rung and carries on.
|
|
375
|
+
* `assertionMethod` and `capabilityDelegation` only -- while the last
|
|
376
|
+
* enrolled client's whole inventory stays untouched: the both-present
|
|
377
|
+
* transitional state the no-neither invariant permits. The entry is
|
|
378
|
+
* ladder-signed by the attributed rung, which reveals itself into
|
|
379
|
+
* `updateKeys` with its own hash kept committed (the carry-over convention),
|
|
380
|
+
* exactly the removal entry's rung math -- so a torn ceremony's re-run
|
|
381
|
+
* re-attributes the now-revealed rung and carries on.
|
|
382
382
|
*
|
|
383
383
|
* This entry is what makes the transition's document version INVENTORY-CHANGING
|
|
384
384
|
* under the ceremony-tail license (the ladder-VM set gains a member), so the
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ladderAnchored.d.ts","sourceRoot":"","sources":["../../src/clientAnnex/ladderAnchored.ts"],"names":[],"mappings":"AAmDA,OAAO,KAAK,EACV,MAAM,EACN,MAAM,EAEP,MAAM,2BAA2B,CAAA;AAoBlC,OAAO,KAAK,EACV,qBAAqB,EACrB,cAAc,EACd,mBAAmB,EACnB,YAAY,EACb,MAAM,sBAAsB,CAAA;AAE7B,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAA;AAEnE,OAAO,EAGL,KAAK,iBAAiB,EACvB,MAAM,0BAA0B,CAAA;AACjC,OAAO,EAGL,KAAK,6BAA6B,EAClC,K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