This repository was archived by the owner on Mar 19, 2024. It is now read-only.
3.12.0
·
34 commits
to master
since this release
- Added:
- Added property
requiresApproval
to request typesNonSepaDirectDebitPaymentMethodSpecificInput
andSepaDirectDebitPaymentMethodSpecificInput
.
- Added property
- Fixed:
headers.isBinaryContent
now returns a proper boolean if the given content type is falsy.webhooks.unmarshal
uses a local variable instead of global variableevent
.webhooks.inMemorySecretKeyStore.getSecretKey
uses a local variable instead of global variablesecretKey
.webhooks.validate
no longer passes a second argument with valuenull
to the callback if the secret key lookup fails.- When leaving out required fields while uploading files, proper errors are passed to the callback instead of objects with a single
message
property. - If a JSON parse error occurs, a proper error is passed to the callback instead of an object with properties
message
,status
andbody
. The error will have the additionalstatus
andbody
properties.