npm.io
1.4.0 • Published yesterday

@bethinkpl/reorder

Licence
MIT
Version
1.4.0
Deps
1
Size
3.1 MB
Vulns
0
Weekly
0

@bethinkpl/reorder

Customized fork of @reorder/reorderjs.

Changes

New features

  • added day granularity for frequency intervals
Improvements / Fixes
  • prevents executing POST /store/carts/{cartId}/complete for carts containing subscription items
  • behaviour of POST /store/carts/{cartId}/subscribe matches it's non-subscription counterpart more closely (dropped subscription field, supports query params and uses same defaults)
  • shipping address is optional when item(s) in subscription cart don't require shipping (i.e.: item.requires_shipping = false)
  • exposed setPaymentSessionData hook in processRenewalCycleWorkflow for provider-agnostic payment handling during renewals
  • completing subscription cart no longer requires payment method to be already saved at that point of time, instead it's info is backfilled after payment is captured
QoL
  • addition of eslint lint rules
  • improved test setup

Content of README.md WIP