@frontegg/js 7.99.0 → 7.100.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 +12 -11
- 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.100.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.
|
|
9
|
+
"@frontegg/types": "7.100.0-alpha.1"
|
|
10
10
|
},
|
|
11
11
|
"browserslist": {
|
|
12
12
|
"production": [
|
|
@@ -1839,7 +1839,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1839
1839
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
1840
1840
|
/* harmony export */ });
|
|
1841
1841
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
|
|
1842
|
-
cdnVersion: '7.
|
|
1842
|
+
cdnVersion: '7.100.0-alpha.1'
|
|
1843
1843
|
});
|
|
1844
1844
|
|
|
1845
1845
|
/***/ }),
|
|
@@ -10565,9 +10565,10 @@ const _excluded = ["callback", "profilePictureUrl"];
|
|
|
10565
10565
|
loading: true
|
|
10566
10566
|
});
|
|
10567
10567
|
try {
|
|
10568
|
-
const profile = await (0,_helpers__WEBPACK_IMPORTED_MODULE_2__.retry)(api.
|
|
10568
|
+
const profile = await (0,_helpers__WEBPACK_IMPORTED_MODULE_2__.retry)(api.auth.getMeAndEntitlements, 3, 2000);
|
|
10569
10569
|
const currentUser = store.auth.user;
|
|
10570
|
-
|
|
10570
|
+
const mergedUser = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__["default"])({}, currentUser, profile);
|
|
10571
|
+
actions.setUser(mergedUser);
|
|
10571
10572
|
setProfileState({
|
|
10572
10573
|
profile,
|
|
10573
10574
|
loading: false
|
|
@@ -10666,13 +10667,13 @@ const _excluded = ["callback", "profilePictureUrl"];
|
|
|
10666
10667
|
const newProfileData = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__["default"])({}, oldProfileData, payload, {
|
|
10667
10668
|
profilePictureUrl: newProfilePictureUrl
|
|
10668
10669
|
});
|
|
10669
|
-
|
|
10670
|
-
//TODO: change the payload type to IUpdateUserProfile which is the right type to send, currently we send more data then actually needed.
|
|
10671
|
-
const profile = await api.users.updateUserProfileV2(newProfileData);
|
|
10670
|
+
await api.users.updateUserProfileV2(newProfileData);
|
|
10672
10671
|
const currentUser = store.auth.user;
|
|
10673
|
-
|
|
10672
|
+
const completeUserData = await (0,_helpers__WEBPACK_IMPORTED_MODULE_2__.retry)(api.auth.getMeAndEntitlements, 3, 2000);
|
|
10673
|
+
const mergedUser = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__["default"])({}, currentUser, completeUserData);
|
|
10674
|
+
actions.setUser(mergedUser);
|
|
10674
10675
|
actions.setProfileState({
|
|
10675
|
-
profile,
|
|
10676
|
+
profile: completeUserData,
|
|
10676
10677
|
saving: false,
|
|
10677
10678
|
loading: false
|
|
10678
10679
|
});
|
|
@@ -19810,7 +19811,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
19810
19811
|
/* harmony import */ var _subscriptions_interfaces__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./subscriptions/interfaces */ "../../dist/@frontegg/redux-store/subscriptions/interfaces.js");
|
|
19811
19812
|
/* harmony import */ var _vendor__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./vendor */ "../../dist/@frontegg/redux-store/vendor/index.js");
|
|
19812
19813
|
/* harmony import */ var _audits__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./audits */ "../../dist/@frontegg/redux-store/audits/index.js");
|
|
19813
|
-
/** @license Frontegg v7.
|
|
19814
|
+
/** @license Frontegg v7.100.0-alpha.1
|
|
19814
19815
|
*
|
|
19815
19816
|
* This source code is licensed under the MIT license found in the
|
|
19816
19817
|
* LICENSE file in the root directory of this source tree.
|
|
@@ -30137,7 +30138,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
30137
30138
|
/* harmony import */ var _security_center_interfaces__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./security-center/interfaces */ "../../dist/@frontegg/rest-api/security-center/interfaces.js");
|
|
30138
30139
|
/* harmony import */ var _applications_interfaces__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./applications/interfaces */ "../../dist/@frontegg/rest-api/applications/interfaces.js");
|
|
30139
30140
|
/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./constants */ "../../dist/@frontegg/rest-api/constants.js");
|
|
30140
|
-
/** @license Frontegg v7.
|
|
30141
|
+
/** @license Frontegg v7.100.0-alpha.1
|
|
30141
30142
|
*
|
|
30142
30143
|
* This source code is licensed under the MIT license found in the
|
|
30143
30144
|
* LICENSE file in the root directory of this source tree.
|
|
@@ -32932,7 +32933,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
32932
32933
|
/* harmony export */ });
|
|
32933
32934
|
/* harmony import */ var _ThemeOptions__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ThemeOptions */ "../../dist/@frontegg/types/ThemeOptions/index.js");
|
|
32934
32935
|
/* harmony import */ var _Metadata__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Metadata */ "../../dist/@frontegg/types/Metadata/index.js");
|
|
32935
|
-
/** @license Frontegg v7.
|
|
32936
|
+
/** @license Frontegg v7.100.0-alpha.1
|
|
32936
32937
|
*
|
|
32937
32938
|
* This source code is licensed under the MIT license found in the
|
|
32938
32939
|
* LICENSE file in the root directory of this source tree.
|