@teamhanko/hanko-frontend-sdk 1.0.0 → 1.0.2
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/dist/lib/Dto.d.ts +4 -2
- package/package.json +1 -1
package/dist/lib/Dto.d.ts
CHANGED
|
@@ -108,12 +108,14 @@ export interface Credential {
|
|
|
108
108
|
* @category SDK
|
|
109
109
|
* @subcategory DTO
|
|
110
110
|
* @property {string} id - The user's UUID.
|
|
111
|
-
* @property {string} email - The user's email.
|
|
111
|
+
* @property {string=} email - The user's email.
|
|
112
|
+
* @property {string=} username - The user's username.
|
|
112
113
|
* @property {Credential[]} webauthn_credentials - A list of credentials that have been registered.
|
|
113
114
|
*/
|
|
114
115
|
export interface User {
|
|
115
116
|
id: string;
|
|
116
|
-
email
|
|
117
|
+
email?: string;
|
|
118
|
+
username?: string;
|
|
117
119
|
webauthn_credentials: Credential[];
|
|
118
120
|
}
|
|
119
121
|
/**
|