@frontegg/redux-store 6.79.0-alpha.0 → 6.79.0-alpha.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/auth/LoginState/saga.js +12 -0
- package/index.js +1 -1
- package/node/auth/LoginState/saga.js +12 -0
- package/node/index.js +1 -1
- package/package.json +1 -1
package/auth/LoginState/saga.js
CHANGED
|
@@ -1083,6 +1083,9 @@ function* webAuthnPrelogin(_ref11) {
|
|
|
1083
1083
|
body = _objectWithoutPropertiesLoose(_ref11.payload, _excluded8);
|
|
1084
1084
|
try {
|
|
1085
1085
|
var _options$allowCredent;
|
|
1086
|
+
yield put(actions.setPasskeysState({
|
|
1087
|
+
loading: true
|
|
1088
|
+
}));
|
|
1086
1089
|
yield put(actions.setLoginState({
|
|
1087
1090
|
loading: true
|
|
1088
1091
|
}));
|
|
@@ -1103,6 +1106,9 @@ function* webAuthnPrelogin(_ref11) {
|
|
|
1103
1106
|
}));
|
|
1104
1107
|
callback == null ? void 0 : callback(null);
|
|
1105
1108
|
} finally {
|
|
1109
|
+
yield put(actions.setPasskeysState({
|
|
1110
|
+
loading: false
|
|
1111
|
+
}));
|
|
1106
1112
|
yield put(actions.setLoginState({
|
|
1107
1113
|
loading: false
|
|
1108
1114
|
}));
|
|
@@ -1117,6 +1123,9 @@ function* webAuthnPostLogin(_ref12) {
|
|
|
1117
1123
|
body = _objectWithoutPropertiesLoose(_ref12.payload, _excluded9);
|
|
1118
1124
|
try {
|
|
1119
1125
|
var _publicKey$response$u;
|
|
1126
|
+
yield put(actions.setPasskeysState({
|
|
1127
|
+
loading: true
|
|
1128
|
+
}));
|
|
1120
1129
|
yield put(actions.setLoginState({
|
|
1121
1130
|
loading: true
|
|
1122
1131
|
}));
|
|
@@ -1162,6 +1171,9 @@ function* webAuthnPostLogin(_ref12) {
|
|
|
1162
1171
|
}));
|
|
1163
1172
|
callback == null ? void 0 : callback(null);
|
|
1164
1173
|
} finally {
|
|
1174
|
+
yield put(actions.setPasskeysState({
|
|
1175
|
+
loading: false
|
|
1176
|
+
}));
|
|
1165
1177
|
yield put(actions.setLoginState({
|
|
1166
1178
|
loading: false
|
|
1167
1179
|
}));
|
package/index.js
CHANGED
|
@@ -1100,6 +1100,9 @@ function* webAuthnPrelogin(_ref11) {
|
|
|
1100
1100
|
body = (0, _objectWithoutPropertiesLoose2.default)(_ref11.payload, _excluded8);
|
|
1101
1101
|
try {
|
|
1102
1102
|
var _options$allowCredent;
|
|
1103
|
+
yield (0, _effects.put)(_reducer.actions.setPasskeysState({
|
|
1104
|
+
loading: true
|
|
1105
|
+
}));
|
|
1103
1106
|
yield (0, _effects.put)(_reducer.actions.setLoginState({
|
|
1104
1107
|
loading: true
|
|
1105
1108
|
}));
|
|
@@ -1120,6 +1123,9 @@ function* webAuthnPrelogin(_ref11) {
|
|
|
1120
1123
|
}));
|
|
1121
1124
|
callback == null ? void 0 : callback(null);
|
|
1122
1125
|
} finally {
|
|
1126
|
+
yield (0, _effects.put)(_reducer.actions.setPasskeysState({
|
|
1127
|
+
loading: false
|
|
1128
|
+
}));
|
|
1123
1129
|
yield (0, _effects.put)(_reducer.actions.setLoginState({
|
|
1124
1130
|
loading: false
|
|
1125
1131
|
}));
|
|
@@ -1134,6 +1140,9 @@ function* webAuthnPostLogin(_ref12) {
|
|
|
1134
1140
|
body = (0, _objectWithoutPropertiesLoose2.default)(_ref12.payload, _excluded9);
|
|
1135
1141
|
try {
|
|
1136
1142
|
var _publicKey$response$u;
|
|
1143
|
+
yield (0, _effects.put)(_reducer.actions.setPasskeysState({
|
|
1144
|
+
loading: true
|
|
1145
|
+
}));
|
|
1137
1146
|
yield (0, _effects.put)(_reducer.actions.setLoginState({
|
|
1138
1147
|
loading: true
|
|
1139
1148
|
}));
|
|
@@ -1179,6 +1188,9 @@ function* webAuthnPostLogin(_ref12) {
|
|
|
1179
1188
|
}));
|
|
1180
1189
|
callback == null ? void 0 : callback(null);
|
|
1181
1190
|
} finally {
|
|
1191
|
+
yield (0, _effects.put)(_reducer.actions.setPasskeysState({
|
|
1192
|
+
loading: false
|
|
1193
|
+
}));
|
|
1182
1194
|
yield (0, _effects.put)(_reducer.actions.setLoginState({
|
|
1183
1195
|
loading: false
|
|
1184
1196
|
}));
|
package/node/index.js
CHANGED