@frontegg/js 6.72.0 → 6.73.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.72.0
1
+ /** @license Frontegg v6.73.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.72.0
1
+ /** @license Frontegg v6.73.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.72.0'
8
+ "cdnVersion": "6.73.0-alpha.1"
9
9
  };
10
10
  exports["default"] = _default;
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@frontegg/js",
3
- "version": "6.72.0",
3
+ "version": "6.73.0-alpha.1",
4
4
  "main": "./node/index.js",
5
5
  "license": "MIT",
6
6
  "dependencies": {
7
7
  "@babel/runtime": "^7.18.6",
8
- "@frontegg/types": "6.72.0"
8
+ "@frontegg/types": "6.73.0-alpha.1"
9
9
  },
10
10
  "browserslist": {
11
11
  "production": [
@@ -1173,7 +1173,7 @@ __webpack_require__.r(__webpack_exports__);
1173
1173
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
1174
1174
  /* harmony export */ });
1175
1175
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
1176
- cdnVersion: '6.72.0'
1176
+ "cdnVersion": "6.73.0-alpha.1"
1177
1177
  });
1178
1178
 
1179
1179
  /***/ }),
@@ -3776,6 +3776,7 @@ __webpack_require__.r(__webpack_exports__);
3776
3776
  /* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "../../node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
3777
3777
  /* harmony import */ var _frontegg_rest_api__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @frontegg/rest-api */ "../../node_modules/@frontegg/rest-api/index.js");
3778
3778
  /* harmony import */ var redux_saga_effects__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! redux-saga/effects */ "../../node_modules/redux-saga/dist/redux-saga-effects-npm-proxy.esm.js");
3779
+ /* harmony import */ var _LoginState_saga__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../LoginState/saga */ "../../dist/@frontegg/redux-store/auth/LoginState/saga.js");
3779
3780
  /* harmony import */ var _reducer__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../reducer */ "../../dist/@frontegg/redux-store/auth/reducer.js");
3780
3781
  /* harmony import */ var _interfaces__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./interfaces */ "../../dist/@frontegg/redux-store/auth/ImpersonationState/interfaces.js");
3781
3782
 
@@ -3784,6 +3785,7 @@ const _excluded = ["callback", "events"];
3784
3785
 
3785
3786
 
3786
3787
 
3788
+
3787
3789
  function* impersonate(_ref) {
3788
3790
  let {
3789
3791
  payload: {
@@ -3799,6 +3801,8 @@ function* impersonate(_ref) {
3799
3801
  yield (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_1__.put)(_reducer__WEBPACK_IMPORTED_MODULE_2__.actions.setImpersonateState({
3800
3802
  step: _interfaces__WEBPACK_IMPORTED_MODULE_4__.ImpersonateStep.success
3801
3803
  }));
3804
+ yield (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_1__.delay)(1000);
3805
+ yield (0,_LoginState_saga__WEBPACK_IMPORTED_MODULE_5__.afterAuthNavigation)();
3802
3806
  yield (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_1__.put)(_reducer__WEBPACK_IMPORTED_MODULE_2__.actions.resetImpersonateState());
3803
3807
  callback == null ? void 0 : callback(true);
3804
3808
  } catch (e) {
@@ -17309,7 +17313,7 @@ __webpack_require__.r(__webpack_exports__);
17309
17313
  /* harmony export */ });
17310
17314
  /* harmony import */ var _ThemeOptions__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ThemeOptions */ "../../dist/@frontegg/types/ThemeOptions/index.js");
17311
17315
  /* harmony import */ var _Metadata__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Metadata */ "../../dist/@frontegg/types/Metadata/index.js");
17312
- /** @license Frontegg v6.72.0
17316
+ /** @license Frontegg v6.73.0-alpha.1
17313
17317
  *
17314
17318
  * This source code is licensed under the MIT license found in the
17315
17319
  * LICENSE file in the root directory of this source tree.
@@ -17622,6 +17626,7 @@ __webpack_require__.r(__webpack_exports__);
17622
17626
  /* harmony export */ "getVendorMfaPolicy": () => (/* reexport safe */ _secutiry_poilicy__WEBPACK_IMPORTED_MODULE_2__.getVendorMfaPolicy),
17623
17627
  /* harmony export */ "getVendorPasswordHistoryPolicy": () => (/* reexport safe */ _secutiry_poilicy__WEBPACK_IMPORTED_MODULE_2__.getVendorPasswordHistoryPolicy),
17624
17628
  /* harmony export */ "getVendorPublicAuthStrategiesConfig": () => (/* binding */ getVendorPublicAuthStrategiesConfig),
17629
+ /* harmony export */ "getWebAuthnDevices": () => (/* binding */ getWebAuthnDevices),
17625
17630
  /* harmony export */ "loadPasswordConfig": () => (/* binding */ loadPasswordConfig),
17626
17631
  /* harmony export */ "login": () => (/* binding */ login),
17627
17632
  /* harmony export */ "loginViaSocialLogin": () => (/* binding */ loginViaSocialLogin),
@@ -18215,6 +18220,9 @@ async function webAuthnPostLogin(body) {
18215
18220
  async function webAuthnCreateNewDeviceSession() {
18216
18221
  return (0,_fetch__WEBPACK_IMPORTED_MODULE_5__.Post)(_constants__WEBPACK_IMPORTED_MODULE_6__.urls.identity.webAuthnDevices.v1);
18217
18222
  }
18223
+ async function getWebAuthnDevices() {
18224
+ return (0,_fetch__WEBPACK_IMPORTED_MODULE_5__.Get)(_constants__WEBPACK_IMPORTED_MODULE_6__.urls.identity.webAuthnDevices.v1);
18225
+ }
18218
18226
  async function verifyNewDeviceSession(body) {
18219
18227
  return (0,_fetch__WEBPACK_IMPORTED_MODULE_5__.Post)(`${_constants__WEBPACK_IMPORTED_MODULE_6__.urls.identity.webAuthnDevices.v1}/verify`, body);
18220
18228
  }
@@ -18249,6 +18257,7 @@ let SecondaryAuthStrategy;
18249
18257
  SecondaryAuthStrategy["WebAuthnPlatform"] = "WebAuthnPlatform";
18250
18258
  SecondaryAuthStrategy["WebAuthnCrossPlatform"] = "WebAuthnCrossPlatform";
18251
18259
  SecondaryAuthStrategy["SmsCode"] = "SmsCode";
18260
+ SecondaryAuthStrategy["Passkeys"] = "Passkeys";
18252
18261
  })(SecondaryAuthStrategy || (SecondaryAuthStrategy = {}));
18253
18262
 
18254
18263
  let WebAuthnDeviceType;
@@ -18675,6 +18684,18 @@ const urls = {
18675
18684
  },
18676
18685
  impersonate: {
18677
18686
  v1: '/identity/resources/impersonation/v1'
18687
+ },
18688
+ groups: {
18689
+ configurations: {
18690
+ v1: '/identity/resources/groups/v1/config'
18691
+ },
18692
+ v1: '/identity/resources/groups/v1',
18693
+ roles: {
18694
+ v1: '/identity/resources/groups/v1/roles'
18695
+ },
18696
+ users: {
18697
+ v1: '/identity/resources/groups/v1/users'
18698
+ }
18678
18699
  }
18679
18700
  },
18680
18701
  team: {
@@ -19220,7 +19241,7 @@ __webpack_require__.r(__webpack_exports__);
19220
19241
  /* harmony import */ var _directory_interfaces__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./directory/interfaces */ "../../node_modules/@frontegg/rest-api/directory/interfaces.js");
19221
19242
  /* harmony import */ var _auth__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./auth */ "../../node_modules/@frontegg/rest-api/auth/enums.js");
19222
19243
  /* harmony import */ var _subscriptions__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./subscriptions */ "../../node_modules/@frontegg/rest-api/subscriptions/enums.js");
19223
- /** @license Frontegg v3.0.74
19244
+ /** @license Frontegg v3.0.77
19224
19245
  *
19225
19246
  * This source code is licensed under the MIT license found in the
19226
19247
  * LICENSE file in the root directory of this source tree.