Comparing version 2.0.4 to 2.0.5
# Changelog | ||
## [2.0.5] | ||
### Changed | ||
- Fixed a bug in server-side rendering where `window` was `undefined`. | ||
## [2.0.4] | ||
@@ -4,0 +10,0 @@ |
@@ -55,2 +55,4 @@ "use strict"; | ||
function defaultPortalUrl() { | ||
if (window === undefined) return "/"; // default to path root on ssr | ||
var url = new URL(window.location.href); | ||
@@ -57,0 +59,0 @@ return url.href.substring(0, url.href.indexOf(url.pathname)); |
{ | ||
"name": "skynet-js", | ||
"version": "2.0.4", | ||
"version": "2.0.5", | ||
"description": "Sia Skynet Javascript Client", | ||
@@ -5,0 +5,0 @@ "main": "dist/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
44760
838