@seatlayer/react 0.114.0 → 0.116.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.
Files changed (2) hide show
  1. package/README.md +37 -0
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -54,6 +54,43 @@ selects and **holds**, and your trusted server **books** the hold.
54
54
  npm install @seatlayer/react
55
55
  ```
56
56
 
57
+ ## Upgrading to 0.116.0
58
+
59
+ Nothing needs a code change, and no type or prop changed. What a buyer may now see:
60
+
61
+ - **A held Season seat has a ✕.** Removing one seat from a Season hold lets the
62
+ whole hold go and holds the seats kept again as one new hold, so your
63
+ `onHoldChange` sees `null` and then a hold with a new operation id. The last
64
+ seat's ✕ simply releases it. There is no ✕ where your selection rules
65
+ (`numberOfPlacesToSelect`, `selectionValidators`) would refuse the seats
66
+ kept, nor while sales are closed.
67
+ - **Season single dates**, only on a Season the organizer sells by date as
68
+ well, with SeatLayer's own checkout, on a page that mints its own session:
69
+ step 1 offers "Single dates" beside the passes, and the buyer books the same
70
+ seat on the dates they tick, each at its own price, in one checkout.
71
+ Everywhere else nothing changes.
72
+ - **One version of the SDK.** If your app also installs `@seatlayer/js`
73
+ itself, move it to 0.116.0 as well.
74
+
75
+ ## Upgrading to 0.115.0
76
+
77
+ Nothing needs a code change, and no type or prop changed. What a buyer may now see:
78
+
79
+ - **A Season map shows the package price.** The map's hover card, its
80
+ screen-reader line and the price legend show the price of the package being
81
+ bought, not one date's ticket price. If a category has no package price, the
82
+ map shows no price rather than a wrong one.
83
+ - **A Season hold that runs out says so on screen**, above the map, in one
84
+ sentence. On a phone the step line no longer shows a step number, and a
85
+ Season of several dates no longer shows only its first date in the map's
86
+ header.
87
+ - **With `webMcp` on**, the browser tools load from one more small file, so
88
+ they register a moment later. If you serve your own copy of the CDN files,
89
+ copy `seatlayer-webmcp.mjs` beside `seatlayer.js`. Without it, the tools are
90
+ not registered (a console warning says why) and the picker works as usual.
91
+ - **One version of the SDK.** If your app also installs `@seatlayer/js`
92
+ itself, move it to 0.115.0 as well.
93
+
57
94
  ## Upgrading to 0.114.0
58
95
 
59
96
  No existing type or prop changed. Two additions, and what a buyer may now see.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seatlayer/react",
3
- "version": "0.114.0",
3
+ "version": "0.116.0",
4
4
  "description": "SeatLayer's official React seating chart and seat map SDK: live availability, seat selection, temporary holds, and a typed TypeScript API for ticketing apps.",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -73,8 +73,8 @@
73
73
  "typescript"
74
74
  ],
75
75
  "dependencies": {
76
- "@seatlayer/core": "0.114.0",
77
- "@seatlayer/js": "0.114.0"
76
+ "@seatlayer/core": "0.116.0",
77
+ "@seatlayer/js": "0.116.0"
78
78
  },
79
79
  "peerDependencies": {
80
80
  "react": ">=17.0.0"