@frontegg/js
Advanced tools
Comparing version 7.40.0 to 7.41.0-alpha.0
@@ -19,2 +19,3 @@ import { EntitledToOptions, Entitlement, FronteggStore, IsSteppedUpOptions, StepUpOptions } from '@frontegg/redux-store'; | ||
cdnUrl: string; | ||
assetsUrl: string; | ||
customElementName: string; | ||
@@ -21,0 +22,0 @@ adminPortalEl?: HTMLElement; |
@@ -7,3 +7,3 @@ import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray"; | ||
import * as FronteggReduxStore from '@frontegg/redux-store'; | ||
import { createStore, getFeatureEntitlements as _getFeatureEntitlements, getPermissionEntitlements as _getPermissionEntitlements, isSteppedUp as _isSteppedUp, redirectByStepUpUrl, retryIfNeeded, DEFAULT_RETRY_CONFIG, errorTraceId, REQUEST_NAME } from '@frontegg/redux-store'; | ||
import { createStore, DEFAULT_RETRY_CONFIG, errorTraceId, getFeatureEntitlements as _getFeatureEntitlements, getPermissionEntitlements as _getPermissionEntitlements, isSteppedUp as _isSteppedUp, redirectByStepUpUrl, REQUEST_NAME, retryIfNeeded } from '@frontegg/redux-store'; | ||
import * as FronteggTypes from '@frontegg/types'; | ||
@@ -31,2 +31,3 @@ import { Metadata } from '@frontegg/types'; | ||
this.cdnUrl = "https://assets.frontegg.com/admin-box/".concat(versions.cdnVersion); | ||
this.assetsUrl = "https://adminBox.frontegg.com/admin-box/".concat(versions.cdnVersion); | ||
this.customElementName = ''; | ||
@@ -203,2 +204,7 @@ this.adminPortalEl = void 0; | ||
} | ||
if (this.options.assetsUrl) { | ||
this.assetsUrl = this.options.assetsUrl; | ||
} | ||
ContextHolder["for"](this.name).setCdnUrl(this.cdnUrl); | ||
ContextHolder["for"](this.name).setAssetsUrl(this.assetsUrl); | ||
this.customElementName = customElementName; | ||
@@ -205,0 +211,0 @@ var authOptions = this.options.authOptions ? Object.assign({}, this.options.authOptions, { |
@@ -1,2 +0,2 @@ | ||
/** @license Frontegg v7.40.0 | ||
/** @license Frontegg v7.41.0-alpha.0 | ||
* | ||
@@ -3,0 +3,0 @@ * This source code is licensed under the MIT license found in the |
@@ -37,2 +37,3 @@ "use strict"; | ||
this.cdnUrl = "https://assets.frontegg.com/admin-box/".concat(_version["default"].cdnVersion); | ||
this.assetsUrl = "https://adminBox.frontegg.com/admin-box/".concat(_version["default"].cdnVersion); | ||
this.customElementName = ''; | ||
@@ -209,2 +210,7 @@ this.adminPortalEl = void 0; | ||
} | ||
if (this.options.assetsUrl) { | ||
this.assetsUrl = this.options.assetsUrl; | ||
} | ||
FronteggRestApi.ContextHolder["for"](this.name).setCdnUrl(this.cdnUrl); | ||
FronteggRestApi.ContextHolder["for"](this.name).setAssetsUrl(this.assetsUrl); | ||
this.customElementName = customElementName; | ||
@@ -211,0 +217,0 @@ var authOptions = this.options.authOptions ? Object.assign({}, this.options.authOptions, { |
@@ -1,2 +0,2 @@ | ||
/** @license Frontegg v7.40.0 | ||
/** @license Frontegg v7.41.0-alpha.0 | ||
* | ||
@@ -3,0 +3,0 @@ * This source code is licensed under the MIT license found in the |
@@ -8,4 +8,4 @@ "use strict"; | ||
var _default = { | ||
cdnVersion: '7.40.0' | ||
cdnVersion: '7.41.0-alpha.0' | ||
}; | ||
exports["default"] = _default; |
{ | ||
"name": "@frontegg/js", | ||
"version": "7.40.0", | ||
"version": "7.41.0-alpha.0", | ||
"main": "./node/index.js", | ||
@@ -9,3 +9,3 @@ "license": "MIT", | ||
"@babel/runtime": "^7.18.6", | ||
"@frontegg/types": "7.40.0" | ||
"@frontegg/types": "7.41.0-alpha.0" | ||
}, | ||
@@ -12,0 +12,0 @@ "browserslist": { |
@@ -38,3 +38,3 @@ /*! | ||
/** @license Frontegg v7.40.0 | ||
/** @license Frontegg v7.41.0-alpha.0 | ||
* | ||
@@ -41,0 +41,0 @@ * This source code is licensed under the MIT license found in the |
export default { | ||
cdnVersion: '7.40.0' | ||
cdnVersion: '7.41.0-alpha.0' | ||
}; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2113061
35733
2
36
+ Added@frontegg/redux-store@7.41.0-alpha.0(transitive)
+ Added@frontegg/rest-api@7.41.0-alpha.0(transitive)
+ Added@frontegg/types@7.41.0-alpha.0(transitive)
- Removed@frontegg/redux-store@7.40.0(transitive)
- Removed@frontegg/rest-api@7.40.0(transitive)
- Removed@frontegg/types@7.40.0(transitive)