Skip to content
This repository was archived by the owner on Jul 24, 2024. It is now read-only.

Releases: AfterShip/aftership-sdk-nodejs

6.1.0

29 Jul 03:46
Compare
Choose a tag to compare
  • Added support for markAsCompleted() of tracking resource
  • Updated package dependencies

Bug fix - export

17 Feb 11:36
Compare
Choose a tag to compare
  • Fix aftership.js export function argument
  • Fix payload.js export function argument

Aftership.call(...) support override default api_key

11 Feb 04:29
Compare
Choose a tag to compare

New feature:

  • Aftership.call(...) support override api_key via options and control rate-limit for each API key

Bug fix:

  • retry with meta.code >= 500 to retry with meta.code = [500, 502, 503, 504]

Support return promise

05 Feb 08:05
Compare
Choose a tag to compare

New feature

  • Aftership.call(...) will return promise, if last argument is not function

Rate limit options + bug fix

21 Jan 05:58
Compare
Choose a tag to compare

New feature

  • rate flag in constructor, if enable, will retry 429 too many request when the rate is reset

Bug fix

  • rate_limiter is String, parse it to Number
  • Retry request.js error - [ETIMEDOUT, ECONNRESET, ECONNREFUSED]