@frontegg/js 7.0.0-alpha.4 → 7.0.0-alpha.5
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 +13 -9
- package/umd/frontegg.production.min.js +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.0.0-alpha.
|
|
3
|
+
"version": "7.0.0-alpha.5",
|
|
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.0.0-alpha.
|
|
9
|
+
"@frontegg/types": "7.0.0-alpha.5"
|
|
10
10
|
},
|
|
11
11
|
"browserslist": {
|
|
12
12
|
"production": [
|
|
@@ -1533,7 +1533,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1533
1533
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
1534
1534
|
/* harmony export */ });
|
|
1535
1535
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
|
|
1536
|
-
cdnVersion: '7.0.0-alpha.
|
|
1536
|
+
cdnVersion: '7.0.0-alpha.5'
|
|
1537
1537
|
});
|
|
1538
1538
|
|
|
1539
1539
|
/***/ }),
|
|
@@ -17223,7 +17223,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
17223
17223
|
/* harmony import */ var _subscriptions_interfaces__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./subscriptions/interfaces */ "../../dist/@frontegg/redux-store/subscriptions/interfaces.js");
|
|
17224
17224
|
/* harmony import */ var _vendor__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./vendor */ "../../dist/@frontegg/redux-store/vendor/index.js");
|
|
17225
17225
|
/* harmony import */ var _audits__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./audits */ "../../dist/@frontegg/redux-store/audits/index.js");
|
|
17226
|
-
/** @license Frontegg v7.0.0-alpha.
|
|
17226
|
+
/** @license Frontegg v7.0.0-alpha.5
|
|
17227
17227
|
*
|
|
17228
17228
|
* This source code is licensed under the MIT license found in the
|
|
17229
17229
|
* LICENSE file in the root directory of this source tree.
|
|
@@ -23666,10 +23666,12 @@ const createStore = options => {
|
|
|
23666
23666
|
auditLogs: auditsState,
|
|
23667
23667
|
audits: oldAuditsState
|
|
23668
23668
|
});
|
|
23669
|
-
(
|
|
23670
|
-
|
|
23671
|
-
|
|
23672
|
-
|
|
23669
|
+
if (typeof window !== 'undefined' && (localStorage['DEBUG_FRONTEGG_STORE'] === 'true' || "development" === 'development')) {
|
|
23670
|
+
(0,valtio_utils__WEBPACK_IMPORTED_MODULE_11__.devtools)(store, {
|
|
23671
|
+
name: `${appName} Store`,
|
|
23672
|
+
enabled: true
|
|
23673
|
+
});
|
|
23674
|
+
}
|
|
23673
23675
|
const stateActions = {};
|
|
23674
23676
|
const actions = {};
|
|
23675
23677
|
_frontegg_rest_api__WEBPACK_IMPORTED_MODULE_3__.ContextHolder.setContext(options.context);
|
|
@@ -23722,6 +23724,9 @@ const createStore = options => {
|
|
|
23722
23724
|
payload: true
|
|
23723
23725
|
});
|
|
23724
23726
|
}
|
|
23727
|
+
if (holder) {
|
|
23728
|
+
holder.store = fronteggStore;
|
|
23729
|
+
}
|
|
23725
23730
|
return fronteggStore;
|
|
23726
23731
|
} else {
|
|
23727
23732
|
const [authActions, authStateActions] = (0,_auth__WEBPACK_IMPORTED_MODULE_2__.buildAuthActions)(store, api, actions, snapshotAuthState);
|
|
@@ -24255,8 +24260,7 @@ const defaultMetadata = {
|
|
|
24255
24260
|
visibility: 'always'
|
|
24256
24261
|
},
|
|
24257
24262
|
privacy: {
|
|
24258
|
-
visibility: 'always'
|
|
24259
|
-
permissions: ['fe.secure.read.securityPolicy']
|
|
24263
|
+
visibility: 'always'
|
|
24260
24264
|
},
|
|
24261
24265
|
account: {
|
|
24262
24266
|
visibility: 'always',
|
|
@@ -24568,7 +24572,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
24568
24572
|
/* harmony export */ });
|
|
24569
24573
|
/* harmony import */ var _ThemeOptions__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ThemeOptions */ "../../dist/@frontegg/types/ThemeOptions/index.js");
|
|
24570
24574
|
/* harmony import */ var _Metadata__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Metadata */ "../../dist/@frontegg/types/Metadata/index.js");
|
|
24571
|
-
/** @license Frontegg v7.0.0-alpha.
|
|
24575
|
+
/** @license Frontegg v7.0.0-alpha.5
|
|
24572
24576
|
*
|
|
24573
24577
|
* This source code is licensed under the MIT license found in the
|
|
24574
24578
|
* LICENSE file in the root directory of this source tree.
|