@equinor/fusion
Advanced tools
Comparing version 0.1.46 to 0.1.47
@@ -7,3 +7,3 @@ export default class AuthApp { | ||
updateResources(resources) { | ||
resources.forEach(resource => { | ||
resources.map(resource => resource.toLowerCase()).forEach(resource => { | ||
if (this.resources.indexOf(resource) === -1) { | ||
@@ -10,0 +10,0 @@ this.resources.push(resource); |
@@ -115,3 +115,3 @@ import AuthApp from "./AuthApp"; | ||
const url = new URL(resource); | ||
return url.origin; | ||
return url.origin.toLowerCase(); | ||
} | ||
@@ -118,0 +118,0 @@ catch (_a) { |
{ | ||
"name": "@equinor/fusion", | ||
"version": "0.1.46", | ||
"version": "0.1.47", | ||
"description": "Everything a Fusion app needs to communicate with the core", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
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
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
117595