tf-checkout-react 2.0.0-beta.24 → 2.0.0-beta.25
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/docs/API.md +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -7,16 +7,16 @@ components, plus the shared API and React Query hooks. Which paths a buyer can
|
|
|
7
7
|
actually use depend on the event, the deployed API, the buyer's session and the
|
|
8
8
|
payment provider.
|
|
9
9
|
|
|
10
|
-
This reference describes **2.0.0-beta.
|
|
10
|
+
This reference describes **2.0.0-beta.25**. It is a prerelease with a different
|
|
11
11
|
API from 1.x. Pin the version while evaluating it. npm's `latest` and `beta`
|
|
12
12
|
tags can move independently and an unqualified install may select 1.x:
|
|
13
13
|
|
|
14
14
|
```bash
|
|
15
15
|
npm view tf-checkout-react dist-tags
|
|
16
|
-
npm install tf-checkout-react@2.0.0-beta.
|
|
16
|
+
npm install tf-checkout-react@2.0.0-beta.25 @tanstack/react-query react react-dom
|
|
17
17
|
```
|
|
18
18
|
|
|
19
|
-
The [API reference](https://unpkg.com/tf-checkout-react@2.0.0-beta.
|
|
19
|
+
The [API reference](https://unpkg.com/tf-checkout-react@2.0.0-beta.25/docs/API.md)
|
|
20
20
|
is included as `docs/API.md` in this package.
|
|
21
21
|
|
|
22
22
|
Contents: [Requirements](#requirements) · [Quick start](#quick-start) ·
|
|
@@ -354,7 +354,7 @@ holder's answers in `ticketDataCapture`, and add-on answers via
|
|
|
354
354
|
the opaque catalog ID. Use backend country/state IDs for `countryId` and
|
|
355
355
|
`stateId`; `countryCode` / `stateCode` are payment billing codes.
|
|
356
356
|
|
|
357
|
-
In beta.
|
|
357
|
+
In beta.25 conditional custom-field requiredness is left to the backend and
|
|
358
358
|
not all hosted-checkout conditional visibility is reproduced. Verify the
|
|
359
359
|
actual event against the deployed checkout, including blanks, images, holder
|
|
360
360
|
scoping and validation errors; do not claim parity from the presence of a
|
|
@@ -366,7 +366,7 @@ Failed waiver reads other than a 404 remain unknown and block placement; use
|
|
|
366
366
|
`reloadCheckoutDetails()` to retry rather than silently skipping it.
|
|
367
367
|
`WaiverSigning` handles the SDK's signing flow.
|
|
368
368
|
|
|
369
|
-
**Consent limitation in beta.
|
|
369
|
+
**Consent limitation in beta.25:** when `privacyPolicy` is supplied, the
|
|
370
370
|
stock `BillingInfo` replaces the Ticket Fairy marketing checkbox with the
|
|
371
371
|
required privacy checkbox, but both use `consent.ttfOptIn`; the order sends
|
|
372
372
|
that value as `ttf_opt_in`. The privacy acknowledgement and Ticket Fairy
|
|
@@ -819,7 +819,7 @@ existing 1.x integration pinned until the new flow and backend are verified.
|
|
|
819
819
|
There is no automatic translation of old URLs, component props, account
|
|
820
820
|
sessions or persisted 1.x state.
|
|
821
821
|
|
|
822
|
-
| 1.x integration | 2.0.0-beta.
|
|
822
|
+
| 1.x integration | 2.0.0-beta.25 approach |
|
|
823
823
|
| --- | --- |
|
|
824
824
|
| `setConfigs({ BASE_URL, ... })` | `configureCheckout({ env` or `baseUrl`, `clientId`, `clientSecret: ''`, ... `})`; public client registration and session setup are required. |
|
|
825
825
|
| `TicketsContainer`, `SeatMapContainer`, `AddOnsContainer` | `EmbeddedCheckout` or `Tickets`, `SeatMap`, `AddOns` under `CheckoutProvider`. Adapt callbacks and navigation. |
|
package/docs/API.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# React checkout API reference
|
|
2
2
|
|
|
3
3
|
This reference describes the public surface of `tf-checkout-react` version
|
|
4
|
-
`2.0.0-beta.
|
|
4
|
+
`2.0.0-beta.25`. It supplements the package's npm README with examples and an
|
|
5
5
|
inventory of the shared facade and hooks. The package's installed
|
|
6
6
|
`dist/index.d.ts` is the exact versioned source for complete signatures and
|
|
7
7
|
DTO fields. A named export or a typed payment method does not establish that
|
package/package.json
CHANGED