4.0.0
Please see the migration guide for guidance with updating to this version.
- Replace Axios dependency in favour of fetch (#358)
- Add
cancelUrl
andgetDashboardUrl
to payments and orders (#327/#373) - Add
status
andissuers
to methods and updatepricing
(#335/#374) - Update and export
PaymentInclude
(#370) - Update payment methods (#376)
- Change type of
metadata
(fromany
) tounknown
(#367) - Change return type of functions to plain arrays or iterators, depending on whether the represented list is paginated (#322)
- Bump Node.js requirement to 14
- Remove snake case properties, e.g.
customers_payments
(#314/#353) - Remove endpoint aliases, e.g.
delete
intead ofcancel
(#315/#353) - Remove predictable helper functions (#364)
- Remove fields from
ApiError
(#363) - Remove
count
from pages (#365) - Remove
withParent
(#323) - Remove
toPlainObject
(#362) - Remove
Object.entries
polyfill (#352)
Special thanks to @schalterDev, @casperiv0, and @TimmyGuy.