Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
dsinghvi committed Jan 9, 2024
1 parent 67ccdd4 commit 7fdd1ad
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Expand Up @@ -24,6 +24,13 @@ You will need to get a Courier API key to get started. You can sign up and creat
v6 of our SDK is automatically generated by [Fern](https://buildwithfern.com/). v6 comes
with several improvements that we describe below:

- **Instantiate the client**: There is no longer one global CourierClient, instead you have to
instantiate the client.
```ts
import { CourierClient } from "@trycourier/courier";

const courier = new CourierClient();
```
- **Resource-scoped SDK methods**: Endpoints are scoped under their resource. For
example, instead of `courier.deleteBrands` the SDK now reads `courier.brands.delete(...)`
- **Docs on Hover**: All endpoint and parameter level documentation that you see
Expand Down

0 comments on commit 7fdd1ad

Please sign in to comment.