cloudimage-responsive-utils
Advanced tools
Comparing version 2.1.0-beta.0 to 2.1.0-beta.1
@@ -64,2 +64,3 @@ "use strict"; | ||
processQueryString: processQueryString, | ||
devicePixelRatio: devicePixelRatio, | ||
service: service | ||
@@ -78,2 +79,3 @@ })].join(''); | ||
processQueryString = props.processQueryString, | ||
devicePixelRatio = props.devicePixelRatio, | ||
service = props.service; | ||
@@ -101,2 +103,3 @@ var processOnlyWidth = config.processOnlyWidth; | ||
processOnlyWidth: processOnlyWidth, | ||
devicePixelRatio: devicePixelRatio, | ||
service: service | ||
@@ -103,0 +106,0 @@ }) : query; |
{ | ||
"name": "cloudimage-responsive-utils", | ||
"version": "2.1.0-beta.0", | ||
"version": "2.1.0-beta.1", | ||
"description": "cloudimage responsive utils", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -17,3 +17,11 @@ import { DEVICE_PIXEL_RATIO_LIST } from '../constants'; | ||
processURL ? processURL({ url, token, domain, service }) : url, | ||
getQueryString({ params: { ...config.params, ...params }, width, height, config, processQueryString, service }) | ||
getQueryString({ | ||
params: { ...config.params, ...params }, | ||
width, | ||
height, | ||
config, | ||
processQueryString, | ||
devicePixelRatio, | ||
service | ||
}) | ||
].join(''); | ||
@@ -23,3 +31,3 @@ }; | ||
const getQueryString = props => { | ||
const { params = {}, width, height, config, processQueryString, service } = props; | ||
const { params = {}, width, height, config, processQueryString, devicePixelRatio, service } = props; | ||
const { processOnlyWidth } = config; | ||
@@ -40,3 +48,3 @@ const [restParams, widthFromParam = null, heightFromParam] = processParamsExceptSizeRelated(params); | ||
return processQueryString ? | ||
processQueryString({ query, widthQ, heightQ, restParamsQ, processOnlyWidth, service }) : | ||
processQueryString({ query, widthQ, heightQ, restParamsQ, processOnlyWidth, devicePixelRatio, service }) : | ||
query; | ||
@@ -43,0 +51,0 @@ }; |
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
101781
2468