@wix/image-kit
Advanced tools
Comparing version 1.23.0 to 1.24.0
{ | ||
"name": "@wix/image-kit", | ||
"description": "Standard library for generating canonical URL's for optimally consuming images at Wix", | ||
"version": "1.23.0", | ||
"version": "1.24.0", | ||
"license": "MIT", | ||
@@ -18,3 +18,4 @@ "author": { | ||
"publishConfig": { | ||
"registry": "https://registry.npmjs.org/" | ||
"registry": "https://registry.npmjs.org/", | ||
"access": "public" | ||
}, | ||
@@ -21,0 +22,0 @@ "scripts": { |
@@ -16,7 +16,7 @@ | ||
```js | ||
import imageKit from 'image-kit'; | ||
import { sdk } from '@wix/image-kit'; | ||
const img = new Image(); | ||
img.src = imageKit.getScaleToFillImageUrl('some-image.jpg', 1200, 800, 640, 480, { quality: 90 }); | ||
img.src = sdk.getScaleToFillImageUrl('some-image.jpg', 1200, 800, 640, 480, { quality: 90 }); | ||
``` | ||
@@ -23,0 +23,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
548152