@sitelintcode/optimize-image-on-the-client-side 0.0.9 → 0.0.10
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.
package/README.md
CHANGED
|
@@ -33,7 +33,7 @@ jsdelivr.com comment:
|
|
|
33
33
|
## TypeScript
|
|
34
34
|
|
|
35
35
|
```TypeScript
|
|
36
|
-
import OptimizeImage from '@
|
|
36
|
+
import { OptimizeImage } from '@sitelintcode/optimize-image-on-the-client-side';
|
|
37
37
|
|
|
38
38
|
const optimizeImage: OptimizeImage = new OptimizeImage();
|
|
39
39
|
|
|
@@ -8,7 +8,7 @@ declare class OptimizeImage {
|
|
|
8
8
|
private handleChangeEvent;
|
|
9
9
|
addImageOptimization(cssQuerySelector: string): void;
|
|
10
10
|
uninstall(): void;
|
|
11
|
-
install(cssQuerySelector
|
|
11
|
+
install(cssQuerySelector?: string | undefined, onCompressionDoneCallback?: Function): void;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
export { OptimizeImage };
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@sitelintcode/optimize-image-on-the-client-side",
|
|
3
3
|
"description": "Optimize image on the client side",
|
|
4
4
|
"author": "Cezary Tomczyk <cezary.tomczyk@gmail.com> (https://www.sitelint.com/)",
|
|
5
|
-
"version": "0.0.
|
|
5
|
+
"version": "0.0.10",
|
|
6
6
|
"license": "MOZILLA PUBLIC LICENSE, VERSION 2.0",
|
|
7
7
|
"node": ">=16",
|
|
8
8
|
"main": "dist/optimize-image-on-the-client-side.js",
|