@interop/was-client 0.55.0 → 0.56.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.
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
* DocCipher encrypts and decrypts with. Everything is deterministic: a
|
|
18
18
|
* returning user, on any client, decrypts the same envelopes.
|
|
19
19
|
*/
|
|
20
|
-
import { CapabilityAgent } from '@interop/
|
|
20
|
+
import { CapabilityAgent } from '@interop/capability-agent';
|
|
21
21
|
import { ZcapClient } from '@interop/ezcap';
|
|
22
22
|
import type { IKeyAgreementKey, IKeyResolver } from '@interop/data-integrity-core';
|
|
23
23
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agents.d.ts","sourceRoot":"","sources":["../../src/identity/agents.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;;;;;;;;;;;;;;GAeG;AACH,OAAO,EAAE,eAAe,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"agents.d.ts","sourceRoot":"","sources":["../../src/identity/agents.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;;;;;;;;;;;;;;GAeG;AACH,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAC3D,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAA;AAE3C,OAAO,KAAK,EACV,gBAAgB,EAChB,YAAY,EACb,MAAM,8BAA8B,CAAA;AAKrC;;;GAGG;AACH,eAAO,MAAM,gBAAgB,cAAc,CAAA;AAC3C,eAAO,MAAM,kBAAkB,iBAAiB,CAAA;AAEhD;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC5B,aAAa,EAAE,MAAM,CAAA;IACrB,QAAQ,EAAE,eAAe,CAAA;IACzB,UAAU,EAAE,UAAU,CAAA;IACtB,eAAe,EAAE,gBAAgB,CAAA;IACjC,WAAW,EAAE,YAAY,CAAA;CAC1B;AAED;;;;;;;;GAQG;AACH,wBAAsB,cAAc,CAAC,EACnC,IAAI,EACL,EAAE;IACD,IAAI,EAAE,UAAU,CAAA;CACjB,GAAG,OAAO,CAAC,aAAa,CAAC,CAYzB;AAED;;;;;;;;;;;GAWG;AACH,wBAAsB,gBAAgB,CAAC,EACrC,MAAM,EACP,EAAE;IACD,MAAM,EAAE,MAAM,CAAA;CACf,GAAG,OAAO,CAAC,aAAa,CAAC,CAOzB;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,kBAAkB,CAAC,EACjC,QAAQ,EACT,EAAE;IACD,QAAQ,EAAE,eAAe,CAAA;CAC1B,GAAG,aAAa,CAqBhB"}
|
package/dist/identity/agents.js
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
* DocCipher encrypts and decrypts with. Everything is deterministic: a
|
|
18
18
|
* returning user, on any client, decrypts the same envelopes.
|
|
19
19
|
*/
|
|
20
|
-
import { CapabilityAgent } from '@interop/
|
|
20
|
+
import { CapabilityAgent } from '@interop/capability-agent';
|
|
21
21
|
import { ZcapClient } from '@interop/ezcap';
|
|
22
22
|
import { X25519KeyAgreementKey2020 } from '@interop/x25519-key-agreement-key';
|
|
23
23
|
import { ValidationError } from '../errors.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agents.js","sourceRoot":"","sources":["../../src/identity/agents.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;;;;;;;;;;;;;;GAeG;AACH,OAAO,EAAE,eAAe,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"agents.js","sourceRoot":"","sources":["../../src/identity/agents.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;;;;;;;;;;;;;;GAeG;AACH,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAC3D,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAA;AAC3C,OAAO,EAAE,yBAAyB,EAAE,MAAM,mCAAmC,CAAA;AAK7E,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAA;AAC9C,OAAO,EAA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BAAsB,EAAE;KAC3C,CAAC,CAAA;IACJ,MAAM,WAAW,GAAG,iBAAiB,CAAC,EAAE,eAAe,EAAE,CAAC,CAAA;IAE1D,OAAO;QACL,aAAa,EAAE,QAAQ,CAAC,EAAE;QAC1B,QAAQ;QACR,UAAU;QACV,mEAAmE;QACnE,iEAAiE;QACjE,eAAe,EAAE,eAAmC;QACpD,WAAW;KACZ,CAAA;AACH,CAAC"}
|
package/dist/identity/index.d.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* The `@interop/was-client/identity` subpath: the did:key data-identity
|
|
6
6
|
* derivation (`agents.ts`, which documents the derivation itself) and the
|
|
7
7
|
* one-key resolver it pairs with (`keyResolver.ts`). Kept off the core entry
|
|
8
|
-
* because it pulls the
|
|
8
|
+
* because it pulls the capability-agent / x25519-key-agreement-key dependency
|
|
9
9
|
* graph. `zcapClientForSigner` is a core export; import it from the package
|
|
10
10
|
* root.
|
|
11
11
|
*/
|
package/dist/identity/index.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* The `@interop/was-client/identity` subpath: the did:key data-identity
|
|
6
6
|
* derivation (`agents.ts`, which documents the derivation itself) and the
|
|
7
7
|
* one-key resolver it pairs with (`keyResolver.ts`). Kept off the core entry
|
|
8
|
-
* because it pulls the
|
|
8
|
+
* because it pulls the capability-agent / x25519-key-agreement-key dependency
|
|
9
9
|
* graph. `zcapClientForSigner` is a core export; import it from the package
|
|
10
10
|
* root.
|
|
11
11
|
*/
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@interop/was-client",
|
|
3
3
|
"description": "A developer-friendly client for Wallet Attached Storage (WAS) servers.",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.56.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"build": "pnpm run clear && tsc",
|
|
@@ -67,6 +67,7 @@
|
|
|
67
67
|
"types": "dist/index.d.ts",
|
|
68
68
|
"sideEffects": false,
|
|
69
69
|
"dependencies": {
|
|
70
|
+
"@interop/capability-agent": "^0.1.0",
|
|
70
71
|
"@interop/data-integrity-core": "^8.7.1",
|
|
71
72
|
"@interop/ed25519-signature": "^7.2.1",
|
|
72
73
|
"@interop/edv-client": "^17.8.2",
|
|
@@ -75,7 +76,6 @@
|
|
|
75
76
|
"@interop/minimal-cipher": "^7.10.0",
|
|
76
77
|
"@interop/storage-core": "^0.11.0",
|
|
77
78
|
"@interop/vh-resource-log": "^0.5.0",
|
|
78
|
-
"@interop/webkms-client": "^14.7.5",
|
|
79
79
|
"@interop/x25519-key-agreement-key": "^5.3.0",
|
|
80
80
|
"@noble/hashes": "^2.3.0",
|
|
81
81
|
"@scure/base": "^2.3.0",
|