react-cloudimage-responsive
Advanced tools
Comparing version 3.0.3 to 3.0.4
@@ -39,3 +39,3 @@ 'use strict'; | ||
_this.updateDimensions = (0, _throttleDebounce.debounce)(100, function () { | ||
_this.setState({ innerWidth: window.innerWidth }); | ||
_this.setState({ innerWidth: window && window.innerWidth }); | ||
}); | ||
@@ -85,3 +85,3 @@ var _config$token = config.token, | ||
params: params, | ||
innerWidth: window.innerWidth, | ||
innerWidth: window && window.innerWidth, | ||
previewQualityFactor: 10, | ||
@@ -88,0 +88,0 @@ doNotReplaceURL: doNotReplaceURL |
{ | ||
"name": "react-cloudimage-responsive", | ||
"version": "3.0.3", | ||
"version": "3.0.4", | ||
"main": "dist/index.js", | ||
@@ -42,3 +42,3 @@ "description": "Cloudimage Responsive will smartly resize, compress and accelerate images across the World in your site for all devices. The plugin supports lazy loading technique with fancy animation on image load.", | ||
"dependencies": { | ||
"cloudimage-responsive-utils": "^1.0.4", | ||
"cloudimage-responsive-utils": "^1.1.3", | ||
"core-js": "^3.0.0", | ||
@@ -45,0 +45,0 @@ "react-lazyload": "^2.3.0", |
42310