UNPKG

@redotech/redo-hydrogen

Version:

Utilities to enable and disable Redo coverage on Hydrogen stores

95 lines (52 loc) 1.72 kB
## 2.0.0 - **Breaking:** migrate from Remix to React Router 7 (requires `@shopify/hydrogen` >=2025.7.0) - Update all peer dependencies for Hydrogen 2025.7+ compatibility - Themes still using Remix should use the [1.x releases](https://github.com/redoapp/redo-hydrogen/tree/release/1.4) ## 1.x ### 1.4.7 - Add hook to disable pre-order buttons from Purple Dot when using shop on site ### 1.4.6 - Bugfix: bad deployment ### 1.4.5 - Support Redo chat widget conversation attribution ### 1.4.4 - Bugfix: remove InfoModal using relative parent not document.head ### 1.4.3 - Append redo opted in attributes to cart attributes instead of replacing ### 1.4.2 - Fix Hydrogen mismatched deps ### 1.4.1 - Allow older and newer versions of Hydrogen - Change default background color of modal to white ### 1.4.0 - Add InfoCard ### 1.3.1 - Remove unused prop from CheckoutButtons ### 1.3.0 - Add a spinner visual after button clicked and navigating to cart - Bugfixes and improved types for optimistic carts ### 1.2.2 - Bugfixes ### 1.2.1 - Fix root types exports ### 1.2.0 - If cart is a CartWithActionsDocs, use those cart manipulation functions instead of fetchers ### 1.1.3 - Allow both Cart and CartWithActionsDocs as cart inputs - Retrieve cart lines from either cart.lines.nodes or cart.lines.edges.nodes ### 1.1.2 - Update exports to include RedoError and RedoErrorType ### 1.1.1 - Add errors field to RedoCoverageClient - Add eligible field to RedoCoverageClient - Price returns undefined if not eligible or not loaded - Bugfixes ### 1.1.0 - Remove need for storeId and cart props on CheckoutButtons - Bugfixes ### 1.0.2 - Bugfixes ### 1.0.1 - Bugfixes ### 1.0.0 - Initial release