@tinytars/frame 0.1.4 → 0.1.5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tinytars/frame",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "description": "Domain-neutral Svelte app-shell: session/auth controllers, account chrome, and menu/card/modal primitives built on @tinytars/vault.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -29,7 +29,7 @@ import {
29
29
  * module importing the roster's shape.
30
30
  */
31
31
  export interface RecoveryPatient {
32
- patientAccountId: string;
32
+ ownerAccountId: string;
33
33
  envelope: { wrappedDEK: string; ephemeralPublicKeyJwk: JsonWebKey };
34
34
  }
35
35
 
@@ -213,7 +213,7 @@ export function createRecoveryController<P extends RecoveryPatient = RecoveryPat
213
213
  issueError = null;
214
214
  issuing = true;
215
215
  try {
216
- const r = await issueRecoveryCode(p.patientAccountId, p.envelope, deps.session.providerKey);
216
+ const r = await issueRecoveryCode(p.ownerAccountId, p.envelope, deps.session.providerKey);
217
217
  issuedCode = r.code;
218
218
  issuedExpiresAt = r.expiresAt;
219
219
  } catch (e) {