Which package version do I need for the newer features?
Check the installed npm package or hosted script before using recently added features.
Check the DOM Package version resolved by your application's lockfile. Updating the npm dependency updates its methods and TypeScript definitions; a Hosted Package script update does not update that npm dependency.
| DOM Package feature | Minimum version |
|---|---|
| Calendar-first service availability | 1.7.1 |
| Custom guest invitations | 1.9.1 |
| Booking cancellation/rescheduling and date, time, and party-size preselection | 1.11.0 |
| Saved-card form and manager | 1.12.0 |
| Access Pass and Guest Pass balances | 1.13.0 |
Memberships and public plans with getMemberships() | 1.14.0 |
For the Hosted Package, use the script URL in the installation guide and check window.Tiquo.version in the browser console. Automatic marketing forms, indexed profile contacts and addresses, phone-country fields, and authentication form events require 1.3.0 or newer. Profile forms that keep markup defaults for empty controls and leave an untouched title or Tax ID unchanged require 1.3.2. These bindings do not require an npm package installation.
Use the method examples for the package you installed. See DOM Package setup, the DOM example and source, and the Webflow example.