Skip to content

5.8.0

Latest

Choose a tag to compare

@github-actions github-actions released this 27 Oct 16:26
9f64b3b

Release 5.8.0 (#476)

  • Security: axios 1.20.0 and follow-redirects 1.16.1, which fix the open advisories on the runtime dependencies. npm audit --omit=dev reports no vulnerabilities.
  • Fix: the default fetch client now sends every HTTP verb in uppercase. Before this, every PATCH operation failed with a 400 when using the default client (axios was not affected).
  • Issuing: revokeCard and suspendCard can be called without a body, since the API makes it optional.
  • Issuing: the headers parameter of updateCard is deprecated, because the API no longer documents the encrypted CVV headers. It is still sent when set and will be removed in the next major version.
  • Issuing: documented the card control response shapes and corrected the return types in the docs.