@abpjs/account 3.1.0 → 3.2.0

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/index.d.ts CHANGED
@@ -1,7 +1,11 @@
1
1
  /**
2
2
  * @abpjs/account
3
3
  * ABP Framework Account module for React
4
- * Translated from @abp/ng.account v3.1.0
4
+ * Translated from @abp/ng.account v3.2.0
5
+ *
6
+ * Changes in v3.2.0:
7
+ * - Breaking: RegisterResponse - Removed twoFactorEnabled property
8
+ * - Dependency update to @abp/ng.theme.shared v3.2.0
5
9
  *
6
10
  * Changes in v3.1.0:
7
11
  * - New: AuthenticationFlowGuard - Route guard for checking auth flow type
@@ -38,7 +42,7 @@
38
42
  * - Dependency updates to @abp/ng.theme.shared v2.2.0 and @abp/ng.account.config v2.2.0
39
43
  * - No functional code changes
40
44
  *
41
- * @version 3.1.0
45
+ * @version 3.2.0
42
46
  * @since 2.0.0 - Added Account namespace with component interface types
43
47
  * @since 2.0.0 - Added isSelfRegistrationEnabled support in Login/Register components
44
48
  * @since 2.0.0 - Added enableLocalLogin support in AuthWrapper component
@@ -51,6 +55,7 @@
51
55
  * @since 2.9.0 - Version bump only (dependency updates)
52
56
  * @since 3.0.0 - Config subpackage, accountOptionsFactory, initializeAccountRoutes
53
57
  * @since 3.1.0 - AuthenticationFlowGuard, hideCurrentPassword, hideChangePasswordTab
58
+ * @since 3.2.0 - RegisterResponse: Removed twoFactorEnabled property
54
59
  */
55
60
  export * from './config';
56
61
  export * from './enums';
@@ -100,6 +100,8 @@ export interface RegisterRequest {
100
100
  }
101
101
  /**
102
102
  * Response from user registration API
103
+ *
104
+ * @since 3.2.0 - Removed twoFactorEnabled property
103
105
  */
104
106
  export interface RegisterResponse {
105
107
  tenantId: string;
@@ -110,7 +112,6 @@ export interface RegisterResponse {
110
112
  emailConfirmed: boolean;
111
113
  phoneNumber: string;
112
114
  phoneNumberConfirmed: boolean;
113
- twoFactorEnabled: boolean;
114
115
  lockoutEnabled: boolean;
115
116
  lockoutEnd: string;
116
117
  concurrencyStamp: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abpjs/account",
3
- "version": "3.1.0",
3
+ "version": "3.2.0",
4
4
  "description": "ABP Framework Account module for React - Translation of @abp/ng.account",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -53,11 +53,11 @@
53
53
  "react-redux": "^9.0.0",
54
54
  "zod": "^3.22.0",
55
55
  "react-icons": "^5.0.0",
56
- "@abpjs/core": "3.1.0",
57
- "@abpjs/theme-shared": "3.1.0"
56
+ "@abpjs/theme-shared": "3.2.0",
57
+ "@abpjs/core": "3.2.0"
58
58
  },
59
59
  "devDependencies": {
60
- "@abp/ng.account": "3.1.0",
60
+ "@abp/ng.account": "3.2.0",
61
61
  "@reduxjs/toolkit": "^2.0.0",
62
62
  "@testing-library/jest-dom": "^6.4.0",
63
63
  "@testing-library/react": "^14.2.0",