Skip to content

Commit

Permalink
[ci] release 2022-7 (#15)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and github-actions[bot] authored Oct 21, 2022
1 parent 702df8f commit 117ad0e
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 31 deletions.
5 changes: 0 additions & 5 deletions .changeset/brown-bags-perform.md

This file was deleted.

25 changes: 0 additions & 25 deletions .changeset/seven-boxes-hope.md

This file was deleted.

28 changes: 28 additions & 0 deletions packages/react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# @shopify/hydrogen-react

## 2022.7.1

### Patch Changes

- 702df8f: Fixed issue with TypeScript not being able to find the typings for `@shopify/hydrogen-react/storefront-api-types`
- b9c3940: Add `<CartProvider/>` and releated hooks & types.

Component:

- `<CartProvider/>`

Hooks:

- `useCart()`
- `useCartFetch()`
- `useInstantCheckout()`

Types:

- `CartState`
- `CartStatus`
- `Cart`
- `CartWithActions`
- `CartAction`

Also updated `flattenConnection()` to better handle a `null` or `undefined` argument.
2 changes: 1 addition & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@shopify/hydrogen-react",
"version": "2022.7.0",
"version": "2022.7.1",
"description": "React components, hooks, and utilities for creating custom Shopify storefronts",
"homepage": "https://github.com/Shopify/hydrogen-ui/tree/main/packages/react",
"license": "MIT",
Expand Down

0 comments on commit 117ad0e

Please sign in to comment.