@shapediver/viewer.shared.services
Advanced tools
Comparing version 1.12.5 to 1.12.6
@@ -59,4 +59,6 @@ "use strict"; | ||
} | ||
const response = yield this.get(href, config); | ||
resolve(response); | ||
else { | ||
const response = yield this.get(href, config); | ||
resolve(response); | ||
} | ||
})); | ||
@@ -63,0 +65,0 @@ return yield this._dataCache[dataKey]; |
@@ -32,2 +32,6 @@ export declare class SystemInfo { | ||
/** | ||
* Check if we are running in Firefox | ||
*/ | ||
get isFirefox(): boolean; | ||
/** | ||
* Check if we are running in a browser | ||
@@ -34,0 +38,0 @@ */ |
@@ -88,2 +88,11 @@ "use strict"; | ||
/** | ||
* Check if we are running in Firefox | ||
*/ | ||
get isFirefox() { | ||
const browserName = this._parser.getBrowser().name; | ||
console.log(browserName); | ||
return !!(browserName && browserName.includes('Firefox')); | ||
} | ||
; | ||
/** | ||
* Check if we are running in a browser | ||
@@ -90,0 +99,0 @@ */ |
{ | ||
"name": "@shapediver/viewer.shared.services", | ||
"version": "1.12.5", | ||
"version": "1.12.6", | ||
"description": "", | ||
@@ -44,3 +44,3 @@ "keywords": [], | ||
"@shapediver/viewer.settings": "*", | ||
"@shapediver/viewer.shared.build-data": "1.12.5", | ||
"@shapediver/viewer.shared.build-data": "1.12.6", | ||
"@types/dompurify": "^2.3.1", | ||
@@ -56,3 +56,3 @@ "@types/ua-parser-js": "^0.7.36", | ||
}, | ||
"gitHead": "cd648ec4f2c16e23d306b3886df79e18e9b01fe8" | ||
"gitHead": "21376d3133e04cec556c4c66641fad5a689acb47" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
202951
2634
+ Added@shapediver/viewer.shared.build-data@1.12.6(transitive)
- Removed@shapediver/viewer.shared.build-data@1.12.5(transitive)