@frontegg/js 7.14.0-alpha.1 → 7.15.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 +1 -1
- package/node/index.js +1 -1
- package/node/version.js +1 -1
- package/package.json +2 -2
- package/umd/frontegg.development.js +7 -19
- package/umd/frontegg.production.min.js +1 -1
- package/umd/frontegg.production.min.js.LICENSE.txt +1 -1
- package/version.js +1 -1
package/index.js
CHANGED
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.15.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.15.0"
|
|
10
10
|
},
|
|
11
11
|
"browserslist": {
|
|
12
12
|
"production": [
|
|
@@ -1586,7 +1586,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1586
1586
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
1587
1587
|
/* harmony export */ });
|
|
1588
1588
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
|
|
1589
|
-
cdnVersion: '7.
|
|
1589
|
+
cdnVersion: '7.15.0'
|
|
1590
1590
|
});
|
|
1591
1591
|
|
|
1592
1592
|
/***/ }),
|
|
@@ -7132,7 +7132,8 @@ const defaultFronteggRoutes = {
|
|
|
7132
7132
|
magicLinkCallbackUrl: '/account/login/magic-link',
|
|
7133
7133
|
hostedLoginRedirectUrl: '/oauth/callback',
|
|
7134
7134
|
openAppUrl: '/account/redirect',
|
|
7135
|
-
unlockAccountUrl: '/account/unlock'
|
|
7135
|
+
unlockAccountUrl: '/account/unlock',
|
|
7136
|
+
mfaMobileAuthenticator: '/account/mfa-mobile-authenticator'
|
|
7136
7137
|
};
|
|
7137
7138
|
|
|
7138
7139
|
/***/ }),
|
|
@@ -17643,7 +17644,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
17643
17644
|
/* harmony import */ var _subscriptions_interfaces__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./subscriptions/interfaces */ "../../dist/@frontegg/redux-store/subscriptions/interfaces.js");
|
|
17644
17645
|
/* harmony import */ var _vendor__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./vendor */ "../../dist/@frontegg/redux-store/vendor/index.js");
|
|
17645
17646
|
/* harmony import */ var _audits__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./audits */ "../../dist/@frontegg/redux-store/audits/index.js");
|
|
17646
|
-
/** @license Frontegg v7.
|
|
17647
|
+
/** @license Frontegg v7.15.0
|
|
17647
17648
|
*
|
|
17648
17649
|
* This source code is licensed under the MIT license found in the
|
|
17649
17650
|
* LICENSE file in the root directory of this source tree.
|
|
@@ -24110,7 +24111,7 @@ const createStore = options => {
|
|
|
24110
24111
|
auditLogs: auditsState,
|
|
24111
24112
|
audits: oldAuditsState
|
|
24112
24113
|
});
|
|
24113
|
-
if (typeof window !== 'undefined' && (localStorage['DEBUG_FRONTEGG_STORE'] === 'true' || "development" === 'development')) {
|
|
24114
|
+
if (typeof window !== 'undefined' && window.localStorage && (window.localStorage['DEBUG_FRONTEGG_STORE'] === 'true' || "development" === 'development')) {
|
|
24114
24115
|
(0,_valtio__WEBPACK_IMPORTED_MODULE_10__.devtools)(store, {
|
|
24115
24116
|
name: `${appName} Store`,
|
|
24116
24117
|
enabled: true
|
|
@@ -25423,7 +25424,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
25423
25424
|
/* harmony export */ });
|
|
25424
25425
|
/* harmony import */ var _ThemeOptions__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ThemeOptions */ "../../dist/@frontegg/types/ThemeOptions/index.js");
|
|
25425
25426
|
/* harmony import */ var _Metadata__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Metadata */ "../../dist/@frontegg/types/Metadata/index.js");
|
|
25426
|
-
/** @license Frontegg v7.
|
|
25427
|
+
/** @license Frontegg v7.15.0
|
|
25427
25428
|
*
|
|
25428
25429
|
* This source code is licensed under the MIT license found in the
|
|
25429
25430
|
* LICENSE file in the root directory of this source tree.
|
|
@@ -27966,11 +27967,6 @@ class AuthenticationApi extends _BaseApiClient__WEBPACK_IMPORTED_MODULE_6__.Base
|
|
|
27966
27967
|
return this.generateLoginResponseV3(data);
|
|
27967
27968
|
};
|
|
27968
27969
|
|
|
27969
|
-
this.activateAccountWithOTC = async body => {
|
|
27970
|
-
const data = await this.post(`${_constants__WEBPACK_IMPORTED_MODULE_11__.urls.identity.users.v1}/activate/code`, body);
|
|
27971
|
-
return this.generateLoginResponseV3(data);
|
|
27972
|
-
};
|
|
27973
|
-
|
|
27974
27970
|
this.getActivateAccountStrategy = async params => {
|
|
27975
27971
|
return this.get(`${_constants__WEBPACK_IMPORTED_MODULE_11__.urls.identity.users.v1}/activate/strategy`, params);
|
|
27976
27972
|
};
|
|
@@ -27987,10 +27983,6 @@ class AuthenticationApi extends _BaseApiClient__WEBPACK_IMPORTED_MODULE_6__.Base
|
|
|
27987
27983
|
return this.post(`${_constants__WEBPACK_IMPORTED_MODULE_11__.urls.identity.users.v1}/invitation/accept`, body);
|
|
27988
27984
|
};
|
|
27989
27985
|
|
|
27990
|
-
this.acceptInvitationWithOTC = async body => {
|
|
27991
|
-
return this.post(`${_constants__WEBPACK_IMPORTED_MODULE_11__.urls.identity.users.v1}/invitation/accept/code`, body);
|
|
27992
|
-
};
|
|
27993
|
-
|
|
27994
27986
|
this.refreshToken = async () => {
|
|
27995
27987
|
const tabTenantId = (0,_utils__WEBPACK_IMPORTED_MODULE_5__.getTabTenantFromSessionStorage)(this.appName);
|
|
27996
27988
|
const data = await this.post(`${_constants__WEBPACK_IMPORTED_MODULE_11__.urls.identity.auth.v1}/user/token/refresh`, {
|
|
@@ -28287,10 +28279,6 @@ class AuthenticationApi extends _BaseApiClient__WEBPACK_IMPORTED_MODULE_6__.Base
|
|
|
28287
28279
|
queryParams.code_verifier = params.codeVerifier;
|
|
28288
28280
|
}
|
|
28289
28281
|
|
|
28290
|
-
if (params.codeVerifierPkce) {
|
|
28291
|
-
queryParams.code_verifier_pkce = params.codeVerifierPkce;
|
|
28292
|
-
}
|
|
28293
|
-
|
|
28294
28282
|
if (params.state) {
|
|
28295
28283
|
queryParams.state = params.state;
|
|
28296
28284
|
}
|
|
@@ -29956,7 +29944,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
29956
29944
|
/* harmony import */ var _entitlements_interfaces__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./entitlements/interfaces */ "../../node_modules/@frontegg/rest-api/entitlements/interfaces.js");
|
|
29957
29945
|
/* harmony import */ var _security_center_interfaces__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./security-center/interfaces */ "../../node_modules/@frontegg/rest-api/security-center/interfaces.js");
|
|
29958
29946
|
/* harmony import */ var _applications_interfaces__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./applications/interfaces */ "../../node_modules/@frontegg/rest-api/applications/interfaces.js");
|
|
29959
|
-
/** @license Frontegg v3.2.
|
|
29947
|
+
/** @license Frontegg v3.2.1
|
|
29960
29948
|
*
|
|
29961
29949
|
* This source code is licensed under the MIT license found in the
|
|
29962
29950
|
* LICENSE file in the root directory of this source tree.
|