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 +8 -2
- package/dist/leesto-connect.js +187 -158
- package/dist/leesto-connect.js.map +1 -1
- package/package.json +1 -1
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
|
|
20
|
+
src="https://unpkg.com/leesto-connect@0/dist/leesto-connect.js"
|
|
21
21
|
data-leesto-connect></script>
|
|
22
22
|
```
|
|
23
23
|
|
|
24
|
-
|
|
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.
|