@sitelintcode/optimize-image-on-the-client-side 0.0.4 → 0.0.6

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/README.md +9 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -20,7 +20,13 @@ npm install @sitelintcode/optimize-image-on-the-client-side --save
20
20
  <script src="https://cdn.jsdelivr.net/npm/@sitelintcode/optimize-image-on-the-client-side@0.0.3/dist/optimize-image-on-the-client-side.js"></script>
21
21
  ```
22
22
 
23
- Note: see **0.0.3** version. Don't forget to set desired version.
23
+ #### Notes
24
+ See **0.0.3** version. Don't forget to set desired version. You may check releases: https://github.com/sitelint/optimize-image-on-the-client-side/releases
25
+
26
+ jsdelivr.com comment:
27
+
28
+ > // omit the version completely to get the latest one
29
+ // you should NOT use this in production
24
30
 
25
31
  2. Usage:
26
32
 
@@ -38,6 +44,8 @@ Note: see **0.0.3** version. Don't forget to set desired version.
38
44
 
39
45
  ```JavaScript
40
46
  const optimizeImage = new globalThis.sitelint.OptimizeImage();
47
+
48
+ optimizeImage.install();
41
49
  ```
42
50
 
43
51
  ## Technical
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.4",
5
+ "version": "0.0.6",
6
6
  "license": "MOZILLA PUBLIC LICENSE, VERSION 2.0",
7
7
  "node": ">=16",
8
8
  "main": "dist/optimize-image-on-the-client-side.js",