@nuskin/cs-product-lib 1.4.5 → 1.4.6-mm-123.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/helpers.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuskin/cs-product-lib",
3
- "version": "1.4.5",
3
+ "version": "1.4.6-mm-123.1",
4
4
  "description": "Library for pulling and parsing product content (and applying business logic) retrieved from Contentstack",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
package/src/helpers.js CHANGED
@@ -516,7 +516,7 @@ function handleDerivativesImage(image, useWebp, width, height, quality, transfor
516
516
  }
517
517
  if (derivatives.transformBaseUrl && useDAT) {
518
518
  const imgURL = buildTransformUrl(derivatives.transformBaseUrl, useWebp, width, height, quality, transform)
519
- const thumbnail = `${derivatives.transformBaseUrl}${useWebp ? '.webp' : ''}?quality=85&io=transform:fill,width:50,height:50`
519
+ const thumbnail = `${derivatives.transformBaseUrl}${useWebp ? '.webp' : ''}?quality=95&io=transform:fill,width:200,height:200`
520
520
  return {
521
521
  url: imgURL,
522
522
  alt: getImageAlt(image),