@frontegg/js 6.70.0 → 6.72.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.70.0
1
+ /** @license Frontegg v6.72.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.70.0
1
+ /** @license Frontegg v6.72.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.70.0'
8
+ "cdnVersion": "6.72.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.70.0",
3
+ "version": "6.72.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.70.0"
8
+ "@frontegg/types": "6.72.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.70.0'
1176
+ "cdnVersion": "6.72.0-alpha.0"
1177
1177
  });
1178
1178
 
1179
1179
  /***/ }),
@@ -2995,8 +2995,12 @@ const Matcher = {};
2995
2995
  "use strict";
2996
2996
  __webpack_require__.r(__webpack_exports__);
2997
2997
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
2998
- /* harmony export */ "ApiStateKeys": () => (/* binding */ ApiStateKeys)
2998
+ /* harmony export */ "ApiStateKeys": () => (/* binding */ ApiStateKeys),
2999
+ /* harmony export */ "MachineToMachineAuthStrategy": () => (/* reexport safe */ _frontegg_rest_api__WEBPACK_IMPORTED_MODULE_0__.MachineToMachineAuthStrategy)
2999
3000
  /* harmony export */ });
3001
+ /* harmony import */ var _frontegg_rest_api__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @frontegg/rest-api */ "../../node_modules/@frontegg/rest-api/auth/enums.js");
3002
+
3003
+
3000
3004
  let ApiStateKeys;
3001
3005
  (function (ApiStateKeys) {
3002
3006
  ApiStateKeys["LOAD_API_TOKENS"] = "LOAD_API_TOKENS";
@@ -12474,10 +12478,11 @@ __webpack_require__.r(__webpack_exports__);
12474
12478
  /* harmony export */ "usersDemo": () => (/* binding */ usersDemo)
12475
12479
  /* harmony export */ });
12476
12480
  /* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "../../node_modules/@babel/runtime/helpers/esm/extends.js");
12477
- /* harmony import */ var _frontegg_rest_api__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @frontegg/rest-api */ "../../node_modules/@frontegg/rest-api/auth/enums.js");
12481
+ /* harmony import */ var _frontegg_rest_api__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ApiTokensState/interfaces */ "../../node_modules/@frontegg/rest-api/auth/enums.js");
12478
12482
  /* harmony import */ var _frontegg_rest_api__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @frontegg/rest-api */ "../../node_modules/@frontegg/rest-api/auth/secutiry-poilicy/interfaces.js");
12479
12483
 
12480
12484
 
12485
+
12481
12486
  const apiTokensDataDemo = {
12482
12487
  clientId: 'CLIENT_ID_16806d3d-8fc3-4450-be97-abdaf66b723e',
12483
12488
  secret: 'SECRET_16806d3d-8fc3-4450-be97-abdaf66b723e',
@@ -12594,7 +12599,8 @@ const publicSecurityPolicy = {
12594
12599
  allowNotVerifiedUsersLogin: false,
12595
12600
  apiTokensEnabled: true,
12596
12601
  forcePermissions: false,
12597
- authStrategy: _frontegg_rest_api__WEBPACK_IMPORTED_MODULE_1__.AuthStrategyEnum.EmailAndPassword
12602
+ authStrategy: _frontegg_rest_api__WEBPACK_IMPORTED_MODULE_1__.AuthStrategyEnum.EmailAndPassword,
12603
+ machineToMachineAuthStrategy: _frontegg_rest_api__WEBPACK_IMPORTED_MODULE_1__.MachineToMachineAuthStrategy.ClientCredentials
12598
12604
  };
12599
12605
  const policyMfaDemo = {
12600
12606
  id: 'id',
@@ -12843,6 +12849,7 @@ __webpack_require__.r(__webpack_exports__);
12843
12849
  /* harmony export */ "LoginFlow": () => (/* reexport safe */ _LoginState_interfaces__WEBPACK_IMPORTED_MODULE_1__.LoginFlow),
12844
12850
  /* harmony export */ "LoginStep": () => (/* reexport safe */ _LoginState_interfaces__WEBPACK_IMPORTED_MODULE_1__.LoginStep),
12845
12851
  /* harmony export */ "MFAStep": () => (/* reexport safe */ _MfaState_interfaces__WEBPACK_IMPORTED_MODULE_15__.MFAStep),
12852
+ /* harmony export */ "MachineToMachineAuthStrategy": () => (/* reexport safe */ _ApiTokensState_interfaces__WEBPACK_IMPORTED_MODULE_23__.MachineToMachineAuthStrategy),
12846
12853
  /* harmony export */ "QuickLoginStrategy": () => (/* reexport safe */ _LoginState_interfaces__WEBPACK_IMPORTED_MODULE_1__.QuickLoginStrategy),
12847
12854
  /* harmony export */ "ResetPhoneNumberStep": () => (/* reexport safe */ _ResetPhoneNumberState_interfaces__WEBPACK_IMPORTED_MODULE_11__.ResetPhoneNumberStep),
12848
12855
  /* harmony export */ "SSOStateKeys": () => (/* reexport safe */ _SSOState_interfaces__WEBPACK_IMPORTED_MODULE_13__.SSOStateKeys),
@@ -17149,25 +17156,6 @@ Metadata._instances = {};
17149
17156
 
17150
17157
  /***/ }),
17151
17158
 
17152
- /***/ "../../dist/@frontegg/types/ThemeOptions/AdminPortalThemeOptions.js":
17153
- /*!**************************************************************************!*\
17154
- !*** ../../dist/@frontegg/types/ThemeOptions/AdminPortalThemeOptions.js ***!
17155
- \**************************************************************************/
17156
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
17157
-
17158
- "use strict";
17159
- __webpack_require__.r(__webpack_exports__);
17160
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
17161
- /* harmony export */ "ApiTokensMethods": () => (/* binding */ ApiTokensMethods)
17162
- /* harmony export */ });
17163
- let ApiTokensMethods;
17164
- (function (ApiTokensMethods) {
17165
- ApiTokensMethods["CLIENT_CREDENTIALS"] = "clientCredentials";
17166
- ApiTokensMethods["ACCESS_TOKEN"] = "accessToken";
17167
- })(ApiTokensMethods || (ApiTokensMethods = {}));
17168
-
17169
- /***/ }),
17170
-
17171
17159
  /***/ "../../dist/@frontegg/types/ThemeOptions/fieldsAppearanceConsts.js":
17172
17160
  /*!*************************************************************************!*\
17173
17161
  !*** ../../dist/@frontegg/types/ThemeOptions/fieldsAppearanceConsts.js ***!
@@ -17263,7 +17251,6 @@ let SsoPageTabs;
17263
17251
  __webpack_require__.r(__webpack_exports__);
17264
17252
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
17265
17253
  /* harmony export */ "AccountPageFields": () => (/* reexport safe */ _fieldsAppearanceConsts__WEBPACK_IMPORTED_MODULE_0__.AccountPageFields),
17266
- /* harmony export */ "ApiTokensMethods": () => (/* reexport safe */ _AdminPortalThemeOptions__WEBPACK_IMPORTED_MODULE_1__.ApiTokensMethods),
17267
17254
  /* harmony export */ "DomainRestrictionsTabFields": () => (/* reexport safe */ _fieldsAppearanceConsts__WEBPACK_IMPORTED_MODULE_0__.DomainRestrictionsTabFields),
17268
17255
  /* harmony export */ "GeneralSettingsTabFields": () => (/* reexport safe */ _fieldsAppearanceConsts__WEBPACK_IMPORTED_MODULE_0__.GeneralSettingsTabFields),
17269
17256
  /* harmony export */ "InviteUserModalFields": () => (/* reexport safe */ _fieldsAppearanceConsts__WEBPACK_IMPORTED_MODULE_0__.InviteUserModalFields),
@@ -17278,7 +17265,6 @@ __webpack_require__.r(__webpack_exports__);
17278
17265
  /* harmony export */ "tabAppearance": () => (/* binding */ tabAppearance)
17279
17266
  /* harmony export */ });
17280
17267
  /* harmony import */ var _fieldsAppearanceConsts__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./fieldsAppearanceConsts */ "../../dist/@frontegg/types/ThemeOptions/fieldsAppearanceConsts.js");
17281
- /* harmony import */ var _AdminPortalThemeOptions__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./AdminPortalThemeOptions */ "../../dist/@frontegg/types/ThemeOptions/AdminPortalThemeOptions.js");
17282
17268
 
17283
17269
 
17284
17270
 
@@ -17306,7 +17292,6 @@ const tabAppearance = {
17306
17292
  __webpack_require__.r(__webpack_exports__);
17307
17293
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
17308
17294
  /* harmony export */ "AccountPageFields": () => (/* reexport safe */ _ThemeOptions__WEBPACK_IMPORTED_MODULE_0__.AccountPageFields),
17309
- /* harmony export */ "ApiTokensMethods": () => (/* reexport safe */ _ThemeOptions__WEBPACK_IMPORTED_MODULE_0__.ApiTokensMethods),
17310
17295
  /* harmony export */ "DomainRestrictionsTabFields": () => (/* reexport safe */ _ThemeOptions__WEBPACK_IMPORTED_MODULE_0__.DomainRestrictionsTabFields),
17311
17296
  /* harmony export */ "GeneralSettingsTabFields": () => (/* reexport safe */ _ThemeOptions__WEBPACK_IMPORTED_MODULE_0__.GeneralSettingsTabFields),
17312
17297
  /* harmony export */ "InviteUserModalFields": () => (/* reexport safe */ _ThemeOptions__WEBPACK_IMPORTED_MODULE_0__.InviteUserModalFields),
@@ -17324,7 +17309,7 @@ __webpack_require__.r(__webpack_exports__);
17324
17309
  /* harmony export */ });
17325
17310
  /* harmony import */ var _ThemeOptions__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ThemeOptions */ "../../dist/@frontegg/types/ThemeOptions/index.js");
17326
17311
  /* harmony import */ var _Metadata__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Metadata */ "../../dist/@frontegg/types/Metadata/index.js");
17327
- /** @license Frontegg v6.70.0
17312
+ /** @license Frontegg v6.72.0-alpha.0
17328
17313
  *
17329
17314
  * This source code is licensed under the MIT license found in the
17330
17315
  * LICENSE file in the root directory of this source tree.
@@ -17509,6 +17494,7 @@ async function exportAudits(params) {
17509
17494
  __webpack_require__.r(__webpack_exports__);
17510
17495
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
17511
17496
  /* harmony export */ "AuthStrategyEnum": () => (/* binding */ AuthStrategyEnum),
17497
+ /* harmony export */ "MachineToMachineAuthStrategy": () => (/* binding */ MachineToMachineAuthStrategy),
17512
17498
  /* harmony export */ "SocialLoginProviders": () => (/* binding */ SocialLoginProviders)
17513
17499
  /* harmony export */ });
17514
17500
  let SocialLoginProviders;
@@ -17533,6 +17519,13 @@ let AuthStrategyEnum;
17533
17519
  AuthStrategyEnum["SmsCode"] = "SmsCode";
17534
17520
  })(AuthStrategyEnum || (AuthStrategyEnum = {}));
17535
17521
 
17522
+ let MachineToMachineAuthStrategy;
17523
+
17524
+ (function (MachineToMachineAuthStrategy) {
17525
+ MachineToMachineAuthStrategy["ClientCredentials"] = "ClientCredentials";
17526
+ MachineToMachineAuthStrategy["AccessToken"] = "AccessToken";
17527
+ })(MachineToMachineAuthStrategy || (MachineToMachineAuthStrategy = {}));
17528
+
17536
17529
  /***/ }),
17537
17530
 
17538
17531
  /***/ "../../node_modules/@frontegg/rest-api/auth/index.js":
@@ -17545,6 +17538,7 @@ let AuthStrategyEnum;
17545
17538
  __webpack_require__.r(__webpack_exports__);
17546
17539
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
17547
17540
  /* harmony export */ "AuthStrategyEnum": () => (/* reexport safe */ _enums__WEBPACK_IMPORTED_MODULE_3__.AuthStrategyEnum),
17541
+ /* harmony export */ "MachineToMachineAuthStrategy": () => (/* reexport safe */ _enums__WEBPACK_IMPORTED_MODULE_3__.MachineToMachineAuthStrategy),
17548
17542
  /* harmony export */ "OAuthLogout": () => (/* binding */ OAuthLogout),
17549
17543
  /* harmony export */ "SocialLoginProviders": () => (/* reexport safe */ _enums__WEBPACK_IMPORTED_MODULE_3__.SocialLoginProviders),
17550
17544
  /* harmony export */ "acceptInvitation": () => (/* binding */ acceptInvitation),
@@ -19174,6 +19168,7 @@ __webpack_require__.r(__webpack_exports__);
19174
19168
  /* harmony export */ "ISubscriptionCancellationPolicy": () => (/* reexport safe */ _subscriptions__WEBPACK_IMPORTED_MODULE_25__.ISubscriptionCancellationPolicy),
19175
19169
  /* harmony export */ "ISubscriptionStatus": () => (/* reexport safe */ _subscriptions__WEBPACK_IMPORTED_MODULE_25__.ISubscriptionStatus),
19176
19170
  /* harmony export */ "MFAStrategyEnum": () => (/* reexport safe */ _auth_interfaces__WEBPACK_IMPORTED_MODULE_0__.MFAStrategyEnum),
19171
+ /* harmony export */ "MachineToMachineAuthStrategy": () => (/* reexport safe */ _auth__WEBPACK_IMPORTED_MODULE_24__.MachineToMachineAuthStrategy),
19177
19172
  /* harmony export */ "PaymentMethodType": () => (/* reexport safe */ _subscriptions__WEBPACK_IMPORTED_MODULE_25__.PaymentMethodType),
19178
19173
  /* harmony export */ "ProviderType": () => (/* reexport safe */ _subscriptions__WEBPACK_IMPORTED_MODULE_25__.ProviderType),
19179
19174
  /* harmony export */ "RestrictionType": () => (/* reexport safe */ _auth_interfaces__WEBPACK_IMPORTED_MODULE_0__.RestrictionType),
@@ -19225,7 +19220,7 @@ __webpack_require__.r(__webpack_exports__);
19225
19220
  /* harmony import */ var _directory_interfaces__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./directory/interfaces */ "../../node_modules/@frontegg/rest-api/directory/interfaces.js");
19226
19221
  /* harmony import */ var _auth__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./auth */ "../../node_modules/@frontegg/rest-api/auth/enums.js");
19227
19222
  /* harmony import */ var _subscriptions__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./subscriptions */ "../../node_modules/@frontegg/rest-api/subscriptions/enums.js");
19228
- /** @license Frontegg v3.0.71
19223
+ /** @license Frontegg v3.0.74
19229
19224
  *
19230
19225
  * This source code is licensed under the MIT license found in the
19231
19226
  * LICENSE file in the root directory of this source tree.
@@ -19297,6 +19292,7 @@ const api = {
19297
19292
  api,
19298
19293
  FronteggApiError: _error__WEBPACK_IMPORTED_MODULE_23__.FronteggApiError,
19299
19294
  AuthStrategyEnum: _auth__WEBPACK_IMPORTED_MODULE_24__.AuthStrategyEnum,
19295
+ MachineToMachineAuthStrategy: _auth__WEBPACK_IMPORTED_MODULE_24__.MachineToMachineAuthStrategy,
19300
19296
  SocialLoginProviders: _auth__WEBPACK_IMPORTED_MODULE_24__.SocialLoginProviders,
19301
19297
  ISubscriptionCancellationPolicy: _subscriptions__WEBPACK_IMPORTED_MODULE_25__.ISubscriptionCancellationPolicy,
19302
19298
  ISubscriptionStatus: _subscriptions__WEBPACK_IMPORTED_MODULE_25__.ISubscriptionStatus,