@frontegg/redux-store 6.145.0 → 6.146.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/auth/SmsState/index.d.ts +0 -8
- package/auth/SmsState/index.js +1 -1
- package/auth/SmsState/saga.js +5 -5
- package/index.js +1 -1
- package/node/auth/SmsState/index.js +1 -1
- package/node/auth/SmsState/saga.js +5 -5
- package/node/index.js +1 -1
- package/package.json +1 -1
package/auth/SmsState/index.d.ts
CHANGED
|
@@ -54,10 +54,6 @@ declare const reducers: {
|
|
|
54
54
|
securityCenterState?: import("..").SecurityCenterState | undefined;
|
|
55
55
|
smsState?: SmsState | undefined;
|
|
56
56
|
routes: import("..").AuthPageRoutes;
|
|
57
|
-
/**
|
|
58
|
-
* if you see error in matcher that's mean the DispatchAction does not
|
|
59
|
-
* contains the same functions in reducers and actions
|
|
60
|
-
*/
|
|
61
57
|
header?: any;
|
|
62
58
|
loaderComponent?: any;
|
|
63
59
|
};
|
|
@@ -105,10 +101,6 @@ declare const reducers: {
|
|
|
105
101
|
securityCenterState?: import("..").SecurityCenterState | undefined;
|
|
106
102
|
smsState?: SmsState | undefined;
|
|
107
103
|
routes: import("..").AuthPageRoutes;
|
|
108
|
-
/**
|
|
109
|
-
* if you see error in matcher that's mean the DispatchAction does not
|
|
110
|
-
* contains the same functions in reducers and actions
|
|
111
|
-
*/
|
|
112
104
|
header?: any;
|
|
113
105
|
loaderComponent?: any;
|
|
114
106
|
};
|
package/auth/SmsState/index.js
CHANGED
|
@@ -23,7 +23,7 @@ const actions = {
|
|
|
23
23
|
deletePhoneNumber: createAction(`${authStoreName}/deletePhoneNumber`, payload => ({
|
|
24
24
|
payload
|
|
25
25
|
})),
|
|
26
|
-
verifyDeletePhoneNumber: createAction(`${authStoreName}/
|
|
26
|
+
verifyDeletePhoneNumber: createAction(`${authStoreName}/verifyDeletePhoneNumber`, payload => ({
|
|
27
27
|
payload
|
|
28
28
|
})),
|
|
29
29
|
preVerifyPhoneNumber: createAction(`${authStoreName}/preVerifyPhoneNumber`, payload => ({
|
package/auth/SmsState/saga.js
CHANGED
|
@@ -54,7 +54,7 @@ export function* setUpPhoneNumber(_ref) {
|
|
|
54
54
|
yield put(actions.setSmsState({
|
|
55
55
|
error: errorHandler(e)
|
|
56
56
|
}));
|
|
57
|
-
callback == null ? void 0 : callback(null);
|
|
57
|
+
callback == null ? void 0 : callback(null, e);
|
|
58
58
|
} finally {
|
|
59
59
|
yield put(actions.setSmsState({
|
|
60
60
|
loading: false
|
|
@@ -79,7 +79,7 @@ export function* verifyPhoneNumber(_ref2) {
|
|
|
79
79
|
yield put(actions.setSmsState({
|
|
80
80
|
error: errorHandler(e)
|
|
81
81
|
}));
|
|
82
|
-
callback == null ? void 0 : callback(null);
|
|
82
|
+
callback == null ? void 0 : callback(null, e);
|
|
83
83
|
} finally {
|
|
84
84
|
yield put(actions.setSmsState({
|
|
85
85
|
loading: false
|
|
@@ -107,7 +107,7 @@ export function* deletePhoneNumber(_ref3) {
|
|
|
107
107
|
yield put(actions.setSmsState({
|
|
108
108
|
error: errorHandler(e)
|
|
109
109
|
}));
|
|
110
|
-
callback == null ? void 0 : callback(null);
|
|
110
|
+
callback == null ? void 0 : callback(null, e);
|
|
111
111
|
} finally {
|
|
112
112
|
yield put(actions.setSmsState({
|
|
113
113
|
loading: false
|
|
@@ -133,7 +133,7 @@ export function* verifyDeletePhoneNumber(_ref4) {
|
|
|
133
133
|
yield put(actions.setSmsState({
|
|
134
134
|
error: errorHandler(e)
|
|
135
135
|
}));
|
|
136
|
-
callback == null ? void 0 : callback(null);
|
|
136
|
+
callback == null ? void 0 : callback(null, e);
|
|
137
137
|
} finally {
|
|
138
138
|
yield put(actions.setSmsState({
|
|
139
139
|
loading: false
|
|
@@ -160,7 +160,7 @@ export function* preVerifyPhoneNumber(_ref5) {
|
|
|
160
160
|
yield put(actions.setSmsState({
|
|
161
161
|
error: errorHandler(e)
|
|
162
162
|
}));
|
|
163
|
-
callback == null ? void 0 : callback(null);
|
|
163
|
+
callback == null ? void 0 : callback(null, e);
|
|
164
164
|
} finally {
|
|
165
165
|
yield put(actions.setSmsState({
|
|
166
166
|
loading: false
|
package/index.js
CHANGED
|
@@ -31,7 +31,7 @@ const actions = {
|
|
|
31
31
|
deletePhoneNumber: (0, _toolkit.createAction)(`${_constants.authStoreName}/deletePhoneNumber`, payload => ({
|
|
32
32
|
payload
|
|
33
33
|
})),
|
|
34
|
-
verifyDeletePhoneNumber: (0, _toolkit.createAction)(`${_constants.authStoreName}/
|
|
34
|
+
verifyDeletePhoneNumber: (0, _toolkit.createAction)(`${_constants.authStoreName}/verifyDeletePhoneNumber`, payload => ({
|
|
35
35
|
payload
|
|
36
36
|
})),
|
|
37
37
|
preVerifyPhoneNumber: (0, _toolkit.createAction)(`${_constants.authStoreName}/preVerifyPhoneNumber`, payload => ({
|
|
@@ -67,7 +67,7 @@ function* setUpPhoneNumber(_ref) {
|
|
|
67
67
|
yield (0, _effects.put)(_reducer.actions.setSmsState({
|
|
68
68
|
error: (0, _utils.errorHandler)(e)
|
|
69
69
|
}));
|
|
70
|
-
callback == null ? void 0 : callback(null);
|
|
70
|
+
callback == null ? void 0 : callback(null, e);
|
|
71
71
|
} finally {
|
|
72
72
|
yield (0, _effects.put)(_reducer.actions.setSmsState({
|
|
73
73
|
loading: false
|
|
@@ -92,7 +92,7 @@ function* verifyPhoneNumber(_ref2) {
|
|
|
92
92
|
yield (0, _effects.put)(_reducer.actions.setSmsState({
|
|
93
93
|
error: (0, _utils.errorHandler)(e)
|
|
94
94
|
}));
|
|
95
|
-
callback == null ? void 0 : callback(null);
|
|
95
|
+
callback == null ? void 0 : callback(null, e);
|
|
96
96
|
} finally {
|
|
97
97
|
yield (0, _effects.put)(_reducer.actions.setSmsState({
|
|
98
98
|
loading: false
|
|
@@ -120,7 +120,7 @@ function* deletePhoneNumber(_ref3) {
|
|
|
120
120
|
yield (0, _effects.put)(_reducer.actions.setSmsState({
|
|
121
121
|
error: (0, _utils.errorHandler)(e)
|
|
122
122
|
}));
|
|
123
|
-
callback == null ? void 0 : callback(null);
|
|
123
|
+
callback == null ? void 0 : callback(null, e);
|
|
124
124
|
} finally {
|
|
125
125
|
yield (0, _effects.put)(_reducer.actions.setSmsState({
|
|
126
126
|
loading: false
|
|
@@ -146,7 +146,7 @@ function* verifyDeletePhoneNumber(_ref4) {
|
|
|
146
146
|
yield (0, _effects.put)(_reducer.actions.setSmsState({
|
|
147
147
|
error: (0, _utils.errorHandler)(e)
|
|
148
148
|
}));
|
|
149
|
-
callback == null ? void 0 : callback(null);
|
|
149
|
+
callback == null ? void 0 : callback(null, e);
|
|
150
150
|
} finally {
|
|
151
151
|
yield (0, _effects.put)(_reducer.actions.setSmsState({
|
|
152
152
|
loading: false
|
|
@@ -173,7 +173,7 @@ function* preVerifyPhoneNumber(_ref5) {
|
|
|
173
173
|
yield (0, _effects.put)(_reducer.actions.setSmsState({
|
|
174
174
|
error: (0, _utils.errorHandler)(e)
|
|
175
175
|
}));
|
|
176
|
-
callback == null ? void 0 : callback(null);
|
|
176
|
+
callback == null ? void 0 : callback(null, e);
|
|
177
177
|
} finally {
|
|
178
178
|
yield (0, _effects.put)(_reducer.actions.setSmsState({
|
|
179
179
|
loading: false
|
package/node/index.js
CHANGED