@interop/wallet-core 0.82.0 → 0.83.1
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.
|
@@ -76,6 +76,11 @@ export declare function collectionDescriptorLogPinId({ spaceId, collectionId }:
|
|
|
76
76
|
* inherit the roster's ceremony-tail license and refuse a served log its own
|
|
77
77
|
* wallet's standing credential wrote.
|
|
78
78
|
*
|
|
79
|
+
* The source declares `verifiesHistory: true`. was-client's
|
|
80
|
+
* `acquireDescriptor` refuses a `history`-bearing descriptor with
|
|
81
|
+
* `UnverifiedDescriptorError` from any source that does not, and a wrapper
|
|
82
|
+
* around this source must forward the flag.
|
|
83
|
+
*
|
|
79
84
|
* @param options {object}
|
|
80
85
|
* @param options.logFor {function} `(collectionId) => ResourceLogStore` --
|
|
81
86
|
* the collection's governing log's transport seam (was-client's
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"logSource.d.ts","sourceRoot":"","sources":["../../src/descriptors/logSource.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,OAAO,EACL,8BAA8B,EAC9B,8BAA8B,EAC/B,MAAM,8BAA8B,CAAA;AACrC,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,yBAAyB,CAAA;AACzE,OAAO,EAEL,KAAK,mBAAmB,EACxB,KAAK,gBAAgB,EACtB,MAAM,0BAA0B,CAAA;AACjC,OAAO,EAEL,KAAK,0BAA0B,EAChC,MAAM,yBAAyB,CAAA;AAEhC;;;;;GAKG;AACH,OAAO,EAAE,8BAA8B,EAAE,8BAA8B,EAAE,CAAA;AAEzE;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,4BAA4B,CAAC,EAC3C,OAAO,EACP,YAAY,EACb,EAAE;IACD,OAAO,EAAE,MAAM,CAAA;IACf,YAAY,EAAE,MAAM,CAAA;CACrB,GAAG,MAAM,CAET;AAED
|
|
1
|
+
{"version":3,"file":"logSource.d.ts","sourceRoot":"","sources":["../../src/descriptors/logSource.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,OAAO,EACL,8BAA8B,EAC9B,8BAA8B,EAC/B,MAAM,8BAA8B,CAAA;AACrC,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,yBAAyB,CAAA;AACzE,OAAO,EAEL,KAAK,mBAAmB,EACxB,KAAK,gBAAgB,EACtB,MAAM,0BAA0B,CAAA;AACjC,OAAO,EAEL,KAAK,0BAA0B,EAChC,MAAM,yBAAyB,CAAA;AAEhC;;;;;GAKG;AACH,OAAO,EAAE,8BAA8B,EAAE,8BAA8B,EAAE,CAAA;AAEzE;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,4BAA4B,CAAC,EAC3C,OAAO,EACP,YAAY,EACb,EAAE;IACD,OAAO,EAAE,MAAM,CAAA;IACf,YAAY,EAAE,MAAM,CAAA;CACrB,GAAG,MAAM,CAET;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,wBAAgB,2BAA2B,CAAC,EAC1C,MAAM,EACN,iBAAiB,EACjB,QAAQ,EACR,OAAO,EACR,EAAE;IACD,MAAM,EAAE,CAAC,YAAY,EAAE,MAAM,KAAK,gBAAgB,CAAA;IAClD,iBAAiB,EAAE,MAAM,OAAO,CAAC,0BAA0B,CAAC,CAAA;IAC5D,QAAQ,EAAE,mBAAmB,CAAA;IAC7B,OAAO,EAAE,MAAM,CAAA;CAChB,GAAG,0BAA0B,CAsB7B"}
|
|
@@ -74,6 +74,11 @@ export function collectionDescriptorLogPinId({ spaceId, collectionId }) {
|
|
|
74
74
|
* inherit the roster's ceremony-tail license and refuse a served log its own
|
|
75
75
|
* wallet's standing credential wrote.
|
|
76
76
|
*
|
|
77
|
+
* The source declares `verifiesHistory: true`. was-client's
|
|
78
|
+
* `acquireDescriptor` refuses a `history`-bearing descriptor with
|
|
79
|
+
* `UnverifiedDescriptorError` from any source that does not, and a wrapper
|
|
80
|
+
* around this source must forward the flag.
|
|
81
|
+
*
|
|
77
82
|
* @param options {object}
|
|
78
83
|
* @param options.logFor {function} `(collectionId) => ResourceLogStore` --
|
|
79
84
|
* the collection's governing log's transport seam (was-client's
|
|
@@ -90,6 +95,9 @@ export function collectionDescriptorLogPinId({ spaceId, collectionId }) {
|
|
|
90
95
|
*/
|
|
91
96
|
export function logGovernedDescriptorSource({ logFor, resolveController, pinStore, spaceId }) {
|
|
92
97
|
return {
|
|
98
|
+
// Every read below resolves the governing log's verified head, so this
|
|
99
|
+
// source may hand out a descriptor that carries `history`.
|
|
100
|
+
verifiesHistory: true,
|
|
93
101
|
async collectionEncryption({ collectionId }) {
|
|
94
102
|
const current = await readGovernedEpochConfiguration({
|
|
95
103
|
store: logFor(collectionId),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"logSource.js","sourceRoot":"","sources":["../../src/descriptors/logSource.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,OAAO,EACL,8BAA8B,EAC9B,8BAA8B,EAC/B,MAAM,8BAA8B,CAAA;AAErC,OAAO,EACL,kBAAkB,EAGnB,MAAM,0BAA0B,CAAA;AACjC,OAAO,EACL,qBAAqB,EAEtB,MAAM,yBAAyB,CAAA;AAEhC;;;;;GAKG;AACH,OAAO,EAAE,8BAA8B,EAAE,8BAA8B,EAAE,CAAA;AAEzE;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAM,UAAU,4BAA4B,CAAC,EAC3C,OAAO,EACP,YAAY,EAIb;IACC,OAAO,kBAAkB,CAAC,EAAE,OAAO,EAAE,YAAY,EAAE,CAAC,CAAA;AACtD,CAAC;AAED
|
|
1
|
+
{"version":3,"file":"logSource.js","sourceRoot":"","sources":["../../src/descriptors/logSource.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;;;;;;;;;;;;;;;;;;;;;;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
"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.83.1",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"build": "pnpm run clear && tsc",
|
|
@@ -22,12 +22,12 @@
|
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@interop/capability-agent": "^0.2.1",
|
|
24
24
|
"@interop/data-integrity-core": "^8.8.0",
|
|
25
|
-
"@interop/did-method-webvh": "^5.11.
|
|
25
|
+
"@interop/did-method-webvh": "^5.11.1",
|
|
26
26
|
"@interop/ed25519-signature": "^7.2.3",
|
|
27
27
|
"@interop/ed25519-verification-key": "^8.2.1",
|
|
28
28
|
"@interop/ezcap": "^7.5.0",
|
|
29
29
|
"@interop/social-core": "^0.8.1",
|
|
30
|
-
"@interop/vh-resource-log": "^0.5.
|
|
30
|
+
"@interop/vh-resource-log": "^0.5.4",
|
|
31
31
|
"@interop/x25519-key-agreement-key": "^5.4.1",
|
|
32
32
|
"@noble/ciphers": "^2.3.0",
|
|
33
33
|
"@noble/hashes": "^2.3.0",
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@eslint/js": "^10.0.1",
|
|
39
39
|
"@interop/logger": "^0.2.0",
|
|
40
|
-
"@interop/storage-core": "^0.
|
|
41
|
-
"@interop/was-client": "^0.
|
|
40
|
+
"@interop/storage-core": "^0.21.0",
|
|
41
|
+
"@interop/was-client": "^0.77.0",
|
|
42
42
|
"@playwright/test": "^1.60.0",
|
|
43
43
|
"@types/node": "^26.0.1",
|
|
44
44
|
"@vitest/coverage-v8": "^4.1.7",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"vitest": "^4.1.7"
|
|
54
54
|
},
|
|
55
55
|
"peerDependencies": {
|
|
56
|
-
"@interop/was-client": ">=0.
|
|
56
|
+
"@interop/was-client": ">=0.75.0 <1.0.0"
|
|
57
57
|
},
|
|
58
58
|
"files": [
|
|
59
59
|
"dist",
|