@frontegg/js 6.135.0 → 6.136.0-alpha.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/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license Frontegg v6.135.0
1
+ /** @license Frontegg v6.136.0-alpha.1
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.135.0
1
+ /** @license Frontegg v6.136.0-alpha.1
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.135.0'
8
+ cdnVersion: '6.136.0-alpha.1'
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.135.0",
3
+ "version": "6.136.0-alpha.1",
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.135.0"
9
+ "@frontegg/types": "6.136.0-alpha.1"
10
10
  },
11
11
  "browserslist": {
12
12
  "production": [
@@ -1321,7 +1321,7 @@ __webpack_require__.r(__webpack_exports__);
1321
1321
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
1322
1322
  /* harmony export */ });
1323
1323
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
1324
- cdnVersion: '6.135.0'
1324
+ cdnVersion: '6.136.0-alpha.1'
1325
1325
  });
1326
1326
 
1327
1327
  /***/ }),
@@ -13098,7 +13098,9 @@ const reducers = {
13098
13098
  const actions = {
13099
13099
  loadRecommendations: (0,_reduxjs_toolkit__WEBPACK_IMPORTED_MODULE_1__.createAction)(`${_constants__WEBPACK_IMPORTED_MODULE_2__.authStoreName}/loadRecommendations`),
13100
13100
  loadInsights: (0,_reduxjs_toolkit__WEBPACK_IMPORTED_MODULE_1__.createAction)(`${_constants__WEBPACK_IMPORTED_MODULE_2__.authStoreName}/loadInsights`),
13101
- sendResetBreachedPasswordEmails: (0,_reduxjs_toolkit__WEBPACK_IMPORTED_MODULE_1__.createAction)(`${_constants__WEBPACK_IMPORTED_MODULE_2__.authStoreName}/sendResetBreachedPasswordEmails`)
13101
+ sendResetBreachedPasswordEmails: (0,_reduxjs_toolkit__WEBPACK_IMPORTED_MODULE_1__.createAction)(`${_constants__WEBPACK_IMPORTED_MODULE_2__.authStoreName}/sendResetBreachedPasswordEmails`, payload => ({
13102
+ payload
13103
+ }))
13102
13104
  };
13103
13105
 
13104
13106
  /**
@@ -13221,7 +13223,11 @@ function* loadInsights() {
13221
13223
  }));
13222
13224
  }
13223
13225
  }
13224
- function* sendResetBreachedPasswordEmails() {
13226
+ function* sendResetBreachedPasswordEmails({
13227
+ payload: {
13228
+ callback
13229
+ }
13230
+ }) {
13225
13231
  const key = _types__WEBPACK_IMPORTED_MODULE_2__.SecurityCenterStateKeys.SEND_BULK_RESET_BREACHED_PASSWORD_EMAILS;
13226
13232
  yield (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_0__.put)(_reducer__WEBPACK_IMPORTED_MODULE_3__.actions.setSecurityCenterStateError({
13227
13233
  key,
@@ -13233,11 +13239,13 @@ function* sendResetBreachedPasswordEmails() {
13233
13239
  }));
13234
13240
  try {
13235
13241
  yield (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_0__.call)(_frontegg_rest_api__WEBPACK_IMPORTED_MODULE_4__.api.users.sendResetBreachedPasswordEmails);
13242
+ callback == null ? void 0 : callback(true);
13236
13243
  } catch (e) {
13237
13244
  yield (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_0__.put)(_reducer__WEBPACK_IMPORTED_MODULE_3__.actions.setSecurityCenterStateError({
13238
13245
  key,
13239
13246
  value: (0,_utils__WEBPACK_IMPORTED_MODULE_5__.errorHandler)(e)
13240
13247
  }));
13248
+ callback == null ? void 0 : callback(false);
13241
13249
  } finally {
13242
13250
  yield (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_0__.put)(_reducer__WEBPACK_IMPORTED_MODULE_3__.actions.setSecurityCenterStateLoader({
13243
13251
  key,
@@ -22301,7 +22309,7 @@ __webpack_require__.r(__webpack_exports__);
22301
22309
  /* harmony export */ });
22302
22310
  /* harmony import */ var _ThemeOptions__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ThemeOptions */ "../../dist/@frontegg/types/ThemeOptions/index.js");
22303
22311
  /* harmony import */ var _Metadata__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Metadata */ "../../dist/@frontegg/types/Metadata/index.js");
22304
- /** @license Frontegg v6.135.0
22312
+ /** @license Frontegg v6.136.0-alpha.1
22305
22313
  *
22306
22314
  * This source code is licensed under the MIT license found in the
22307
22315
  * LICENSE file in the root directory of this source tree.