@quantaroute/checkout 1.8.0 → 1.8.2
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/CHANGELOG.md +19 -0
- package/README.md +107 -1002
- package/dist/embed/quantaroute-checkout.js +1 -1
- package/dist/lib/index.d.ts +2 -1
- package/dist/lib/quantaroute-checkout.es.js +35 -33
- package/dist/lib/quantaroute-checkout.umd.js +13 -11
- package/package.json +3 -9
- package/src/components/CheckoutWidget.native.tsx +7 -1
- package/src/components/CheckoutWidget.tsx +8 -5
- package/src/components/MapPinSelector.native.tsx +8 -3
- package/src/components/SavedAddressStep.tsx +39 -5
- package/src/core/map-runtime.ts +4 -0
- package/src/core/types.ts +2 -1
- package/src/embed/handoff.ts +0 -1
- package/src/embed/index.tsx +6 -6
- package/src/embed/handoff.test.ts +0 -86
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,25 @@ Release dates are from git history where available; earlier versions are estimat
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [1.8.2] — 2026-11-28
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
- **Deliver here** on a saved address now responds on the first click. The button shows a spinner ("Confirming…") and every action in the list is disabled until the step finishes, so repeated clicks no longer send duplicate requests.
|
|
14
|
+
- If selecting a saved address fails, the step shows the error and re-enables the button. Previously nothing happened on screen.
|
|
15
|
+
- `onSelectAddress` in `SavedAddressStepProps` may now return a promise.
|
|
16
|
+
|
|
17
|
+
## [1.8.1] — 2026-11-24
|
|
18
|
+
|
|
19
|
+
### Fixed
|
|
20
|
+
|
|
21
|
+
- **Native map**: the native widget never passed a maps key, so `maps.quantaroute.com` refused the style (403). It now passes `mapsKey` (defaulting to `apiKey`), and the native search gets `apiKey` too. Without a key, the native map falls back to Carto Positron.
|
|
22
|
+
|
|
23
|
+
### Changed
|
|
24
|
+
|
|
25
|
+
- The hosted checkout functions URL is now the default, so `supabaseFunctionBaseUrl` / `data-functions-url` / `functionsUrl` are optional, and on web `mapsKey` defaults to `apiKey`. A setup needs only `merchantId` and the public `dp_` key.
|
|
26
|
+
- README rewritten for developers: platform support (native is address capture only; sign-in is web only), keys, server-side verification, funnel events.
|
|
27
|
+
- The npm package no longer ships test files, and the broken `repository` / `bugs` links are removed.
|
|
28
|
+
|
|
10
29
|
## [1.8.0] — 2026-11-16
|
|
11
30
|
|
|
12
31
|
### Added
|