@interop/wallet-core 0.62.0 → 0.66.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/README.md +41 -16
- package/dist/clientAnnex/credentialAnchoredGenesis.d.ts +46 -26
- package/dist/clientAnnex/credentialAnchoredGenesis.d.ts.map +1 -1
- package/dist/clientAnnex/credentialAnchoredGenesis.js +91 -39
- package/dist/clientAnnex/credentialAnchoredGenesis.js.map +1 -1
- package/dist/clientAnnex/establish.d.ts +119 -35
- package/dist/clientAnnex/establish.d.ts.map +1 -1
- package/dist/clientAnnex/establish.js +227 -160
- package/dist/clientAnnex/establish.js.map +1 -1
- package/dist/clientAnnex/forget.d.ts +18 -8
- package/dist/clientAnnex/forget.d.ts.map +1 -1
- package/dist/clientAnnex/forget.js +37 -64
- package/dist/clientAnnex/forget.js.map +1 -1
- package/dist/clientAnnex/forgetLast.d.ts +85 -38
- package/dist/clientAnnex/forgetLast.d.ts.map +1 -1
- package/dist/clientAnnex/forgetLast.js +155 -98
- package/dist/clientAnnex/forgetLast.js.map +1 -1
- package/dist/clientAnnex/gc.d.ts +3 -2
- package/dist/clientAnnex/gc.d.ts.map +1 -1
- package/dist/clientAnnex/gc.js +16 -7
- package/dist/clientAnnex/gc.js.map +1 -1
- package/dist/clientAnnex/heal.d.ts +65 -14
- package/dist/clientAnnex/heal.d.ts.map +1 -1
- package/dist/clientAnnex/heal.js +397 -298
- package/dist/clientAnnex/heal.js.map +1 -1
- package/dist/clientAnnex/index.d.ts +23 -7
- package/dist/clientAnnex/index.d.ts.map +1 -1
- package/dist/clientAnnex/index.js +26 -7
- package/dist/clientAnnex/index.js.map +1 -1
- package/dist/clientAnnex/ladder.d.ts +58 -0
- package/dist/clientAnnex/ladder.d.ts.map +1 -1
- package/dist/clientAnnex/ladder.js +249 -41
- package/dist/clientAnnex/ladder.js.map +1 -1
- package/dist/clientAnnex/ladderAnchored.d.ts +148 -22
- package/dist/clientAnnex/ladderAnchored.d.ts.map +1 -1
- package/dist/clientAnnex/ladderAnchored.js +391 -346
- package/dist/clientAnnex/ladderAnchored.js.map +1 -1
- package/dist/clientAnnex/log.d.ts +237 -53
- package/dist/clientAnnex/log.d.ts.map +1 -1
- package/dist/clientAnnex/log.js +533 -198
- package/dist/clientAnnex/log.js.map +1 -1
- package/dist/clientAnnex/mend.d.ts +12 -6
- package/dist/clientAnnex/mend.d.ts.map +1 -1
- package/dist/clientAnnex/mend.js +44 -72
- package/dist/clientAnnex/mend.js.map +1 -1
- package/dist/clientAnnex/recoveryLadderAnchored.d.ts +6 -4
- package/dist/clientAnnex/recoveryLadderAnchored.d.ts.map +1 -1
- package/dist/clientAnnex/recoveryLadderAnchored.js +56 -35
- package/dist/clientAnnex/recoveryLadderAnchored.js.map +1 -1
- package/dist/clientAnnex/spaceCapability.d.ts +123 -0
- package/dist/clientAnnex/spaceCapability.d.ts.map +1 -0
- package/dist/clientAnnex/spaceCapability.js +152 -0
- package/dist/clientAnnex/spaceCapability.js.map +1 -0
- package/dist/clientAnnex/stages.d.ts +63 -0
- package/dist/clientAnnex/stages.d.ts.map +1 -0
- package/dist/clientAnnex/stages.js +64 -0
- package/dist/clientAnnex/stages.js.map +1 -0
- package/dist/clientAnnex/zcap.d.ts +1 -1
- package/dist/clientAnnex/zcap.d.ts.map +1 -1
- package/dist/clientAnnex/zcap.js +42 -35
- package/dist/clientAnnex/zcap.js.map +1 -1
- package/dist/clients/policy.d.ts +15 -1
- package/dist/clients/policy.d.ts.map +1 -1
- package/dist/clients/policy.js +12 -6
- package/dist/clients/policy.js.map +1 -1
- package/dist/clients/revocation.d.ts +18 -10
- package/dist/clients/revocation.d.ts.map +1 -1
- package/dist/clients/revocation.js +13 -5
- package/dist/clients/revocation.js.map +1 -1
- package/dist/clients/rosterPolicy.d.ts +10 -2
- package/dist/clients/rosterPolicy.d.ts.map +1 -1
- package/dist/clients/rosterPolicy.js +41 -24
- package/dist/clients/rosterPolicy.js.map +1 -1
- package/dist/descriptors/acquire.d.ts.map +1 -1
- package/dist/descriptors/acquire.js +6 -23
- package/dist/descriptors/acquire.js.map +1 -1
- package/dist/descriptors/cipher.d.ts.map +1 -1
- package/dist/descriptors/cipher.js +5 -0
- package/dist/descriptors/cipher.js.map +1 -1
- package/dist/descriptors/errors.d.ts +43 -0
- package/dist/descriptors/errors.d.ts.map +1 -0
- package/dist/descriptors/errors.js +45 -0
- package/dist/descriptors/errors.js.map +1 -0
- package/dist/descriptors/index.d.ts +5 -0
- package/dist/descriptors/index.d.ts.map +1 -1
- package/dist/descriptors/index.js +5 -0
- package/dist/descriptors/index.js.map +1 -1
- package/dist/enrollment/enrollment.d.ts +37 -10
- package/dist/enrollment/enrollment.d.ts.map +1 -1
- package/dist/enrollment/enrollment.js +52 -15
- package/dist/enrollment/enrollment.js.map +1 -1
- package/dist/genesis/accountGenesis.d.ts +42 -11
- package/dist/genesis/accountGenesis.d.ts.map +1 -1
- package/dist/genesis/accountGenesis.js +80 -22
- package/dist/genesis/accountGenesis.js.map +1 -1
- package/dist/genesis/index.d.ts +3 -1
- package/dist/genesis/index.d.ts.map +1 -1
- package/dist/genesis/index.js +3 -1
- package/dist/genesis/index.js.map +1 -1
- package/dist/identity/agents.d.ts +17 -1
- package/dist/identity/agents.d.ts.map +1 -1
- package/dist/identity/agents.js +23 -7
- package/dist/identity/agents.js.map +1 -1
- package/dist/identity/index.d.ts +3 -1
- package/dist/identity/index.d.ts.map +1 -1
- package/dist/identity/index.js +3 -1
- package/dist/identity/index.js.map +1 -1
- package/dist/index.d.ts +6 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -3
- package/dist/index.js.map +1 -1
- package/dist/keyring/index.d.ts +2 -1
- package/dist/keyring/index.d.ts.map +1 -1
- package/dist/keyring/index.js +2 -1
- package/dist/keyring/index.js.map +1 -1
- package/dist/keyring/record.d.ts.map +1 -1
- package/dist/keyring/record.js +3 -6
- package/dist/keyring/record.js.map +1 -1
- package/dist/keyring/unlockSpace.d.ts +14 -5
- package/dist/keyring/unlockSpace.d.ts.map +1 -1
- package/dist/keyring/unlockSpace.js +31 -36
- package/dist/keyring/unlockSpace.js.map +1 -1
- package/dist/keys/index.d.ts +22 -8
- package/dist/keys/index.d.ts.map +1 -1
- package/dist/keys/index.js +20 -6
- package/dist/keys/index.js.map +1 -1
- package/dist/keys/rosterLogStore.d.ts +15 -12
- package/dist/keys/rosterLogStore.d.ts.map +1 -1
- package/dist/keys/rosterLogStore.js +21 -16
- package/dist/keys/rosterLogStore.js.map +1 -1
- package/dist/keys/rosterStore.d.ts +3 -6
- package/dist/keys/rosterStore.d.ts.map +1 -1
- package/dist/keys/rosterStore.js +10 -9
- package/dist/keys/rosterStore.js.map +1 -1
- package/dist/keys/spaceEpochs.d.ts.map +1 -1
- package/dist/keys/spaceEpochs.js +2 -3
- package/dist/keys/spaceEpochs.js.map +1 -1
- package/dist/keys/userKeyCascade.d.ts +8 -5
- package/dist/keys/userKeyCascade.d.ts.map +1 -1
- package/dist/keys/userKeyCascade.js +7 -6
- package/dist/keys/userKeyCascade.js.map +1 -1
- package/dist/keys/userKeyRoster.d.ts +95 -8
- package/dist/keys/userKeyRoster.d.ts.map +1 -1
- package/dist/keys/userKeyRoster.js +278 -35
- package/dist/keys/userKeyRoster.js.map +1 -1
- package/dist/keys/userKeyRosterCascade.d.ts +117 -16
- package/dist/keys/userKeyRosterCascade.d.ts.map +1 -1
- package/dist/keys/userKeyRosterCascade.js +184 -43
- package/dist/keys/userKeyRosterCascade.js.map +1 -1
- package/dist/keys/wasLabelsStore.d.ts +9 -2
- package/dist/keys/wasLabelsStore.d.ts.map +1 -1
- package/dist/keys/wasLabelsStore.js +14 -6
- package/dist/keys/wasLabelsStore.js.map +1 -1
- package/dist/log.d.ts +7 -2
- package/dist/log.d.ts.map +1 -1
- package/dist/log.js +6 -1
- package/dist/log.js.map +1 -1
- package/dist/recovery/index.d.ts +13 -9
- package/dist/recovery/index.d.ts.map +1 -1
- package/dist/recovery/index.js +12 -8
- package/dist/recovery/index.js.map +1 -1
- package/dist/recovery/recoveryCode.d.ts +27 -7
- package/dist/recovery/recoveryCode.d.ts.map +1 -1
- package/dist/recovery/recoveryCode.js +18 -6
- package/dist/recovery/recoveryCode.js.map +1 -1
- package/dist/recovery/recoveryDelegation.d.ts +23 -0
- package/dist/recovery/recoveryDelegation.d.ts.map +1 -1
- package/dist/recovery/recoveryDelegation.js +66 -46
- package/dist/recovery/recoveryDelegation.js.map +1 -1
- package/dist/recovery/recoveryWebvh.d.ts +75 -63
- package/dist/recovery/recoveryWebvh.d.ts.map +1 -1
- package/dist/recovery/recoveryWebvh.js +127 -116
- package/dist/recovery/recoveryWebvh.js.map +1 -1
- package/dist/request/appKey.d.ts +35 -1
- package/dist/request/appKey.d.ts.map +1 -1
- package/dist/request/appKey.js +29 -10
- package/dist/request/appKey.js.map +1 -1
- package/dist/request/classify.d.ts +32 -8
- package/dist/request/classify.d.ts.map +1 -1
- package/dist/request/classify.js +39 -14
- package/dist/request/classify.js.map +1 -1
- package/dist/request/ephemeralExchange.d.ts +1 -6
- package/dist/request/ephemeralExchange.d.ts.map +1 -1
- package/dist/request/ephemeralExchange.js.map +1 -1
- package/dist/request/onboarding.d.ts.map +1 -1
- package/dist/request/onboarding.js +2 -2
- package/dist/request/onboarding.js.map +1 -1
- package/dist/request/parse.d.ts.map +1 -1
- package/dist/request/parse.js +2 -3
- package/dist/request/parse.js.map +1 -1
- package/dist/resourceLog/controller.d.ts +34 -12
- package/dist/resourceLog/controller.d.ts.map +1 -1
- package/dist/resourceLog/controller.js +79 -86
- package/dist/resourceLog/controller.js.map +1 -1
- package/dist/resourceLog/document.d.ts +182 -0
- package/dist/resourceLog/document.d.ts.map +1 -0
- package/dist/resourceLog/document.js +159 -0
- package/dist/resourceLog/document.js.map +1 -0
- package/dist/resourceLog/errors.d.ts +47 -8
- package/dist/resourceLog/errors.d.ts.map +1 -1
- package/dist/resourceLog/errors.js +54 -8
- package/dist/resourceLog/errors.js.map +1 -1
- package/dist/resourceLog/index.d.ts +7 -3
- package/dist/resourceLog/index.d.ts.map +1 -1
- package/dist/resourceLog/index.js +7 -3
- package/dist/resourceLog/index.js.map +1 -1
- package/dist/resourceLog/ladderRungs.d.ts +35 -0
- package/dist/resourceLog/ladderRungs.d.ts.map +1 -0
- package/dist/resourceLog/ladderRungs.js +352 -0
- package/dist/resourceLog/ladderRungs.js.map +1 -0
- package/dist/resourceLog/license.d.ts +42 -17
- package/dist/resourceLog/license.d.ts.map +1 -1
- package/dist/resourceLog/license.js +38 -24
- package/dist/resourceLog/license.js.map +1 -1
- package/dist/space/activity.d.ts +15 -15
- package/dist/space/activity.d.ts.map +1 -1
- package/dist/space/activity.js +15 -15
- package/dist/space/activity.js.map +1 -1
- package/dist/space/collections.d.ts +11 -0
- package/dist/space/collections.d.ts.map +1 -1
- package/dist/space/collections.js +13 -0
- package/dist/space/collections.js.map +1 -1
- package/dist/space/deleteSpace.d.ts +28 -0
- package/dist/space/deleteSpace.d.ts.map +1 -0
- package/dist/space/deleteSpace.js +44 -0
- package/dist/space/deleteSpace.js.map +1 -0
- package/dist/space/errors.d.ts.map +1 -1
- package/dist/space/errors.js +0 -1
- package/dist/space/errors.js.map +1 -1
- package/dist/space/index.d.ts +6 -0
- package/dist/space/index.d.ts.map +1 -1
- package/dist/space/index.js +6 -0
- package/dist/space/index.js.map +1 -1
- package/dist/space/plaintextCollection.d.ts +43 -0
- package/dist/space/plaintextCollection.d.ts.map +1 -0
- package/dist/space/plaintextCollection.js +17 -0
- package/dist/space/plaintextCollection.js.map +1 -0
- package/dist/stages.d.ts +23 -0
- package/dist/stages.d.ts.map +1 -0
- package/dist/stages.js +23 -0
- package/dist/stages.js.map +1 -0
- package/dist/sync/index.d.ts +7 -0
- package/dist/sync/index.d.ts.map +1 -1
- package/dist/sync/index.js +7 -0
- package/dist/sync/index.js.map +1 -1
- package/dist/sync/push.js +4 -4
- package/dist/sync/push.js.map +1 -1
- package/dist/sync/remint.js +2 -2
- package/dist/sync/remint.js.map +1 -1
- package/dist/sync/types.d.ts +41 -1
- package/dist/sync/types.d.ts.map +1 -1
- package/dist/sync/types.js +47 -1
- package/dist/sync/types.js.map +1 -1
- package/dist/unlock/index.d.ts +5 -1
- package/dist/unlock/index.d.ts.map +1 -1
- package/dist/unlock/index.js +5 -1
- package/dist/unlock/index.js.map +1 -1
- package/dist/unlock/retire.d.ts +35 -7
- package/dist/unlock/retire.d.ts.map +1 -1
- package/dist/unlock/retire.js +52 -14
- package/dist/unlock/retire.js.map +1 -1
- package/dist/unlock/standingClient.d.ts.map +1 -1
- package/dist/unlock/standingClient.js +5 -1
- package/dist/unlock/standingClient.js.map +1 -1
- package/dist/unlock/standingWebvh.d.ts +217 -35
- package/dist/unlock/standingWebvh.d.ts.map +1 -1
- package/dist/unlock/standingWebvh.js +469 -210
- package/dist/unlock/standingWebvh.js.map +1 -1
- package/dist/webvh/accountEntry.d.ts +146 -0
- package/dist/webvh/accountEntry.d.ts.map +1 -0
- package/dist/webvh/accountEntry.js +239 -0
- package/dist/webvh/accountEntry.js.map +1 -0
- package/dist/webvh/didWeb.d.ts +12 -7
- package/dist/webvh/didWeb.d.ts.map +1 -1
- package/dist/webvh/didWeb.js +2 -2
- package/dist/webvh/didWeb.js.map +1 -1
- package/dist/webvh/didWebProjection.d.ts +164 -0
- package/dist/webvh/didWebProjection.d.ts.map +1 -0
- package/dist/webvh/didWebProjection.js +230 -0
- package/dist/webvh/didWebProjection.js.map +1 -0
- package/dist/webvh/didWebvh.d.ts +275 -136
- package/dist/webvh/didWebvh.d.ts.map +1 -1
- package/dist/webvh/didWebvh.js +307 -340
- package/dist/webvh/didWebvh.js.map +1 -1
- package/dist/webvh/enrollClient.d.ts +65 -0
- package/dist/webvh/enrollClient.d.ts.map +1 -0
- package/dist/webvh/enrollClient.js +172 -0
- package/dist/webvh/enrollClient.js.map +1 -0
- package/dist/webvh/index.d.ts +37 -12
- package/dist/webvh/index.d.ts.map +1 -1
- package/dist/webvh/index.js +33 -10
- package/dist/webvh/index.js.map +1 -1
- package/dist/webvh/listClients.d.ts +1 -35
- package/dist/webvh/listClients.d.ts.map +1 -1
- package/dist/webvh/listClients.js +2 -30
- package/dist/webvh/listClients.js.map +1 -1
- package/dist/webvh/revokeClient.d.ts +41 -11
- package/dist/webvh/revokeClient.d.ts.map +1 -1
- package/dist/webvh/revokeClient.js +99 -48
- package/dist/webvh/revokeClient.js.map +1 -1
- package/dist/webvh/standingZcap.d.ts +61 -14
- package/dist/webvh/standingZcap.d.ts.map +1 -1
- package/dist/webvh/standingZcap.js +91 -0
- package/dist/webvh/standingZcap.js.map +1 -1
- package/dist/webvh/verifyLog.d.ts +59 -5
- package/dist/webvh/verifyLog.d.ts.map +1 -1
- package/dist/webvh/verifyLog.js +76 -11
- package/dist/webvh/verifyLog.js.map +1 -1
- package/dist/webvh/wasIdStore.d.ts +8 -8
- package/dist/webvh/wasIdStore.d.ts.map +1 -1
- package/dist/webvh/wasIdStore.js +39 -14
- package/dist/webvh/wasIdStore.js.map +1 -1
- package/dist/webvh/zcap.d.ts +14 -1
- package/dist/webvh/zcap.d.ts.map +1 -1
- package/dist/webvh/zcap.js +3 -27
- package/dist/webvh/zcap.js.map +1 -1
- package/package.json +2 -2
- package/dist/webvh/keyAgreement.d.ts +0 -97
- package/dist/webvh/keyAgreement.d.ts.map +0 -1
- package/dist/webvh/keyAgreement.js +0 -71
- package/dist/webvh/keyAgreement.js.map +0 -1
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
import type { DIDDoc, DIDLog } from '@interop/did-method-webvh';
|
|
2
|
-
import type { ClientWebvhUpdateKeys, DidWebKeyMapV2, WebvhEnrollmentKeys, WebvhIdStore } from '../webvh/didWebvh.js';
|
|
1
|
+
import type { DIDDoc, DIDLog, UpdateDIDResult } from '@interop/did-method-webvh';
|
|
2
|
+
import type { ClientWebvhUpdateKeys, CreatedWebvhLog, DidWebKeyMapV2, PublishedWebvhLog, WebvhEnrollmentKeys, WebvhIdStore } from '../webvh/didWebvh.js';
|
|
3
3
|
import type { ResourceLogPinStore } from '@interop/vh-resource-log';
|
|
4
|
-
import { type RevokedClientKeys } from '../webvh/revokeClient.js';
|
|
4
|
+
import { type ClientRemovalTarget, type RevokedClientKeys } from '../webvh/revokeClient.js';
|
|
5
5
|
import { type UnlockKeyAgreementPublication, type UnlockLogStore } from '../unlock/standingWebvh.js';
|
|
6
|
+
import type { AccountEntryFields } from '../webvh/accountEntry.js';
|
|
7
|
+
import type { LadderRung, LadderRungState } from './ladder.js';
|
|
6
8
|
/**
|
|
7
9
|
* LADDER-ANCHORED GENESIS: assembles the one-entry did:webvh log of an account
|
|
8
10
|
* with zero enrolled clients, anchored on the minting credential's
|
|
@@ -38,7 +40,7 @@ import { type UnlockKeyAgreementPublication, type UnlockLogStore } from '../unlo
|
|
|
38
40
|
* @param options.ladderSeed {Uint8Array} the credential's ladder seed
|
|
39
41
|
* @param options.keyAgreement {UnlockKeyAgreementPublication} the
|
|
40
42
|
* credential's key-agreement publication (commitment or verbatim)
|
|
41
|
-
* @returns {Promise<
|
|
43
|
+
* @returns {Promise<CreatedWebvhLog>}
|
|
42
44
|
*/
|
|
43
45
|
export declare function createLadderAnchoredAccountLog({ wasServerUrl, spaceId, didWebKeys, ladderSeed, keyAgreement }: {
|
|
44
46
|
wasServerUrl: string;
|
|
@@ -46,11 +48,7 @@ export declare function createLadderAnchoredAccountLog({ wasServerUrl, spaceId,
|
|
|
46
48
|
didWebKeys?: DidWebKeyMapV2;
|
|
47
49
|
ladderSeed: Uint8Array;
|
|
48
50
|
keyAgreement: UnlockKeyAgreementPublication;
|
|
49
|
-
}): Promise<
|
|
50
|
-
log: DIDLog;
|
|
51
|
-
webDoc: object;
|
|
52
|
-
did: string;
|
|
53
|
-
}>;
|
|
51
|
+
}): Promise<CreatedWebvhLog>;
|
|
54
52
|
/**
|
|
55
53
|
* LADDER-ANCHORED GENESIS AS AN ENSURE: probe, adopt, or create-and-publish --
|
|
56
54
|
* {@link createLadderAnchoredAccountLog} with the enrolled-client flow's
|
|
@@ -76,6 +74,9 @@ export declare function createLadderAnchoredAccountLog({ wasServerUrl, spaceId,
|
|
|
76
74
|
* the wallet keeps a KMS; folded into the CREATE path only (see the
|
|
77
75
|
* adoption note in the body), which also records the minted DID into
|
|
78
76
|
* keys.json's webvh block as the enrolled-client ensure does
|
|
77
|
+
* @param [options.keysJsonEtag] {string} the ETag the KMS-authentication
|
|
78
|
+
* stage's own `keys.json` write returned, carried as the `ifMatch` of that
|
|
79
|
+
* rewrite
|
|
79
80
|
* @param options.ladderSeed {Uint8Array} the credential's ladder seed
|
|
80
81
|
* @param options.keyAgreement {UnlockKeyAgreementPublication} the
|
|
81
82
|
* credential's key-agreement publication (commitment or verbatim)
|
|
@@ -85,20 +86,116 @@ export declare function createLadderAnchoredAccountLog({ wasServerUrl, spaceId,
|
|
|
85
86
|
* @param [options.pinStore] {ResourceLogPinStore} this client's chain-head
|
|
86
87
|
* pins; the account log's slot is keyed by `accountLogPinId` over the
|
|
87
88
|
* `spaceId` above
|
|
88
|
-
* @returns {Promise<{ did: string
|
|
89
|
+
* @returns {Promise<{ did: string, published: PublishedWebvhLog,
|
|
90
|
+
* logMinted: boolean }>} `published` is the head this stage stands on --
|
|
91
|
+
* the served one on the adopt branch, the minted one paired with its
|
|
92
|
+
* create PUT's ETag on the create branch -- so the stage after it can build
|
|
93
|
+
* on this head instead of re-reading the log this one just read or wrote.
|
|
94
|
+
* Its `etag` is absent against a backend that serves none, which is one
|
|
95
|
+
* case a later stage must still read for itself. `logMinted` says WHICH
|
|
96
|
+
* branch produced it, which a later stage needs before reusing it: a
|
|
97
|
+
* minted head is one no other writer could have held a moment ago, while
|
|
98
|
+
* an adopted head is a snapshot of an account other clients are free to
|
|
99
|
+
* write to, and the parts of it no ETag protects (the document's
|
|
100
|
+
* completion tests) can be stale by the time a later stage reads them
|
|
89
101
|
*/
|
|
90
102
|
export declare function ensureLadderAnchoredDidWebvh(options: {
|
|
91
103
|
idStore: WebvhIdStore;
|
|
92
104
|
wasServerUrl: string;
|
|
93
105
|
spaceId: string;
|
|
94
106
|
didWebKeys?: DidWebKeyMapV2;
|
|
107
|
+
keysJsonEtag?: string;
|
|
95
108
|
ladderSeed: Uint8Array;
|
|
96
109
|
keyAgreement: UnlockKeyAgreementPublication;
|
|
97
110
|
expectedDid?: string;
|
|
98
111
|
pinStore?: ResourceLogPinStore;
|
|
99
112
|
}): Promise<{
|
|
100
113
|
did: string;
|
|
114
|
+
published: PublishedWebvhLog;
|
|
115
|
+
logMinted: boolean;
|
|
101
116
|
}>;
|
|
117
|
+
/**
|
|
118
|
+
* What a ladder-signed entry's `build` hands back -- the account-entry seam's
|
|
119
|
+
* own field bundle, under the annex's name for its call sites.
|
|
120
|
+
*/
|
|
121
|
+
export type LadderSignedEntry = AccountEntryFields;
|
|
122
|
+
/**
|
|
123
|
+
* What {@link ladderSignedAccountEntry} reports. `skipped` says the
|
|
124
|
+
* pre-attribution hook declined, so nothing was attributed and nothing was
|
|
125
|
+
* published; `updated` is absent on that path AND where `build` itself
|
|
126
|
+
* declined, which is the one test an idempotent caller needs ("did this call
|
|
127
|
+
* publish an entry"). The ladder arm always attributes a rung, so `rung`,
|
|
128
|
+
* `rungHash` and `state` stand on every non-skipped outcome -- which is what
|
|
129
|
+
* this wrapper narrows over the seam's shared outcome.
|
|
130
|
+
*/
|
|
131
|
+
export type LadderSignedEntryOutcome = {
|
|
132
|
+
skipped: true;
|
|
133
|
+
published: PublishedWebvhLog;
|
|
134
|
+
rung?: undefined;
|
|
135
|
+
rungHash?: undefined;
|
|
136
|
+
state?: undefined;
|
|
137
|
+
updated?: undefined;
|
|
138
|
+
} | {
|
|
139
|
+
skipped: false;
|
|
140
|
+
published: PublishedWebvhLog;
|
|
141
|
+
rung: LadderRung;
|
|
142
|
+
rungHash: string;
|
|
143
|
+
state: LadderRungState;
|
|
144
|
+
updated?: UpdateDIDResult;
|
|
145
|
+
};
|
|
146
|
+
/**
|
|
147
|
+
* ONE LADDER-SIGNED ACCOUNT-LOG ENTRY: the account-entry seam
|
|
148
|
+
* ({@link signAccountEntry}) on its ladder arm, narrowed to the outcome the
|
|
149
|
+
* annex's ceremonies read. The seam owns the nine steps -- the pinned read,
|
|
150
|
+
* the rung attribution, the rung's carry-over hash, the carry-over
|
|
151
|
+
* precondition, the update-key signer, the self-reveal union into
|
|
152
|
+
* `updateKeys`, the carry-over union into `nextKeyHashes`, the conditional
|
|
153
|
+
* publish (`did.jsonl` alone, the bridge's whole reach), and the pin advance.
|
|
154
|
+
*
|
|
155
|
+
* No conflict retry of its own: a lost compare-and-swap surfaces as a
|
|
156
|
+
* `WebvhLogConflictError` for the caller's {@link withLogConflictRetry} to
|
|
157
|
+
* re-run, which is what re-attributes the rung and climbs to the winner's
|
|
158
|
+
* committed one (the retry-up-the-ladder resolution).
|
|
159
|
+
*
|
|
160
|
+
* @param options {object}
|
|
161
|
+
* @param options.store {UnlockLogStore} public log read + delegated PUT
|
|
162
|
+
* @param options.ladderSeed {Uint8Array} the credential's ladder seed
|
|
163
|
+
* @param [options.expectedDid] {string} the account DID the log must resolve
|
|
164
|
+
* to, from the caller's stored account pointer
|
|
165
|
+
* @param [options.pinStore] {ResourceLogPinStore} the caller's chain-head
|
|
166
|
+
* pins: the read is checked against the pinned head, and the pin advances
|
|
167
|
+
* to the head this entry publishes
|
|
168
|
+
* @param [options.logId] {string} the account log's pin slot
|
|
169
|
+
* (`accountLogPinId({ spaceId })`); required whenever a `pinStore` is
|
|
170
|
+
* supplied
|
|
171
|
+
* @param [options.skip] {function} `(published) => boolean` -- run on the
|
|
172
|
+
* read, before any attribution; `true` returns `skipped` with nothing
|
|
173
|
+
* published
|
|
174
|
+
* @param options.build {function}
|
|
175
|
+
* `({ published, rung, state }) => LadderSignedEntry | undefined` -- the
|
|
176
|
+
* entry's own members, or `undefined` to decline
|
|
177
|
+
* @param [options.beforePublish] {function} `({ updated }) => Promise<void>`
|
|
178
|
+
* -- the pre-publish seam, for the ceremonies that PUT their post-entry
|
|
179
|
+
* `did:web` projection while the authority they are about to end can still
|
|
180
|
+
* write it. See {@link signAccountEntry}
|
|
181
|
+
* @returns {Promise<LadderSignedEntryOutcome>}
|
|
182
|
+
*/
|
|
183
|
+
export declare function ladderSignedAccountEntry({ store, ladderSeed, expectedDid, pinStore, logId, skip, build, beforePublish }: {
|
|
184
|
+
store: UnlockLogStore;
|
|
185
|
+
ladderSeed: Uint8Array;
|
|
186
|
+
expectedDid?: string;
|
|
187
|
+
pinStore?: ResourceLogPinStore;
|
|
188
|
+
logId?: string;
|
|
189
|
+
skip?: (published: PublishedWebvhLog) => boolean | Promise<boolean>;
|
|
190
|
+
build: (context: {
|
|
191
|
+
published: PublishedWebvhLog;
|
|
192
|
+
rung: LadderRung;
|
|
193
|
+
state: LadderRungState;
|
|
194
|
+
}) => LadderSignedEntry | undefined | Promise<LadderSignedEntry | undefined>;
|
|
195
|
+
beforePublish?: (built: {
|
|
196
|
+
updated: UpdateDIDResult;
|
|
197
|
+
}) => Promise<void>;
|
|
198
|
+
}): Promise<LadderSignedEntryOutcome>;
|
|
102
199
|
/**
|
|
103
200
|
* SELF-ENROLLMENT (run by the credential-derived client through the delegated
|
|
104
201
|
* `did.jsonl` PUT): writes the standing continuation described in the module
|
|
@@ -309,6 +406,13 @@ export declare class LastEnrolledClientForgetError extends Error {
|
|
|
309
406
|
* @param options {object}
|
|
310
407
|
* @param options.store {UnlockLogStore} the credential's delegated
|
|
311
408
|
* `did.jsonl` bridge store
|
|
409
|
+
* @param [options.projectionStore] {object} an `id`-collection store the
|
|
410
|
+
* FORGETTING client can still write through (its own root-invoking store):
|
|
411
|
+
* the post-removal `did:web` projection is PUT through it immediately
|
|
412
|
+
* before the removal entry publishes, and only when this run publishes that
|
|
413
|
+
* entry. See {@link clientForgetEntryOnce} for the ordering rationale.
|
|
414
|
+
* Omitted, `did.json` keeps naming the forgotten client until some later
|
|
415
|
+
* writer runs `ensureDidWebProjection`
|
|
312
416
|
* @param options.ladderSeed {Uint8Array} the credential's ladder seed
|
|
313
417
|
* @param options.forgottenClient {RevokedClientKeys} this client's public
|
|
314
418
|
* halves; an `updateKeyMultibase` the log does not authorize (stale, or the
|
|
@@ -331,6 +435,7 @@ export declare class LastEnrolledClientForgetError extends Error {
|
|
|
331
435
|
*/
|
|
332
436
|
export declare function forgetWebvhClient(options: {
|
|
333
437
|
store: UnlockLogStore;
|
|
438
|
+
projectionStore?: Pick<WebvhIdStore, 'getIdResourceRaw' | 'putIdResource'>;
|
|
334
439
|
ladderSeed: Uint8Array;
|
|
335
440
|
forgottenClient: RevokedClientKeys;
|
|
336
441
|
knownLatentHashes?: string[];
|
|
@@ -343,28 +448,49 @@ export declare function forgetWebvhClient(options: {
|
|
|
343
448
|
log: DIDLog;
|
|
344
449
|
}>;
|
|
345
450
|
/**
|
|
346
|
-
*
|
|
347
|
-
*
|
|
348
|
-
*
|
|
349
|
-
*
|
|
350
|
-
*
|
|
351
|
-
*
|
|
352
|
-
*
|
|
353
|
-
*
|
|
354
|
-
*
|
|
355
|
-
*
|
|
451
|
+
* One attempt of {@link forgetWebvhClient} or `forgetLastWebvhClient`
|
|
452
|
+
* (`forgetLast.ts`), re-invoked by their conflict retries. The two share the
|
|
453
|
+
* whole removal entry and differ only in what makes the removal admissible,
|
|
454
|
+
* which each supplies as `assertRemovable` -- the plain forget refuses the
|
|
455
|
+
* last enrolled client, the transition removal requires the ladder VM already
|
|
456
|
+
* installed. The invariant travels with the ceremony that owns it rather than
|
|
457
|
+
* living here as a flag.
|
|
458
|
+
*
|
|
459
|
+
* THE PROJECTION IS PUBLISHED BEFORE THE ENTRY, and the order is forced: the
|
|
460
|
+
* removal entry is ladder-signed and publishes `did.jsonl` alone (the bridge
|
|
461
|
+
* delegation covers nothing else), while the forgotten client's authority
|
|
462
|
+
* dies at that entry under the current-key-set rule. So the post-removal
|
|
463
|
+
* `did:web` projection has to be written while that client can still write
|
|
464
|
+
* it. A run torn between the projection PUT and the entry leaves `did.json`
|
|
465
|
+
* omitting a client the log still lists, which is fail-closed for a `did:web`
|
|
466
|
+
* verifier and is re-PUT by the re-run; the reverse order would leave the
|
|
467
|
+
* revoked client standing in `did.json` with nothing left able to remove it.
|
|
468
|
+
* The idempotent already-forgotten path writes no projection at all: the
|
|
469
|
+
* removal entry landed on an earlier run, so this client's authority is
|
|
470
|
+
* already gone and its store can only be refused. A projection that path
|
|
471
|
+
* leaves stale is mended by the next transient visit's
|
|
472
|
+
* `ensureDidWebProjection`, which invokes under its generation delegation.
|
|
356
473
|
*
|
|
357
|
-
* @param options {object} see {@link forgetWebvhClient}
|
|
474
|
+
* @param options {object} see {@link forgetWebvhClient}, plus:
|
|
475
|
+
* @param options.assertRemovable {function}
|
|
476
|
+
* `({ published, target }) => void` -- run on the read, after the
|
|
477
|
+
* idempotent already-forgotten check and before anything is attributed or
|
|
478
|
+
* built; it throws to refuse the removal
|
|
358
479
|
* @returns {Promise<{ did: string, doc: DIDDoc, log: DIDLog }>}
|
|
359
480
|
*/
|
|
360
|
-
export declare function
|
|
481
|
+
export declare function clientForgetEntryOnce({ store, projectionStore, ladderSeed, forgottenClient, knownLatentHashes, expectedDid, pinStore, logId, assertRemovable }: {
|
|
361
482
|
store: UnlockLogStore;
|
|
483
|
+
projectionStore?: Pick<WebvhIdStore, 'getIdResourceRaw' | 'putIdResource'>;
|
|
362
484
|
ladderSeed: Uint8Array;
|
|
363
485
|
forgottenClient: RevokedClientKeys;
|
|
364
486
|
knownLatentHashes?: string[];
|
|
365
487
|
expectedDid?: string;
|
|
366
488
|
pinStore?: ResourceLogPinStore;
|
|
367
489
|
logId?: string;
|
|
490
|
+
assertRemovable: (options: {
|
|
491
|
+
published: PublishedWebvhLog;
|
|
492
|
+
target: ClientRemovalTarget;
|
|
493
|
+
}) => void | Promise<void>;
|
|
368
494
|
}): Promise<{
|
|
369
495
|
did: string;
|
|
370
496
|
doc: DIDDoc;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ladderAnchored.d.ts","sourceRoot":"","sources":["../../src/clientAnnex/ladderAnchored.ts"],"names":[],"mappings":"AAuDA,OAAO,KAAK,EACV,MAAM,EACN,MAAM,
|
|
1
|
+
{"version":3,"file":"ladderAnchored.d.ts","sourceRoot":"","sources":["../../src/clientAnnex/ladderAnchored.ts"],"names":[],"mappings":"AAuDA,OAAO,KAAK,EACV,MAAM,EACN,MAAM,EACN,eAAe,EAEhB,MAAM,2BAA2B,CAAA;AAoBlC,OAAO,KAAK,EACV,qBAAqB,EACrB,eAAe,EACf,cAAc,EACd,iBAAiB,EACjB,mBAAmB,EACnB,YAAY,EACb,MAAM,sBAAsB,CAAA;AAG7B,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAA;AAEnE,OAAO,EAGL,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACvB,MAAM,0BAA0B,CAAA;AACjC,OAAO,EAEL,KAAK,6BAA6B,EAClC,KAAK,cAAc,EACpB,MAAM,4BAA4B,CAAA;AAOnC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAA;AAClE,OAAO,KAAK,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AAE9D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,wBAAsB,8BAA8B,CAAC,EACnD,YAAY,EACZ,OAAO,EACP,UAAU,EACV,UAAU,EACV,YAAY,EACb,EAAE;IACD,YAAY,EAAE,MAAM,CAAA;IACpB,OAAO,EAAE,MAAM,CAAA;IACf,UAAU,CAAC,EAAE,cAAc,CAAA;IAC3B,UAAU,EAAE,UAAU,CAAA;IACtB,YAAY,EAAE,6BAA6B,CAAA;CAC5C,GAAG,OAAO,CAAC,eAAe,CAAC,CAuB3B;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiDG;AACH,wBAAsB,4BAA4B,CAAC,OAAO,EAAE;IAC1D,OAAO,EAAE,YAAY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