@interop/wallet-core 0.61.0 → 0.65.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 +55 -34
- package/dist/clientAnnex/establish.d.ts.map +1 -1
- package/dist/clientAnnex/establish.js +102 -56
- package/dist/clientAnnex/establish.js.map +1 -1
- package/dist/clientAnnex/forget.d.ts +16 -2
- package/dist/clientAnnex/forget.d.ts.map +1 -1
- package/dist/clientAnnex/forget.js +11 -9
- package/dist/clientAnnex/forget.js.map +1 -1
- package/dist/clientAnnex/forgetLast.d.ts +126 -35
- package/dist/clientAnnex/forgetLast.d.ts.map +1 -1
- package/dist/clientAnnex/forgetLast.js +208 -60
- 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 +7 -7
- package/dist/clientAnnex/gc.js.map +1 -1
- package/dist/clientAnnex/heal.d.ts +101 -33
- package/dist/clientAnnex/heal.d.ts.map +1 -1
- package/dist/clientAnnex/heal.js +559 -212
- package/dist/clientAnnex/heal.js.map +1 -1
- package/dist/clientAnnex/index.d.ts +21 -5
- package/dist/clientAnnex/index.d.ts.map +1 -1
- package/dist/clientAnnex/index.js +24 -5
- package/dist/clientAnnex/index.js.map +1 -1
- package/dist/clientAnnex/ladder.d.ts +304 -18
- package/dist/clientAnnex/ladder.d.ts.map +1 -1
- package/dist/clientAnnex/ladder.js +942 -64
- package/dist/clientAnnex/ladder.js.map +1 -1
- package/dist/clientAnnex/ladderAnchored.d.ts +261 -28
- package/dist/clientAnnex/ladderAnchored.d.ts.map +1 -1
- package/dist/clientAnnex/ladderAnchored.js +521 -295
- package/dist/clientAnnex/ladderAnchored.js.map +1 -1
- package/dist/clientAnnex/log.d.ts +193 -38
- package/dist/clientAnnex/log.d.ts.map +1 -1
- package/dist/clientAnnex/log.js +445 -190
- 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 +26 -12
- package/dist/clientAnnex/mend.js.map +1 -1
- package/dist/clientAnnex/recoveryLadderAnchored.d.ts +38 -11
- package/dist/clientAnnex/recoveryLadderAnchored.d.ts.map +1 -1
- package/dist/clientAnnex/recoveryLadderAnchored.js +177 -55
- 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 +24 -8
- 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 +10 -6
- package/dist/keys/index.d.ts.map +1 -1
- package/dist/keys/index.js +9 -5
- package/dist/keys/index.js.map +1 -1
- package/dist/keys/rosterLogStore.d.ts +12 -11
- package/dist/keys/rosterLogStore.d.ts.map +1 -1
- package/dist/keys/rosterLogStore.js +15 -13
- 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/userKeyRoster.d.ts +89 -9
- package/dist/keys/userKeyRoster.d.ts.map +1 -1
- package/dist/keys/userKeyRoster.js +262 -19
- package/dist/keys/userKeyRoster.js.map +1 -1
- package/dist/keys/userKeyRosterCascade.d.ts +7 -6
- package/dist/keys/userKeyRosterCascade.d.ts.map +1 -1
- package/dist/keys/userKeyRosterCascade.js +7 -6
- 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 +12 -8
- package/dist/recovery/index.d.ts.map +1 -1
- package/dist/recovery/index.js +11 -7
- 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 +4 -1
- package/dist/recovery/recoveryDelegation.d.ts.map +1 -1
- package/dist/recovery/recoveryDelegation.js +25 -36
- package/dist/recovery/recoveryDelegation.js.map +1 -1
- package/dist/recovery/recoveryWebvh.d.ts +117 -65
- package/dist/recovery/recoveryWebvh.d.ts.map +1 -1
- package/dist/recovery/recoveryWebvh.js +279 -126
- package/dist/recovery/recoveryWebvh.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 +6 -2
- 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 +95 -14
- package/dist/unlock/retire.d.ts.map +1 -1
- package/dist/unlock/retire.js +102 -10
- 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 +341 -49
- package/dist/unlock/standingWebvh.d.ts.map +1 -1
- package/dist/unlock/standingWebvh.js +608 -164
- 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 +278 -138
- package/dist/webvh/didWebvh.d.ts.map +1 -1
- package/dist/webvh/didWebvh.js +314 -345
- 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 -33
- package/dist/webvh/listClients.d.ts.map +1 -1
- package/dist/webvh/listClients.js +2 -28
- package/dist/webvh/listClients.js.map +1 -1
- package/dist/webvh/revokeClient.d.ts +89 -11
- package/dist/webvh/revokeClient.d.ts.map +1 -1
- package/dist/webvh/revokeClient.js +182 -47
- 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 +5 -5
- package/dist/webvh/keyAgreement.d.ts +0 -72
- package/dist/webvh/keyAgreement.d.ts.map +0 -1
- package/dist/webvh/keyAgreement.js +0 -47
- package/dist/webvh/keyAgreement.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"heal.js","sourceRoot":"","sources":["../../src/clientAnnex/heal.ts"],"names":[],"mappings":"AAoDA,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAA;AAE/C,OAAO,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAA;AAM5E,OAAO,EAAE,uBAAuB,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAE9E,OAAO,EAAE,oBAAoB,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAC7E,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAA;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAA;AAE1D,OAAO,EACL,mBAAmB,EACnB,UAAU,EACV,oBAAoB,EACrB,MAAM,aAAa,CAAA;AACpB,OAAO,EAAE,aAAa,EAAE,kBAAkB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CAAC,CAAC,CAAC,EAAE,CAAA;IAC1E,MAAM,oBAAoB,CAAC,KAAK,IAAI,EAAE;QACpC,MAAM,qBAAqB,CAAC;YAC1B,KAAK,EAAE,OAAO;YACd,UAAU;YACV,WAAW,EAAE,UAAU;YACvB,GAAG,GAAG;SACP,CAAC,CAAA;QACF,wEAAwE;QACxE,sDAAsD;QACtD,MAAM,SAAS,GAAG,MAAM,uBAAuB,CAAC;YAC9C,OAAO;YACP,WAAW,EAAE,UAAU;YACvB,GAAG,GAAG;YACN,cAAc,EACZ,sEAAsE;SACzE,CAAC,CAAA;QACF,wEAAwE;QACxE,qEAAqE;QACrE,uEAAuE;QACvE,yEAAyE;QACzE,yEAAyE;QACzE,iDAAiD;QACjD,IAAI,UAAiC,CAAA;QACrC,IAAI,CAAC;YACH,UAAU,GAAG,MAAM,sBAAsB,CAAC;gBACxC,UAAU;gBACV,GAAG,EAAE,SAAS,CAAC,GAAG;aACnB,CAAC,CAAA;QACJ,CAAC;QAAC,OAAO,GAAG,EAAE,CAAC;YACb,IACG,GAAyB,CAAC,IAAI;gBAC7B,uCAAuC;gBACxC,GAA6C,CAAC,MAAM;oBACnD,6BAA6B,EAC/B,CAAC;gBACD,MAAM,IAAI,qBAAqB,CAC7B,kEAAkE;oBAChE,2DAA2D,EAC7D,EAAE,KAAK,EAAE,GAAG,EAAE,CACf,CAAA;YACH,CAAC;YACD,MAAM,GAAG,CAAA;QACX,CAAC;QACD,MAAM,8BAA8B,CAAC;YACnC,OAAO;YACP,MAAM,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,UAAU,EAAE;YACtC,cAAc;YACd,WAAW,EAAE,UAAU;YACvB,OAAO,EAAE,IAAI;YACb,SAAS;YACT,GAAG,GAAG;SACP,CAAC,CAAA;IACJ,CAAC,CAAC,CAAA;AACJ,CAAC"}
|
|
@@ -10,8 +10,9 @@
|
|
|
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
12
|
* halves every wallet needs regardless of account configuration stay in the
|
|
13
|
-
* base: the resource-log ladder-append license and
|
|
14
|
-
*
|
|
13
|
+
* base: the resource-log ladder-append license and the account-document
|
|
14
|
+
* readers its `ControllerInventory` is built on -- `ladderVmIds` recognition
|
|
15
|
+
* included -- (`resourceLog`, surfaced by `webvh`),
|
|
15
16
|
* the unlock-record codec with its `ladder` and `delegatedClients` members
|
|
16
17
|
* (`unlock`), the standing-zcap staleness policy and the generalized log store
|
|
17
18
|
* seams (`webvh`), and the `GenerationCollect` activity builder (`space`).
|
|
@@ -26,6 +27,11 @@
|
|
|
26
27
|
* `#DelegatedClients` pointer, and the quarterly swap-and-collect.
|
|
27
28
|
* - ZCap signing as the ladder VM (`zcap.ts`): `ladderVmZcapClient` and the
|
|
28
29
|
* bootstrap `ladderVmAgent`.
|
|
30
|
+
* - Single-verb Space capabilities (`spaceCapability.ts`): the short-lived
|
|
31
|
+
* DELETE-only and GET-only children a transient session mints over a
|
|
32
|
+
* stored management zcap or a Space's synthesized root, plus the
|
|
33
|
+
* capability-authorized Space DELETE they are minted for
|
|
34
|
+
* (`deleteSpaceWithCapability`, defined in the base `space` subpath).
|
|
29
35
|
* - The ladder-anchored account-log ceremonies (`ladderAnchored.ts`):
|
|
30
36
|
* ladder-anchored genesis, the self-enrolling continuation, the one-entry
|
|
31
37
|
* forget -- plus the composed flows around them (`selfEnroll.ts`,
|
|
@@ -42,26 +48,36 @@
|
|
|
42
48
|
*/
|
|
43
49
|
export { attributeLadderInventory, attributeLadderRung, clientAnnexRung, clientAnnexRungSeed, generateLadderSeed, LADDER_MAX_SCAN, LadderAttributionError, ladderRung, ladderRungSeed, ladderVmKeyMultibase, ladderVmSeed } from './ladder.js';
|
|
44
50
|
export type { LadderRung, LadderRungState, LadderStandingInventory } from './ladder.js';
|
|
45
|
-
export { assertGenerationId, clampGrantExpires, CLIENT_ANNEX_SPACE_TYPE, clientAnnexDidParts, clientAnnexLogPinId, clientAnnexLogStore, ClientAnnexRungUncommittedError, commitClientAnnexRung, createClientAnnexLog, DELEGATED_CLIENTS_DELEGATION_ACTIONS, DELEGATED_CLIENTS_DELEGATION_TTL_MS, DELEGATED_CLIENTS_SERVICE_TYPE, delegatedClientsDelegationMinter, delegatedClientsDelegationSpaceId, delegatedClientsPointer, delegatedClientsServiceEntry, embeddedGenerationDelegation, enrollClientAnnexTransientClient, enrollTransientClient, ensureClientAnnexSpace, ensureGenerationDelegationCurrent, GENERATION_DELEGATION_ACTIONS, GENERATION_DELEGATION_SERVICE_TYPE, GENERATION_DELEGATION_TTL_MS, GENERATION_ID_PREFIX, generationDelegationHistory, generationDelegationServiceEntry, mintClientAnnexGeneration, mintCredentialClientAnnexGeneration, mintDelegatedClientsDelegation, mintGenerationDelegation, mintGenerationId, retireClientAnnexRung, revokeTreatingAlreadyRevokedAsSuccess, servicesPointedAtClientAnnex, setDelegatedClientsPointer } from './log.js';
|
|
51
|
+
export { assertGenerationId, clampGrantExpires, CLIENT_ANNEX_SPACE_TYPE, clientAnnexDidParts, clientAnnexLogPinId, clientAnnexLogStore, ClientAnnexRungUncommittedError, commitClientAnnexRung, createClientAnnexLog, DELEGATED_CLIENTS_DELEGATION_ACTIONS, DELEGATED_CLIENTS_DELEGATION_TTL_MS, DELEGATED_CLIENTS_SERVICE_TYPE, delegatedClientsDelegationMinter, delegatedClientsDelegationSpaceId, delegatedClientsPointer, delegatedClientsServiceEntry, delegatedClientsSpaceHistory, embeddedGenerationDelegation, enrollClientAnnexTransientClient, enrollTransientClient, ensureClientAnnexSpace, ensureGenerationDelegationCurrent, GENERATION_DELEGATION_ACTIONS, GENERATION_DELEGATION_SERVICE_TYPE, GENERATION_DELEGATION_TTL_MS, GENERATION_ID_PREFIX, generationDelegationHistory, generationDelegationServiceEntry, mintClientAnnexGeneration, mintCredentialClientAnnexGeneration, mintDelegatedClientsDelegation, mintGenerationDelegation, mintGenerationId, retireClientAnnexRung, revokeTreatingAlreadyRevokedAsSuccess, servicesPointedAtClientAnnex, setDelegatedClientsPointer, setDelegatedClientsPointerOnce } from './log.js';
|
|
46
52
|
export type { ClientAnnexWriteStore } from './log.js';
|
|
47
53
|
export { clientAnnexGcDue, delegatedClientsPointerEstablishedAt, GENERATION_GC_PERIOD_MS, GENERATION_QUIET_BOUND_MS, GENERATION_QUIET_GRACE_MS, generationQuiet, runClientAnnexGc, swapClientAnnexGeneration } from './gc.js';
|
|
48
54
|
export type { ClientAnnexGcReport, ClientAnnexGcSwapOutcome } from './gc.js';
|
|
49
55
|
export { ladderVmAgent, ladderVmZcapClient } from './zcap.js';
|
|
56
|
+
export { DELETION_ZCAP_TTL_MS, ExpiredParentCapabilityError, mintSpaceRootVerbCapability, mintSpaceVerbCapability } from './spaceCapability.js';
|
|
57
|
+
export type { SpaceCapabilityVerb } from './spaceCapability.js';
|
|
58
|
+
export { deleteSpaceWithCapability } from '../space/deleteSpace.js';
|
|
50
59
|
export { ClientAnnexGenerationUnavailableError, ensureCredentialClientAnnexGeneration, ladderSignedGenerationDelegationMinter, pointerEntryUpdateKeys, resolveClientAnnexSpaceId } from './heal.js';
|
|
51
60
|
export type { ClientAnnexGenerationEnsureOutcome, ClientAnnexGenerationUnavailableReason } from './heal.js';
|
|
52
61
|
export { ensurePointedClientAnnexGeneration, establishCredentialAnchoredAccount } from './establish.js';
|
|
53
62
|
export type { CredentialAnchoredBindRecordHook, CredentialAnchoredBindResult, CredentialAnchoredEstablishment, CredentialAnchoredStandingFields } from './establish.js';
|
|
63
|
+
export { CONTROLLER_PROMOTION_STAGE, CREDENTIAL_ANCHORED_ESTABLISHMENT_STAGE_ALIASES, CREDENTIAL_ANCHORED_ESTABLISHMENT_STAGES, CREDENTIAL_ANCHORED_GENESIS_STAGES, KMS_AUTHENTICATION_STAGE } from './stages.js';
|
|
64
|
+
export type { CredentialAnchoredEstablishmentStage, CredentialAnchoredEstablishmentStageName, CredentialAnchoredGenesisStage } from './stages.js';
|
|
54
65
|
export { ensureRosterDeliveredEpochs } from './rosterDeliveredEpochs.js';
|
|
55
66
|
export type { RosterDeliveredEpochsResult } from './rosterDeliveredEpochs.js';
|
|
56
67
|
export { mendCredentialAnchoredAccount } from './mend.js';
|
|
57
68
|
export type { CredentialAnchoredAccountCore, CredentialAnchoredMendReport, CredentialAnchoredRegistryContext } from './mend.js';
|
|
58
|
-
export { BuiltOnHeadNotReachedError, createLadderAnchoredAccountLog, ensureLadderAnchoredDidWebvh,
|
|
69
|
+
export { BuiltOnHeadNotReachedError, createLadderAnchoredAccountLog, ensureLadderAnchoredDidWebvh, forgetWebvhClient, installLadderVmWebvh, ladderSignedAccountEntry, LastEnrolledClientForgetError, revealLadderRungWebvh, selfEnrollWebvhClient, strikeLadderVmWebvh } from './ladderAnchored.js';
|
|
70
|
+
export type { LadderSignedEntry, LadderSignedEntryOutcome } from './ladderAnchored.js';
|
|
71
|
+
export { signAccountEntry } from '../webvh/accountEntry.js';
|
|
72
|
+
export type { AccountEntryFields, AccountEntryOutcome, AccountLogSigner, AccountLogStore } from '../webvh/accountEntry.js';
|
|
59
73
|
export { selfEnrollClientCore } from './selfEnroll.js';
|
|
60
74
|
export { forgetEnrolledClient } from './forget.js';
|
|
61
75
|
export type { EnrolledClientForgetResult } from './forget.js';
|
|
62
|
-
export { forgetLastEnrolledClient, RecordRemintFailedError } from './forgetLast.js';
|
|
76
|
+
export { forgetLastEnrolledClient, forgetLastWebvhClient, RecordRemintFailedError } from './forgetLast.js';
|
|
63
77
|
export type { GenerationDelegationRetirement, LastEnrolledClientForgetResult, UnlockMethodsRemintReach } from './forgetLast.js';
|
|
64
78
|
export { ensureCredentialAnchoredAccountGenesis, mintCredentialAnchoredAccountKeySet } from './credentialAnchoredGenesis.js';
|
|
65
79
|
export { recoverWebvhLadderAnchored } from './recoveryLadderAnchored.js';
|
|
66
80
|
export { createLadderAnchoredWebvhLog, ladderVerificationMethod } from '../webvh/didWebvh.js';
|
|
81
|
+
export type { PublishedWebvhLog } from '../webvh/didWebvh.js';
|
|
82
|
+
export type { KmsAuthenticationBinding } from '../webvh/didWebvh.js';
|
|
67
83
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;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,EAC9B,gCAAgC,EAChC,iCAAiC,EACjC,uBAAuB,EACvB,4BAA4B,EAC5B,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,EAC1B,8BAA8B,EAC/B,MAAM,UAAU,CAAA;AACjB,YAAY,EAA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C7B,4BAA4B,EAC5B,iCAAiC,EAClC,MAAM,WAAW,CAAA;AAElB,OAAO,EACL,0BAA0B,EAC1B,8BAA8B,EAC9B,4BAA4B,EAC5B,iBAAiB,EACjB,oBAAoB,EACpB,wBAAwB,EACxB,6BAA6B,EAC7B,qBAAqB,EACrB,qBAAqB,EACrB,mBAAmB,EACpB,MAAM,qBAAqB,CAAA;AAC5B,YAAY,EACV,iBAAiB,EACjB,wBAAwB,EACzB,MAAM,qBAAqB,CAAA;AAK5B,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAA;AAC3D,YAAY,EACV,kBAAkB,EAClB,mBAAmB,EACnB,gBAAgB,EAChB,eAAe,EAChB,MAAM,0BAA0B,CAAA;AAEjC,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,qBAAqB,EACrB,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;AAO7B,YAAY,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAA;AAM7D,YAAY,EAAE,wBAAwB,EAAE,MAAM,sBAAsB,CAAA"}
|
|
@@ -10,8 +10,9 @@
|
|
|
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
12
|
* halves every wallet needs regardless of account configuration stay in the
|
|
13
|
-
* base: the resource-log ladder-append license and
|
|
14
|
-
*
|
|
13
|
+
* base: the resource-log ladder-append license and the account-document
|
|
14
|
+
* readers its `ControllerInventory` is built on -- `ladderVmIds` recognition
|
|
15
|
+
* included -- (`resourceLog`, surfaced by `webvh`),
|
|
15
16
|
* the unlock-record codec with its `ladder` and `delegatedClients` members
|
|
16
17
|
* (`unlock`), the standing-zcap staleness policy and the generalized log store
|
|
17
18
|
* seams (`webvh`), and the `GenerationCollect` activity builder (`space`).
|
|
@@ -26,6 +27,11 @@
|
|
|
26
27
|
* `#DelegatedClients` pointer, and the quarterly swap-and-collect.
|
|
27
28
|
* - ZCap signing as the ladder VM (`zcap.ts`): `ladderVmZcapClient` and the
|
|
28
29
|
* bootstrap `ladderVmAgent`.
|
|
30
|
+
* - Single-verb Space capabilities (`spaceCapability.ts`): the short-lived
|
|
31
|
+
* DELETE-only and GET-only children a transient session mints over a
|
|
32
|
+
* stored management zcap or a Space's synthesized root, plus the
|
|
33
|
+
* capability-authorized Space DELETE they are minted for
|
|
34
|
+
* (`deleteSpaceWithCapability`, defined in the base `space` subpath).
|
|
29
35
|
* - The ladder-anchored account-log ceremonies (`ladderAnchored.ts`):
|
|
30
36
|
* ladder-anchored genesis, the self-enrolling continuation, the one-entry
|
|
31
37
|
* forget -- plus the composed flows around them (`selfEnroll.ts`,
|
|
@@ -41,17 +47,30 @@
|
|
|
41
47
|
* digest), and `decisions/0007` (the reveal entry's hash order).
|
|
42
48
|
*/
|
|
43
49
|
export { attributeLadderInventory, attributeLadderRung, clientAnnexRung, clientAnnexRungSeed, generateLadderSeed, LADDER_MAX_SCAN, LadderAttributionError, ladderRung, ladderRungSeed, ladderVmKeyMultibase, ladderVmSeed } from './ladder.js';
|
|
44
|
-
export { assertGenerationId, clampGrantExpires, CLIENT_ANNEX_SPACE_TYPE, clientAnnexDidParts, clientAnnexLogPinId, clientAnnexLogStore, ClientAnnexRungUncommittedError, commitClientAnnexRung, createClientAnnexLog, DELEGATED_CLIENTS_DELEGATION_ACTIONS, DELEGATED_CLIENTS_DELEGATION_TTL_MS, DELEGATED_CLIENTS_SERVICE_TYPE, delegatedClientsDelegationMinter, delegatedClientsDelegationSpaceId, delegatedClientsPointer, delegatedClientsServiceEntry, embeddedGenerationDelegation, enrollClientAnnexTransientClient, enrollTransientClient, ensureClientAnnexSpace, ensureGenerationDelegationCurrent, GENERATION_DELEGATION_ACTIONS, GENERATION_DELEGATION_SERVICE_TYPE, GENERATION_DELEGATION_TTL_MS, GENERATION_ID_PREFIX, generationDelegationHistory, generationDelegationServiceEntry, mintClientAnnexGeneration, mintCredentialClientAnnexGeneration, mintDelegatedClientsDelegation, mintGenerationDelegation, mintGenerationId, retireClientAnnexRung, revokeTreatingAlreadyRevokedAsSuccess, servicesPointedAtClientAnnex, setDelegatedClientsPointer } from './log.js';
|
|
50
|
+
export { assertGenerationId, clampGrantExpires, CLIENT_ANNEX_SPACE_TYPE, clientAnnexDidParts, clientAnnexLogPinId, clientAnnexLogStore, ClientAnnexRungUncommittedError, commitClientAnnexRung, createClientAnnexLog, DELEGATED_CLIENTS_DELEGATION_ACTIONS, DELEGATED_CLIENTS_DELEGATION_TTL_MS, DELEGATED_CLIENTS_SERVICE_TYPE, delegatedClientsDelegationMinter, delegatedClientsDelegationSpaceId, delegatedClientsPointer, delegatedClientsServiceEntry, delegatedClientsSpaceHistory, embeddedGenerationDelegation, enrollClientAnnexTransientClient, enrollTransientClient, ensureClientAnnexSpace, ensureGenerationDelegationCurrent, GENERATION_DELEGATION_ACTIONS, GENERATION_DELEGATION_SERVICE_TYPE, GENERATION_DELEGATION_TTL_MS, GENERATION_ID_PREFIX, generationDelegationHistory, generationDelegationServiceEntry, mintClientAnnexGeneration, mintCredentialClientAnnexGeneration, mintDelegatedClientsDelegation, mintGenerationDelegation, mintGenerationId, retireClientAnnexRung, revokeTreatingAlreadyRevokedAsSuccess, servicesPointedAtClientAnnex, setDelegatedClientsPointer, setDelegatedClientsPointerOnce } from './log.js';
|
|
45
51
|
export { clientAnnexGcDue, delegatedClientsPointerEstablishedAt, GENERATION_GC_PERIOD_MS, GENERATION_QUIET_BOUND_MS, GENERATION_QUIET_GRACE_MS, generationQuiet, runClientAnnexGc, swapClientAnnexGeneration } from './gc.js';
|
|
46
52
|
export { ladderVmAgent, ladderVmZcapClient } from './zcap.js';
|
|
53
|
+
export { DELETION_ZCAP_TTL_MS, ExpiredParentCapabilityError, mintSpaceRootVerbCapability, mintSpaceVerbCapability } from './spaceCapability.js';
|
|
54
|
+
// The capability-authorized Space DELETE these children are minted for. It
|
|
55
|
+
// is defined in the base `space` subpath (the unlock Space's own delete
|
|
56
|
+
// shares it); this subpath re-exports it beside the mints.
|
|
57
|
+
export { deleteSpaceWithCapability } from '../space/deleteSpace.js';
|
|
47
58
|
export { ClientAnnexGenerationUnavailableError, ensureCredentialClientAnnexGeneration, ladderSignedGenerationDelegationMinter, pointerEntryUpdateKeys, resolveClientAnnexSpaceId } from './heal.js';
|
|
48
59
|
export { ensurePointedClientAnnexGeneration, establishCredentialAnchoredAccount } from './establish.js';
|
|
60
|
+
// The ceremonies' stage vocabulary, from the leaf module the emitters take it
|
|
61
|
+
// from: a progress display imports the names and pulls in none of the
|
|
62
|
+
// ceremony code behind them.
|
|
63
|
+
export { CONTROLLER_PROMOTION_STAGE, CREDENTIAL_ANCHORED_ESTABLISHMENT_STAGE_ALIASES, CREDENTIAL_ANCHORED_ESTABLISHMENT_STAGES, CREDENTIAL_ANCHORED_GENESIS_STAGES, KMS_AUTHENTICATION_STAGE } from './stages.js';
|
|
49
64
|
export { ensureRosterDeliveredEpochs } from './rosterDeliveredEpochs.js';
|
|
50
65
|
export { mendCredentialAnchoredAccount } from './mend.js';
|
|
51
|
-
export { BuiltOnHeadNotReachedError, createLadderAnchoredAccountLog, ensureLadderAnchoredDidWebvh,
|
|
66
|
+
export { BuiltOnHeadNotReachedError, createLadderAnchoredAccountLog, ensureLadderAnchoredDidWebvh, forgetWebvhClient, installLadderVmWebvh, ladderSignedAccountEntry, LastEnrolledClientForgetError, revealLadderRungWebvh, selfEnrollWebvhClient, strikeLadderVmWebvh } from './ladderAnchored.js';
|
|
67
|
+
// The account-entry seam, re-exported here beside the ladder ceremonies that
|
|
68
|
+
// spend it: a caller binding the ladder branch of an account-management
|
|
69
|
+
// ceremony reaches for both from this subpath.
|
|
70
|
+
export { signAccountEntry } from '../webvh/accountEntry.js';
|
|
52
71
|
export { selfEnrollClientCore } from './selfEnroll.js';
|
|
53
72
|
export { forgetEnrolledClient } from './forget.js';
|
|
54
|
-
export { forgetLastEnrolledClient, RecordRemintFailedError } from './forgetLast.js';
|
|
73
|
+
export { forgetLastEnrolledClient, forgetLastWebvhClient, RecordRemintFailedError } from './forgetLast.js';
|
|
55
74
|
export { ensureCredentialAnchoredAccountGenesis, mintCredentialAnchoredAccountKeySet } from './credentialAnchoredGenesis.js';
|
|
56
75
|
export { recoverWebvhLadderAnchored } from './recoveryLadderAnchored.js';
|
|
57
76
|
// 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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;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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AE,MAAM,4BAA4B,CAAA;AAGxE,OAAO,EAAE,6BAA6B,EAAE,MAAM,WAAW,CAAA;AAOzD,OAAO,EACL,0BAA0B,EAC1B,8BAA8B,EAC9B,4BAA4B,EAC5B,iBAAiB,EACjB,oBAAoB,EACpB,wBAAwB,EACxB,6BAA6B,EAC7B,qBAAqB,EACrB,qBAAqB,EACrB,mBAAmB,EACpB,MAAM,qBAAqB,CAAA;AAM5B,6EAA6E;AAC7E,wEAAwE;AACxE,+CAA+C;AAC/C,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAA;AAQ3D,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAA;AAEtD,OAAO,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAA;AAGlD,OAAO,EACL,wBAAwB,EACxB,qBAAqB,EACrB,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"}
|
|
@@ -61,10 +61,15 @@ export declare function ladderRung({ ladderSeed, index }: {
|
|
|
61
61
|
* published verbatim in the account document (the seed is random, so the
|
|
62
62
|
* hash-commitment rule permits it) and stable across rung spends, so a
|
|
63
63
|
* delegation it signed survives every ladder advance. It carries the
|
|
64
|
-
*
|
|
64
|
+
* credential's document-visible authority (`assertionMethod` and
|
|
65
65
|
* `capabilityDelegation`), while update authority stays on the rungs -- the
|
|
66
66
|
* two roles never share a key.
|
|
67
67
|
*
|
|
68
|
+
* Its life is the credential's: the VM is installed in the entry that makes
|
|
69
|
+
* the credential standing (`publishUnlockKey`) and struck in the entry that
|
|
70
|
+
* retires it (`removeUnlockKey`). Enrollment never touches it, so several
|
|
71
|
+
* VMs stand on an account with several standing credentials.
|
|
72
|
+
*
|
|
68
73
|
* Because the key is derived, removing its verification method is never the
|
|
69
74
|
* terminal remedy: a later reinstall republishes the same key under the same
|
|
70
75
|
* id, and any still-unexpired delegation it signed resumes verifying the
|
|
@@ -172,8 +177,10 @@ export declare function attributeLadderRung({ ladderSeed, published, maxScan }:
|
|
|
172
177
|
state: LadderRungState;
|
|
173
178
|
}>;
|
|
174
179
|
/**
|
|
175
|
-
* Everything of one ladder that currently stands in the published log
|
|
176
|
-
*
|
|
180
|
+
* Everything of one ladder that currently stands in the published log: the
|
|
181
|
+
* revealed rung keys still authorized in `updateKeys`, the ladder VMs the
|
|
182
|
+
* final document publishes that this ladder is attributed as the publisher of
|
|
183
|
+
* (`ladderVmIds`), and the
|
|
177
184
|
* committed hashes the ladder accounts for in `nextKeyHashes` -- including,
|
|
178
185
|
* for a torn self-enrollment, the hashes the reveal entry committed under the
|
|
179
186
|
* rung's authority for a client that was never published (its update- and
|
|
@@ -183,7 +190,214 @@ export declare function attributeLadderRung({ ladderSeed, published, maxScan }:
|
|
|
183
190
|
export interface LadderStandingInventory {
|
|
184
191
|
revealedKeys: string[];
|
|
185
192
|
committedHashes: string[];
|
|
193
|
+
ladderVmIds: string[];
|
|
186
194
|
}
|
|
195
|
+
/**
|
|
196
|
+
* Thrown when an edit's `nextKeyHashes` would come out empty. An empty list
|
|
197
|
+
* switches prerotation off in did:webvh, so an entry that struck every
|
|
198
|
+
* commitment would leave the account with no staged key at all. Every ceremony
|
|
199
|
+
* that strikes hashes commits its own successors in the same entry, so the
|
|
200
|
+
* list is non-empty by construction; this is the assertion that says so.
|
|
201
|
+
*/
|
|
202
|
+
export declare class NextKeyHashesEmptyError extends Error {
|
|
203
|
+
constructor(message: string);
|
|
204
|
+
}
|
|
205
|
+
/**
|
|
206
|
+
* Refuses to publish an entry whose `nextKeyHashes` came out empty.
|
|
207
|
+
*
|
|
208
|
+
* @param options {object}
|
|
209
|
+
* @param options.nextKeyHashes {string[]}
|
|
210
|
+
* @param options.ceremony {string} named in the refusal
|
|
211
|
+
* @returns {string[]} the list, unchanged
|
|
212
|
+
*/
|
|
213
|
+
export declare function assertNextKeyHashesRemain({ nextKeyHashes, ceremony }: {
|
|
214
|
+
nextKeyHashes: string[];
|
|
215
|
+
ceremony: string;
|
|
216
|
+
}): string[];
|
|
217
|
+
/**
|
|
218
|
+
* The anchor a credential's ladder walk starts from when the caller holds no
|
|
219
|
+
* recorded update key -- the log-only anchoring a cold browser needs. The
|
|
220
|
+
* credential's own `keyAgreement` member id is the anchor: the entry that
|
|
221
|
+
* FIRST introduced that member is the credential's bind entry, and what that
|
|
222
|
+
* entry did to the standing parameters names rung 0.
|
|
223
|
+
*
|
|
224
|
+
* Two shapes are read, both fail-closed:
|
|
225
|
+
*
|
|
226
|
+
* - the entry authorized exactly one update key and that key signed it (a
|
|
227
|
+
* prerotation reveal, the ladder-anchored genesis shape), so rung 0 is that
|
|
228
|
+
* key outright;
|
|
229
|
+
* - the entry authorized no key of its own and newly committed exactly one
|
|
230
|
+
* hash (the `publishUnlockKey` bind an enrolled client signs, and the
|
|
231
|
+
* recovery-code issuance sharing it), so rung 0's hash is that hash.
|
|
232
|
+
*
|
|
233
|
+
* Anything else is ambiguous and returns `undefined`, which the callers report
|
|
234
|
+
* as unclaimed rather than acting on. The reachable ambiguity is a bind entry
|
|
235
|
+
* introducing more than one credential-class member: a recovery
|
|
236
|
+
* add-and-retire entry introduces the fresh credential and the replacement
|
|
237
|
+
* code together, so neither is anchorable this way.
|
|
238
|
+
*
|
|
239
|
+
* @param options {object}
|
|
240
|
+
* @param options.log {DIDLog} a resolved, caller-verified log
|
|
241
|
+
* @param options.credentialVmId {string} the credential's `keyAgreement`
|
|
242
|
+
* verification-method id
|
|
243
|
+
* @returns {Promise<{ anchorKeyMultibase?: string, anchorHash?: string } |
|
|
244
|
+
* undefined>}
|
|
245
|
+
*/
|
|
246
|
+
export declare function credentialLadderAnchor({ log, credentialVmId }: {
|
|
247
|
+
log: DIDLog;
|
|
248
|
+
credentialVmId: string;
|
|
249
|
+
}): Promise<{
|
|
250
|
+
anchorKeyMultibase?: string;
|
|
251
|
+
anchorHash?: string;
|
|
252
|
+
} | undefined>;
|
|
253
|
+
/**
|
|
254
|
+
* The ladder VMs the log introduced ALONGSIDE something of this credential's
|
|
255
|
+
* -- the question a fail-closed retirement gate asks when its seedless walk
|
|
256
|
+
* claimed nothing. A standing VM is this credential's candidate in three
|
|
257
|
+
* shapes:
|
|
258
|
+
*
|
|
259
|
+
* - the entry that introduced it also introduced this credential's own
|
|
260
|
+
* `keyAgreement` member (the merged bind, and the recovery continuations'
|
|
261
|
+
* add-and-retire entry);
|
|
262
|
+
* - it newly committed the credential's anchor hash, or newly authorized its
|
|
263
|
+
* anchor key (the split bind, whose key entry and authority entry are two
|
|
264
|
+
* versions apart);
|
|
265
|
+
* - it introduced no credential-class member at ALL. Such an entry installs
|
|
266
|
+
* authority for a credential bound earlier, and the log does not say
|
|
267
|
+
* which, so every credential retiring seedlessly must treat it as possibly
|
|
268
|
+
* its own. A recovery code's issuance authority entry is exactly this
|
|
269
|
+
* shape, and a code whose registry entry records the wrong anchor reaches
|
|
270
|
+
* the gate through it.
|
|
271
|
+
*
|
|
272
|
+
* An empty result is the positive answer the gate needs: no entry of this log
|
|
273
|
+
* ever brought a ladder VM in beside anything of this credential's, so a VM
|
|
274
|
+
* standing now is a sibling's and the retirement has nothing of its own to
|
|
275
|
+
* leave behind. That is what tells a torn issuance's orphan -- a credential
|
|
276
|
+
* with a `keyAgreement` member, no ladder VM, and no committed rung -- from a
|
|
277
|
+
* credential whose VM stands unattributable, which the gate must still
|
|
278
|
+
* refuse. Every credential bind co-introduces its own member, so a sibling's
|
|
279
|
+
* VM never reaches the result through the third shape.
|
|
280
|
+
*
|
|
281
|
+
* Deliberately entry-shaped rather than an attribution: it answers which VMs
|
|
282
|
+
* COULD be this credential's, so a walk that refused still fails closed.
|
|
283
|
+
*
|
|
284
|
+
* @param options {object}
|
|
285
|
+
* @param options.log {DIDLog} a resolved, caller-verified log
|
|
286
|
+
* @param options.credentialVmId {string} the credential's `keyAgreement`
|
|
287
|
+
* verification-method id
|
|
288
|
+
* @param [options.anchorKeyMultibase] {string} the credential's recorded
|
|
289
|
+
* update key (a registry entry's `updateKeyMultibase`)
|
|
290
|
+
* @param [options.anchorHash] {string} the same anchor as a committed hash
|
|
291
|
+
* @returns {Promise<string[]>} the candidate ladder VM ids, in log order
|
|
292
|
+
*/
|
|
293
|
+
export declare function ladderVmIdsIntroducedWithCredential({ log, credentialVmId, anchorKeyMultibase, anchorHash }: {
|
|
294
|
+
log: DIDLog;
|
|
295
|
+
credentialVmId: string;
|
|
296
|
+
anchorKeyMultibase?: string;
|
|
297
|
+
anchorHash?: string;
|
|
298
|
+
}): Promise<string[]>;
|
|
299
|
+
/**
|
|
300
|
+
* The strike a retirement entry ALREADY published, recomputed by re-running
|
|
301
|
+
* {@link attributeRetiredCredentialRungs} over the log as it stood just before
|
|
302
|
+
* that entry. A resumed ceremony reports what its first run reported this way,
|
|
303
|
+
* rather than through a second definition of "unclaimed" that could answer
|
|
304
|
+
* differently.
|
|
305
|
+
*
|
|
306
|
+
* The entry is located by the key it authorized: every ceremony that calls
|
|
307
|
+
* this detects its own completion by that key standing in `updateKeys`, and
|
|
308
|
+
* the entry that FIRST authorized it is the one to walk back to. A log that
|
|
309
|
+
* does not authorize the key, or authorizes it at the genesis entry, has no
|
|
310
|
+
* usable prefix and is refused: a caller that reached this had already seen
|
|
311
|
+
* the key authorized, so either shape is a caller defect rather than a
|
|
312
|
+
* state to answer for.
|
|
313
|
+
*
|
|
314
|
+
* @param options {object}
|
|
315
|
+
* @param options.log {DIDLog} the post-entry log
|
|
316
|
+
* @param options.authorizedKeyMultibase {string} the update key the entry
|
|
317
|
+
* authorized
|
|
318
|
+
* @param options.credentialVmIds {string[]} the credentials the entry
|
|
319
|
+
* retired, as the caller derived them from the log
|
|
320
|
+
* @param [options.protectedHashes] {string[]} the same set the first run
|
|
321
|
+
* passed
|
|
322
|
+
* @param [options.protectedKeys] {string[]} likewise
|
|
323
|
+
* @param [options.maxScan] {number}
|
|
324
|
+
* @returns {Promise<{ struckHashes: string[], struckKeys: string[],
|
|
325
|
+
* unclaimedCredentialVmIds: string[] }>}
|
|
326
|
+
*/
|
|
327
|
+
export declare function retiredCredentialRungsBeforeKey({ log, authorizedKeyMultibase, credentialVmIds, protectedHashes, protectedKeys, maxScan }: {
|
|
328
|
+
log: DIDLog;
|
|
329
|
+
authorizedKeyMultibase: string;
|
|
330
|
+
credentialVmIds: string[];
|
|
331
|
+
protectedHashes?: string[];
|
|
332
|
+
protectedKeys?: string[];
|
|
333
|
+
maxScan?: number;
|
|
334
|
+
}): Promise<{
|
|
335
|
+
struckHashes: string[];
|
|
336
|
+
struckKeys: string[];
|
|
337
|
+
unclaimedCredentialVmIds: string[];
|
|
338
|
+
}>;
|
|
339
|
+
/**
|
|
340
|
+
* What a full retirement must strike from the standing parameters for a set of
|
|
341
|
+
* credentials being retired in one entry: their committed rung hashes, and any
|
|
342
|
+
* rung of theirs standing revealed in `updateKeys`. Each credential is
|
|
343
|
+
* anchored from the log alone ({@link credentialLadderAnchor}), so a cold
|
|
344
|
+
* browser holding no registry and no seed can still strike them.
|
|
345
|
+
*
|
|
346
|
+
* The bias is under-striking, deliberately. Over-striking is silent and
|
|
347
|
+
* unhealable -- a surviving credential or client keeps its verification
|
|
348
|
+
* methods and its roster wrap, and only fails when someone finally uses it --
|
|
349
|
+
* while under-striking leaves a committed rung a retired credential's holder
|
|
350
|
+
* could reveal, which the report names. Five things keep it that way:
|
|
351
|
+
*
|
|
352
|
+
* - a credential whose anchor is ambiguous or whose walk refuses is reported
|
|
353
|
+
* as unclaimed and nothing of its is struck;
|
|
354
|
+
* - only what the walk positively claims is a candidate;
|
|
355
|
+
* - a hash or key the caller names as its own (`protectedHashes` /
|
|
356
|
+
* `protectedKeys`, the successors the entry itself commits) is dropped;
|
|
357
|
+
* - every SURVIVING enrolled client's active update key, its carry-over hash
|
|
358
|
+
* and its staged hash are dropped, whatever the walk claimed
|
|
359
|
+
* ({@link survivingClientKeyProtection}). That guard is structural rather
|
|
360
|
+
* than a property of the walk, because a mis-anchored walk landing on a
|
|
361
|
+
* client's key would otherwise end that client's ability to extend the
|
|
362
|
+
* account log for good. The walks therefore run FIRST, and the hashes they
|
|
363
|
+
* claimed are passed to the protection as known-latent, so a retiring
|
|
364
|
+
* credential's own rung cannot make a client's staged attribution ambiguous
|
|
365
|
+
* and get itself protected as a candidate;
|
|
366
|
+
* - a listed enrolled client whose ACTIVE update key the log cannot attribute
|
|
367
|
+
* withholds the WHOLE strike: nothing is struck and every credential is
|
|
368
|
+
* reported, since the structural guard cannot say what that client holds.
|
|
369
|
+
*
|
|
370
|
+
* The report is a not-fully-retired report rather than a nothing-happened one.
|
|
371
|
+
* A credential appears on `unclaimedCredentialVmIds` when its walk refused,
|
|
372
|
+
* when it claimed nothing, AND when any single hash or key it claimed was
|
|
373
|
+
* withheld by one of the kept sets. The rest of that credential's claims are
|
|
374
|
+
* still struck; what the caller must not be told is that a partial retirement
|
|
375
|
+
* was a whole one.
|
|
376
|
+
*
|
|
377
|
+
* @param options {object}
|
|
378
|
+
* @param options.log {DIDLog} a resolved, caller-verified log, read BEFORE
|
|
379
|
+
* the entry is built
|
|
380
|
+
* @param options.credentialVmIds {string[]} the retiring credentials'
|
|
381
|
+
* `keyAgreement` verification-method ids
|
|
382
|
+
* @param [options.protectedHashes] {string[]} hashes the entry itself
|
|
383
|
+
* commits, never struck
|
|
384
|
+
* @param [options.protectedKeys] {string[]} update keys the entry itself
|
|
385
|
+
* authorizes, never struck
|
|
386
|
+
* @param [options.maxScan] {number} the ladder walk's bound
|
|
387
|
+
* @returns {Promise<{ struckHashes: string[], struckKeys: string[],
|
|
388
|
+
* unclaimedCredentialVmIds: string[] }>}
|
|
389
|
+
*/
|
|
390
|
+
export declare function attributeRetiredCredentialRungs({ log, credentialVmIds, protectedHashes, protectedKeys, maxScan }: {
|
|
391
|
+
log: DIDLog;
|
|
392
|
+
credentialVmIds: string[];
|
|
393
|
+
protectedHashes?: string[];
|
|
394
|
+
protectedKeys?: string[];
|
|
395
|
+
maxScan?: number;
|
|
396
|
+
}): Promise<{
|
|
397
|
+
struckHashes: string[];
|
|
398
|
+
struckKeys: string[];
|
|
399
|
+
unclaimedCredentialVmIds: string[];
|
|
400
|
+
}>;
|
|
187
401
|
/**
|
|
188
402
|
* Attributes a ladder's FULL standing inventory from the log -- the retirement
|
|
189
403
|
* counterpart of {@link attributeLadderRung}, which recovers only the single
|
|
@@ -224,35 +438,107 @@ export interface LadderStandingInventory {
|
|
|
224
438
|
* commitment in that position instead, and striking that would leave the
|
|
225
439
|
* replacement unusable and unhealable;
|
|
226
440
|
* - a claim or revealed key that later leaves the parameters without a
|
|
227
|
-
* completion was struck by some other edit and simply stops standing
|
|
441
|
+
* completion was struck by some other edit and simply stops standing;
|
|
442
|
+
* - a ladder VM standing in the final document belongs to this ladder on
|
|
443
|
+
* either of two arms, asked at the entry that PUBLISHED it (the entry at
|
|
444
|
+
* which the id appeared among the document's ladder VMs). The SIGNER arm:
|
|
445
|
+
* that entry was signed by a key this ladder accounted for at that point,
|
|
446
|
+
* which covers every install a ladder rung signs (the ladder-anchored
|
|
447
|
+
* genesis, the ladder-VM install, the transient recovery's add-and-retire
|
|
448
|
+
* entry). The CO-INTRODUCTION arm: that entry also introduced this
|
|
449
|
+
* credential's own `keyAgreement` member (`credentialVmId`), which is what
|
|
450
|
+
* reaches a bind entry an ENROLLED CLIENT signed -- the shape
|
|
451
|
+
* `publishUnlockKey` writes, whose signer is the binding client's update
|
|
452
|
+
* key rather than a rung. Three guards keep that arm from over-claiming:
|
|
453
|
+
* it needs `credentialVmId` in hand, the entry must introduce exactly ONE
|
|
454
|
+
* credential-class `keyAgreement` member (the account-controlled class,
|
|
455
|
+
* `credentialKeyAgreementMethods`; the transient recovery entry introduces
|
|
456
|
+
* two and is left to the signer arm), and the entry must introduce exactly
|
|
457
|
+
* ONE ladder VM. The question is anchored rather than free-standing: it
|
|
458
|
+
* answers "is this VM mine", and a VM no anchored ladder claims is
|
|
459
|
+
* identified by subtraction and left standing, since striking a key this
|
|
460
|
+
* ladder cannot show it owns would take out a surviving credential's.
|
|
461
|
+
* The COMMITMENT arm: that entry committed a hash the ladder knows a priori
|
|
462
|
+
* (the anchor's, a seed-derived rung's, or one the backward pre-pass
|
|
463
|
+
* recovered), introduced exactly one ladder VM, and introduced no OTHER
|
|
464
|
+
* credential's `keyAgreement` member. It reaches the reinstall an
|
|
465
|
+
* `establishStandingUnlock` re-run writes, which mints a fresh ladder seed
|
|
466
|
+
* for a credential whose member already stands, so neither of the other
|
|
467
|
+
* arms can see it. Like the co-introduction arm it needs `credentialVmId`
|
|
468
|
+
* in hand, since with no id the foreign-member guard would pass vacuously.
|
|
469
|
+
*
|
|
470
|
+
* One narrowing runs across both the signer arm and the hash claims. A ladder
|
|
471
|
+
* derives exactly ONE verification method from its seed, so a ladder already
|
|
472
|
+
* holding a standing claimed VM cannot own a second one an entry introduces.
|
|
473
|
+
* An entry introducing such a VM, or another credential's `keyAgreement`
|
|
474
|
+
* member, is installing a foreign inventory: the acting credential's rung
|
|
475
|
+
* signs exactly that on a ladder-branch bind and on a recovery code's split
|
|
476
|
+
* issuance. The signer arm does not claim the VM there, and the hashes such
|
|
477
|
+
* an entry commits are the bound credential's rung commitments rather than
|
|
478
|
+
* this ladder's next one, so they stay out of the claims. Without the
|
|
479
|
+
* narrowing, retiring the acting credential would strike the credential (or
|
|
480
|
+
* the recovery code) it had just bound.
|
|
481
|
+
*
|
|
482
|
+
* The attribution is anchor-invariant across the shapes where each rung's
|
|
483
|
+
* hash was committed by an entry that also revealed the previous rung, or by
|
|
484
|
+
* a handover. The signer arm's key set is the anchor plus every earlier rung
|
|
485
|
+
* a backward pre-pass recovers from the log's own positional rules ({@link
|
|
486
|
+
* recoverEarlierRungs}, over `decisions/0007-ladder-reveal-hash-order.md`),
|
|
487
|
+
* so an entry a spent rung signed is attributed however far the anchor has
|
|
488
|
+
* since climbed. The ladder seed (`ladderSeed`) remains a shortcut and a
|
|
489
|
+
* cross-check rather than a requirement: it makes every rung's key and hash
|
|
490
|
+
* known outright and skips the pre-pass. A residue no arm can attribute is
|
|
491
|
+
* still released -- the retirement then strikes what the recorded inventory
|
|
492
|
+
* names and nothing more. More than one ladder reveal standing or arriving at
|
|
493
|
+
* once matches no legitimate history and fails closed ({@link
|
|
494
|
+
* LadderAttributionError}).
|
|
495
|
+
*
|
|
496
|
+
* One shape is out of reach seedlessly, and it is reachable today. The
|
|
497
|
+
* last-client transition strikes the ladder VM and reinstalls it in the same
|
|
498
|
+
* run (`forgetLastEnrolledClient` stage 1): same seed, the credential's
|
|
499
|
+
* member standing, the acting rung's hash still committed, and no hash added.
|
|
500
|
+
* A later self-enrollment then spends that already-revealed rung, so its
|
|
501
|
+
* reveal-and-commit entry authorizes no key while committing the next rung's
|
|
502
|
+
* hash, and the registry anchor advances to that next rung. The backward walk
|
|
503
|
+
* climbs from the anchor by asking which key the entry that committed its
|
|
504
|
+
* hash authorized; that entry authorized none, so the walk cannot name the
|
|
505
|
+
* rung that signed it, and the earlier rung and the reinstalled VM go
|
|
506
|
+
* unrecovered. A seedless retirement then reports the VM as `unclaimed` and
|
|
507
|
+
* leaves it standing. Tracked as WC-158.
|
|
228
508
|
*
|
|
229
|
-
*
|
|
230
|
-
*
|
|
231
|
-
*
|
|
232
|
-
*
|
|
233
|
-
*
|
|
234
|
-
*
|
|
235
|
-
*
|
|
236
|
-
*
|
|
509
|
+
* The anchor comes in three forms, and the walk is the same afterwards. A
|
|
510
|
+
* recorded update-key multibase (`anchorKeyMultibase`) is what a caller
|
|
511
|
+
* holding a registry entry passes. A hash (`anchorHash`) is the same anchor
|
|
512
|
+
* with the key withheld: the rung is picked up when the log reveals it, since
|
|
513
|
+
* the reveal test already matches on the commitment. With neither, and a
|
|
514
|
+
* `credentialVmId` in hand, the anchor is read off the credential's bind entry
|
|
515
|
+
* ({@link credentialLadderAnchor}) -- the cold-browser mode, where no registry
|
|
516
|
+
* is readable before the entry is written. An anchor the bind entry cannot
|
|
517
|
+
* name unambiguously refuses with {@link LadderAttributionError} rather than
|
|
518
|
+
* walking from a guess.
|
|
237
519
|
*
|
|
238
520
|
* @param options {object}
|
|
239
521
|
* @param options.log {DIDLog} a resolved, caller-verified log
|
|
240
|
-
* @param options.anchorKeyMultibase {string} the credential's recorded
|
|
522
|
+
* @param [options.anchorKeyMultibase] {string} the credential's recorded
|
|
241
523
|
* update-key multibase (bind-time rung 0, or a refreshed later rung)
|
|
524
|
+
* @param [options.anchorHash] {string} the same anchor as a committed hash,
|
|
525
|
+
* for a caller that resolved one without the key
|
|
242
526
|
* @param [options.ladderSeed] {Uint8Array} the credential's ladder seed,
|
|
243
527
|
* when the caller holds it
|
|
244
528
|
* @param [options.credentialVmId] {string} the credential's own
|
|
245
529
|
* `keyAgreement` verification-method id, which tells a climb (the
|
|
246
530
|
* credential stands afterwards) from a spend (its inventory goes in the same
|
|
247
|
-
* entry)
|
|
531
|
+
* entry), which the ladder VM's co-introduction arm is anchored on, and
|
|
532
|
+
* which supplies the anchor itself when neither anchor form is passed
|
|
248
533
|
* @param [options.maxScan] {number} seeded pre-derivation bound; defaults to
|
|
249
534
|
* {@link LADDER_MAX_SCAN}
|
|
250
|
-
* @returns {Promise<LadderStandingInventory>} what currently stands;
|
|
251
|
-
*
|
|
535
|
+
* @returns {Promise<LadderStandingInventory>} what currently stands; every
|
|
536
|
+
* array empty when the log carries nothing of the ladder any more
|
|
252
537
|
*/
|
|
253
|
-
export declare function attributeLadderInventory({ log, anchorKeyMultibase, ladderSeed, credentialVmId, maxScan }: {
|
|
538
|
+
export declare function attributeLadderInventory({ log, anchorKeyMultibase, anchorHash: suppliedAnchorHash, ladderSeed, credentialVmId, maxScan }: {
|
|
254
539
|
log: DIDLog;
|
|
255
|
-
anchorKeyMultibase
|
|
540
|
+
anchorKeyMultibase?: string;
|
|
541
|
+
anchorHash?: string;
|
|
256
542
|
ladderSeed?: Uint8Array;
|
|
257
543
|
credentialVmId?: string;
|
|
258
544
|
maxScan?: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ladder.d.ts","sourceRoot":"","sources":["../../src/clientAnnex/ladder.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ladder.d.ts","sourceRoot":"","sources":["../../src/clientAnnex/ladder.ts"],"names":[],"mappings":"AAsCA,OAAO,KAAK,EAAE,MAAM,EAAe,MAAM,2BAA2B,CAAA;AAmDpE;;;;;GAKG;AACH,eAAO,MAAM,eAAe,MAAM,CAAA;AAElC;;;;;;GAMG;AACH,qBAAa,sBAAuB,SAAQ,KAAK;gBACnC,OAAO,EAAE,MAAM;CAI5B;AAED;;;;GAIG;AACH,wBAAgB,kBAAkB,IAAI,UAAU,CAE/C;AA6BD;;;GAGG;AACH,MAAM,WAAW,UAAU;IACzB,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,UAAU,CAAA;IAChB,YAAY,EAAE,MAAM,CAAA;CACrB;AAED;;;;;;;GAOG;AACH,wBAAgB,cAAc,CAAC,EAC7B,UAAU,EACV,KAAK,EACN,EAAE;IACD,UAAU,EAAE,UAAU,CAAA;IACtB,KAAK,EAAE,MAAM,CAAA;CACd,GAAG,UAAU,CAQb;AAED;;;;;;;GAOG;AACH,wBAAsB,UAAU,CAAC,EAC/B,UAAU,EACV,KAAK,EACN,EAAE;IACD,UAAU,EAAE,UAAU,CAAA;IACtB,KAAK,EAAE,MAAM,CAAA;CACd,GAAG,OAAO,CAAC,UAAU,CAAC,CAGtB;AAED;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,wBAAgB,YAAY,CAAC,EAC3B,UAAU,EACX,EAAE;IACD,UAAU,EAAE,UAAU,CAAA;CACvB,GAAG,UAAU,CAEb;AAED;;;;;;;GAOG;AAC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