Skip to content

Releases: lithic-com/lithic-node

v0.24.4

27 Jul 13:20
Compare
Choose a tag to compare

0.24.4 (2023-07-27)

Features

  • api: add payment and external bank accounts resource (#115) (5e05974)

v0.24.3

21 Jul 23:25
Compare
Choose a tag to compare

0.24.3 (2023-07-21)

Features

  • api: add with_content param (#112) (ba96fbc)
  • streaming: make requests immediately throw an error if an aborted signal is passed in (#113) (954d123)

Bug Fixes

  • client: fix errors with file uploads in the browser (#110) (9ec8513)

v0.24.2

18 Jul 22:34
Compare
Choose a tag to compare

0.24.2 (2023-07-18)

Features

Bug Fixes

Chores

  • internal: restructure code to stringify query (#105) (b0250e6)

v0.24.1

17 Jul 16:43
Compare
Choose a tag to compare

0.24.1 (2023-07-17)

Features

  • api: add more enum members to event types (#97) (f3d00ab)
  • api: no longer require website_url property on KYB object (#101) (e3ef210)

Bug Fixes

  • fix errors with "named" client export in CJS (#100) (21b5761)

Documentation

  • readme: improvements to formatting code snippets (#94) (55fc71c)

Chores

  • internal: add helper function for b64 (#98) (0dff514)
  • internal: let toFile helper accept promises to objects with name/type properties (#99) (a5b6bd2)
  • internal: remove unused streaming implementation (#96) (8f291b0)

v0.24.0

12 Jul 11:17
Compare
Choose a tag to compare

0.24.0 (2023-07-12)

⚠ BREAKING CHANGES

  • api: remove previous_auth_rule_tokens from auth rules (#69)
  • import issue with ESM (#67)

Features

  • api: add state query param for cards (#75) (c96b7c2)
  • api: add digital wallet tokenization result event type (#78) (b19aa40)
  • client: add support for defaultQuery option (#65) (7717bab)
  • client: add support for passing a signal request option (#93) (282b130)
  • client: improve timeout handling to reuse agent (#85) (4234475)
  • client: support passing a custom fetch function (#89) (31f7043)

Bug Fixes

  • client: properly handle multi-byte characters in Content-Length (#90) (2b5b8a4)
  • examples: avoid swallowing errors in example scripts (#87) (eb99d8b)
  • fix errors in package source files when users go to definition in VSCode (#84) (b5a5187)
  • import issue with ESM (#67) (1f4dd35)
  • include README.md, LICENSE and CHANGELOG.md in published package (#81) (67322a5)
  • streaming: do not abort successfully completed streams (#92) (055c148)
  • streaming: fix response body streaming in non-Chrome environments (#86) (19dac17)
  • streaming: polyfill ReadableStream async iterator and text decoding (#80) (e9284dd)
  • support PromiseLike input to toFile (#83) (042d985)

Chores

  • internal: fix release please version config (#79) (b5e66bd)
  • internal: fix tsc usage (#71) (43aaf98)
  • set noEmit: true in tsconfig.json, since it's for typechecking only (#76) (d8af616)

Refactors

  • api: remove previous_auth_rule_tokens from auth rules (#69) (7b02c26)
  • improve streaming implementation (#82) (3461f73)
  • mark .responseHeaders and .response as deprecated (#73) (3948d6c)
  • move to src directory, improve ecosystem compatibility (#63) (cb34e4d)
  • streaming: make response body streaming polyfill more spec-compliant (#88) (4d39ed3)

Documentation

  • api.md: add context to types exported in a different resource (#77) (f9e2369)
  • api.md: fix links not referencing src directory (#66) (92ce20f)
  • client: improve documentation for client options (#68) (6bf3856)
  • readme: minor improvements (#91) (589416b)

v0.23.1

30 Jun 14:18
Compare
Choose a tag to compare

0.23.1 (2023-06-30)

Bug Fixes

  • types: remove incorrect duplicated Promise from some return types (#59) (60a0994)

Documentation

v0.23.0

29 Jun 12:31
Compare
Choose a tag to compare

0.23.0 (2023-06-29)

⚠ BREAKING CHANGES

  • types: singularize array item types (#51)

Features

  • support ESM and web platform runtimes; easier file uploads (#54) (fbd72c9)
  • types: export nested types through the root client export (#49) (461c917)

Bug Fixes

  • form-data: strip out undefined properties (#47) (537a86f)

Refactors

  • types: singularize array item types (#51) (9256ccb)

Styles

  • minor reordering of types and properties (#55) (3a749fe)

Chores

Documentation

  • api.md: fix custom methods section listing too many methods (#53) (ccca3c8)
  • api: update account limits docstrings (#50) (3125649)
  • api: update limits docstrings (#52) (12f07f2)
  • rearrange sections in api.md (#57) (9c59157)

v0.22.0

19 Jun 10:50
Compare
Choose a tag to compare

0.22.0 (2023-06-19)

⚠ BREAKING CHANGES

  • drop official support for EOL Node versions (Node 12, 13, 14, 15) (#44)

Bug Fixes

  • internal: improve stream cancellation handling of abort controllers (#43) (5ce8f9c)

Refactors

  • move error type definitions to error.ts (#40) (55507d6)

Documentation

  • api: clarify dispute evidence filename docstring (#42) (e56cb1b)
  • drop official support for EOL Node versions (Node 12, 13, 14, 15) (#44) (cb3e710)

Build System

  • add .github folder to .npmignore (#45) (b536747)

v0.21.0

15 Jun 21:34
2e8065d
Compare
Choose a tag to compare

0.21.0 (2023-06-15)

⚠ BREAKING CHANGES

  • api: remove avs_type property, add dispute evidence filename, and mark properties nullable (#38)

Features

  • api: remove avs_type property, add dispute evidence filename, and mark properties nullable (#38) (ba61e63)

Documentation

  • point to github repo instead of email contact (#35) (4e91480)

Chores

  • internal: improve SSE decoding of lines (#36) (300a3b5)

lithic: v0.20.1

12 Jun 19:12
Compare
Choose a tag to compare

0.20.1 (2023-06-12)

Features

  • client: add support for specifying client-level default headers (#29) (f0134a0)

Bug Fixes

  • client: handle trailing slash in base url properly (#25) (1362c29)