@lime-bundles/react 6.2.0 → 7.1.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 CHANGED
@@ -43,6 +43,7 @@ Same props for `<VolumeBundle>` and `<MixMatchBundle>`.
43
43
  | `onError` | `(error: Error) => void` | | Fires on fetch, parse, or cart failure. |
44
44
  | `locale` | `string` | | BCP-47 tag forwarded to the Storefront API. |
45
45
  | `className` | `string` | | Applied to the outer wrapper. |
46
+ | `productId` | `string` | | The product page the component is rendered on — full GID or bare numeric id. `<VolumeBundle>` prices and sells this product; without it, it falls back to the bundle's first product, so always pass it for bundles spanning more than one product. |
46
47
 
47
48
  `CartLineInput` matches Shopify Hydrogen's shape. A structural-compat test guards the contract across versions. Always preserve `attributes[]` so `_lime_bundle_gid` reaches Shopify; the `orders/create` webhook keys off it for purchase attribution.
48
49