Skip to content

Releases: lithic-com/lithic-node

v0.15.0

18 Mar 04:13
Compare
Choose a tag to compare

Adds a lithic.disputes.uploadEvidence(dispute.token, file) helper which takes care of initiating the evidence upload and then actually uploading the file.

Full Changelog: v0.14.0...v0.15.0

v0.14.0

14 Mar 19:41
Compare
Choose a tag to compare

Adds the new beta /disputes endpoints, https://docs.lithic.com/docs/disputes-api-beta.

  • lithic.disputes.create(...)
  • lithic.disputes.retrieve(...)
  • lithic.disputes.update(...)
  • lithic.disputes.list(...)
  • lithic.disputes.delete(...)
  • lithic.disputes.deleteEvidence(...)
  • lithic.disputes.initiateEvidenceUpload(...)
  • lithic.disputes.listEvidences(...)
  • lithic.disputes.retrieveEvidence(...)

Also makes url as a required parameter in lithic.events.subscriptions.update()

Full Changelog: lithic-com/lithic-python@v0.10.2...v0.11.0

v0.13.2

03 Mar 14:55
Compare
Choose a tag to compare

Fix webhook unwrapping to return an event payload rather than an event.

Full Changelog: v0.13.1...v0.13.2

v0.13.1

27 Feb 19:52
Compare
Choose a tag to compare

Adds docs to the README for webhook verification.

Full Changelog: v0.13.0...v0.13.1

v0.13.0

24 Feb 16:28
Compare
Choose a tag to compare

Adds helper methods to support webhook signature verification:

const event: Event = lithic.webhooks.unwrap(body, headers, secret);

lithic.webhooks.verifySignature(body, headers, secret); // throws if invalid.

Also adds mcc to transactions.

Full Changelog: v0.12.0...v0.13.0

v0.12.0

18 Feb 00:40
Compare
Choose a tag to compare

Adds events and event subscription endpoints.

Also fixes a crash when AbortController was not defined and sends Accept: application/json headers on void auth stream enrollment endpoints.

Full Changelog: v0.11.0...v0.12.0

v0.11.0

01 Feb 23:28
Compare
Choose a tag to compare

This release has a few changes which improve the accuracy and convenience of the types we offer, and may cause type errors:

  1. Address has been moved to its own shared type.
  2. SpendLimitDuration is now a shared type.
  3. kyc_exemption_type is now typed as an enum, instead of any string.
  4. workflow is now typed as the literal 'KYC_EXEMPT'.

Other changes:

  1. merchant_acceptor_id has been added to Transactions.

Full Changelog: v0.10.3...v0.11.0

v0.10.3

26 Jan 02:00
Compare
Choose a tag to compare

Fixes a few TypeScript sub-dependency issues, and refactors how fetch is polyfilled.

Full Changelog: v0.10.0...v0.10.3

v0.10.0

19 Jan 10:49
Compare
Choose a tag to compare

This release adds types for the upcoming changes to the Transaction API, going live February 8.

These types document the addition of fields and enum values which are yet to be returned, so that you can start coding against them.

This release also includes a number of internal improvements, and several more minor API updates.

Full Changelog: v0.9.0...v0.10.0

v0.9.0

19 Jan 10:48
Compare
Choose a tag to compare

Full Changelog: v0.8.0...v0.9.0