Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@trycourier/courier

Package Overview
Dependencies
Maintainers
3
Versions
88
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@trycourier/courier - npm Package Versions

1
79

1.6.2

Diff

Changelog

Source

[v1.6.2] - 2021-01-19

Fixed

  • Bumped axios to version 0.21.1
  • Updated types for Send to List Parameters by @rileylnapier
troygoode
published 1.6.1 •

Changelog

Source

[v1.6.1] - 2020-09-23

Fixed

  • Fixed return types for PUT methods that return 204
  • Fixed param types for client.lists.send()
  • Fixed return type for client.lists.findByRecipientId()
  • Fixed param types for client.lists.put()
troygoode
published 1.6.0 •

Changelog

Source

[v1.6.0] - 2020-09-22

Added

  • Support for idempotencyKey for POST methods by @aydrian & @rileylnapier
  • Support for Lists API by @aydrian
    • POST /send/list via client.lists.send(params, config)
    • GET /profiles/{recipient_id}/lists via client.lists.findByRecipientId(recipientId, params)
    • GET /lists via client.lists.list(params)
    • GET /lists/{list_id} via client.lists.get(listId)
    • PUT /lists/{list_id} via client.lists.put(listId, {...})
    • DELETE /lists/{list_id} via client.lists.delete(listId)
    • PUT /lists/{list_id}/restore via client.lists.restore(listId)
    • GET /lists/{list_id}/subscriptions via client.lists.getSubscriptions(listId)
    • PUT /lists/{list_id}/subscriptions via client.lists.putSubscriptions(listId, [recipientId], config)
    • PUT /lists/{list_id}/subscriptions/{recipient_id} via client.lists.subscribe(listId, recipientId)
    • DELETE /lists/{list_id}/subscriptions/{recipient_id} via client.lists.unsubscribe(listId, recipientId)

Changed

  • Default base_url is now api.courier.com
troygoode
published 1.5.0 •

Changelog

Source

[v1.5.0] - 2020-07-08

Added

  • Support for Brands API by @aydrian
    • GET /brands via client.getBrands(params)
    • GET /brands/:brand_id via client.getBrand(brandId)
    • POST /brands via client.createBrand({…})
    • PUT /brands/:brand_id via client.replaceBrand({…})
    • DELETE /brands/:brand_id via client.deleteBrand(brandId)
  • Support for specifying notification brand during send by @aydrian
troygoode
published 1.4.0 •

Changelog

Source

[v1.4.0] - 2020-06-29

Added

  • Support GET /messages/:messageId via client.getMessage(messageId) @rileylnapier
troygoode
published 1.3.0 •

Changelog

Source

[v1.3.0] - 2020-03-10

Added

  • Support credential storage using COURIER_AUTH_TOKEN environment variable by @aydrian
  • Support setting base url using COURIER_BASE_URL environment variable by @aydrian
  • Support preferences and override in send method by @aydrian
  • Create GitHub Issue and Pull Request templates by @rileylnapier

Changed

  • Updated user agent string to match new standard by @aydrian
troygoode
published 1.2.1 •

Changelog

Source

[v1.2.1] - 2019-12-30

Fixed

  • Convert package.json import to a require by @@scarney81
troygoode
published 1.2.0 •

Changelog

Source

[v1.2.0] - 2019-12-20

Added

  • Custom user agent string by @aydrian
troygoode
published 1.1.6 •

Changelog

Source

[v1.1.6] - 2019-07-12

troygoode
published 1.1.5 •

Changelog

Source

[v1.1.5] - 2019-07-12

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