New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@easypost/api

Package Overview
Dependencies
Maintainers
7
Versions
82
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@easypost/api - npm Package Versions

1
9

5.9.0

Diff

Changelog

Source

v5.9.0 (2023-01-11)

  • Adds new beta billing functionality for ReferralCustomer users
    • addPaymentMethod can add a pre-existing Stripe bank account or credit card to your EasyPost account
    • refundByAmount refunds your wallet by a dollar amount
    • refundByPaymentLog refunds you wallet by a PaymentLog ID
justintime50
published 5.8.0 •

Changelog

Source

v5.8.0 (2022-12-07)

  • Routes requests for creating a carrier account with a custom workflow (eg: FedEx, UPS) to the correct endpoint when using the save function
justintime50
published 5.7.1 •

Changelog

Source

v5.7.1 (2022-10-24)

  • Fixes multiple bugs that made the addCreditCard function unusable, adds tests
  • The response of the updateBrand function now properly becomes a Brand object
  • Insuring a shipment via Shipment.insure no longer improperly wraps the amount key in id. There may be other edge cases among other object/function calls that get corrected due to this change
  • Validating webhook signatures of differing byte sizes now throws a more meaningful error message
  • Removed the browser check when building request headers. Impact should be minimal since out of the box this library cannot be used in the browser
justintime50
published 5.7.0 •

Changelog

Source

v5.7.0 (2022-09-21)

  • Adds support to pass an EndShipper ID to the shipment buy call
  • Migrates the Partner White Label (Referral) functions from beta to the general library namespace and deprecates the beta functions
justintime50
published 5.6.1 •

Changelog

Source

v5.6.1 (2022-09-08)

  • Fixes a regression introduced in v5.1.0 that included the entire response instead of the response body when errors are returned from the API
  • Corrects the error type when Stripe cannot be reached when adding a credit card for referral users
justintime50
published 5.6.0 •

Changelog

Source

v5.6.0 (2022-08-25)

  • Moves EndShipper out of beta to the general library namespace
justintime50
published 5.5.0 •

Changelog

Source

v5.5.0 (2022-08-02)

  • Adds Carbon Offset support
    • Adds the ability to create a shipment with carbon_offset
    • Adds the ability to buy a shipment with carbon_offset
    • Adds the ability to one-call-buy a shipment with carbon_offset
    • Adds the ability to regenerate a shipment with carbon_offset
  • Adds validateWebhook function that returns your webhook or raises an error if there is a webhookSecret mismatch
  • Allows for looser values to the verify and verify_strict params when creating an address (can accept strings or bools outside of an array)
justintime50
published 5.4.0 •

Changelog

Source

v5.4.0 (2022-07-18)

  • Adds the ability to generate shipment forms via Shipment.generateForm() function
  • Adds missing Typescript definitions for Billing and PaymentMethod
justintime50
published 5.3.0 •

Changelog

Source

v5.3.0 (2022-07-11)

  • Adds bundled Typescript definitions in beta (closes #119, #122, #184, and #243 - big thank you to our awesome community!)
  • Adds Billing.retrievePaymentMethods(), Billing.deletePaymentMethod(), and Billing.fundWallet() functions
  • Adds support for webhook secrets
  • Adds OS-specific details to the user-agent header
  • Swaps update functions from put to patch to better match API expectation and documentation. Behavior of these functions should remain the same
justintime50
published 5.2.0 •

Changelog

Source

v5.2.0 (2022-05-19)

  • Adds the EndShipper Beta class with save(), retrieve(), and all() functions
  • Bumps patch versions of dependencies
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc