@frontegg/js 7.14.0-alpha.0 → 7.14.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 +1 -1
- package/node/index.js +1 -1
- package/node/version.js +1 -1
- package/package.json +2 -2
- package/umd/frontegg.development.js +17 -4
- 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.14.0-alpha.
|
|
3
|
+
"version": "7.14.0-alpha.1",
|
|
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.14.0-alpha.
|
|
9
|
+
"@frontegg/types": "7.14.0-alpha.1"
|
|
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.14.0-alpha.
|
|
1589
|
+
cdnVersion: '7.14.0-alpha.1'
|
|
1590
1590
|
});
|
|
1591
1591
|
|
|
1592
1592
|
/***/ }),
|
|
@@ -17643,7 +17643,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
17643
17643
|
/* harmony import */ var _subscriptions_interfaces__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./subscriptions/interfaces */ "../../dist/@frontegg/redux-store/subscriptions/interfaces.js");
|
|
17644
17644
|
/* harmony import */ var _vendor__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./vendor */ "../../dist/@frontegg/redux-store/vendor/index.js");
|
|
17645
17645
|
/* harmony import */ var _audits__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./audits */ "../../dist/@frontegg/redux-store/audits/index.js");
|
|
17646
|
-
/** @license Frontegg v7.14.0-alpha.
|
|
17646
|
+
/** @license Frontegg v7.14.0-alpha.1
|
|
17647
17647
|
*
|
|
17648
17648
|
* This source code is licensed under the MIT license found in the
|
|
17649
17649
|
* LICENSE file in the root directory of this source tree.
|
|
@@ -25423,7 +25423,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
25423
25423
|
/* harmony export */ });
|
|
25424
25424
|
/* harmony import */ var _ThemeOptions__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ThemeOptions */ "../../dist/@frontegg/types/ThemeOptions/index.js");
|
|
25425
25425
|
/* harmony import */ var _Metadata__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Metadata */ "../../dist/@frontegg/types/Metadata/index.js");
|
|
25426
|
-
/** @license Frontegg v7.14.0-alpha.
|
|
25426
|
+
/** @license Frontegg v7.14.0-alpha.1
|
|
25427
25427
|
*
|
|
25428
25428
|
* This source code is licensed under the MIT license found in the
|
|
25429
25429
|
* LICENSE file in the root directory of this source tree.
|
|
@@ -27966,6 +27966,11 @@ class AuthenticationApi extends _BaseApiClient__WEBPACK_IMPORTED_MODULE_6__.Base
|
|
|
27966
27966
|
return this.generateLoginResponseV3(data);
|
|
27967
27967
|
};
|
|
27968
27968
|
|
|
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
|
+
|
|
27969
27974
|
this.getActivateAccountStrategy = async params => {
|
|
27970
27975
|
return this.get(`${_constants__WEBPACK_IMPORTED_MODULE_11__.urls.identity.users.v1}/activate/strategy`, params);
|
|
27971
27976
|
};
|
|
@@ -27982,6 +27987,10 @@ class AuthenticationApi extends _BaseApiClient__WEBPACK_IMPORTED_MODULE_6__.Base
|
|
|
27982
27987
|
return this.post(`${_constants__WEBPACK_IMPORTED_MODULE_11__.urls.identity.users.v1}/invitation/accept`, body);
|
|
27983
27988
|
};
|
|
27984
27989
|
|
|
27990
|
+
this.acceptInvitationWithOTC = async body => {
|
|
27991
|
+
return this.post(`${_constants__WEBPACK_IMPORTED_MODULE_11__.urls.identity.users.v1}/invitation/accept/code`, body);
|
|
27992
|
+
};
|
|
27993
|
+
|
|
27985
27994
|
this.refreshToken = async () => {
|
|
27986
27995
|
const tabTenantId = (0,_utils__WEBPACK_IMPORTED_MODULE_5__.getTabTenantFromSessionStorage)(this.appName);
|
|
27987
27996
|
const data = await this.post(`${_constants__WEBPACK_IMPORTED_MODULE_11__.urls.identity.auth.v1}/user/token/refresh`, {
|
|
@@ -28278,6 +28287,10 @@ class AuthenticationApi extends _BaseApiClient__WEBPACK_IMPORTED_MODULE_6__.Base
|
|
|
28278
28287
|
queryParams.code_verifier = params.codeVerifier;
|
|
28279
28288
|
}
|
|
28280
28289
|
|
|
28290
|
+
if (params.codeVerifierPkce) {
|
|
28291
|
+
queryParams.code_verifier_pkce = params.codeVerifierPkce;
|
|
28292
|
+
}
|
|
28293
|
+
|
|
28281
28294
|
if (params.state) {
|
|
28282
28295
|
queryParams.state = params.state;
|
|
28283
28296
|
}
|
|
@@ -29943,7 +29956,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
29943
29956
|
/* harmony import */ var _entitlements_interfaces__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./entitlements/interfaces */ "../../node_modules/@frontegg/rest-api/entitlements/interfaces.js");
|
|
29944
29957
|
/* harmony import */ var _security_center_interfaces__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./security-center/interfaces */ "../../node_modules/@frontegg/rest-api/security-center/interfaces.js");
|
|
29945
29958
|
/* harmony import */ var _applications_interfaces__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./applications/interfaces */ "../../node_modules/@frontegg/rest-api/applications/interfaces.js");
|
|
29946
|
-
/** @license Frontegg v3.2.
|
|
29959
|
+
/** @license Frontegg v3.2.2
|
|
29947
29960
|
*
|
|
29948
29961
|
* This source code is licensed under the MIT license found in the
|
|
29949
29962
|
* LICENSE file in the root directory of this source tree.
|