@interop/wallet-core 0.75.0 → 0.77.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/clientAnnex/heal.d.ts +5 -1
- package/dist/clientAnnex/heal.d.ts.map +1 -1
- package/dist/clientAnnex/heal.js +26 -12
- package/dist/clientAnnex/heal.js.map +1 -1
- package/dist/clientAnnex/index.d.ts +5 -1
- package/dist/clientAnnex/index.d.ts.map +1 -1
- package/dist/clientAnnex/index.js +5 -1
- package/dist/clientAnnex/index.js.map +1 -1
- package/dist/clientAnnex/log.d.ts +67 -27
- package/dist/clientAnnex/log.d.ts.map +1 -1
- package/dist/clientAnnex/log.js +66 -32
- package/dist/clientAnnex/log.js.map +1 -1
- package/dist/clientAnnex/spaceCapability.d.ts +94 -17
- package/dist/clientAnnex/spaceCapability.d.ts.map +1 -1
- package/dist/clientAnnex/spaceCapability.js +146 -8
- package/dist/clientAnnex/spaceCapability.js.map +1 -1
- package/dist/keyring/fetch.d.ts +6 -1
- package/dist/keyring/fetch.d.ts.map +1 -1
- package/dist/keyring/fetch.js +5 -1
- package/dist/keyring/fetch.js.map +1 -1
- package/dist/keyring/unlockSpace.d.ts +44 -4
- package/dist/keyring/unlockSpace.d.ts.map +1 -1
- package/dist/keyring/unlockSpace.js +51 -27
- package/dist/keyring/unlockSpace.js.map +1 -1
- package/dist/keys/collectionLogStore.d.ts +6 -2
- package/dist/keys/collectionLogStore.d.ts.map +1 -1
- package/dist/keys/collectionLogStore.js +6 -2
- package/dist/keys/collectionLogStore.js.map +1 -1
- package/dist/keys/rosterStore.d.ts +6 -2
- package/dist/keys/rosterStore.d.ts.map +1 -1
- package/dist/keys/rosterStore.js +9 -2
- package/dist/keys/rosterStore.js.map +1 -1
- package/dist/space/deleteSpace.d.ts +28 -1
- package/dist/space/deleteSpace.d.ts.map +1 -1
- package/dist/space/deleteSpace.js +9 -2
- package/dist/space/deleteSpace.js.map +1 -1
- package/dist/space/provisioning.d.ts.map +1 -1
- package/dist/unlock/unlockRecord.d.ts +2 -2
- package/dist/unlock/unlockRecord.js +2 -2
- package/dist/webvh/delegatedLogStore.d.ts +6 -1
- package/dist/webvh/delegatedLogStore.d.ts.map +1 -1
- package/dist/webvh/delegatedLogStore.js +5 -2
- package/dist/webvh/delegatedLogStore.js.map +1 -1
- package/dist/webvh/didWebProjection.d.ts +2 -2
- package/dist/webvh/didWebProjection.js +1 -1
- package/package.json +4 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"collectionLogStore.d.ts","sourceRoot":"","sources":["../../src/keys/collectionLogStore.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAA;AACvD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAA;AAChD,OAAO,EAEL,KAAK,UAAU,EACf,KAAK,KAAK,
|
|
1
|
+
{"version":3,"file":"collectionLogStore.d.ts","sourceRoot":"","sources":["../../src/keys/collectionLogStore.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAA;AACvD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAA;AAChD,OAAO,EAEL,KAAK,UAAU,EACf,KAAK,KAAK,EACV,KAAK,kBAAkB,EAExB,MAAM,qBAAqB,CAAA;AAE5B,OAAO,KAAK,EACV,mBAAmB,EACnB,iBAAiB,EAClB,MAAM,0BAA0B,CAAA;AAEjC,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,yBAAyB,CAAA;AAEzE,OAAO,EAEL,KAAK,iCAAiC,EACvC,MAAM,qBAAqB,CAAA;AAE5B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AACH,wBAAgB,4B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}
|
|
@@ -130,15 +130,19 @@ export function collectionDescriptorStores({ collectionFor, resolveController, p
|
|
|
130
130
|
* @param [options.capability] {IZcap} an invocation capability every
|
|
131
131
|
* request rides (a transient visit's generation delegation); absent,
|
|
132
132
|
* requests invoke the root capability
|
|
133
|
+
* @param [options.serviceDescription] {ServiceDescription} the server's
|
|
134
|
+
* service description a client the caller already holds discovered
|
|
135
|
+
* (`(await was.service()).description`), so this one skips discovery
|
|
133
136
|
* @returns {CollectionStoreFor}
|
|
134
137
|
*/
|
|
135
|
-
export function accountCollectionStores({ storageServerUrl, zcapClient, spaceId, did, pinStore, signer, log, capability }) {
|
|
138
|
+
export function accountCollectionStores({ storageServerUrl, zcapClient, spaceId, did, pinStore, signer, log, capability, serviceDescription }) {
|
|
136
139
|
let space;
|
|
137
140
|
return collectionDescriptorStores({
|
|
138
141
|
collectionFor: collectionId => {
|
|
139
142
|
space ??= new WasClient({
|
|
140
143
|
serverUrl: storageServerUrl,
|
|
141
|
-
zcapClient
|
|
144
|
+
zcapClient,
|
|
145
|
+
serviceDescription
|
|
142
146
|
}).space(spaceId, { capability });
|
|
143
147
|
return space.collection(collectionId);
|
|
144
148
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"collectionLogStore.js","sourceRoot":"","sources":["../../src/keys/collectionLogStore.ts"],"names":[],"mappings":"AA6BA,OAAO,EACL,SAAS,
|
|
1
|
+
{"version":3,"file":"collectionLogStore.js","sourceRoot":"","sources":["../../src/keys/collectionLogStore.ts"],"names":[],"mappings":"AA6BA,OAAO,EACL,SAAS,EAKV,MAAM,qBAAqB,CAAA;AAC5B,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;AAK1D,OAAO,EAAE,4BAA4B,EAAE,MAAM,6BAA6B,CAAA;AAE1E,OAAO,EAAE,yBAAyB,EAAE,MAAM,uBAAuB,CAAA;AACjE,OAAO,EACL,0BAA0B,EAE3B,MAAM,qBAAqB,CAAA;AAE5B;;;;;;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;QACvC,CAAC;QACD,iBAAiB,EAAE,yBAAyB,CAAC;YAC3C,GAAG;YACH,OAAO;YACP,IAAI,EAAE,gBAAgB;YACtB,QAAQ;YACR,GAAG;SACJ,CAAC;QACF,QAAQ;QACR,MAAM;KACP,CAAC,CAAA;AACJ,CAAC"}
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* override keeps an absent roster a 404 rather than an encryption error and
|
|
14
14
|
* leaves the log's compare-and-swap append guard intact.
|
|
15
15
|
*/
|
|
16
|
-
import { type IZcap } from '@interop/was-client';
|
|
16
|
+
import { type IZcap, type ServiceDescription } from '@interop/was-client';
|
|
17
17
|
import type { ZcapClient } from '@interop/ezcap';
|
|
18
18
|
import { type ResourceLogPinStore, type ResourceLogSigner } from '@interop/vh-resource-log';
|
|
19
19
|
import type { WebvhResourceLogController } from '../resourceLog/index.js';
|
|
@@ -52,9 +52,12 @@ export declare function userKeyRosterPinId({ spaceId }: {
|
|
|
52
52
|
* every roster request (a delegated Space-subtree zcap -- the transient
|
|
53
53
|
* session's generation delegation); absent, requests invoke the root
|
|
54
54
|
* capability as before
|
|
55
|
+
* @param [options.serviceDescription] {ServiceDescription} the server's
|
|
56
|
+
* service description a client the caller already holds discovered
|
|
57
|
+
* (`(await was.service()).description`), so this one skips discovery
|
|
55
58
|
* @returns {SealableEncryptionDescriptorStore}
|
|
56
59
|
*/
|
|
57
|
-
export declare function userKeyRosterDescriptorStore({ storageServerUrl, zcapClient, spaceId, resolveController, pinStore, signer, capability }: {
|
|
60
|
+
export declare function userKeyRosterDescriptorStore({ storageServerUrl, zcapClient, spaceId, resolveController, pinStore, signer, capability, serviceDescription }: {
|
|
58
61
|
storageServerUrl: string;
|
|
59
62
|
zcapClient: ZcapClient;
|
|
60
63
|
spaceId: string;
|
|
@@ -62,5 +65,6 @@ export declare function userKeyRosterDescriptorStore({ storageServerUrl, zcapCli
|
|
|
62
65
|
pinStore: ResourceLogPinStore;
|
|
63
66
|
signer: ResourceLogSigner;
|
|
64
67
|
capability?: IZcap;
|
|
68
|
+
serviceDescription?: ServiceDescription;
|
|
65
69
|
}): SealableEncryptionDescriptorStore;
|
|
66
70
|
//# sourceMappingURL=rosterStore.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rosterStore.d.ts","sourceRoot":"","sources":["../../src/keys/rosterStore.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;;;;;;;;;;GAWG;AACH,OAAO,
|
|
1
|
+
{"version":3,"file":"rosterStore.d.ts","sourceRoot":"","sources":["../../src/keys/rosterStore.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;;;;;;;;;;GAWG;AACH,OAAO,EAEL,KAAK,KAAK,EACV,KAAK,kBAAkB,EACxB,MAAM,qBAAqB,CAAA;AAC5B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAA;AAEhD,OAAO,EAEL,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACvB,MAAM,0BAA0B,CAAA;AACjC,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,yBAAyB,CAAA;AAMzE,OAAO,EAEL,KAAK,iCAAiC,EACvC,MAAM,qBAAqB,CAAA;AAE5B;;;;;;;;GAQG;AACH,wBAAgB,kBAAkB,CAAC,EAAE,OAAO,EAAE,EAAE;IAAE,OAAO,EAAE,MAAM,CAAA;CAAE,GAAG,MAAM,CAM3E;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,wBAAgB,4BAA4B,CAAC,EAC3C,gBAAgB,EAChB,UAAU,EACV,OAAO,EACP,iBAAiB,EACjB,QAAQ,EACR,MAAM,EACN,UAAU,EACV,kBAAkB,EACnB,EAAE;IACD,gBAAgB,EAAE,MAAM,CAAA;IACxB,UAAU,EAAE,UAAU,CAAA;IACtB,OAAO,EAAE,MAAM,CAAA;IACf,iBAAiB,EAAE,MAAM,OAAO,CAAC,0BAA0B,CAAC,CAAA;IAC5D,QAAQ,EAAE,mBAAmB,CAAA;IAC7B,MAAM,EAAE,iBAAiB,CAAA;IACzB,UAAU,CAAC,EAAE,KAAK,CAAA;IAClB,kBAAkB,CAAC,EAAE,kBAAkB,CAAA;CACxC,GAAG,iCAAiC,CAsBpC"}
|
package/dist/keys/rosterStore.js
CHANGED
|
@@ -57,10 +57,17 @@ export function userKeyRosterPinId({ spaceId }) {
|
|
|
57
57
|
* every roster request (a delegated Space-subtree zcap -- the transient
|
|
58
58
|
* session's generation delegation); absent, requests invoke the root
|
|
59
59
|
* capability as before
|
|
60
|
+
* @param [options.serviceDescription] {ServiceDescription} the server's
|
|
61
|
+
* service description a client the caller already holds discovered
|
|
62
|
+
* (`(await was.service()).description`), so this one skips discovery
|
|
60
63
|
* @returns {SealableEncryptionDescriptorStore}
|
|
61
64
|
*/
|
|
62
|
-
export function userKeyRosterDescriptorStore({ storageServerUrl, zcapClient, spaceId, resolveController, pinStore, signer, capability }) {
|
|
63
|
-
const was = new WasClient({
|
|
65
|
+
export function userKeyRosterDescriptorStore({ storageServerUrl, zcapClient, spaceId, resolveController, pinStore, signer, capability, serviceDescription }) {
|
|
66
|
+
const was = new WasClient({
|
|
67
|
+
serverUrl: storageServerUrl,
|
|
68
|
+
zcapClient,
|
|
69
|
+
serviceDescription
|
|
70
|
+
});
|
|
64
71
|
const collection = plaintextCollection({
|
|
65
72
|
was,
|
|
66
73
|
spaceId,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rosterStore.js","sourceRoot":"","sources":["../../src/keys/rosterStore.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;;;;;;;;;;GAWG;AACH,OAAO,
|
|
1
|
+
{"version":3,"file":"rosterStore.js","sourceRoot":"","sources":["../../src/keys/rosterStore.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;;;;;;;;;;GAWG;AACH,OAAO,EACL,SAAS,EAGV,MAAM,qBAAqB,CAAA;AAE5B,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;AAC1D,O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|
|
4
|
+
/**
|
|
5
|
+
* The one capability-authorized Space DELETE. Every account-side Space a
|
|
6
|
+
* wallet destroys with an explicitly attached capability -- the account Space
|
|
7
|
+
* or an auxiliary annex Space under a single-verb child of that Space's root
|
|
8
|
+
* -- sends the same request through this helper. An unlock Space's delete
|
|
9
|
+
* (`keyring/unlockSpace.ts`'s `deleteUnlockSpace`) sends the same request
|
|
10
|
+
* shape, with the capability optional.
|
|
11
|
+
*
|
|
12
|
+
* The 404 is REPORTED rather than decided here. An already-absent Space is
|
|
13
|
+
* idempotent success to one caller and a case the deletion walk records to
|
|
14
|
+
* another, so the outcome travels back to the caller and only a non-404
|
|
15
|
+
* error propagates.
|
|
16
|
+
*
|
|
17
|
+
* What `not-found` means is exactly "the server answered 404", which covers
|
|
18
|
+
* absent AND unauthorized: was-teaching-server masks a refused invocation as
|
|
19
|
+
* 404, and the two are indistinguishable on the wire. No caller may read the
|
|
20
|
+
* outcome as absence on its own; a caller that needs absence must establish
|
|
21
|
+
* it by its own prior discovery.
|
|
22
|
+
*/
|
|
23
|
+
import { type ServiceDescription } from '@interop/was-client';
|
|
1
24
|
import type { IZcap } from '@interop/data-integrity-core';
|
|
2
25
|
import type { ZcapClient } from '@interop/ezcap';
|
|
3
26
|
/**
|
|
@@ -12,16 +35,20 @@ import type { ZcapClient } from '@interop/ezcap';
|
|
|
12
35
|
* @param options.spaceId {string} the Space to delete
|
|
13
36
|
* @param options.capability {IZcap} the attached capability (must allow
|
|
14
37
|
* DELETE on the Space's own URL)
|
|
38
|
+
* @param [options.serviceDescription] {ServiceDescription} the server's
|
|
39
|
+
* service description a client the caller already holds discovered
|
|
40
|
+
* (`(await was.service()).description`), so this one skips discovery
|
|
15
41
|
* @returns {Promise<{ outcome: 'deleted' | 'not-found' }>} `not-found` when
|
|
16
42
|
* the server answered 404, which is absent OR unauthorized -- the two are
|
|
17
43
|
* indistinguishable on the wire, so this is not a statement of absence.
|
|
18
44
|
* Every other error propagates unchanged
|
|
19
45
|
*/
|
|
20
|
-
export declare function deleteSpaceWithCapability({ storageServerUrl, zcapClient, spaceId, capability }: {
|
|
46
|
+
export declare function deleteSpaceWithCapability({ storageServerUrl, zcapClient, spaceId, capability, serviceDescription }: {
|
|
21
47
|
storageServerUrl: string;
|
|
22
48
|
zcapClient: ZcapClient;
|
|
23
49
|
spaceId: string;
|
|
24
50
|
capability: IZcap;
|
|
51
|
+
serviceDescription?: ServiceDescription;
|
|
25
52
|
}): Promise<{
|
|
26
53
|
outcome: 'deleted' | 'not-found';
|
|
27
54
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deleteSpace.d.ts","sourceRoot":"","sources":["../../src/space/deleteSpace.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"deleteSpace.d.ts","sourceRoot":"","sources":["../../src/space/deleteSpace.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;;;;;;;;;;;;;;;;;GAkBG;AACH,OAAO,EAAa,KAAK,kBAAkB,EAAE,MAAM,qBAAqB,CAAA;AACxE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,8BAA8B,CAAA;AACzD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAA;AAEhD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAsB,yBAAyB,CAAC,EAC9C,gBAAgB,EAChB,UAAU,EACV,OAAO,EACP,UAAU,EACV,kBAAkB,EACnB,EAAE;IACD,gBAAgB,EAAE,MAAM,CAAA;IACxB,UAAU,EAAE,UAAU,CAAA;IACtB,OAAO,EAAE,MAAM,CAAA;IACf,UAAU,EAAE,KAAK,CAAA;IACjB,kBAAkB,CAAC,EAAE,kBAAkB,CAAA;CACxC,GAAG,OAAO,CAAC;IAAE,OAAO,EAAE,SAAS,GAAG,WAAW,CAAA;CAAE,CAAC,CAOhD"}
|
|
@@ -33,13 +33,20 @@ import { WasClient } from '@interop/was-client';
|
|
|
33
33
|
* @param options.spaceId {string} the Space to delete
|
|
34
34
|
* @param options.capability {IZcap} the attached capability (must allow
|
|
35
35
|
* DELETE on the Space's own URL)
|
|
36
|
+
* @param [options.serviceDescription] {ServiceDescription} the server's
|
|
37
|
+
* service description a client the caller already holds discovered
|
|
38
|
+
* (`(await was.service()).description`), so this one skips discovery
|
|
36
39
|
* @returns {Promise<{ outcome: 'deleted' | 'not-found' }>} `not-found` when
|
|
37
40
|
* the server answered 404, which is absent OR unauthorized -- the two are
|
|
38
41
|
* indistinguishable on the wire, so this is not a statement of absence.
|
|
39
42
|
* Every other error propagates unchanged
|
|
40
43
|
*/
|
|
41
|
-
export async function deleteSpaceWithCapability({ storageServerUrl, zcapClient, spaceId, capability }) {
|
|
42
|
-
const was = new WasClient({
|
|
44
|
+
export async function deleteSpaceWithCapability({ storageServerUrl, zcapClient, spaceId, capability, serviceDescription }) {
|
|
45
|
+
const was = new WasClient({
|
|
46
|
+
serverUrl: storageServerUrl,
|
|
47
|
+
zcapClient,
|
|
48
|
+
serviceDescription
|
|
49
|
+
});
|
|
43
50
|
return was.space(spaceId, { capability }).deleteWithOutcome();
|
|
44
51
|
}
|
|
45
52
|
//# sourceMappingURL=deleteSpace.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deleteSpace.js","sourceRoot":"","sources":["../../src/space/deleteSpace.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;;;;;;;;;;;;;;;;;GAkBG;AACH,OAAO,EAAE,SAAS,
|
|
1
|
+
{"version":3,"file":"deleteSpace.js","sourceRoot":"","sources":["../../src/space/deleteSpace.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;;;;;;;;;;;;;;;;;GAkBG;AACH,OAAO,EAAE,SAAS,EAA2B,MAAM,qBAAqB,CAAA;AAIxE;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAM,CAAC,KAAK,UAAU,yBAAyB,CAAC,EAC9C,gBAAgB,EAChB,UAAU,EACV,OAAO,EACP,UAAU,EACV,kBAAkB,EAOnB;IACC,MAAM,GAAG,GAAG,IAAI,SAAS,CAAC;QACxB,SAAS,EAAE,gBAAgB;QAC3B,UAAU;QACV,kBAAkB;KACnB,CAAC,CAAA;IACF,OAAO,GAAG,CAAC,KAAK,CAAC,OAAO,EAAE,EAAE,UAAU,EAAE,CAAC,CAAC,iBAAiB,EAAE,CAAA;AAC/D,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provisioning.d.ts","sourceRoot":"","sources":["../../src/space/provisioning.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;;;;;;;;;;;;;;GAeG;AACH,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"provisioning.d.ts","sourceRoot":"","sources":["../../src/space/provisioning.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;;;;;;;;;;;;;;GAeG;AACH,OAAO,KAAK,EAAiB,SAAS,EAAE,MAAM,qBAAqB,CAAA;AASnE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,wBAAsB,oBAAoB,CAAC,EACzC,GAAG,EACH,OAAO,EACP,aAAa,EACd,EAAE;IACD,GAAG,EAAE,SAAS,CAAA;IACd,OAAO,EAAE,MAAM,CAAA;IACf,aAAa,EAAE,MAAM,CAAA;CACtB,GAAG,OAAO,CAAC,IAAI,CAAC,CAiBhB"}
|
|
@@ -35,7 +35,7 @@ export interface SealedRecordMember {
|
|
|
35
35
|
* account core (controller + pointer, plus the ladder seed where the
|
|
36
36
|
* credential is a standing method), the bridge delegation, the optional
|
|
37
37
|
* annex Space delegation (`delegatedClients` -- a standing credential's
|
|
38
|
-
* pre-minted GET+PUT over the auxiliary annex Space
|
|
38
|
+
* pre-minted GET+PUT over the auxiliary annex Space),
|
|
39
39
|
* the optional bind email, and the bind timestamp. `pointer` is required --
|
|
40
40
|
* the record exists only on WAS deployments.
|
|
41
41
|
*/
|
|
@@ -159,7 +159,7 @@ export declare function unlockRecordSealedTo({ record, keyAgreementKeyMultibase
|
|
|
159
159
|
* @param options.delegation {IZcap} the PUT-on-`did.jsonl` delegation to
|
|
160
160
|
* the credential-derived signing DID
|
|
161
161
|
* @param [options.delegatedClients] {IZcap} the annex Space delegation
|
|
162
|
-
* (GET+PUT over the auxiliary Space
|
|
162
|
+
* (GET+PUT over the auxiliary Space), for a standing
|
|
163
163
|
* credential (a recovery code carries none)
|
|
164
164
|
* @param [options.ladderSeed] {Uint8Array} the update-key ladder seed, for
|
|
165
165
|
* a standing credential (a recovery code carries none)
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
* cascade re-seals a fresh one to the credential's unlock KAK public half
|
|
20
20
|
* ({@link remintUnlockRecordDelegations}).
|
|
21
21
|
* - `delegatedClients` (standing credentials only): the pre-minted GET+PUT
|
|
22
|
-
* delegation over the auxiliary client-annex Space
|
|
22
|
+
* delegation over the auxiliary client-annex Space, sealed as
|
|
23
23
|
* its own self-contained member -- what lets a transient login reach the
|
|
24
24
|
* annex (delegated-clients) log with nothing but the credential. It
|
|
25
25
|
* rots on exactly the bridge's axis (same signer, same current-key-set
|
|
@@ -289,7 +289,7 @@ function openedMember(settled) {
|
|
|
289
289
|
* @param options.delegation {IZcap} the PUT-on-`did.jsonl` delegation to
|
|
290
290
|
* the credential-derived signing DID
|
|
291
291
|
* @param [options.delegatedClients] {IZcap} the annex Space delegation
|
|
292
|
-
* (GET+PUT over the auxiliary Space
|
|
292
|
+
* (GET+PUT over the auxiliary Space), for a standing
|
|
293
293
|
* credential (a recovery code carries none)
|
|
294
294
|
* @param [options.ladderSeed] {Uint8Array} the update-key ladder seed, for
|
|
295
295
|
* a standing credential (a recovery code carries none)
|
|
@@ -34,6 +34,7 @@
|
|
|
34
34
|
import type { IZcap } from '@interop/data-integrity-core';
|
|
35
35
|
import type { ZcapClient } from '@interop/ezcap';
|
|
36
36
|
import type { ResourceLogPinStore } from '@interop/vh-resource-log';
|
|
37
|
+
import { type ServiceDescription } from '@interop/was-client';
|
|
37
38
|
import type { WebvhIdStore } from './didWebvh.js';
|
|
38
39
|
/**
|
|
39
40
|
* The narrow store shape a delegated bridge serves: the log read plus the
|
|
@@ -65,14 +66,18 @@ export type DelegatedWebvhLogStore = Pick<WebvhIdStore, 'getIdResourceRaw' | 'pu
|
|
|
65
66
|
* @param options.pinStore {ResourceLogPinStore} this client's chain-head
|
|
66
67
|
* pins; the log's slot is derived here from the collection
|
|
67
68
|
* (`logResourcePinId`)
|
|
69
|
+
* @param [options.serviceDescription] {ServiceDescription} the server's
|
|
70
|
+
* service description a client the caller already holds discovered
|
|
71
|
+
* (`(await was.service()).description`), so this one skips discovery
|
|
68
72
|
* @returns {DelegatedWebvhLogStore}
|
|
69
73
|
*/
|
|
70
|
-
export declare function delegatedWebvhLogStore({ host, spaceId, collectionId, delegation, zcapClient, pinStore }: {
|
|
74
|
+
export declare function delegatedWebvhLogStore({ host, spaceId, collectionId, delegation, zcapClient, pinStore, serviceDescription }: {
|
|
71
75
|
host: string;
|
|
72
76
|
spaceId: string;
|
|
73
77
|
collectionId: string;
|
|
74
78
|
delegation: IZcap;
|
|
75
79
|
zcapClient: ZcapClient;
|
|
76
80
|
pinStore: ResourceLogPinStore;
|
|
81
|
+
serviceDescription?: ServiceDescription;
|
|
77
82
|
}): DelegatedWebvhLogStore;
|
|
78
83
|
//# sourceMappingURL=delegatedLogStore.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delegatedLogStore.d.ts","sourceRoot":"","sources":["../../src/webvh/delegatedLogStore.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,8BAA8B,CAAA;AACzD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAA;AAChD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAA;
|
|
1
|
+
{"version":3,"file":"delegatedLogStore.d.ts","sourceRoot":"","sources":["../../src/webvh/delegatedLogStore.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,8BAA8B,CAAA;AACzD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAA;AAChD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAA;AACnE,OAAO,EAGL,KAAK,kBAAkB,EACxB,MAAM,qBAAqB,CAAA;AAG5B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAGjD;;;;;GAKG;AACH,MAAM,MAAM,sBAAsB,GAAG,IAAI,CACvC,YAAY,EACZ,kBAAkB,GAAG,eAAe,GAAG,KAAK,CAC7C,CAAA;AAkCD;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,wBAAgB,sBAAsB,CAAC,EACrC,IAAI,EACJ,OAAO,EACP,YAAY,EACZ,UAAU,EACV,UAAU,EACV,QAAQ,EACR,kBAAkB,EACnB,EAAE;IACD,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,MAAM,CAAA;IACf,YAAY,EAAE,MAAM,CAAA;IACpB,UAAU,EAAE,KAAK,CAAA;IACjB,UAAU,EAAE,UAAU,CAAA;IACtB,QAAQ,EAAE,mBAAmB,CAAA;IAC7B,kBAAkB,CAAC,EAAE,kBAAkB,CAAA;CACxC,GAAG,sBAAsB,CAoGzB"}
|
|
@@ -47,11 +47,14 @@ function collectionIsPublic({ collectionId }) {
|
|
|
47
47
|
* @param options.pinStore {ResourceLogPinStore} this client's chain-head
|
|
48
48
|
* pins; the log's slot is derived here from the collection
|
|
49
49
|
* (`logResourcePinId`)
|
|
50
|
+
* @param [options.serviceDescription] {ServiceDescription} the server's
|
|
51
|
+
* service description a client the caller already holds discovered
|
|
52
|
+
* (`(await was.service()).description`), so this one skips discovery
|
|
50
53
|
* @returns {DelegatedWebvhLogStore}
|
|
51
54
|
*/
|
|
52
|
-
export function delegatedWebvhLogStore({ host, spaceId, collectionId, delegation, zcapClient, pinStore }) {
|
|
55
|
+
export function delegatedWebvhLogStore({ host, spaceId, collectionId, delegation, zcapClient, pinStore, serviceDescription }) {
|
|
53
56
|
const publicRead = collectionIsPublic({ collectionId });
|
|
54
|
-
const was = new WasClient({ serverUrl: host, zcapClient });
|
|
57
|
+
const was = new WasClient({ serverUrl: host, zcapClient, serviceDescription });
|
|
55
58
|
const pathOf = (resourceId) => resourcePath(spaceId, collectionId, resourceId);
|
|
56
59
|
return {
|
|
57
60
|
pin: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delegatedLogStore.js","sourceRoot":"","sources":["../../src/webvh/delegatedLogStore.ts"],"names":[],"mappings":"AAoCA,OAAO,
|
|
1
|
+
{"version":3,"file":"delegatedLogStore.js","sourceRoot":"","sources":["../../src/webvh/delegatedLogStore.ts"],"names":[],"mappings":"AAoCA,OAAO,EACL,uBAAuB,EACvB,SAAS,EAEV,MAAM,qBAAqB,CAAA;AAC5B,OAAO,EAAE,YAAY,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAA;AAC/D,OAAO,EAAE,6BAA6B,EAAE,MAAM,yBAAyB,CAAA;AAEvE,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;AAajD;;;;;GAKG;AACH,SAAS,QAAQ,CAAC,GAAY;IAC5B,MAAM,MAAM,GAAI,GAA4B,EAAE,MAAM,CAAA;IACpD,OAAO,OAAO,MAAM,KAAK,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAA;AACxD,CAAC;AAED;;;;;;;;GAQG;AACH,SAAS,kBAAkB,CAAC,EAC1B,YAAY,EAGb;IACC,OAAO,CACL,6BAA6B,CAAC,IAAI,CAChC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,YAAY,KAAK,YAAY,CAC3C,EAAE,QAAQ,IAAI,KAAK,CACrB,CAAA;AACH,C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,WAAW,EAAE,CAAC,MAAM,CAAC,UAAU,CAAC;oBAC1C,UAAU,EAAE,UAAU;iBACvB,CAAC,CAAA;YACJ,CAAC;YAAC,OAAO,GAAG,EAAE,CAAC;gBACb,+DAA+D;gBAC/D,iEAAiE;gBACjE,6DAA6D;gBAC7D,IAAI,QAAQ,CAAC,GAAG,CAAC,KAAK,GAAG,EAAE,CAAC;oBAC1B,MAAM,IAAI,uBAAuB,CAC/B,IAAI,UAAU,sCAAsC,EACpD,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,EAAE,GAAG,EAAE,CAC5B,CAAA;gBACH,CAAC;gBACD,MAAM,GAAG,CAAA;YACX,CAAC;YACD,sEAAsE;YACtE,+DAA+D;YAC/D,oEAAoE;YACpE,uEAAuE;YACvE,MAAM,IAAI,GAAG,QAAQ,CAAC,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,SAAS,CAAA;YACtD,OAAO,IAAI,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,EAAE,CAAA;QAC3C,CAAC;KACF,CAAA;AACH,CAAC"}
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
* revocation bypass all the same.
|
|
24
24
|
*
|
|
25
25
|
* A transient visit closes it with no server change and no widened bridge:
|
|
26
|
-
* its generation delegation targets the account Space's
|
|
26
|
+
* its generation delegation targets the account Space's container URL, which
|
|
27
27
|
* covers `id/did.json`, so the visit invokes as its annex verification method
|
|
28
28
|
* and republishes the projection itself. The ensure is deliberately a
|
|
29
29
|
* compare-then-write rather than the publish tails' unconditional PUT,
|
|
@@ -107,7 +107,7 @@ export declare function preEntryProjectionPublisher({ store }: {
|
|
|
107
107
|
* only on a difference. The credential-only mender for a projection a
|
|
108
108
|
* ladder-signed entry left behind (see the module doc): a transient visit runs
|
|
109
109
|
* it through a store bound to its generation delegation, which covers the
|
|
110
|
-
* account Space's
|
|
110
|
+
* account Space's container URL and so may write `id/did.json` with no
|
|
111
111
|
* widened bridge and no server change.
|
|
112
112
|
*
|
|
113
113
|
* The served document is compared as parsed JSON, key-order-insensitively, so
|
|
@@ -84,7 +84,7 @@ const PRECONDITION_FAILED_ERROR_NAME = 'PreconditionFailedError';
|
|
|
84
84
|
* only on a difference. The credential-only mender for a projection a
|
|
85
85
|
* ladder-signed entry left behind (see the module doc): a transient visit runs
|
|
86
86
|
* it through a store bound to its generation delegation, which covers the
|
|
87
|
-
* account Space's
|
|
87
|
+
* account Space's container URL and so may write `id/did.json` with no
|
|
88
88
|
* widened bridge and no server change.
|
|
89
89
|
*
|
|
90
90
|
* The served document is compared as parsed JSON, key-order-insensitively, so
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@interop/wallet-core",
|
|
3
3
|
"description": "Shared wallet-domain logic (WAS sync engine core and wallet Space layout contracts) for Interop wallet apps.",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.77.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"build": "pnpm run clear && tsc",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"@interop/ed25519-verification-key": "^8.2.0",
|
|
28
28
|
"@interop/ezcap": "^7.4.8",
|
|
29
29
|
"@interop/social-core": "^0.8.1",
|
|
30
|
-
"@interop/storage-core": "^0.
|
|
30
|
+
"@interop/storage-core": "^0.15.0",
|
|
31
31
|
"@interop/vh-resource-log": "^0.5.1",
|
|
32
32
|
"@interop/x25519-key-agreement-key": "^5.4.0",
|
|
33
33
|
"@noble/ciphers": "^2.3.0",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@eslint/js": "^10.0.1",
|
|
40
40
|
"@interop/logger": "^0.2.0",
|
|
41
|
-
"@interop/was-client": "^0.
|
|
41
|
+
"@interop/was-client": "^0.63.0",
|
|
42
42
|
"@playwright/test": "^1.60.0",
|
|
43
43
|
"@types/node": "^26.0.1",
|
|
44
44
|
"@vitest/coverage-v8": "^4.1.7",
|
|
@@ -192,6 +192,6 @@
|
|
|
192
192
|
"homepage": "https://github.com/interop-alliance/wallet-core",
|
|
193
193
|
"bugs": "https://github.com/interop-alliance/wallet-core/issues",
|
|
194
194
|
"peerDependencies": {
|
|
195
|
-
"@interop/was-client": ">=0.
|
|
195
|
+
"@interop/was-client": ">=0.61.0 <1.0.0"
|
|
196
196
|
}
|
|
197
197
|
}
|