@gymmymac/bob-widget 3.2.13 → 3.2.14
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 +9 -0
- package/dist/index.js +21 -21
- package/dist/index.mjs +1877 -1874
- package/dist/types/context.d.ts +5 -0
- package/dist/types/product.d.ts +8 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,15 @@ All notable changes to the `@gymmymac/bob-widget` package will be documented in
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [v3.2.14] - 2026-03-09
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
|
|
12
|
+
- **onAddToCart payload now includes vehicle_id and bundle metadata** — Both manual product clicks and bundle tier adds now populate `vehicle_id` from the identified vehicle, fixing silent cart drops on CARFIX integration.
|
|
13
|
+
- **Bundle tier adds now carry full metadata** — `MobileProductColumn` and `ServicePackageDetailView` attach `_bundleMeta` (is_bundle_item, bundle_discount_percentage, service_package_name, service_package_id, quality_tier) to every product in a tier add, which `Bob.tsx` spreads into the `CartItem` payload.
|
|
14
|
+
- **Unified add-to-cart handler** — Extracted duplicated inline handlers into a single `handleAddToCart` callback in `Bob.tsx`, eliminating inconsistency between mobile and inline variants.
|
|
15
|
+
- **CartItem type extended** — Added `is_bundle_item`, `bundle_discount_percentage`, `service_package_name`, `service_package_id`, and `quality_tier` fields to match the CARFIX contract.
|
|
16
|
+
|
|
8
17
|
## [v3.2.13] - 2026-03-09
|
|
9
18
|
|
|
10
19
|
### Fixed
|