@frontegg/js 6.50.0 → 6.51.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.
@@ -189,7 +189,9 @@ export var FronteggApp = /*#__PURE__*/function () {
189
189
  this.checkoutDialogContainer = elements.checkoutDialogContainer;
190
190
 
191
191
  try {
192
- document.body.classList.add('frontegg-loading');
192
+ if (this.options.framework !== 'nextjs') {
193
+ document.body.classList.add('frontegg-loading');
194
+ }
193
195
  } catch (e) {}
194
196
 
195
197
  _context4.next = 9;
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license Frontegg v6.50.0
1
+ /** @license Frontegg v6.51.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.
@@ -212,7 +212,9 @@ var FronteggApp = /*#__PURE__*/function () {
212
212
  this.checkoutDialogContainer = elements.checkoutDialogContainer;
213
213
 
214
214
  try {
215
- document.body.classList.add('frontegg-loading');
215
+ if (this.options.framework !== 'nextjs') {
216
+ document.body.classList.add('frontegg-loading');
217
+ }
216
218
  } catch (e) {}
217
219
 
218
220
  _context4.next = 9;
package/node/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license Frontegg v6.50.0
1
+ /** @license Frontegg v6.51.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.50.0"
8
+ "cdnVersion": "6.51.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.50.0",
3
+ "version": "6.51.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.50.0"
8
+ "@frontegg/types": "6.51.0"
9
9
  },
10
10
  "browserslist": {
11
11
  "production": [