@seatlayer/angular 0.67.15 → 0.69.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 +5 -1
- package/dist/README.md +5 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -60,6 +60,7 @@ import { SeatLayerSeatingChartComponent, type SelectedSeat } from '@seatlayer/an
|
|
|
60
60
|
<seatlayer-seating-chart
|
|
61
61
|
#chart
|
|
62
62
|
event="ev_9f3a"
|
|
63
|
+
publicKey="pk_live_your_publishable_key"
|
|
63
64
|
style="display:block; height:520px"
|
|
64
65
|
(selectionChange)="onSelectionChange($event)"
|
|
65
66
|
(hold)="bookOnYourServer($event.holdId)"
|
|
@@ -89,7 +90,7 @@ export class CheckoutComponent {
|
|
|
89
90
|
| `selectableObjects` | `string[] \| null` | Buyer-selectable allow-list. |
|
|
90
91
|
| `numberOfPlacesToSelect` | `number` | Exact count required for a valid selection. |
|
|
91
92
|
| `selectionValidators` | `PickerSelectionValidator[]` | Minimum, consecutive-seat, and no-orphan guards. |
|
|
92
|
-
| `publicKey` | `string` |
|
|
93
|
+
| `publicKey` | `string` | Publishable browser key for public Platform events. Configure the browser origin in SeatLayer. |
|
|
93
94
|
| `locale` | `string` | BCP-47 locale for built-in copy. |
|
|
94
95
|
| `currency` | `string` | ISO currency for price formatting. |
|
|
95
96
|
| `colorblindSafe` | `boolean` | Render colorblind-safe seat glyphs. |
|
|
@@ -167,6 +168,9 @@ and books** the hold after payment or order validation.
|
|
|
167
168
|
|
|
168
169
|
- Never ship a SeatLayer secret key in browser code or a bundled environment
|
|
169
170
|
file.
|
|
171
|
+
- A `pk_` public key is designed for browser code. SeatLayer binds it to the
|
|
172
|
+
configured origin and event; keep private-channel access behind a server-minted
|
|
173
|
+
`buyerAccessTokenProvider`.
|
|
170
174
|
- Send only the `holdId` and your normal checkout context to your backend.
|
|
171
175
|
- Calculate the charge from server-inspected hold items, not from browser input.
|
|
172
176
|
- Reuse your stable order id as `bookingRef` so a retried booking is idempotent.
|
package/dist/README.md
CHANGED
|
@@ -60,6 +60,7 @@ import { SeatLayerSeatingChartComponent, type SelectedSeat } from '@seatlayer/an
|
|
|
60
60
|
<seatlayer-seating-chart
|
|
61
61
|
#chart
|
|
62
62
|
event="ev_9f3a"
|
|
63
|
+
publicKey="pk_live_your_publishable_key"
|
|
63
64
|
style="display:block; height:520px"
|
|
64
65
|
(selectionChange)="onSelectionChange($event)"
|
|
65
66
|
(hold)="bookOnYourServer($event.holdId)"
|
|
@@ -89,7 +90,7 @@ export class CheckoutComponent {
|
|
|
89
90
|
| `selectableObjects` | `string[] \| null` | Buyer-selectable allow-list. |
|
|
90
91
|
| `numberOfPlacesToSelect` | `number` | Exact count required for a valid selection. |
|
|
91
92
|
| `selectionValidators` | `PickerSelectionValidator[]` | Minimum, consecutive-seat, and no-orphan guards. |
|
|
92
|
-
| `publicKey` | `string` |
|
|
93
|
+
| `publicKey` | `string` | Publishable browser key for public Platform events. Configure the browser origin in SeatLayer. |
|
|
93
94
|
| `locale` | `string` | BCP-47 locale for built-in copy. |
|
|
94
95
|
| `currency` | `string` | ISO currency for price formatting. |
|
|
95
96
|
| `colorblindSafe` | `boolean` | Render colorblind-safe seat glyphs. |
|
|
@@ -167,6 +168,9 @@ and books** the hold after payment or order validation.
|
|
|
167
168
|
|
|
168
169
|
- Never ship a SeatLayer secret key in browser code or a bundled environment
|
|
169
170
|
file.
|
|
171
|
+
- A `pk_` public key is designed for browser code. SeatLayer binds it to the
|
|
172
|
+
configured origin and event; keep private-channel access behind a server-minted
|
|
173
|
+
`buyerAccessTokenProvider`.
|
|
170
174
|
- Send only the `holdId` and your normal checkout context to your backend.
|
|
171
175
|
- Calculate the charge from server-inspected hold items, not from browser input.
|
|
172
176
|
- Reuse your stable order id as `bookingRef` so a retried booking is idempotent.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@seatlayer/angular",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.69.0",
|
|
4
4
|
"description": "SeatLayer's official Angular 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": {
|
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
"typescript"
|
|
37
37
|
],
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@seatlayer/core": "0.
|
|
40
|
-
"@seatlayer/js": "0.
|
|
39
|
+
"@seatlayer/core": "0.69.0",
|
|
40
|
+
"@seatlayer/js": "0.69.0",
|
|
41
41
|
"tslib": "^2.8.1"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|