Changed:
- Add proper stack traces for all custom error classes
Fixed:
- Prevent throwing a runtime error for check
ApplePaySession.canMakePayments()
when does not satisfies the browser requirements of Apple Pay - Previously the
Session.prototype.createApplePayPayment()
was never resolved/rejected when the user cancelled the payment. It now throws a custom errorApplePayError
with statuscancelled
. - Removed dependency vulnerabilities