Releases: EasyPost/easypost-node
Releases · EasyPost/easypost-node
v6.7.3
- Fix endpoint for creating a FedEx Smartpost carrier account
v6.7.2
- Corrects the Typescript definition for
lowestRate
of Shipment, Order, and Pickup objects
v6.7.1
v6.7.0
- 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
v6.6.1
- Fixes the
pickup_rates
Typescript property of a Pickup
v6.6.0
- Retrieving carrier metadata is now generally available via
client.carrierMetadata.retrieve
- Bumps and modernizes all dependencies which no longer requires a force install/update
- Adds support for Typescript 5
- Typescript definitions graduated from beta to GA
v6.5.0
- Adds missing typescript definitions for
Utility
class - Fixes incorrect typescript definitions for
Address
,EndShipper
andWebhook
class methods - Moves
Utils
to EasyPostClient class
v6.4.0
- Adds
retrieveEstimatedDeliveryDate
in Shipment service
v6.3.0
- Fixes the Beta client, previously the beta functions were not accessible due to how they were exported. This has now changed so each service is prepended with
Beta
(eg:BetaCarrierMetadata
) - Adds
CarrierMetadata
typescript definitions
v6.2.0
- Adds beta
retrieveCarrierMetadata
function - Adds missing
api_keys
property toUser
- Improves Error Deserialization to dynamically handle edge cases that have a bad format
- Adds a helper function to retrieve carrier metadata