@interop/wallet-core 0.85.0 → 0.86.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.
@@ -2,14 +2,18 @@
2
2
  * Copyright (c) 2026 Interop Alliance. All rights reserved.
3
3
  */
4
4
  /**
5
- * The typed ceremony vocabulary: one stable id per shared account ceremony.
6
- * The ids are code-only identifiers (nothing persists them yet); each names
7
- * one ceremony documented in the wallets' ceremony inventories.
5
+ * The typed ceremony vocabulary: one stable id per account ceremony either
6
+ * wallet runs. Most have a shared half in this package; some are still
7
+ * implemented app-side. The ids are code-only identifiers (nothing persists
8
+ * them yet); each names one ceremony documented in the wallets' ceremony
9
+ * inventories.
8
10
  */
9
11
  /**
10
- * The shared account ceremony ids, in ceremony-inventory order.
12
+ * The account ceremony ids, in ceremony-inventory order. The last four
13
+ * (account deletion, the shared wipe executor, content migration, and backup
14
+ * export) are implemented in the app for now.
11
15
  */
12
- export declare const CEREMONY_IDS: readonly ["account-genesis", "credential-anchored-genesis", "self-enrollment", "client-enrollment", "client-revocation", "recovery-code-issuance", "recovery-code-spend", "recovery-code-revocation", "unlock-credential-rotation", "forget-client", "last-client-transition", "update-key-rotation"];
16
+ export declare const CEREMONY_IDS: readonly ["account-genesis", "credential-anchored-genesis", "self-enrollment", "client-enrollment", "client-revocation", "recovery-code-issuance", "recovery-code-spend", "recovery-code-revocation", "unlock-credential-rotation", "forget-client", "last-client-transition", "update-key-rotation", "account-deletion", "wallet-wipe", "content-migration", "backup-export"];
13
17
  /**
14
18
  * One id from {@link CEREMONY_IDS}.
15
19
  */
@@ -1 +1 @@
1
- {"version":3,"file":"ceremony.d.ts","sourceRoot":"","sources":["../../src/space/ceremony.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;;;GAIG;AAEH;;GAEG;AACH,eAAO,MAAM,YAAY,uSAaf,CAAA;AAEV;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,CAAC,CAAA"}
1
+ {"version":3,"file":"ceremony.d.ts","sourceRoot":"","sources":["../../src/space/ceremony.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;;;;;GAMG;AAEH;;;;GAIG;AACH,eAAO,MAAM,YAAY,gXAiBf,CAAA;AAEV;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,CAAC,CAAA"}
@@ -2,12 +2,16 @@
2
2
  * Copyright (c) 2026 Interop Alliance. All rights reserved.
3
3
  */
4
4
  /**
5
- * The typed ceremony vocabulary: one stable id per shared account ceremony.
6
- * The ids are code-only identifiers (nothing persists them yet); each names
7
- * one ceremony documented in the wallets' ceremony inventories.
5
+ * The typed ceremony vocabulary: one stable id per account ceremony either
6
+ * wallet runs. Most have a shared half in this package; some are still
7
+ * implemented app-side. The ids are code-only identifiers (nothing persists
8
+ * them yet); each names one ceremony documented in the wallets' ceremony
9
+ * inventories.
8
10
  */
9
11
  /**
10
- * The shared account ceremony ids, in ceremony-inventory order.
12
+ * The account ceremony ids, in ceremony-inventory order. The last four
13
+ * (account deletion, the shared wipe executor, content migration, and backup
14
+ * export) are implemented in the app for now.
11
15
  */
12
16
  export const CEREMONY_IDS = [
13
17
  'account-genesis',
@@ -21,6 +25,10 @@ export const CEREMONY_IDS = [
21
25
  'unlock-credential-rotation',
22
26
  'forget-client',
23
27
  'last-client-transition',
24
- 'update-key-rotation'
28
+ 'update-key-rotation',
29
+ 'account-deletion',
30
+ 'wallet-wipe',
31
+ 'content-migration',
32
+ 'backup-export'
25
33
  ];
26
34
  //# sourceMappingURL=ceremony.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ceremony.js","sourceRoot":"","sources":["../../src/space/ceremony.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;;;GAIG;AAEH;;GAEG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,iBAAiB;IACjB,6BAA6B;IAC7B,iBAAiB;IACjB,mBAAmB;IACnB,mBAAmB;IACnB,wBAAwB;IACxB,qBAAqB;IACrB,0BAA0B;IAC1B,4BAA4B;IAC5B,eAAe;IACf,wBAAwB;IACxB,qBAAqB;CACb,CAAA"}
1
+ {"version":3,"file":"ceremony.js","sourceRoot":"","sources":["../../src/space/ceremony.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;;;;;GAMG;AAEH;;;;GAIG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,iBAAiB;IACjB,6BAA6B;IAC7B,iBAAiB;IACjB,mBAAmB;IACnB,mBAAmB;IACnB,wBAAwB;IACxB,qBAAqB;IACrB,0BAA0B;IAC1B,4BAA4B;IAC5B,eAAe;IACf,wBAAwB;IACxB,qBAAqB;IACrB,kBAAkB;IAClB,aAAa;IACb,mBAAmB;IACnB,eAAe;CACP,CAAA"}
@@ -34,8 +34,8 @@
34
34
  * `parseWasLinkPayload` / `encodeWasLinkSecret`) and `isWasLinkPayload`,
35
35
  * the recognizer a wallet hands `@interop/wallet-request`'s input
36
36
  * classifier.
37
- * - `CEREMONY_IDS` / `CeremonyId`, the typed vocabulary of shared account
38
- * ceremony ids.
37
+ * - `CEREMONY_IDS` / `CeremonyId`, the typed vocabulary of account ceremony
38
+ * ids, including the ceremonies still implemented app-side.
39
39
  */
40
40
  export { deleteSpaceWithCapability } from './deleteSpace.js';
41
41
  export { WALLET_SPACE_NAME, PRIVATE_CREDENTIALS_COLLECTION, PUBLIC_CREDENTIALS_COLLECTION, WALLET_ACTIVITY_COLLECTION, APP_CONNECTIONS_COLLECTION, REGISTERED_WRITERS_COLLECTION, PRIVATE_CREDENTIALS_COLLECTION_SPEC, PUBLIC_CREDENTIALS_COLLECTION_SPEC, WALLET_ACTIVITY_COLLECTION_SPEC, CONTACTS_SPACE_COLLECTION_SPEC, CONTACTS_HISTORY_SPACE_COLLECTION_SPEC, APP_CONNECTIONS_COLLECTION_SPEC, REGISTERED_WRITERS_COLLECTION_SPEC, WALLET_SPACE_SYNCED_SPECS, WALLET_SPACE_SYSTEM_SPECS, WALLET_SPACE_PROVISION_ROSTER } from './collections.js';
@@ -34,8 +34,8 @@
34
34
  * `parseWasLinkPayload` / `encodeWasLinkSecret`) and `isWasLinkPayload`,
35
35
  * the recognizer a wallet hands `@interop/wallet-request`'s input
36
36
  * classifier.
37
- * - `CEREMONY_IDS` / `CeremonyId`, the typed vocabulary of shared account
38
- * ceremony ids.
37
+ * - `CEREMONY_IDS` / `CeremonyId`, the typed vocabulary of account ceremony
38
+ * ids, including the ceremonies still implemented app-side.
39
39
  */
40
40
  export { deleteSpaceWithCapability } from './deleteSpace.js';
41
41
  export { WALLET_SPACE_NAME, PRIVATE_CREDENTIALS_COLLECTION, PUBLIC_CREDENTIALS_COLLECTION, WALLET_ACTIVITY_COLLECTION, APP_CONNECTIONS_COLLECTION, REGISTERED_WRITERS_COLLECTION, PRIVATE_CREDENTIALS_COLLECTION_SPEC, PUBLIC_CREDENTIALS_COLLECTION_SPEC, WALLET_ACTIVITY_COLLECTION_SPEC, CONTACTS_SPACE_COLLECTION_SPEC, CONTACTS_HISTORY_SPACE_COLLECTION_SPEC, APP_CONNECTIONS_COLLECTION_SPEC, REGISTERED_WRITERS_COLLECTION_SPEC, WALLET_SPACE_SYNCED_SPECS, WALLET_SPACE_SYSTEM_SPECS, WALLET_SPACE_PROVISION_ROSTER } from './collections.js';
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.85.0",
4
+ "version": "0.86.0",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "build": "pnpm run clear && tsc",
@@ -38,7 +38,7 @@
38
38
  "@eslint/js": "^10.0.1",
39
39
  "@interop/logger": "^0.2.0",
40
40
  "@interop/storage-core": "^0.22.0",
41
- "@interop/was-client": "^0.79.0",
41
+ "@interop/was-client": "^0.80.0",
42
42
  "@playwright/test": "^1.60.0",
43
43
  "@types/node": "^26.0.1",
44
44
  "@vitest/coverage-v8": "^4.1.7",