@frontegg/js 6.162.0-alpha.2 → 6.163.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/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license Frontegg v6.162.0-alpha.2
1
+ /** @license Frontegg v6.163.0
2
2
  *
3
3
  * This source code is licensed under the MIT license found in the
4
4
  * LICENSE file in the root directory of this source tree.
package/node/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license Frontegg v6.162.0-alpha.2
1
+ /** @license Frontegg v6.163.0
2
2
  *
3
3
  * This source code is licensed under the MIT license found in the
4
4
  * LICENSE file in the root directory of this source tree.
package/node/version.js CHANGED
@@ -5,6 +5,6 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports["default"] = void 0;
7
7
  var _default = {
8
- cdnVersion: '6.162.0-alpha.2'
8
+ cdnVersion: '6.163.0'
9
9
  };
10
10
  exports["default"] = _default;
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@frontegg/js",
3
- "version": "6.162.0-alpha.2",
3
+ "version": "6.163.0",
4
4
  "main": "./node/index.js",
5
5
  "license": "MIT",
6
6
  "author": "Frontegg LTD",
7
7
  "dependencies": {
8
8
  "@babel/runtime": "^7.18.6",
9
- "@frontegg/types": "6.162.0-alpha.2"
9
+ "@frontegg/types": "6.163.0"
10
10
  },
11
11
  "browserslist": {
12
12
  "production": [
@@ -1416,7 +1416,7 @@ __webpack_require__.r(__webpack_exports__);
1416
1416
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
1417
1417
  /* harmony export */ });
1418
1418
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
1419
- cdnVersion: '6.162.0-alpha.2'
1419
+ cdnVersion: '6.163.0'
1420
1420
  });
1421
1421
 
1422
1422
  /***/ }),
@@ -16165,9 +16165,9 @@ function* getSocialLoginsConfigurationsV2() {
16165
16165
  }
16166
16166
  return socialLoginsConfigV2;
16167
16167
  }
16168
- function* loadSocialLoginsConfigurationsV2(payload) {
16168
+ function* loadSocialLoginsConfigurationsV2(action) {
16169
16169
  try {
16170
- var _payload$callback;
16170
+ var _action$payload, _action$payload$callb;
16171
16171
  const context = yield (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.select)(state => state.root.context);
16172
16172
  yield (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.put)(_reducer__WEBPACK_IMPORTED_MODULE_3__.actions.setSocialLoginsState({
16173
16173
  loading: true
@@ -16193,10 +16193,10 @@ function* loadSocialLoginsConfigurationsV2(payload) {
16193
16193
  firstLoad: false
16194
16194
  };
16195
16195
  yield (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.put)(_reducer__WEBPACK_IMPORTED_MODULE_3__.actions.setSocialLoginsState(newState));
16196
- payload == null ? void 0 : (_payload$callback = payload.callback) == null ? void 0 : _payload$callback.call(payload, newState);
16196
+ action == null ? void 0 : (_action$payload = action.payload) == null ? void 0 : (_action$payload$callb = _action$payload.callback) == null ? void 0 : _action$payload$callb.call(_action$payload, newState);
16197
16197
  } catch (e) {
16198
- var _payload$callback2;
16199
- payload == null ? void 0 : (_payload$callback2 = payload.callback) == null ? void 0 : _payload$callback2.call(payload, null, e);
16198
+ var _action$payload2, _action$payload2$call;
16199
+ action == null ? void 0 : (_action$payload2 = action.payload) == null ? void 0 : (_action$payload2$call = _action$payload2.callback) == null ? void 0 : _action$payload2$call.call(_action$payload2, null, e);
16200
16200
  yield (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.put)(_reducer__WEBPACK_IMPORTED_MODULE_3__.actions.setSocialLoginsState({
16201
16201
  error: (0,_utils__WEBPACK_IMPORTED_MODULE_5__.errorHandler)(e),
16202
16202
  loading: false,
@@ -16276,7 +16276,7 @@ function* setSocialLoginError({
16276
16276
  }
16277
16277
  function* socialLoginsSaga() {
16278
16278
  yield (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.takeLeading)(_reducer__WEBPACK_IMPORTED_MODULE_3__.actions.loadSocialLoginsConfiguration, loadSocialLoginsConfigurations);
16279
- yield (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.takeLeading)(_reducer__WEBPACK_IMPORTED_MODULE_3__.actions.loadSocialLoginsConfigurationV2, loadSocialLoginsConfigurationsV2);
16279
+ yield (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.takeEvery)(_reducer__WEBPACK_IMPORTED_MODULE_3__.actions.loadSocialLoginsConfigurationV2, loadSocialLoginsConfigurationsV2);
16280
16280
  yield (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.takeLeading)(_reducer__WEBPACK_IMPORTED_MODULE_3__.actions.loginViaSocialLogin, loginViaSocialLogin);
16281
16281
  yield (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.takeLatest)(_reducer__WEBPACK_IMPORTED_MODULE_3__.actions.setSocialLoginError, setSocialLoginError);
16282
16282
  }
@@ -24406,7 +24406,7 @@ __webpack_require__.r(__webpack_exports__);
24406
24406
  /* harmony export */ });
24407
24407
  /* harmony import */ var _ThemeOptions__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ThemeOptions */ "../../dist/@frontegg/types/ThemeOptions/index.js");
24408
24408
  /* harmony import */ var _Metadata__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Metadata */ "../../dist/@frontegg/types/Metadata/index.js");
24409
- /** @license Frontegg v6.162.0-alpha.2
24409
+ /** @license Frontegg v6.163.0
24410
24410
  *
24411
24411
  * This source code is licensed under the MIT license found in the
24412
24412
  * LICENSE file in the root directory of this source tree.