This website requires JavaScript.
Explore
Help
Sign In
Steve-Dee-Designs
/
woocommerce
mirror of
https://github.com/woocommerce/woocommerce.git
Watch
1
Star
0
Fork
You've already forked woocommerce
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
39199778f8
woocommerce
/
plugins
/
woocommerce-blocks
/
assets
/
js
/
base
/
hooks
/
shipping
/
index.js
3 lines
84 B
JavaScript
Raw
Normal View
History
Unescape
Escape
Add new hooks related to payment methods and checkout and remove obsolete. (https://github.com/woocommerce/woocommerce-blocks/pull/1929) * add various hooks and improve hooks folder structure - Also restructures hooks directory to make things a bit more organized - Add useStoreOrder placeholder (followed up in future pull) - Add useBillingData hook. * implement usePaymentMethodInterface hook in payment method components * remove obsolete hooks and implement new checkout context hooks - add useCheckoutSubmit which exposes checkout submit button interface - add useCheckoutRedirectUrl which exposes checkout redirect url interface * add alias for `@woocommerce/base-utils` to jest config * use consistent variable names for payment method id
2020-03-11 10:50:12 +00:00
export
*
from
'./use-select-shipping-rate'
;
Refactor Cart to include shippingAddress (https://github.com/woocommerce/woocommerce-blocks/pull/1960) * Include shipping and billing address data in cart schema * update cart hook (and data api) with new properties from endpoint * add use-shipping-address hook and implement in use-shipping-rates * update usages of useShippingRates through code * update tests for use-shipping-rates * update use-payment-method-interface and typedef to remove country field This is provided reliably via the shippingAddress now. * restore pluck comparison to effect. Also added some clarification docs for why `iniitalAddress` is not included in the effect dependencies. * remove billingAddress from cart schema * clear city and postcode when changing country * Update REST Api schemas aftere rebase - CustomerSchema no longer exists - Added ShippingAddressSchema implemented by Cart and Order schemas - fix broken js because of bad merge conflict resolution. * remove duplicate keys
2020-03-13 19:04:03 +00:00
export
*
from
'./use-shipping-address'
;