@interop/wallet-core 0.40.0 → 0.42.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 +17 -3
- package/dist/clients/listing.d.ts +4 -3
- package/dist/clients/listing.d.ts.map +1 -1
- package/dist/clients/listing.js.map +1 -1
- package/dist/clients/policy.d.ts +3 -2
- package/dist/clients/policy.d.ts.map +1 -1
- package/dist/clients/policy.js +3 -3
- package/dist/clients/policy.js.map +1 -1
- package/dist/clients/revocation.d.ts +14 -4
- package/dist/clients/revocation.d.ts.map +1 -1
- package/dist/clients/revocation.js +29 -14
- package/dist/clients/revocation.js.map +1 -1
- package/dist/clients/rosterPolicy.d.ts +22 -15
- package/dist/clients/rosterPolicy.d.ts.map +1 -1
- package/dist/clients/rosterPolicy.js +32 -15
- package/dist/clients/rosterPolicy.js.map +1 -1
- package/dist/descriptors/index.d.ts +1 -1
- package/dist/descriptors/index.d.ts.map +1 -1
- package/dist/descriptors/index.js +1 -1
- package/dist/descriptors/index.js.map +1 -1
- package/dist/descriptors/logSource.d.ts +58 -6
- package/dist/descriptors/logSource.d.ts.map +1 -1
- package/dist/descriptors/logSource.js +57 -15
- package/dist/descriptors/logSource.js.map +1 -1
- package/dist/enrollment/enrollment.d.ts +30 -2
- package/dist/enrollment/enrollment.d.ts.map +1 -1
- package/dist/enrollment/enrollment.js +58 -30
- package/dist/enrollment/enrollment.js.map +1 -1
- package/dist/enrollment/index.d.ts +4 -1
- package/dist/enrollment/index.d.ts.map +1 -1
- package/dist/enrollment/index.js +4 -1
- package/dist/enrollment/index.js.map +1 -1
- package/dist/keyring/fetch.d.ts +12 -0
- package/dist/keyring/fetch.d.ts.map +1 -1
- package/dist/keyring/fetch.js +0 -2
- package/dist/keyring/fetch.js.map +1 -1
- package/dist/keyring/index.d.ts +7 -6
- package/dist/keyring/index.d.ts.map +1 -1
- package/dist/keyring/index.js +7 -6
- package/dist/keyring/index.js.map +1 -1
- package/dist/keyring/kdf.d.ts +22 -6
- package/dist/keyring/kdf.d.ts.map +1 -1
- package/dist/keyring/kdf.js +9 -14
- package/dist/keyring/kdf.js.map +1 -1
- package/dist/keyring/record.d.ts +30 -10
- package/dist/keyring/record.d.ts.map +1 -1
- package/dist/keyring/record.js +31 -15
- package/dist/keyring/record.js.map +1 -1
- package/dist/keys/index.d.ts +5 -3
- package/dist/keys/index.d.ts.map +1 -1
- package/dist/keys/index.js +3 -2
- package/dist/keys/index.js.map +1 -1
- package/dist/keys/rosterLogStore.d.ts +22 -2
- package/dist/keys/rosterLogStore.d.ts.map +1 -1
- package/dist/keys/rosterLogStore.js +40 -20
- package/dist/keys/rosterLogStore.js.map +1 -1
- package/dist/keys/rosterStore.d.ts +13 -1
- package/dist/keys/rosterStore.d.ts.map +1 -1
- package/dist/keys/rosterStore.js +18 -0
- package/dist/keys/rosterStore.js.map +1 -1
- package/dist/keys/userKeyCascade.d.ts +10 -3
- package/dist/keys/userKeyCascade.d.ts.map +1 -1
- package/dist/keys/userKeyCascade.js +10 -4
- package/dist/keys/userKeyCascade.js.map +1 -1
- package/dist/keys/userKeyRoster.d.ts +29 -21
- package/dist/keys/userKeyRoster.d.ts.map +1 -1
- package/dist/keys/userKeyRoster.js +47 -23
- package/dist/keys/userKeyRoster.js.map +1 -1
- package/dist/recovery/index.d.ts +21 -11
- package/dist/recovery/index.d.ts.map +1 -1
- package/dist/recovery/index.js +19 -10
- package/dist/recovery/index.js.map +1 -1
- package/dist/recovery/recoveryCode.d.ts +5 -17
- package/dist/recovery/recoveryCode.d.ts.map +1 -1
- package/dist/recovery/recoveryCode.js +4 -14
- package/dist/recovery/recoveryCode.js.map +1 -1
- package/dist/recovery/recoveryDelegation.d.ts +151 -0
- package/dist/recovery/recoveryDelegation.d.ts.map +1 -0
- package/dist/recovery/recoveryDelegation.js +261 -0
- package/dist/recovery/recoveryDelegation.js.map +1 -0
- package/dist/recovery/recoveryWebvh.d.ts +13 -22
- package/dist/recovery/recoveryWebvh.d.ts.map +1 -1
- package/dist/recovery/recoveryWebvh.js +53 -139
- package/dist/recovery/recoveryWebvh.js.map +1 -1
- package/dist/resourceLog/append.d.ts +12 -3
- package/dist/resourceLog/append.d.ts.map +1 -1
- package/dist/resourceLog/append.js +17 -10
- package/dist/resourceLog/append.js.map +1 -1
- package/dist/resourceLog/index.d.ts +1 -1
- package/dist/resourceLog/index.d.ts.map +1 -1
- package/dist/resourceLog/index.js +1 -1
- package/dist/resourceLog/index.js.map +1 -1
- package/dist/resourceLog/pin.d.ts +46 -8
- package/dist/resourceLog/pin.d.ts.map +1 -1
- package/dist/resourceLog/pin.js +32 -7
- package/dist/resourceLog/pin.js.map +1 -1
- package/dist/resourceLog/seal.d.ts +4 -1
- package/dist/resourceLog/seal.d.ts.map +1 -1
- package/dist/resourceLog/seal.js +6 -2
- package/dist/resourceLog/seal.js.map +1 -1
- package/dist/unlock/index.d.ts +40 -0
- package/dist/unlock/index.d.ts.map +1 -0
- package/dist/unlock/index.js +36 -0
- package/dist/unlock/index.js.map +1 -0
- package/dist/unlock/ladder.d.ts +100 -0
- package/dist/unlock/ladder.d.ts.map +1 -0
- package/dist/unlock/ladder.js +144 -0
- package/dist/unlock/ladder.js.map +1 -0
- package/dist/unlock/selfEnroll.d.ts +83 -0
- package/dist/unlock/selfEnroll.d.ts.map +1 -0
- package/dist/unlock/selfEnroll.js +126 -0
- package/dist/unlock/selfEnroll.js.map +1 -0
- package/dist/unlock/standingClient.d.ts +68 -0
- package/dist/unlock/standingClient.d.ts.map +1 -0
- package/dist/unlock/standingClient.js +81 -0
- package/dist/unlock/standingClient.js.map +1 -0
- package/dist/unlock/standingWebvh.d.ts +153 -0
- package/dist/unlock/standingWebvh.d.ts.map +1 -0
- package/dist/unlock/standingWebvh.js +370 -0
- package/dist/unlock/standingWebvh.js.map +1 -0
- package/dist/unlock/unlockRecord.d.ts +207 -0
- package/dist/unlock/unlockRecord.d.ts.map +1 -0
- package/dist/unlock/unlockRecord.js +435 -0
- package/dist/unlock/unlockRecord.js.map +1 -0
- package/dist/webvh/didWebvh.d.ts +166 -7
- package/dist/webvh/didWebvh.d.ts.map +1 -1
- package/dist/webvh/didWebvh.js +286 -31
- package/dist/webvh/didWebvh.js.map +1 -1
- package/dist/webvh/index.d.ts +15 -3
- package/dist/webvh/index.d.ts.map +1 -1
- package/dist/webvh/index.js +14 -3
- package/dist/webvh/index.js.map +1 -1
- package/dist/webvh/keyAgreement.d.ts +72 -0
- package/dist/webvh/keyAgreement.d.ts.map +1 -0
- package/dist/webvh/keyAgreement.js +47 -0
- package/dist/webvh/keyAgreement.js.map +1 -0
- package/dist/webvh/listClients.d.ts +69 -20
- package/dist/webvh/listClients.d.ts.map +1 -1
- package/dist/webvh/listClients.js +102 -14
- package/dist/webvh/listClients.js.map +1 -1
- package/dist/webvh/revokeClient.d.ts +21 -11
- package/dist/webvh/revokeClient.d.ts.map +1 -1
- package/dist/webvh/revokeClient.js +31 -14
- package/dist/webvh/revokeClient.js.map +1 -1
- package/dist/webvh/verifyLog.d.ts +15 -2
- package/dist/webvh/verifyLog.d.ts.map +1 -1
- package/dist/webvh/verifyLog.js +22 -3
- package/dist/webvh/verifyLog.js.map +1 -1
- package/package.json +11 -5
- package/dist/recovery/recoveryRecord.d.ts +0 -171
- package/dist/recovery/recoveryRecord.d.ts.map +0 -1
- package/dist/recovery/recoveryRecord.js +0 -290
- package/dist/recovery/recoveryRecord.js.map +0 -1
package/dist/webvh/didWebvh.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { DIDDoc, DIDLog, Signer } from '@interop/did-method-webvh';
|
|
1
|
+
import type { DIDDoc, DIDLog, Signer, VerificationMethod } from '@interop/did-method-webvh';
|
|
2
2
|
import type { KeystoreAgent } from '@interop/webkms-client';
|
|
3
3
|
import type { ResourceLogPinStore } from '../resourceLog/pin.js';
|
|
4
4
|
import type { DidWebKeyMap } from './didWeb.js';
|
|
@@ -64,6 +64,23 @@ export interface WebvhIdStore {
|
|
|
64
64
|
* it.
|
|
65
65
|
*/
|
|
66
66
|
export declare const MULTIKEY_VM_TYPE = "Multikey";
|
|
67
|
+
/**
|
|
68
|
+
* The verification-method type a hash commitment to a key-agreement key is
|
|
69
|
+
* published under, in place of the key itself
|
|
70
|
+
* ({@link keyAgreementCommitment}). It carries `publicKeyCommitment` rather
|
|
71
|
+
* than `publicKeyMultibase`, so a reader keying on `Multikey` never mispairs
|
|
72
|
+
* a commitment with real key material. Wire-level and permanent.
|
|
73
|
+
*/
|
|
74
|
+
export declare const MULTIKEY_COMMITMENT_VM_TYPE = "MultikeyCommitment";
|
|
75
|
+
/**
|
|
76
|
+
* The context URL defining the `MultikeyCommitment` and `publicKeyCommitment`
|
|
77
|
+
* terms. Every account document carries it, so a commitment verification
|
|
78
|
+
* method is a defined term rather than a bare JSON property. The value is
|
|
79
|
+
* byoe-context's `VOCAB_CONTEXT_URL` (`https://w3id.org/byoe/v1`) -- the
|
|
80
|
+
* package whose contexts map backs the bundled document loader -- so the URL
|
|
81
|
+
* written into document bytes can never drift from the loader's coverage.
|
|
82
|
+
*/
|
|
83
|
+
export declare const BYOE_CONTEXT_URL = "https://w3id.org/byoe/v1";
|
|
67
84
|
/**
|
|
68
85
|
* The client-held did:webvh update-key material: 32-byte Ed25519 seeds.
|
|
69
86
|
* `pendingStagedSeed` is present only mid-rotation (minted and persisted
|
|
@@ -83,6 +100,136 @@ export interface WebvhClientKeys {
|
|
|
83
100
|
signingKeyMultibase: string;
|
|
84
101
|
keyAgreementKeyMultibase: string;
|
|
85
102
|
}
|
|
103
|
+
/**
|
|
104
|
+
* The CONTROLLER MARKER an enrolled client's `keyAgreement` verification
|
|
105
|
+
* method carries: the client's own did:key, rather than the account DID every
|
|
106
|
+
* other method carries. It is the document's one statement of which signing
|
|
107
|
+
* key a published key-agreement key belongs to, so a reader pairs a client
|
|
108
|
+
* with its key-agreement key by reading the document instead of deriving a
|
|
109
|
+
* twin -- and it agrees with the DID half of the client's roster kid.
|
|
110
|
+
*
|
|
111
|
+
* Only a CLIENT's key-agreement method is marked. Signing keys are never
|
|
112
|
+
* marked (a did:key controller on a proof key breaks controller-based proof
|
|
113
|
+
* verification), and a recovery code's key-agreement method is deliberately
|
|
114
|
+
* left unmarked, so client listings and revocation removals never match it.
|
|
115
|
+
*
|
|
116
|
+
* @param options {object}
|
|
117
|
+
* @param options.signingKeyMultibase {string} the client's Ed25519 signing
|
|
118
|
+
* key, as the document publishes it
|
|
119
|
+
* @returns {string}
|
|
120
|
+
*/
|
|
121
|
+
export declare function clientKeyAgreementController({ signingKeyMultibase }: {
|
|
122
|
+
signingKeyMultibase: string;
|
|
123
|
+
}): string;
|
|
124
|
+
/**
|
|
125
|
+
* The multibase of an Ed25519 signing key's canonical X25519 twin. Delegates
|
|
126
|
+
* to was-client's `x25519RecipientFromDidKey`, the one rule for this
|
|
127
|
+
* derivation, which also refuses a multibase that is not an Ed25519 key (no
|
|
128
|
+
* twin exists for anything else).
|
|
129
|
+
*
|
|
130
|
+
* Nothing DERIVES a client's published key-agreement key with it -- the
|
|
131
|
+
* listing reads that off the document's controller marker. It is the
|
|
132
|
+
* canonicality rule instead: {@link markedVerificationMethodPair} runs it at
|
|
133
|
+
* every site that writes the marker, and the enrollment ceremony runs it
|
|
134
|
+
* early enough to refuse a connect code before an approver ever sees it, so
|
|
135
|
+
* the marker's claim ("this key-agreement key belongs to that signing key")
|
|
136
|
+
* is true of every method a wallet publishes.
|
|
137
|
+
*
|
|
138
|
+
* @param options {object}
|
|
139
|
+
* @param options.signingKeyMultibase {string}
|
|
140
|
+
* @returns {string}
|
|
141
|
+
*/
|
|
142
|
+
export declare function keyAgreementTwinMultibase({ signingKeyMultibase }: {
|
|
143
|
+
signingKeyMultibase: string;
|
|
144
|
+
}): string;
|
|
145
|
+
/**
|
|
146
|
+
* The hash commitment of a key-agreement key, as a document publishes it in
|
|
147
|
+
* place of the key itself for a low-entropy-derived standing unlock
|
|
148
|
+
* credential (the `MultikeyCommitment` verification-method convention): a
|
|
149
|
+
* bare multihash -- sha2-256 over the key's DECODED multikey bytes -- encoded
|
|
150
|
+
* base64url-no-pad, with no multibase prefix. The multihash header keeps the
|
|
151
|
+
* algorithm self-describing, so a verifier decodes rather than re-encodes.
|
|
152
|
+
* Deliberately independent of the `nextKeyHashes` rule, which keeps its own
|
|
153
|
+
* base58btc encoding.
|
|
154
|
+
*
|
|
155
|
+
* What the commitment provides is the document-anchored integrity check the
|
|
156
|
+
* roster's recipient resolver runs against a roster-carried key, plus
|
|
157
|
+
* non-disclosure of the key material itself. It does not reduce offline
|
|
158
|
+
* guessing exposure: under a fixed KDF salt a commitment costs one extra
|
|
159
|
+
* sha256 per guess, so that exposure belongs to the standing-credential model
|
|
160
|
+
* and its KDF choice rather than to this encoding. Wire-level and permanent.
|
|
161
|
+
*
|
|
162
|
+
* @param options {object}
|
|
163
|
+
* @param options.keyAgreementKeyMultibase {string}
|
|
164
|
+
* @returns {Promise<string>}
|
|
165
|
+
*/
|
|
166
|
+
export declare function keyAgreementCommitment({ keyAgreementKeyMultibase }: {
|
|
167
|
+
keyAgreementKeyMultibase: string;
|
|
168
|
+
}): Promise<string>;
|
|
169
|
+
/**
|
|
170
|
+
* Whether a candidate key-agreement key is the one a published commitment
|
|
171
|
+
* commits to. Verification DECODES: the commitment's multihash header names
|
|
172
|
+
* the algorithm, the candidate's decoded multikey bytes are hashed with it,
|
|
173
|
+
* and the digests are compared -- so a future algorithm is an additive change
|
|
174
|
+
* rather than a format change. A commitment that does not decode, or names an
|
|
175
|
+
* algorithm with no implementation here, simply does not match.
|
|
176
|
+
*
|
|
177
|
+
* @param options {object}
|
|
178
|
+
* @param options.commitment {string} a published `publicKeyCommitment`
|
|
179
|
+
* @param options.keyAgreementKeyMultibase {string} the candidate key
|
|
180
|
+
* @returns {boolean}
|
|
181
|
+
*/
|
|
182
|
+
export declare function commitmentMatchesKey({ commitment, keyAgreementKeyMultibase }: {
|
|
183
|
+
commitment: string;
|
|
184
|
+
keyAgreementKeyMultibase: string;
|
|
185
|
+
}): boolean;
|
|
186
|
+
/**
|
|
187
|
+
* A pre-decoded matcher over a SET of published commitments, for a caller
|
|
188
|
+
* that checks many candidate keys against the same document (the user key
|
|
189
|
+
* roster's recipient resolver). Each commitment is decoded once up front --
|
|
190
|
+
* duplicates collapsed, one that does not decode or names an algorithm with
|
|
191
|
+
* no implementation here dropped, the {@link commitmentMatchesKey} non-match
|
|
192
|
+
* contract -- and each candidate is hashed once per call, so resolving N
|
|
193
|
+
* roster entries against K commitments costs N hashes rather than N*K
|
|
194
|
+
* decode-and-hash passes.
|
|
195
|
+
*
|
|
196
|
+
* @param options {object}
|
|
197
|
+
* @param options.commitments {string[]} the published `publicKeyCommitment`
|
|
198
|
+
* values
|
|
199
|
+
* @returns {function} `(keyAgreementKeyMultibase: string) => boolean`
|
|
200
|
+
*/
|
|
201
|
+
export declare function commitmentMatcher({ commitments }: {
|
|
202
|
+
commitments: string[];
|
|
203
|
+
}): (keyAgreementKeyMultibase: string) => boolean;
|
|
204
|
+
/**
|
|
205
|
+
* The one builder of a client's published verification-method pair: the
|
|
206
|
+
* account-controlled Ed25519 signing method first, then the X25519
|
|
207
|
+
* key-agreement method under the controller marker
|
|
208
|
+
* ({@link clientKeyAgreementController}). Every site that writes the marker
|
|
209
|
+
* -- the genesis assembly, the enrollment add entry, and the recovery
|
|
210
|
+
* continuation's add-and-retire entry -- builds through it, so the permanent
|
|
211
|
+
* document convention is applied in one place rather than remembered at each
|
|
212
|
+
* site.
|
|
213
|
+
*
|
|
214
|
+
* It refuses a pair whose key-agreement key is not the canonical X25519 twin
|
|
215
|
+
* of the signing key, which is what makes the marker's claim true wherever it
|
|
216
|
+
* is written: no public entry point can publish a marker the account cannot
|
|
217
|
+
* back.
|
|
218
|
+
*
|
|
219
|
+
* @param options {object}
|
|
220
|
+
* @param options.controller {string} the account's controller id, used both
|
|
221
|
+
* as the methods' id prefix and as the signing method's controller (the
|
|
222
|
+
* `{SCID}` template at genesis, the resolved DID afterwards)
|
|
223
|
+
* @param options.signingKeyMultibase {string}
|
|
224
|
+
* @param options.keyAgreementKeyMultibase {string}
|
|
225
|
+
* @returns {VerificationMethod[]} the signing method, then the marked
|
|
226
|
+
* key-agreement method
|
|
227
|
+
*/
|
|
228
|
+
export declare function markedVerificationMethodPair({ controller, signingKeyMultibase, keyAgreementKeyMultibase }: {
|
|
229
|
+
controller: string;
|
|
230
|
+
signingKeyMultibase: string;
|
|
231
|
+
keyAgreementKeyMultibase: string;
|
|
232
|
+
}): VerificationMethod[];
|
|
86
233
|
/**
|
|
87
234
|
* The `webvh` block added to `keys.json` v2, a sibling of the did:web
|
|
88
235
|
* relationship map. Absent block = a record written before did:webvh hosting;
|
|
@@ -305,13 +452,16 @@ export interface PublishedWebvhLog {
|
|
|
305
452
|
* @param options.idStore {WebvhIdStore}
|
|
306
453
|
* @param [options.expectedDid] {string} the DID the log must resolve to
|
|
307
454
|
* @param [options.pinStore] {ResourceLogPinStore} this client's chain-head
|
|
308
|
-
*
|
|
455
|
+
* pins for the account log
|
|
456
|
+
* @param [options.logId] {string} the account log's pin-slot key, from
|
|
457
|
+
* `accountLogPinId({ spaceId })`; required whenever a `pinStore` is supplied
|
|
309
458
|
* @returns {Promise<PublishedWebvhLog | undefined>}
|
|
310
459
|
*/
|
|
311
|
-
export declare function readPublishedLog({ idStore, expectedDid, pinStore }: {
|
|
460
|
+
export declare function readPublishedLog({ idStore, expectedDid, pinStore, logId }: {
|
|
312
461
|
idStore: WebvhIdStore;
|
|
313
462
|
expectedDid?: string;
|
|
314
463
|
pinStore?: ResourceLogPinStore;
|
|
464
|
+
logId?: string;
|
|
315
465
|
}): Promise<PublishedWebvhLog | undefined>;
|
|
316
466
|
/**
|
|
317
467
|
* The shared tail of every ceremony path that has nothing left to append to
|
|
@@ -407,7 +557,8 @@ export declare function effectiveParameters(log: DIDLog): Array<{
|
|
|
407
557
|
* @param [options.expectedDid] {string} the DID the published log must
|
|
408
558
|
* resolve to, when the caller holds the account pointer
|
|
409
559
|
* @param [options.pinStore] {ResourceLogPinStore} this client's chain-head
|
|
410
|
-
*
|
|
560
|
+
* pins; the account log's slot is keyed by `accountLogPinId` over the
|
|
561
|
+
* `spaceId` above
|
|
411
562
|
* @returns {Promise<{ did: string }>}
|
|
412
563
|
*/
|
|
413
564
|
export declare function ensureDidWebvh(options: {
|
|
@@ -464,7 +615,10 @@ export declare function ensureDidWebvh(options: {
|
|
|
464
615
|
* @param [options.expectedDid] {string} the DID the published log must
|
|
465
616
|
* resolve to
|
|
466
617
|
* @param [options.pinStore] {ResourceLogPinStore} this client's chain-head
|
|
467
|
-
*
|
|
618
|
+
* pins for the account log
|
|
619
|
+
* @param [options.logId] {string} the account log's pin-slot key, built by
|
|
620
|
+
* the caller with `accountLogPinId({ spaceId })`; required whenever a
|
|
621
|
+
* `pinStore` is supplied
|
|
468
622
|
* @returns {Promise<{ did: string }>}
|
|
469
623
|
*/
|
|
470
624
|
export declare function rotateWebvhUpdateKey(options: {
|
|
@@ -473,6 +627,7 @@ export declare function rotateWebvhUpdateKey(options: {
|
|
|
473
627
|
persistUpdateKeys: (next: ClientWebvhUpdateKeys) => Promise<void>;
|
|
474
628
|
expectedDid?: string;
|
|
475
629
|
pinStore?: ResourceLogPinStore;
|
|
630
|
+
logId?: string;
|
|
476
631
|
}): Promise<{
|
|
477
632
|
did: string;
|
|
478
633
|
}>;
|
|
@@ -587,13 +742,17 @@ export declare function enrollWebvhClient(options: {
|
|
|
587
742
|
* @param [options.expectedDid] {string} the DID the published log must
|
|
588
743
|
* resolve to
|
|
589
744
|
* @param [options.pinStore] {ResourceLogPinStore} this client's chain-head
|
|
590
|
-
*
|
|
745
|
+
* pins for the account log
|
|
746
|
+
* @param [options.logId] {string} the account log's pin-slot key, built by
|
|
747
|
+
* the caller with `accountLogPinId({ spaceId })`; required whenever a
|
|
748
|
+
* `pinStore` is supplied
|
|
591
749
|
* @returns {Promise<DidWebKeyMapV2>} the rebuilt, persisted keys.json
|
|
592
750
|
*/
|
|
593
|
-
export declare function repairKeyBindings({ keystoreAgent, idStore, expectedDid, pinStore }: {
|
|
751
|
+
export declare function repairKeyBindings({ keystoreAgent, idStore, expectedDid, pinStore, logId }: {
|
|
594
752
|
keystoreAgent: KeystoreAgent;
|
|
595
753
|
idStore: WebvhIdStore;
|
|
596
754
|
expectedDid?: string;
|
|
597
755
|
pinStore?: ResourceLogPinStore;
|
|
756
|
+
logId?: string;
|
|
598
757
|
}): Promise<DidWebKeyMapV2>;
|
|
599
758
|
//# sourceMappingURL=didWebvh.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"didWebvh.d.ts","sourceRoot":"","sources":["../../src/webvh/didWebvh.ts"],"names":[],"mappings":"AA4EA,OAAO,KAAK,EACV,MAAM,EACN,MAAM,EACN,MAAM,
|
|
1
|
+
{"version":3,"file":"didWebvh.d.ts","sourceRoot":"","sources":["../../src/webvh/didWebvh.ts"],"names":[],"mappings":"AA4EA,OAAO,KAAK,EACV,MAAM,EACN,MAAM,EACN,MAAM,EACN,kBAAkB,EACnB,MAAM,2BAA2B,CAAA;AAUlC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAA;AAW3D,OAAO,KAAK,EAEV,mBAAmB,EACpB,MAAM,uBAAuB,CAAA;AAE9B,OAAO,KAAK,EAAa,YAAY,EAAE,MAAM,aAAa,CAAA;AAG1D;;;;;GAKG;AACH,MAAM,WAAW,YAAY;IAC3B;;;;;;;OAOG;IACH,gBAAgB,CAAC,OAAO,EAAE;QACxB,UAAU,EAAE,MAAM,CAAA;KACnB,GAAG,OAAO,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,SAAS,CAAC,CAAA;IACxD;;;OAGG;IACH,aAAa,CAAC,OAAO,EAAE;QAAE,UAAU,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,OAAO,CAAC,CAAA;IAChE;;;;;;;;;;OA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