@tinytars/frame 0.1.3 → 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.
|
|
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",
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
"typecheck": "svelte-check --tsconfig ./tsconfig.json --threshold error"
|
|
77
77
|
},
|
|
78
78
|
"dependencies": {
|
|
79
|
-
"@tinytars/vault": "^0.1.
|
|
79
|
+
"@tinytars/vault": "^0.1.18",
|
|
80
80
|
"pdfjs-dist": "^6.2.108"
|
|
81
81
|
},
|
|
82
82
|
"peerDependencies": {
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
* module importing the roster's shape.
|
|
30
30
|
*/
|
|
31
31
|
export interface RecoveryPatient {
|
|
32
|
-
|
|
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.
|
|
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) {
|
package/support-access.svelte.ts
CHANGED
|
@@ -14,16 +14,16 @@
|
|
|
14
14
|
|
|
15
15
|
import type { VaultSession, VaultEntry } from "./vault-session.svelte";
|
|
16
16
|
import {
|
|
17
|
-
listSupportPatients,
|
|
17
|
+
listSupportOwners as listSupportPatients,
|
|
18
18
|
listSupportProviders,
|
|
19
19
|
listSupportRequests,
|
|
20
20
|
requestSupportAccess,
|
|
21
21
|
cancelSupportRequest,
|
|
22
22
|
getProviderRoster,
|
|
23
|
-
enterSupportPatient,
|
|
24
|
-
type SupportPatient,
|
|
23
|
+
enterSupportOwner as enterSupportPatient,
|
|
24
|
+
type SupportOwner as SupportPatient,
|
|
25
25
|
type SupportProvider,
|
|
26
|
-
type SupportRosterPatient,
|
|
26
|
+
type SupportRosterOwner as SupportRosterPatient,
|
|
27
27
|
type SupportRequest,
|
|
28
28
|
} from "@tinytars/vault/auth-support";
|
|
29
29
|
|