leesto-connect 0.1.0 → 0.1.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.
package/README.md CHANGED
@@ -17,11 +17,17 @@ sessions** of your pages.
17
17
 
18
18
  ```html
19
19
  <script type="module"
20
- src="https://unpkg.com/leesto-connect@0.1.0/dist/leesto-connect.js"
20
+ src="https://unpkg.com/leesto-connect@0/dist/leesto-connect.js"
21
21
  data-leesto-connect></script>
22
22
  ```
23
23
 
24
- Pin the version (cache stability). Options via data attributes:
24
+ `@0` pins the **major**: patches and minors reach you automatically, a breaking
25
+ release needs a new tag. unpkg resolves the range by redirecting to the exact
26
+ version, so the entry and its lazy chunks always come from the same build
27
+ (avoid CDNs that serve ranges without redirecting). To freeze a build instead,
28
+ pin it exactly: `https://unpkg.com/leesto-connect@0.1.1/dist/leesto-connect.js`.
29
+
30
+ Options via data attributes:
25
31
 
26
32
  - `data-highlight-color="#6B8E23"` — outline color of the element picker.
27
33
  - `data-leesto-manual` — skip auto-init; call `window.LeestoConnect.connect()` yourself.