Package not found. Please check the package name and try again.
@plainkey/types 0.3.3 → 0.3.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.
Potentially problematic release.
This version of @plainkey/types might be problematic. Click here for more details.
- package/dist/index.d.mts +7 -0
- package/dist/index.d.mts.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -19,9 +19,11 @@ type RegistrationCompleteRequest = {
|
|
|
19
19
|
credential: RegistrationResponseJSON$1;
|
|
20
20
|
};
|
|
21
21
|
type UserCredentialBeginRequest = {
|
|
22
|
+
userToken?: string;
|
|
22
23
|
userIdentifier: UserIdentifier;
|
|
23
24
|
};
|
|
24
25
|
type UserCredentialCompleteRequest = {
|
|
26
|
+
userToken?: string;
|
|
25
27
|
userIdentifier: UserIdentifier;
|
|
26
28
|
credential: RegistrationResponseJSON$1;
|
|
27
29
|
};
|
|
@@ -29,6 +31,7 @@ type LoginBeginRequest = {
|
|
|
29
31
|
userIdentifier?: UserIdentifier;
|
|
30
32
|
};
|
|
31
33
|
type LoginCompleteRequest = {
|
|
34
|
+
loginSessionId: string;
|
|
32
35
|
authenticationResponse: AuthenticationResponseJSON$1;
|
|
33
36
|
};
|
|
34
37
|
//#endregion
|
|
@@ -77,6 +80,10 @@ type LoginBeginResponse = {
|
|
|
77
80
|
projectId: string;
|
|
78
81
|
userId?: string;
|
|
79
82
|
options: PublicKeyCredentialRequestOptionsJSON$1;
|
|
83
|
+
loginSession: {
|
|
84
|
+
id: string;
|
|
85
|
+
expiresAt: string;
|
|
86
|
+
};
|
|
80
87
|
};
|
|
81
88
|
type LoginCompleteResponse = {
|
|
82
89
|
verified: boolean;
|
package/dist/index.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/common.ts","../src/browser/requests.ts","../src/browser/responses.ts"],"sourcesContent":[],"mappings":";;;KAAY,cAAA;;;AAAZ,C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