@seatlayer/js 0.69.0 → 0.70.0
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 +4 -2
- package/dist/index.cjs +789 -294
- package/dist/index.d.cts +236 -109
- package/dist/index.d.ts +236 -109
- package/dist/index.js +788 -293
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -50,11 +50,13 @@ npm install @seatlayer/js
|
|
|
50
50
|
|
|
51
51
|
No build tool? Load the hosted bundle instead — it exposes a `seatlayer`
|
|
52
52
|
global. Pin an exact version in production; the major alias always redirects to
|
|
53
|
-
the newest release in that line.
|
|
53
|
+
the newest release in that line. `seatlayer-buyer.js` is the widget on its own;
|
|
54
|
+
`seatlayer.js` is the same widget plus the organizer surfaces, for a page that
|
|
55
|
+
mounts `SeatManager` or `EmbeddedDesigner`.
|
|
54
56
|
|
|
55
57
|
```html
|
|
56
58
|
<div id="picker" style="width: 100%; height: 640px"></div>
|
|
57
|
-
<script src="https://cdn.seatlayer.io/seatlayer-js@0/seatlayer.js"></script>
|
|
59
|
+
<script src="https://cdn.seatlayer.io/seatlayer-js@0/seatlayer-buyer.js"></script>
|
|
58
60
|
<script>
|
|
59
61
|
new seatlayer.SeatPicker({ container: '#picker', event: 'ev_9f3a' }).render();
|
|
60
62
|
</script>
|