woocommerce/plugins/woocommerce-blocks/assets/js
Darren Ethier 30fb8bef28 Fix flaw with event emitters and complete checkout flow for the cheque payment method. (https://github.com/woocommerce/woocommerce-blocks/pull/2108)
* Allow for priority to be set on event emitters

* Add payment event emitters

* add new actions/status to checkout state context

* implement event emitters in payment data context

* refactor checkout state context to use new actions in event emitters

* refactor checkout processor to handle new event emitters

* fix type-defs for registered payment methods

* register observer for cheque payment method integration

* add inline todo

* fix sort

* fix tests and add test for priority usage in event emitters

* remove todo and just add explanatory comment

* condense sort logic

* lowercase test description

* abstract emitter callback to reduce code

* don’t process passed in errors if it’s undefined

* improve error response expectation for payment processing event observer
2020-04-03 07:50:54 -04:00
..
atomic Add contexts for checkout (https://github.com/woocommerce/woocommerce-blocks/pull/1915) 2020-03-10 09:39:21 -04:00
base Fix flaw with event emitters and complete checkout flow for the cheque payment method. (https://github.com/woocommerce/woocommerce-blocks/pull/2108) 2020-04-03 07:50:54 -04:00
blocks Respect needs_shipping in Cart and Checkout (https://github.com/woocommerce/woocommerce-blocks/pull/2101) 2020-04-02 18:10:36 +01:00
blocks-registry Implement Stripe CC and Stripe ApplePay payment methods (https://github.com/woocommerce/woocommerce-blocks/pull/1983) 2020-03-30 08:07:49 -04:00
components Fix blocks not being added in WP <= 5.2 (https://github.com/woocommerce/woocommerce-blocks/pull/2001) 2020-03-26 13:39:54 +01:00
data Parse error response before rejecting (https://github.com/woocommerce/woocommerce-blocks/pull/2080) 2020-03-31 17:00:03 +01:00
filters Fix blocks not being added in WP <= 5.2 (https://github.com/woocommerce/woocommerce-blocks/pull/2001) 2020-03-26 13:39:54 +01:00
hocs Add tests to some cart and checkout hooks (https://github.com/woocommerce/woocommerce-blocks/pull/2013) 2020-03-30 20:32:28 +02:00
icons Add checkout error state (https://github.com/woocommerce/woocommerce-blocks/pull/2069) 2020-03-31 11:47:48 +01:00
legacy Fix blocks not being added in WP <= 5.2 (https://github.com/woocommerce/woocommerce-blocks/pull/2001) 2020-03-26 13:39:54 +01:00
payment-method-extensions Fix flaw with event emitters and complete checkout flow for the cheque payment method. (https://github.com/woocommerce/woocommerce-blocks/pull/2108) 2020-04-03 07:50:54 -04:00
previews Add line pricing for cart items in the API (https://github.com/woocommerce/woocommerce-blocks/pull/1979) 2020-03-17 15:34:33 +00:00
settings Fix build issues for production builds (https://github.com/woocommerce/woocommerce-blocks/pull/2042) 2020-03-27 16:56:48 -04:00
type-defs Fix flaw with event emitters and complete checkout flow for the cheque payment method. (https://github.com/woocommerce/woocommerce-blocks/pull/2108) 2020-04-03 07:50:54 -04:00
utils Cart and checkout error boundaries (https://github.com/woocommerce/woocommerce-blocks/pull/1853) 2020-03-06 11:43:40 +00:00
index.js Give Woo Icon special treatment by making it a component (https://github.com/woocommerce/woocommerce-blocks/pull/1702) 2020-02-10 14:24:02 +01:00