@acromedia/gesso-shopify
6.1.2
Patch Changes
- 0df1323: Fix: make
total
cart adjustment be fully formated price with currency code and symbol.
6.1.1
Patch Changes
- df2aeeb: Fix: throw an error if the update method is called and the graphql responds with something other than the updated quantity.
6.1.0
Minor Changes
- da18e67: Update types related to Order and PageInfo, moving them to the Core package
Patch Changes
- Updated dependencies [da18e67]
- @acromedia/gesso-core@6.2.0
6.0.5
Patch Changes
- a98eeac: Fix: properly map selected cart item options to
properties.optionsSelected
property. - Updated dependencies [a98eeac]
- Updated dependencies [a98eeac]
- @acromedia/gesso-core@6.1.4
6.0.4
Patch Changes
- Updated dependencies [3bcf44c]
- @acromedia/gesso-core@6.1.3
6.0.3
Patch Changes
- Updated dependencies [66ed396]
- @acromedia/gesso-core@6.1.2
6.0.2
Patch Changes
- Updated dependencies [baa721c]
- @acromedia/gesso-core@6.1.1
6.0.1
Patch Changes
- e8fa722: TS type fixes
- Updated dependencies [0a5c916]
- @acromedia/gesso-core@6.1.0
6.0.0
Major Changes
-
609c5e9: ### Cart
- Removed deprecated fields:
subtotal
,total
, andtotalItems
from the Cart type and the cartConversion function. - These are now returned as part of the
adjustments
array
Product
- Removed config condition to
includeFacetFilterData
- This is now returned by default to align with
useProductSearch
results:
const facets = res?.data?.search?.productFilters;
const pageInfo = res?.data?.search?.pageInfo;
return {
products: products ?? [],
facets: facets.map((facet) => buildFacet(facet)),
pageInfo: {
products: {
startCursor: pageInfo.startCursor ?? '',
endCursor: pageInfo.endCursor ?? '',
hasNextPage: pageInfo.hasNextPage,
hasPreviousPage: pageInfo.hasPreviousPage,
totalItems: res.data.search.totalCount,
},
},
}; - Removed deprecated fields:
Patch Changes
- Updated dependencies [609c5e9]
- @acromedia/gesso-core@6.0.0
5.5.2
Patch Changes
- Updated dependencies [cc252ca]
- @acromedia/gesso-core@5.3.2
5.5.1
Patch Changes
- Updated dependencies [2b606f9]
- @acromedia/gesso-core@5.3.1
5.5.0
Minor Changes
- d2b78e0: Adds individual update methods for updateEmail, updateName, updateAddress, updatePrimaryAddress, deleteAddress and addAddress to align with current Customer commerce interface and stay up to date with deprecations as it relates to update method.