@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.
@@ -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$authOpt, _this$options$auditsO;
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$authOpt = this.options.authOptions) != null ? _this$options$authOpt : {},
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
@@ -1,4 +1,4 @@
1
- /** @license Frontegg v6.9.0
1
+ /** @license Frontegg v6.10.0
2
2
  *
3
3
  * This source code is licensed under the MIT license found in the
4
4
  * LICENSE file in the root directory of this source tree.
@@ -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$authOpt, _this$options$auditsO;
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$authOpt = this.options.authOptions) != null ? _this$options$authOpt : {},
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
@@ -1,4 +1,4 @@
1
- /** @license Frontegg v6.9.0
1
+ /** @license Frontegg v6.10.0
2
2
  *
3
3
  * This source code is licensed under the MIT license found in the
4
4
  * LICENSE file in the root directory of this source tree.
package/node/version.js CHANGED
@@ -5,6 +5,6 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.default = void 0;
7
7
  var _default = {
8
- "cdnVersion": "6.9.0"
8
+ "cdnVersion": "6.10.0"
9
9
  };
10
10
  exports.default = _default;
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@frontegg/js",
3
- "version": "6.9.0",
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.9.0"
8
+ "@frontegg/types": "6.10.0"
9
9
  },
10
10
  "sideEffects": false,
11
11
  "private": false,
package/version.js CHANGED
@@ -1,3 +1,3 @@
1
1
  export default {
2
- "cdnVersion": "6.9.0"
2
+ "cdnVersion": "6.10.0"
3
3
  };