@frontegg/js 6.0.1-alpha.1 → 6.0.1-alpha.2

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.
@@ -140,7 +140,7 @@ export class FronteggApp {
140
140
  }
141
141
 
142
142
  async loadLoginBox() {
143
- const FronteggLoginBox = await this.loadScript('http://localhost:3001/index.js', 'FronteggLoginBox');
143
+ const FronteggLoginBox = await this.loadScript('https://assets.frontegg.com/admin-box/login-box/6.0.1-alpha.2/index.js', 'FronteggLoginBox');
144
144
  FronteggLoginBox.render(this.loginBoxEl, {
145
145
  injector: this,
146
146
  options: this.options
@@ -155,7 +155,7 @@ export class FronteggApp {
155
155
  }
156
156
 
157
157
  async showAdminPortal() {
158
- const FronteggAdminPortal = await this.loadScript('http://localhost:3002/index.js', 'FronteggAdminPortal');
158
+ const FronteggAdminPortal = await this.loadScript('https://assets.frontegg.com/admin-box/admin-portal/6.0.1-alpha.2/index.js', 'FronteggAdminPortal');
159
159
  FronteggAdminPortal.render(this.adminPortalEl, {
160
160
  injector: this,
161
161
  options: this.options
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license Frontegg v6.0.1-alpha.1
1
+ /** @license Frontegg v6.0.1-alpha.2
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.
@@ -156,7 +156,7 @@ class FronteggApp {
156
156
  }
157
157
 
158
158
  async loadLoginBox() {
159
- const FronteggLoginBox = await this.loadScript('http://localhost:3001/index.js', 'FronteggLoginBox');
159
+ const FronteggLoginBox = await this.loadScript('https://assets.frontegg.com/admin-box/login-box/6.0.1-alpha.2/index.js', 'FronteggLoginBox');
160
160
  FronteggLoginBox.render(this.loginBoxEl, {
161
161
  injector: this,
162
162
  options: this.options
@@ -171,7 +171,7 @@ class FronteggApp {
171
171
  }
172
172
 
173
173
  async showAdminPortal() {
174
- const FronteggAdminPortal = await this.loadScript('http://localhost:3002/index.js', 'FronteggAdminPortal');
174
+ const FronteggAdminPortal = await this.loadScript('https://assets.frontegg.com/admin-box/admin-portal/6.0.1-alpha.2/index.js', 'FronteggAdminPortal');
175
175
  FronteggAdminPortal.render(this.adminPortalEl, {
176
176
  injector: this,
177
177
  options: this.options
package/node/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license Frontegg v6.0.1-alpha.1
1
+ /** @license Frontegg v6.0.1-alpha.2
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/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@frontegg/js",
3
- "version": "6.0.1-alpha.1",
3
+ "version": "6.0.1-alpha.2",
4
4
  "main": "./node/index.js",
5
5
  "license": "MIT",
6
6
  "dependencies": {
7
7
  "@babel/runtime": "^7.17.2",
8
- "@frontegg/types": "6.0.1-alpha.1"
8
+ "@frontegg/types": "6.0.1-alpha.2"
9
9
  },
10
10
  "sideEffects": false,
11
11
  "private": false,