@frontegg/js 7.35.0-alpha.1 → 7.36.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/FronteggApp/FronteggApp.d.ts +0 -1
- package/FronteggApp/FronteggApp.js +1 -7
- package/index.js +1 -1
- package/node/FronteggApp/FronteggApp.js +0 -6
- package/node/index.js +1 -1
- package/node/version.js +1 -1
- package/package.json +2 -2
- package/umd/frontegg.development.js +41 -77
- package/umd/frontegg.production.min.js +1 -1
- package/umd/frontegg.production.min.js.LICENSE.txt +1 -1
- package/version.js +1 -1
|
@@ -4,7 +4,7 @@ import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck";
|
|
|
4
4
|
import _createClass from "@babel/runtime/helpers/esm/createClass";
|
|
5
5
|
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
6
6
|
import * as FronteggReduxStore from '@frontegg/redux-store';
|
|
7
|
-
import { createStore,
|
|
7
|
+
import { createStore, getFeatureEntitlements as _getFeatureEntitlements, getPermissionEntitlements as _getPermissionEntitlements, isSteppedUp as _isSteppedUp, redirectByStepUpUrl, retryIfNeeded, DEFAULT_RETRY_CONFIG, errorTraceId, REQUEST_NAME } from '@frontegg/redux-store';
|
|
8
8
|
import * as FronteggTypes from '@frontegg/types';
|
|
9
9
|
import { Metadata } from '@frontegg/types';
|
|
10
10
|
import { formatName, restoreSearchParams } from '../utils';
|
|
@@ -27,7 +27,6 @@ export var FronteggApp = /*#__PURE__*/function () {
|
|
|
27
27
|
this.options = void 0;
|
|
28
28
|
this.loading = true;
|
|
29
29
|
this.cdnUrl = "https://assets.frontegg.com/admin-box/".concat(versions.cdnVersion);
|
|
30
|
-
this.assetsUrl = "https://adminBox.frontegg.com/admin-box/".concat(versions.cdnVersion);
|
|
31
30
|
this.customElementName = '';
|
|
32
31
|
this.adminPortalEl = void 0;
|
|
33
32
|
this.adminPortalRenderer = void 0;
|
|
@@ -199,11 +198,6 @@ export var FronteggApp = /*#__PURE__*/function () {
|
|
|
199
198
|
if (this.options.cdnUrl) {
|
|
200
199
|
this.cdnUrl = this.options.cdnUrl;
|
|
201
200
|
}
|
|
202
|
-
if (this.options.assetsUrl) {
|
|
203
|
-
this.assetsUrl = this.options.assetsUrl;
|
|
204
|
-
}
|
|
205
|
-
ContextHolder["for"](this.name).setCdnUrl(this.cdnUrl);
|
|
206
|
-
ContextHolder["for"](this.name).setAssetsUrl(this.assetsUrl);
|
|
207
201
|
this.customElementName = customElementName;
|
|
208
202
|
var authOptions = this.options.authOptions ? Object.assign({}, this.options.authOptions, {
|
|
209
203
|
hostedLoginBox: this.options.hostedLoginBox
|
package/index.js
CHANGED
|
@@ -34,7 +34,6 @@ var FronteggApp = /*#__PURE__*/function () {
|
|
|
34
34
|
this.options = void 0;
|
|
35
35
|
this.loading = true;
|
|
36
36
|
this.cdnUrl = "https://assets.frontegg.com/admin-box/".concat(_version["default"].cdnVersion);
|
|
37
|
-
this.assetsUrl = "https://adminBox.frontegg.com/admin-box/".concat(_version["default"].cdnVersion);
|
|
38
37
|
this.customElementName = '';
|
|
39
38
|
this.adminPortalEl = void 0;
|
|
40
39
|
this.adminPortalRenderer = void 0;
|
|
@@ -206,11 +205,6 @@ var FronteggApp = /*#__PURE__*/function () {
|
|
|
206
205
|
if (this.options.cdnUrl) {
|
|
207
206
|
this.cdnUrl = this.options.cdnUrl;
|
|
208
207
|
}
|
|
209
|
-
if (this.options.assetsUrl) {
|
|
210
|
-
this.assetsUrl = this.options.assetsUrl;
|
|
211
|
-
}
|
|
212
|
-
FronteggRestApi.ContextHolder["for"](this.name).setCdnUrl(this.cdnUrl);
|
|
213
|
-
FronteggRestApi.ContextHolder["for"](this.name).setAssetsUrl(this.assetsUrl);
|
|
214
208
|
this.customElementName = customElementName;
|
|
215
209
|
var authOptions = this.options.authOptions ? Object.assign({}, this.options.authOptions, {
|
|
216
210
|
hostedLoginBox: this.options.hostedLoginBox
|
package/node/index.js
CHANGED
package/node/version.js
CHANGED
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@frontegg/js",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.36.0-alpha.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": "7.
|
|
9
|
+
"@frontegg/types": "7.36.0-alpha.0"
|
|
10
10
|
},
|
|
11
11
|
"browserslist": {
|
|
12
12
|
"production": [
|
|
@@ -324,7 +324,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
324
324
|
/* harmony import */ var _frontegg_redux_store__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @frontegg/redux-store */ "../../dist/@frontegg/redux-store/helpers/common.js");
|
|
325
325
|
/* harmony import */ var _frontegg_redux_store__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @frontegg/redux-store */ "../../dist/@frontegg/redux-store/constants.js");
|
|
326
326
|
/* harmony import */ var _frontegg_redux_store__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @frontegg/redux-store */ "../../dist/@frontegg/redux-store/auth/interfaces.js");
|
|
327
|
-
/* harmony import */ var
|
|
327
|
+
/* harmony import */ var _frontegg_redux_store__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! @frontegg/redux-store */ "../../dist/@frontegg/redux-store/toolkit/store.js");
|
|
328
328
|
/* harmony import */ var _frontegg_redux_store__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! @frontegg/redux-store */ "../../dist/@frontegg/redux-store/auth/Entitlements/helpers.js");
|
|
329
329
|
/* harmony import */ var _frontegg_redux_store__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! @frontegg/redux-store */ "../../dist/@frontegg/redux-store/auth/StepUpState/helpers.js");
|
|
330
330
|
/* harmony import */ var _frontegg_types__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! @frontegg/types */ "../../dist/@frontegg/types/index.js");
|
|
@@ -334,7 +334,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
334
334
|
/* harmony import */ var _frontegg_rest_api__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @frontegg/rest-api */ "../../dist/@frontegg/rest-api/feature-flags/index.js");
|
|
335
335
|
/* harmony import */ var _frontegg_rest_api__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @frontegg/rest-api */ "../../dist/@frontegg/rest-api/index.js");
|
|
336
336
|
/* harmony import */ var _frontegg_rest_api__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @frontegg/rest-api */ "../../dist/@frontegg/rest-api/FetchClient.js");
|
|
337
|
-
/* harmony import */ var
|
|
337
|
+
/* harmony import */ var _frontegg_rest_api__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! @frontegg/rest-api */ "../../dist/@frontegg/rest-api/ContextHolder/index.js");
|
|
338
338
|
/* harmony import */ var _frontegg_rest_api__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! @frontegg/rest-api */ "../../dist/@frontegg/rest-api/interfaces.js");
|
|
339
339
|
/* harmony import */ var _version__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../version */ "../../dist/@frontegg/js/version.js");
|
|
340
340
|
/* harmony import */ var _utils_mockFlagsList__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../utils/mockFlagsList */ "../../dist/@frontegg/js/utils/mockFlagsList.js");
|
|
@@ -368,7 +368,6 @@ var FronteggApp = /*#__PURE__*/function () {
|
|
|
368
368
|
this.options = void 0;
|
|
369
369
|
this.loading = true;
|
|
370
370
|
this.cdnUrl = "https://assets.frontegg.com/admin-box/".concat(_version__WEBPACK_IMPORTED_MODULE_7__["default"].cdnVersion);
|
|
371
|
-
this.assetsUrl = "https://adminBox.frontegg.com/admin-box/".concat(_version__WEBPACK_IMPORTED_MODULE_7__["default"].cdnVersion);
|
|
372
371
|
this.customElementName = '';
|
|
373
372
|
this.adminPortalEl = void 0;
|
|
374
373
|
this.adminPortalRenderer = void 0;
|
|
@@ -540,11 +539,6 @@ var FronteggApp = /*#__PURE__*/function () {
|
|
|
540
539
|
if (this.options.cdnUrl) {
|
|
541
540
|
this.cdnUrl = this.options.cdnUrl;
|
|
542
541
|
}
|
|
543
|
-
if (this.options.assetsUrl) {
|
|
544
|
-
this.assetsUrl = this.options.assetsUrl;
|
|
545
|
-
}
|
|
546
|
-
_frontegg_rest_api__WEBPACK_IMPORTED_MODULE_17__.ContextHolder["for"](this.name).setCdnUrl(this.cdnUrl);
|
|
547
|
-
_frontegg_rest_api__WEBPACK_IMPORTED_MODULE_17__.ContextHolder["for"](this.name).setAssetsUrl(this.assetsUrl);
|
|
548
542
|
this.customElementName = customElementName;
|
|
549
543
|
var authOptions = this.options.authOptions ? Object.assign({}, this.options.authOptions, {
|
|
550
544
|
hostedLoginBox: this.options.hostedLoginBox
|
|
@@ -560,7 +554,7 @@ var FronteggApp = /*#__PURE__*/function () {
|
|
|
560
554
|
}
|
|
561
555
|
} else {
|
|
562
556
|
var _this$options$authOpt4, _this$options$auditsO;
|
|
563
|
-
this.store = (0,
|
|
557
|
+
this.store = (0,_frontegg_redux_store__WEBPACK_IMPORTED_MODULE_17__.createStore)({
|
|
564
558
|
context: this.options.contextOptions,
|
|
565
559
|
name: this.name,
|
|
566
560
|
builderMode: this.options.builderMode,
|
|
@@ -574,7 +568,7 @@ var FronteggApp = /*#__PURE__*/function () {
|
|
|
574
568
|
});
|
|
575
569
|
}
|
|
576
570
|
_AppHolder__WEBPACK_IMPORTED_MODULE_6__.AppHolder.setInstance(appName, this);
|
|
577
|
-
var contextHolder =
|
|
571
|
+
var contextHolder = _frontegg_rest_api__WEBPACK_IMPORTED_MODULE_18__.ContextHolder["for"](appName);
|
|
578
572
|
contextHolder.setAppName(appName);
|
|
579
573
|
this.setEntitlementsOptions(_options.entitlementsOptions);
|
|
580
574
|
this.setSessionContext({
|
|
@@ -595,12 +589,12 @@ var FronteggApp = /*#__PURE__*/function () {
|
|
|
595
589
|
(0,_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__["default"])(FronteggApp, [{
|
|
596
590
|
key: "setEntitlementsOptions",
|
|
597
591
|
value: function setEntitlementsOptions(entitlementsOptions) {
|
|
598
|
-
|
|
592
|
+
_frontegg_rest_api__WEBPACK_IMPORTED_MODULE_18__.ContextHolder["for"](this.name).setEntitlementsOptions(Object.assign({}, entitlementsOptions));
|
|
599
593
|
}
|
|
600
594
|
}, {
|
|
601
595
|
key: "setSessionContext",
|
|
602
596
|
value: function setSessionContext(sessionContext) {
|
|
603
|
-
|
|
597
|
+
_frontegg_rest_api__WEBPACK_IMPORTED_MODULE_18__.ContextHolder["for"](this.name).setSessionContext(Object.assign({}, sessionContext));
|
|
604
598
|
}
|
|
605
599
|
}, {
|
|
606
600
|
key: "dispatchErrorByRequestName",
|
|
@@ -805,7 +799,7 @@ var FronteggApp = /*#__PURE__*/function () {
|
|
|
805
799
|
isMultiApp: false
|
|
806
800
|
}, isMultiApp = _ref4.isMultiApp;
|
|
807
801
|
_this$queryFeatureFla = this.queryFeatureFlags(['multi-apps-admin-portal']), _this$queryFeatureFla2 = (0,_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_0__["default"])(_this$queryFeatureFla, 1), multiAppsFlag = _this$queryFeatureFla2[0];
|
|
808
|
-
|
|
802
|
+
_frontegg_rest_api__WEBPACK_IMPORTED_MODULE_18__.ContextHolder["for"](this.name).setRequestSource(_frontegg_rest_api__WEBPACK_IMPORTED_MODULE_21__.RequestSource.AdminPortal);
|
|
809
803
|
_context6.next = 5;
|
|
810
804
|
return this.loadScript('FronteggAdminPortal');
|
|
811
805
|
case 5:
|
|
@@ -853,7 +847,7 @@ var FronteggApp = /*#__PURE__*/function () {
|
|
|
853
847
|
(_this$adminPortalRend = this.adminPortalRenderer) == null ? void 0 : _this$adminPortalRend.unmount();
|
|
854
848
|
// unmount is removing url search params, therefore we need to restore them after unmount
|
|
855
849
|
(0,_utils__WEBPACK_IMPORTED_MODULE_5__.restoreSearchParams)(searchParams);
|
|
856
|
-
|
|
850
|
+
_frontegg_rest_api__WEBPACK_IMPORTED_MODULE_18__.ContextHolder["for"](this.name).setRequestSource(null);
|
|
857
851
|
} catch (e) {
|
|
858
852
|
console.error('Failed to unmount admin portal', e);
|
|
859
853
|
}
|
|
@@ -1624,7 +1618,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1624
1618
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
1625
1619
|
/* harmony export */ });
|
|
1626
1620
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
|
|
1627
|
-
cdnVersion: '7.
|
|
1621
|
+
cdnVersion: '7.36.0-alpha.0'
|
|
1628
1622
|
});
|
|
1629
1623
|
|
|
1630
1624
|
/***/ }),
|
|
@@ -5281,23 +5275,23 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
5281
5275
|
/* harmony import */ var _interfaces__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../interfaces */ "../../dist/@frontegg/redux-store/auth/LoginState/interfaces.js");
|
|
5282
5276
|
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../helpers */ "../../dist/@frontegg/redux-store/helpers/common.js");
|
|
5283
5277
|
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../../helpers */ "../../dist/@frontegg/redux-store/helpers/handlers.js");
|
|
5284
|
-
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ../../../helpers */ "../../dist/@frontegg/redux-store/helpers/gtm.js");
|
|
5285
5278
|
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ../../../helpers */ "../../dist/@frontegg/redux-store/helpers/encoders.js");
|
|
5286
5279
|
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ../../../helpers */ "../../dist/@frontegg/redux-store/helpers/converters.js");
|
|
5287
5280
|
/* harmony import */ var _state__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../state */ "../../dist/@frontegg/redux-store/auth/LoginState/state.js");
|
|
5288
5281
|
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../helpers */ "../../dist/@frontegg/redux-store/auth/LoginState/helpers.js");
|
|
5289
5282
|
/* harmony import */ var _frontegg_rest_api__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @frontegg/rest-api */ "../../dist/@frontegg/rest-api/ContextHolder/index.js");
|
|
5290
5283
|
/* harmony import */ var _frontegg_rest_api__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @frontegg/rest-api */ "../../dist/@frontegg/rest-api/auth/enums.js");
|
|
5291
|
-
/* harmony import */ var _frontegg_rest_api__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @frontegg/rest-api */ "../../dist/@frontegg/rest-api/auth/utils.js");
|
|
5292
5284
|
/* harmony import */ var _frontegg_rest_api__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! @frontegg/rest-api */ "../../dist/@frontegg/rest-api/auth/interfaces.js");
|
|
5293
5285
|
/* harmony import */ var _hostedLoginAuthorize_actions__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./hostedLoginAuthorize.actions */ "../../dist/@frontegg/redux-store/auth/LoginState/actions/hostedLoginAuthorize.actions.js");
|
|
5294
5286
|
/* harmony import */ var _toolkit__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../toolkit */ "../../dist/@frontegg/redux-store/auth/Entitlements/helpers.js");
|
|
5295
5287
|
/* harmony import */ var _toolkit__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../../../toolkit */ "../../dist/@frontegg/redux-store/toolkit/FronteggNativeModule.js");
|
|
5296
5288
|
/* harmony import */ var _interfaces__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../interfaces */ "../../dist/@frontegg/redux-store/auth/interfaces.js");
|
|
5297
5289
|
/* harmony import */ var _consts__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../consts */ "../../dist/@frontegg/redux-store/auth/LoginState/consts.js");
|
|
5290
|
+
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ../../../helpers */ "../../dist/@frontegg/redux-store/helpers/gtm.js");
|
|
5298
5291
|
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../helpers */ "../../dist/@frontegg/redux-store/auth/helpers.js");
|
|
5299
5292
|
/* harmony import */ var _MfaState_interfaces__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ../../MfaState/interfaces */ "../../dist/@frontegg/redux-store/auth/MfaState/interfaces.js");
|
|
5300
5293
|
/* harmony import */ var _SSOState_interfaces__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../../SSOState/interfaces */ "../../dist/@frontegg/redux-store/auth/SSOState/interfaces.js");
|
|
5294
|
+
/* harmony import */ var _frontegg_rest_api__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @frontegg/rest-api */ "../../dist/@frontegg/rest-api/auth/utils.js");
|
|
5301
5295
|
/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../constants */ "../../dist/@frontegg/redux-store/constants.js");
|
|
5302
5296
|
|
|
5303
5297
|
|
|
@@ -5334,6 +5328,8 @@ const _excluded = ["callback", "error"],
|
|
|
5334
5328
|
|
|
5335
5329
|
|
|
5336
5330
|
|
|
5331
|
+
|
|
5332
|
+
|
|
5337
5333
|
|
|
5338
5334
|
|
|
5339
5335
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((store, api, sharedActions) => {
|
|
@@ -6281,29 +6277,14 @@ const _excluded = ["callback", "error"],
|
|
|
6281
6277
|
callback
|
|
6282
6278
|
} = payload;
|
|
6283
6279
|
try {
|
|
6284
|
-
actions.setAuthState({
|
|
6285
|
-
userIpData: {
|
|
6286
|
-
loading: true
|
|
6287
|
-
}
|
|
6288
|
-
});
|
|
6289
6280
|
const {
|
|
6290
|
-
ip
|
|
6291
|
-
country_code
|
|
6281
|
+
ip
|
|
6292
6282
|
} = await api.metadata.getCurrentUserIpMetadata();
|
|
6293
6283
|
actions.setAuthState({
|
|
6294
|
-
|
|
6295
|
-
ip,
|
|
6296
|
-
countryCode: country_code,
|
|
6297
|
-
loading: false
|
|
6298
|
-
}
|
|
6284
|
+
userIp: ip
|
|
6299
6285
|
});
|
|
6300
6286
|
callback == null ? void 0 : callback(true);
|
|
6301
6287
|
} catch (e) {
|
|
6302
|
-
actions.setAuthState({
|
|
6303
|
-
userIpData: {
|
|
6304
|
-
loading: false
|
|
6305
|
-
}
|
|
6306
|
-
});
|
|
6307
6288
|
callback == null ? void 0 : callback(false);
|
|
6308
6289
|
}
|
|
6309
6290
|
};
|
|
@@ -11705,8 +11686,8 @@ const _excluded = ["callback"],
|
|
|
11705
11686
|
error: null
|
|
11706
11687
|
});
|
|
11707
11688
|
try {
|
|
11708
|
-
var _store$auth$
|
|
11709
|
-
const userIp = (_store$auth$
|
|
11689
|
+
var _store$auth$userIp;
|
|
11690
|
+
const userIp = (_store$auth$userIp = store.auth.userIp) != null ? _store$auth$userIp : '';
|
|
11710
11691
|
await Promise.all([api.auth.createIPRestriction({
|
|
11711
11692
|
ip: userIp,
|
|
11712
11693
|
isActive: true,
|
|
@@ -15835,6 +15816,23 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
15835
15816
|
/* harmony export */ });
|
|
15836
15817
|
/* 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");
|
|
15837
15818
|
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "../../node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
|
|
15819
|
+
/* harmony import */ var _AcceptInvitationState_interfaces__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./AcceptInvitationState/interfaces */ "../../dist/@frontegg/redux-store/auth/AcceptInvitationState/interfaces.js");
|
|
15820
|
+
/* harmony import */ var _ActivateAccountState_interfaces__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./ActivateAccountState/interfaces */ "../../dist/@frontegg/redux-store/auth/ActivateAccountState/interfaces.js");
|
|
15821
|
+
/* harmony import */ var _ApiTokensState_interfaces__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./ApiTokensState/interfaces */ "../../dist/@frontegg/redux-store/auth/ApiTokensState/interfaces.js");
|
|
15822
|
+
/* harmony import */ var _Entitlements_helpers__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./Entitlements/helpers */ "../../dist/@frontegg/redux-store/auth/Entitlements/helpers.js");
|
|
15823
|
+
/* harmony import */ var _ForgotPasswordState_interfaces__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./ForgotPasswordState/interfaces */ "../../dist/@frontegg/redux-store/auth/ForgotPasswordState/interfaces.js");
|
|
15824
|
+
/* harmony import */ var _GroupsState_interfaces__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./GroupsState/interfaces */ "../../dist/@frontegg/redux-store/auth/GroupsState/interfaces.js");
|
|
15825
|
+
/* harmony import */ var _ImpersonateState_interfaces__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./ImpersonateState/interfaces */ "../../dist/@frontegg/redux-store/auth/ImpersonateState/interfaces.js");
|
|
15826
|
+
/* harmony import */ var _LoginState_interfaces__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./LoginState/interfaces */ "../../dist/@frontegg/redux-store/auth/LoginState/interfaces.js");
|
|
15827
|
+
/* harmony import */ var _MfaState_interfaces__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./MfaState/interfaces */ "../../dist/@frontegg/redux-store/auth/MfaState/interfaces.js");
|
|
15828
|
+
/* harmony import */ var _MSP_interfaces__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./MSP/interfaces */ "../../dist/@frontegg/redux-store/auth/MSP/interfaces/index.js");
|
|
15829
|
+
/* harmony import */ var _ResetPhoneNumberState_interfaces__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./ResetPhoneNumberState/interfaces */ "../../dist/@frontegg/redux-store/auth/ResetPhoneNumberState/interfaces.js");
|
|
15830
|
+
/* harmony import */ var _RolesState_interfaces__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./RolesState/interfaces */ "../../dist/@frontegg/redux-store/auth/RolesState/interfaces.js");
|
|
15831
|
+
/* harmony import */ var _Security_SecurityCenterState_interfaces__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./Security/SecurityCenterState/interfaces */ "../../dist/@frontegg/redux-store/auth/Security/SecurityCenterState/interfaces.js");
|
|
15832
|
+
/* harmony import */ var _SignUpState_interfaces__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./SignUpState/interfaces */ "../../dist/@frontegg/redux-store/auth/SignUpState/interfaces.js");
|
|
15833
|
+
/* harmony import */ var _SSOState_interfaces__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./SSOState/interfaces */ "../../dist/@frontegg/redux-store/auth/SSOState/interfaces.js");
|
|
15834
|
+
/* harmony import */ var _TeamState_interfaces__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./TeamState/interfaces */ "../../dist/@frontegg/redux-store/auth/TeamState/interfaces.js");
|
|
15835
|
+
/* harmony import */ var _interfaces__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./interfaces */ "../../dist/@frontegg/redux-store/auth/interfaces.js");
|
|
15838
15836
|
/* harmony import */ var _AcceptInvitationState__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./AcceptInvitationState */ "../../dist/@frontegg/redux-store/auth/AcceptInvitationState/state.js");
|
|
15839
15837
|
/* harmony import */ var _AcceptInvitationState__WEBPACK_IMPORTED_MODULE_54__ = __webpack_require__(/*! ./AcceptInvitationState */ "../../dist/@frontegg/redux-store/auth/AcceptInvitationState/actions.js");
|
|
15840
15838
|
/* harmony import */ var _AccountSettingsState__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./AccountSettingsState */ "../../dist/@frontegg/redux-store/auth/AccountSettingsState/state.js");
|
|
@@ -15862,8 +15860,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
15862
15860
|
/* harmony import */ var _MfaState__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ./MfaState */ "../../dist/@frontegg/redux-store/auth/MfaState/state.js");
|
|
15863
15861
|
/* harmony import */ var _MfaState__WEBPACK_IMPORTED_MODULE_67__ = __webpack_require__(/*! ./MfaState */ "../../dist/@frontegg/redux-store/auth/MfaState/actions.js");
|
|
15864
15862
|
/* harmony import */ var _MSP__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ./MSP */ "../../dist/@frontegg/redux-store/auth/MSP/state.js");
|
|
15865
|
-
/* harmony import */ var _MSP__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ./MSP */ "../../dist/@frontegg/redux-store/auth/MSP/dialogs/state.js");
|
|
15866
15863
|
/* harmony import */ var _MSP__WEBPACK_IMPORTED_MODULE_68__ = __webpack_require__(/*! ./MSP */ "../../dist/@frontegg/redux-store/auth/MSP/actions.js");
|
|
15864
|
+
/* harmony import */ var _MSP__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ./MSP */ "../../dist/@frontegg/redux-store/auth/MSP/dialogs/state.js");
|
|
15867
15865
|
/* harmony import */ var _MSP__WEBPACK_IMPORTED_MODULE_69__ = __webpack_require__(/*! ./MSP */ "../../dist/@frontegg/redux-store/auth/MSP/dialogs/actions.js");
|
|
15868
15866
|
/* harmony import */ var _PasskeysState__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! ./PasskeysState */ "../../dist/@frontegg/redux-store/auth/PasskeysState/state.js");
|
|
15869
15867
|
/* harmony import */ var _PasskeysState__WEBPACK_IMPORTED_MODULE_70__ = __webpack_require__(/*! ./PasskeysState */ "../../dist/@frontegg/redux-store/auth/PasskeysState/actions.js");
|
|
@@ -15903,23 +15901,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
15903
15901
|
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(/*! ../helpers */ "../../dist/@frontegg/redux-store/helpers/common.js");
|
|
15904
15902
|
/* harmony import */ var _Entitlements__WEBPACK_IMPORTED_MODULE_61__ = __webpack_require__(/*! ./Entitlements */ "../../dist/@frontegg/redux-store/auth/Entitlements/actions.js");
|
|
15905
15903
|
/* harmony import */ var _toolkit_proxy__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ../toolkit/proxy */ "../../dist/@frontegg/redux-store/toolkit/proxy.js");
|
|
15906
|
-
/* harmony import */ var _AcceptInvitationState_interfaces__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./AcceptInvitationState/interfaces */ "../../dist/@frontegg/redux-store/auth/AcceptInvitationState/interfaces.js");
|
|
15907
|
-
/* harmony import */ var _ActivateAccountState_interfaces__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./ActivateAccountState/interfaces */ "../../dist/@frontegg/redux-store/auth/ActivateAccountState/interfaces.js");
|
|
15908
|
-
/* harmony import */ var _ApiTokensState_interfaces__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./ApiTokensState/interfaces */ "../../dist/@frontegg/redux-store/auth/ApiTokensState/interfaces.js");
|
|
15909
|
-
/* harmony import */ var _Entitlements_helpers__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./Entitlements/helpers */ "../../dist/@frontegg/redux-store/auth/Entitlements/helpers.js");
|
|
15910
|
-
/* harmony import */ var _ForgotPasswordState_interfaces__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./ForgotPasswordState/interfaces */ "../../dist/@frontegg/redux-store/auth/ForgotPasswordState/interfaces.js");
|
|
15911
|
-
/* harmony import */ var _GroupsState_interfaces__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./GroupsState/interfaces */ "../../dist/@frontegg/redux-store/auth/GroupsState/interfaces.js");
|
|
15912
|
-
/* harmony import */ var _ImpersonateState_interfaces__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./ImpersonateState/interfaces */ "../../dist/@frontegg/redux-store/auth/ImpersonateState/interfaces.js");
|
|
15913
|
-
/* harmony import */ var _LoginState_interfaces__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./LoginState/interfaces */ "../../dist/@frontegg/redux-store/auth/LoginState/interfaces.js");
|
|
15914
|
-
/* harmony import */ var _MfaState_interfaces__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./MfaState/interfaces */ "../../dist/@frontegg/redux-store/auth/MfaState/interfaces.js");
|
|
15915
|
-
/* harmony import */ var _MSP_interfaces__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./MSP/interfaces */ "../../dist/@frontegg/redux-store/auth/MSP/interfaces/index.js");
|
|
15916
|
-
/* harmony import */ var _ResetPhoneNumberState_interfaces__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./ResetPhoneNumberState/interfaces */ "../../dist/@frontegg/redux-store/auth/ResetPhoneNumberState/interfaces.js");
|
|
15917
|
-
/* harmony import */ var _RolesState_interfaces__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./RolesState/interfaces */ "../../dist/@frontegg/redux-store/auth/RolesState/interfaces.js");
|
|
15918
|
-
/* harmony import */ var _Security_SecurityCenterState_interfaces__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./Security/SecurityCenterState/interfaces */ "../../dist/@frontegg/redux-store/auth/Security/SecurityCenterState/interfaces.js");
|
|
15919
|
-
/* harmony import */ var _SignUpState_interfaces__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./SignUpState/interfaces */ "../../dist/@frontegg/redux-store/auth/SignUpState/interfaces.js");
|
|
15920
|
-
/* harmony import */ var _SSOState_interfaces__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./SSOState/interfaces */ "../../dist/@frontegg/redux-store/auth/SSOState/interfaces.js");
|
|
15921
|
-
/* harmony import */ var _TeamState_interfaces__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./TeamState/interfaces */ "../../dist/@frontegg/redux-store/auth/TeamState/interfaces.js");
|
|
15922
|
-
/* harmony import */ var _interfaces__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./interfaces */ "../../dist/@frontegg/redux-store/auth/interfaces.js");
|
|
15923
15904
|
|
|
15924
15905
|
|
|
15925
15906
|
const _excluded = ["routes"],
|
|
@@ -15991,6 +15972,7 @@ const _excluded = ["routes"],
|
|
|
15991
15972
|
|
|
15992
15973
|
|
|
15993
15974
|
|
|
15975
|
+
|
|
15994
15976
|
|
|
15995
15977
|
|
|
15996
15978
|
const createAuthState = _overrideState => {
|
|
@@ -16008,9 +15990,7 @@ const createAuthState = _overrideState => {
|
|
|
16008
15990
|
user: null,
|
|
16009
15991
|
error: undefined,
|
|
16010
15992
|
errorByRequest: {},
|
|
16011
|
-
|
|
16012
|
-
loading: false
|
|
16013
|
-
}
|
|
15993
|
+
userIp: undefined
|
|
16014
15994
|
}, overrideState, {
|
|
16015
15995
|
// nested states
|
|
16016
15996
|
acceptInvitationState: (0,_AcceptInvitationState__WEBPACK_IMPORTED_MODULE_21__["default"])(overrideState == null ? void 0 : overrideState.acceptInvitationState),
|
|
@@ -17925,7 +17905,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
17925
17905
|
/* harmony import */ var _subscriptions_interfaces__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./subscriptions/interfaces */ "../../dist/@frontegg/redux-store/subscriptions/interfaces.js");
|
|
17926
17906
|
/* harmony import */ var _vendor__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./vendor */ "../../dist/@frontegg/redux-store/vendor/index.js");
|
|
17927
17907
|
/* harmony import */ var _audits__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./audits */ "../../dist/@frontegg/redux-store/audits/index.js");
|
|
17928
|
-
/** @license Frontegg v7.
|
|
17908
|
+
/** @license Frontegg v7.36.0-alpha.0
|
|
17929
17909
|
*
|
|
17930
17910
|
* This source code is licensed under the MIT license found in the
|
|
17931
17911
|
* LICENSE file in the root directory of this source tree.
|
|
@@ -19230,9 +19210,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
19230
19210
|
ip
|
|
19231
19211
|
} = _dummy__WEBPACK_IMPORTED_MODULE_2__.dummyIps[0];
|
|
19232
19212
|
await actions.setAuthState({
|
|
19233
|
-
|
|
19234
|
-
ip
|
|
19235
|
-
}
|
|
19213
|
+
userIp: ip
|
|
19236
19214
|
});
|
|
19237
19215
|
callback == null ? void 0 : callback(true, ip);
|
|
19238
19216
|
} catch (e) {
|
|
@@ -25092,8 +25070,6 @@ class ContextHolder {
|
|
|
25092
25070
|
this.appName = null;
|
|
25093
25071
|
this.sessionContext = void 0;
|
|
25094
25072
|
this.basename = null;
|
|
25095
|
-
this.cdnUrl = null;
|
|
25096
|
-
this.assetsUrl = null;
|
|
25097
25073
|
this.setContext = context => {
|
|
25098
25074
|
this.context = context;
|
|
25099
25075
|
};
|
|
@@ -25149,18 +25125,6 @@ class ContextHolder {
|
|
|
25149
25125
|
this.getAppName = () => {
|
|
25150
25126
|
return this.appName;
|
|
25151
25127
|
};
|
|
25152
|
-
this.setCdnUrl = cdnUrl => {
|
|
25153
|
-
this.cdnUrl = cdnUrl;
|
|
25154
|
-
};
|
|
25155
|
-
this.getCdnUrl = () => {
|
|
25156
|
-
return this.cdnUrl;
|
|
25157
|
-
};
|
|
25158
|
-
this.setAssetsUrl = assets => {
|
|
25159
|
-
this.assetsUrl = assets;
|
|
25160
|
-
};
|
|
25161
|
-
this.getAssetsUrl = () => {
|
|
25162
|
-
return this.assetsUrl;
|
|
25163
|
-
};
|
|
25164
25128
|
}
|
|
25165
25129
|
static default() {
|
|
25166
25130
|
return ContextHolder.getInstance(DEFAULT_APP_NAME);
|
|
@@ -27874,7 +27838,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
27874
27838
|
/* harmony import */ var _entitlements_interfaces__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./entitlements/interfaces */ "../../dist/@frontegg/rest-api/entitlements/interfaces.js");
|
|
27875
27839
|
/* harmony import */ var _security_center_interfaces__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./security-center/interfaces */ "../../dist/@frontegg/rest-api/security-center/interfaces.js");
|
|
27876
27840
|
/* harmony import */ var _applications_interfaces__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./applications/interfaces */ "../../dist/@frontegg/rest-api/applications/interfaces.js");
|
|
27877
|
-
/** @license Frontegg v7.
|
|
27841
|
+
/** @license Frontegg v7.36.0-alpha.0
|
|
27878
27842
|
*
|
|
27879
27843
|
* This source code is licensed under the MIT license found in the
|
|
27880
27844
|
* LICENSE file in the root directory of this source tree.
|
|
@@ -30504,7 +30468,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
30504
30468
|
/* harmony export */ });
|
|
30505
30469
|
/* harmony import */ var _ThemeOptions__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ThemeOptions */ "../../dist/@frontegg/types/ThemeOptions/index.js");
|
|
30506
30470
|
/* harmony import */ var _Metadata__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Metadata */ "../../dist/@frontegg/types/Metadata/index.js");
|
|
30507
|
-
/** @license Frontegg v7.
|
|
30471
|
+
/** @license Frontegg v7.36.0-alpha.0
|
|
30508
30472
|
*
|
|
30509
30473
|
* This source code is licensed under the MIT license found in the
|
|
30510
30474
|
* LICENSE file in the root directory of this source tree.
|