@frontegg/js 6.9.0 → 6.10.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.js +3 -2
- package/index.js +1 -1
- package/node/FronteggApp/FronteggApp.js +3 -2
- package/node/index.js +1 -1
- package/node/version.js +1 -1
- package/package.json +2 -2
- package/version.js +1 -1
|
@@ -9,7 +9,7 @@ import * as FronteggTypes from '@frontegg/types';
|
|
|
9
9
|
import versions from '../version';
|
|
10
10
|
export class FronteggApp {
|
|
11
11
|
constructor(_options, name, iframeRendering = false) {
|
|
12
|
-
var _this$options$store, _this$options$
|
|
12
|
+
var _this$options$authOpt, _this$options$store, _this$options$authOpt2, _this$options$auditsO;
|
|
13
13
|
|
|
14
14
|
this.name = void 0;
|
|
15
15
|
this.iframeRendering = void 0;
|
|
@@ -93,10 +93,11 @@ export class FronteggApp {
|
|
|
93
93
|
}) : {
|
|
94
94
|
hostedLoginBox: this.options.hostedLoginBox
|
|
95
95
|
};
|
|
96
|
+
authOptions.disableSilentRefresh = (_this$options$authOpt = this.options.authOptions) == null ? void 0 : _this$options$authOpt.disableSilentRefresh;
|
|
96
97
|
this.store = (_this$options$store = this.options.store) != null ? _this$options$store : createFronteggStore({
|
|
97
98
|
context: this.options.contextOptions
|
|
98
99
|
}, this, this.options.previewMode, authOptions, {
|
|
99
|
-
auth: (_this$options$
|
|
100
|
+
auth: (_this$options$authOpt2 = this.options.authOptions) != null ? _this$options$authOpt2 : {},
|
|
100
101
|
audits: (_this$options$auditsO = this.options.auditsOptions) != null ? _this$options$auditsO : {}
|
|
101
102
|
}, false, this.options.urlStrategy);
|
|
102
103
|
AppHolder.setInstance(appName, this);
|
package/index.js
CHANGED
|
@@ -27,7 +27,7 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
|
|
|
27
27
|
|
|
28
28
|
class FronteggApp {
|
|
29
29
|
constructor(_options, name, iframeRendering = false) {
|
|
30
|
-
var _this$options$store, _this$options$
|
|
30
|
+
var _this$options$authOpt, _this$options$store, _this$options$authOpt2, _this$options$auditsO;
|
|
31
31
|
|
|
32
32
|
this.name = void 0;
|
|
33
33
|
this.iframeRendering = void 0;
|
|
@@ -111,10 +111,11 @@ class FronteggApp {
|
|
|
111
111
|
}) : {
|
|
112
112
|
hostedLoginBox: this.options.hostedLoginBox
|
|
113
113
|
};
|
|
114
|
+
authOptions.disableSilentRefresh = (_this$options$authOpt = this.options.authOptions) == null ? void 0 : _this$options$authOpt.disableSilentRefresh;
|
|
114
115
|
this.store = (_this$options$store = this.options.store) != null ? _this$options$store : (0, _reduxStore.createFronteggStore)({
|
|
115
116
|
context: this.options.contextOptions
|
|
116
117
|
}, this, this.options.previewMode, authOptions, {
|
|
117
|
-
auth: (_this$options$
|
|
118
|
+
auth: (_this$options$authOpt2 = this.options.authOptions) != null ? _this$options$authOpt2 : {},
|
|
118
119
|
audits: (_this$options$auditsO = this.options.auditsOptions) != null ? _this$options$auditsO : {}
|
|
119
120
|
}, false, this.options.urlStrategy);
|
|
120
121
|
|
package/node/index.js
CHANGED
package/node/version.js
CHANGED
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@frontegg/js",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.10.0",
|
|
4
4
|
"main": "./node/index.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"dependencies": {
|
|
7
7
|
"@babel/runtime": "^7.18.6",
|
|
8
|
-
"@frontegg/types": "6.
|
|
8
|
+
"@frontegg/types": "6.10.0"
|
|
9
9
|
},
|
|
10
10
|
"sideEffects": false,
|
|
11
11
|
"private": false,
|
package/version.js
CHANGED