@frontegg/js 6.72.0 → 6.73.0-alpha.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.72.0
1
+ /** @license Frontegg v6.73.0-alpha.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.72.0
1
+ /** @license Frontegg v6.73.0-alpha.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.72.0'
8
+ "cdnVersion": "6.73.0-alpha.0"
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.0",
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.0"
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.0"
1177
1177
  });
1178
1178
 
1179
1179
  /***/ }),
@@ -17309,7 +17309,7 @@ __webpack_require__.r(__webpack_exports__);
17309
17309
  /* harmony export */ });
17310
17310
  /* harmony import */ var _ThemeOptions__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ThemeOptions */ "../../dist/@frontegg/types/ThemeOptions/index.js");
17311
17311
  /* harmony import */ var _Metadata__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Metadata */ "../../dist/@frontegg/types/Metadata/index.js");
17312
- /** @license Frontegg v6.72.0
17312
+ /** @license Frontegg v6.73.0-alpha.0
17313
17313
  *
17314
17314
  * This source code is licensed under the MIT license found in the
17315
17315
  * LICENSE file in the root directory of this source tree.
@@ -17622,6 +17622,7 @@ __webpack_require__.r(__webpack_exports__);
17622
17622
  /* harmony export */ "getVendorMfaPolicy": () => (/* reexport safe */ _secutiry_poilicy__WEBPACK_IMPORTED_MODULE_2__.getVendorMfaPolicy),
17623
17623
  /* harmony export */ "getVendorPasswordHistoryPolicy": () => (/* reexport safe */ _secutiry_poilicy__WEBPACK_IMPORTED_MODULE_2__.getVendorPasswordHistoryPolicy),
17624
17624
  /* harmony export */ "getVendorPublicAuthStrategiesConfig": () => (/* binding */ getVendorPublicAuthStrategiesConfig),
17625
+ /* harmony export */ "getWebAuthnDevices": () => (/* binding */ getWebAuthnDevices),
17625
17626
  /* harmony export */ "loadPasswordConfig": () => (/* binding */ loadPasswordConfig),
17626
17627
  /* harmony export */ "login": () => (/* binding */ login),
17627
17628
  /* harmony export */ "loginViaSocialLogin": () => (/* binding */ loginViaSocialLogin),
@@ -18215,6 +18216,9 @@ async function webAuthnPostLogin(body) {
18215
18216
  async function webAuthnCreateNewDeviceSession() {
18216
18217
  return (0,_fetch__WEBPACK_IMPORTED_MODULE_5__.Post)(_constants__WEBPACK_IMPORTED_MODULE_6__.urls.identity.webAuthnDevices.v1);
18217
18218
  }
18219
+ async function getWebAuthnDevices() {
18220
+ return (0,_fetch__WEBPACK_IMPORTED_MODULE_5__.Get)(_constants__WEBPACK_IMPORTED_MODULE_6__.urls.identity.webAuthnDevices.v1);
18221
+ }
18218
18222
  async function verifyNewDeviceSession(body) {
18219
18223
  return (0,_fetch__WEBPACK_IMPORTED_MODULE_5__.Post)(`${_constants__WEBPACK_IMPORTED_MODULE_6__.urls.identity.webAuthnDevices.v1}/verify`, body);
18220
18224
  }
@@ -18249,6 +18253,7 @@ let SecondaryAuthStrategy;
18249
18253
  SecondaryAuthStrategy["WebAuthnPlatform"] = "WebAuthnPlatform";
18250
18254
  SecondaryAuthStrategy["WebAuthnCrossPlatform"] = "WebAuthnCrossPlatform";
18251
18255
  SecondaryAuthStrategy["SmsCode"] = "SmsCode";
18256
+ SecondaryAuthStrategy["Passkeys"] = "Passkeys";
18252
18257
  })(SecondaryAuthStrategy || (SecondaryAuthStrategy = {}));
18253
18258
 
18254
18259
  let WebAuthnDeviceType;
@@ -18675,6 +18680,18 @@ const urls = {
18675
18680
  },
18676
18681
  impersonate: {
18677
18682
  v1: '/identity/resources/impersonation/v1'
18683
+ },
18684
+ groups: {
18685
+ configurations: {
18686
+ v1: '/identity/resources/groups/v1/config'
18687
+ },
18688
+ v1: '/identity/resources/groups/v1',
18689
+ roles: {
18690
+ v1: '/identity/resources/groups/v1/roles'
18691
+ },
18692
+ users: {
18693
+ v1: '/identity/resources/groups/v1/users'
18694
+ }
18678
18695
  }
18679
18696
  },
18680
18697
  team: {
@@ -19220,7 +19237,7 @@ __webpack_require__.r(__webpack_exports__);
19220
19237
  /* harmony import */ var _directory_interfaces__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./directory/interfaces */ "../../node_modules/@frontegg/rest-api/directory/interfaces.js");
19221
19238
  /* harmony import */ var _auth__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./auth */ "../../node_modules/@frontegg/rest-api/auth/enums.js");
19222
19239
  /* 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
19240
+ /** @license Frontegg v3.0.77
19224
19241
  *
19225
19242
  * This source code is licensed under the MIT license found in the
19226
19243
  * LICENSE file in the root directory of this source tree.