Skip to content

v6.7.0

Choose a tag to compare

@Justintime50 Justintime50 released this 28 Jul 16:07
· 247 commits to master since this release
9a05fdc
  • Adds methods to the easypost client for subscribing and unsubscribing from requests and responses being sent to the API
    • addRequestHook: Adds a request hook to the EasyPost client. Useful for logging or debugging.
    • removeRequestHook: Removes a request hook from the EasyPost client.
    • clearRequestHooks: Clears all request hooks from the EasyPost client.
    • addResponseHook: Adds a response hook to the EasyPost client. Useful for logging or debugging.
    • removeResponseHook: Removes a response hook from the EasyPost client.
    • clearResponseHooks: Clears all response hooks from the EasyPost client.
  • Maps 400 status codes to new BadRequestError class