@pixelmatters/markup 1.18.6 → 1.18.7
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 +6 -6
- package/dist/widget.js +3 -3
- package/dist/widget.js.map +1 -1
- package/package.json +1 -1
- package/skills/install-markup-widget/SKILL.md +4 -4
package/README.md
CHANGED
|
@@ -37,9 +37,9 @@ CDN drop-in, no build step. Paste this just before `</body>`:
|
|
|
37
37
|
```html
|
|
38
38
|
<script type="module">
|
|
39
39
|
// Pin the exact version; esm.sh resolves it from npm
|
|
40
|
-
import { init } from 'https://esm.sh/@pixelmatters/markup@1.18.
|
|
40
|
+
import { init } from 'https://esm.sh/@pixelmatters/markup@1.18.7'
|
|
41
41
|
// or
|
|
42
|
-
// import { init } from 'https://esm.run/@pixelmatters/markup@1.18.
|
|
42
|
+
// import { init } from 'https://esm.run/@pixelmatters/markup@1.18.7'
|
|
43
43
|
|
|
44
44
|
init({
|
|
45
45
|
apiUrl: 'https://your-deployment.convex.site',
|
|
@@ -50,14 +50,14 @@ CDN drop-in, no build step. Paste this just before `</body>`:
|
|
|
50
50
|
</script>
|
|
51
51
|
```
|
|
52
52
|
|
|
53
|
-
> **Why pin the version?** CDN URLs without a version (`@pixelmatters/markup`) resolve to whatever's `latest` on npm, so a future major release will break your page with no warning. Always pin (`@pixelmatters/markup@1.18.
|
|
53
|
+
> **Why pin the version?** CDN URLs without a version (`@pixelmatters/markup`) resolve to whatever's `latest` on npm, so a future major release will break your page with no warning. Always pin (`@pixelmatters/markup@1.18.7`).
|
|
54
54
|
|
|
55
55
|
If your platform doesn't allow inline JS (some CMS / page-builder editors), use the auto-init form instead. Point a `<script src=…>` at the bundle and pass config via `data-*` attributes:
|
|
56
56
|
|
|
57
57
|
```html
|
|
58
58
|
<script
|
|
59
59
|
type="module"
|
|
60
|
-
src="https://esm.sh/@pixelmatters/markup@1.18.
|
|
60
|
+
src="https://esm.sh/@pixelmatters/markup@1.18.7"
|
|
61
61
|
data-markup-widget="true"
|
|
62
62
|
data-api-url="https://your-deployment.convex.site"
|
|
63
63
|
data-api-key="markup_..."
|
|
@@ -370,7 +370,7 @@ For a `<script>` tag drop-in (no bundler), use the inline ESM form and **pin the
|
|
|
370
370
|
|
|
371
371
|
```html
|
|
372
372
|
<script type="module">
|
|
373
|
-
import { init } from 'https://esm.sh/@pixelmatters/markup@1.18.
|
|
373
|
+
import { init } from 'https://esm.sh/@pixelmatters/markup@1.18.7'
|
|
374
374
|
|
|
375
375
|
init({
|
|
376
376
|
apiUrl: '...',
|
|
@@ -386,7 +386,7 @@ If inline JS is disallowed (some CMS / page-builder editors), use the auto-init
|
|
|
386
386
|
```html
|
|
387
387
|
<script
|
|
388
388
|
type="module"
|
|
389
|
-
src="https://esm.sh/@pixelmatters/markup@1.18.
|
|
389
|
+
src="https://esm.sh/@pixelmatters/markup@1.18.7"
|
|
390
390
|
data-markup-widget="true"
|
|
391
391
|
data-api-url="..."
|
|
392
392
|
data-api-key="..."
|
package/dist/widget.js
CHANGED
|
@@ -7508,7 +7508,7 @@ function Dc({ apiUrl: e, apiKey: t, position: n = "bottom-right", screenshots: r
|
|
|
7508
7508
|
onOpenPrivacy: () => C("privacy"),
|
|
7509
7509
|
onOpenShortcuts: () => C("shortcuts"),
|
|
7510
7510
|
onHideForSession: () => Ce({ type: "hide-with-toast" }),
|
|
7511
|
-
version: "1.18.
|
|
7511
|
+
version: "1.18.7",
|
|
7512
7512
|
dashboardUrl: i
|
|
7513
7513
|
})
|
|
7514
7514
|
}) : null,
|
|
@@ -7605,11 +7605,11 @@ function jc(e, t) {
|
|
|
7605
7605
|
a.className = "markup-shadow-root", r.appendChild(a), je({
|
|
7606
7606
|
apiUrl: t.apiUrl,
|
|
7607
7607
|
apiKey: t.apiKey,
|
|
7608
|
-
widgetVersion: "1.18.
|
|
7608
|
+
widgetVersion: "1.18.7"
|
|
7609
7609
|
}), be(t.analytics === !1 ? null : {
|
|
7610
7610
|
apiUrl: t.apiUrl,
|
|
7611
7611
|
apiKey: t.apiKey,
|
|
7612
|
-
widgetVersion: "1.18.
|
|
7612
|
+
widgetVersion: "1.18.7"
|
|
7613
7613
|
}), F("widget_loaded");
|
|
7614
7614
|
let { theme: o, analytics: s, ...c } = t;
|
|
7615
7615
|
return de(/* @__PURE__ */ Q(Ce, {
|