@acromedia/gesso-commerce
7.0.1
Patch Changes
- a3c8878: Update: update Checkout and Customer hooks to accept selected countries prop so that we can fetch the subLocations for each country when selecting a country. Add feature flag to use raw location values when updating shipping and billing locations in Checkout plugin.
- Updated dependencies [a3c8878]
- @acromedia/gesso-core@7.1.0
7.0.0
Major Changes
-
d8721b7: Removed feature flag for opting into NextJS AppRouter.
Removed generic
update
from useCustomerUse more specific update functions instead:
- updateName
- updateEmail
- updatePassword
- addAddress
- updateAddress
- updatePrimaryAddress
- deleteAddress
Patch Changes
- e0fabdb: Feat: allow placeOrder method to take in a payment object.
- Updated dependencies [d8721b7]
- Updated dependencies [e0fabdb]
- Updated dependencies [92ee5d2]
- Updated dependencies [4dd9862]
- @acromedia/gesso-core@7.0.0
6.2.1
Patch Changes
- e60450e: Skip the useProduct api call if the id and the product options haven't changed
6.2.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.1.9
Patch Changes
- Updated dependencies [a98eeac]
- Updated dependencies [a98eeac]
- @acromedia/gesso-core@6.1.4
6.1.8
Patch Changes
- ff21b16: fix: allow formatCurrency currency argument to be undefined and if it is return an empty string to stop NumberFormat from crashing.
6.1.7
Patch Changes
- Updated dependencies [3bcf44c]
- @acromedia/gesso-core@6.1.3
6.1.6
Patch Changes
- ae8c363: Fix: allow checkout plugin to return the full order from its methods to allow for a full update if needed.
6.1.5
Patch Changes
-
7f61668: Update: add shippingInfo to Order type so the methods can be returned in checkout response.
-
66ed396: Add: shippingInfo.shippingMethods property on Order type as type ShippingMethodsOptions.
Deprecate: shippingInfo.methods removing V8 use shippingInfo.shippingMethods instead.
-
Updated dependencies [66ed396]
- @acromedia/gesso-core@6.1.2
6.1.4
Patch Changes
- Updated dependencies [baa721c]
- @acromedia/gesso-core@6.1.1
6.1.3
Patch Changes
- 80eddc0: Update conditional check to ditch the cart cookie to look for any status that is not currently open. This change should be a better guarantee that we are looking for a new cart instead of strictly looking for carts that have completed fulfillment.
6.1.2
Patch Changes
- eae6356: cleans up grammar/spelling errors in console output upon generation of provider files.
- 0902248: Allow an optional and configurable purchase order field on a gesso order
6.1.1
Patch Changes
- e8fa722: TS type fixes
- d0235aa: update: add a methods property to the paymentInfo property on the Order type.
- Updated dependencies [0a5c916]
- @acromedia/gesso-core@6.1.0
6.1.0
Minor Changes
- 26b270a: Adds optional data and offset to order type and order options. This will allow us to solve REST pagination.