@teamhanko/hanko-frontend-sdk 1.0.0 → 1.0.1

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 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: string;
117
+ email?: string;
118
+ username?: string;
117
119
  webauthn_credentials: Credential[];
118
120
  }
119
121
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teamhanko/hanko-frontend-sdk",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"