Skip to content

Commit f344504

Browse files
authored
Update README.md
1 parent 569cbfc commit f344504

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@
1313
## Installation
1414

1515
```bash
16-
npm install getbrevo/brevo@^4.0.0
16+
npm install getbrevo/brevo@^4.0.1
1717
```
1818

1919
## Quick Start
2020

2121
```typescript
22-
import { BrevoClient } from 'getbrevo/brevo@^4.0.0';
22+
import { BrevoClient } from 'getbrevo/brevo';
2323

2424
const brevo = new BrevoClient({
2525
apiKey: 'your-api-key',
@@ -54,7 +54,7 @@ const brevo = new BrevoClient({
5454
The SDK throws specific error types based on HTTP status codes.
5555

5656
```typescript
57-
import { BrevoError, UnauthorizedError, TooManyRequestsError } from 'getbrevo/brevo@^4.0.0';
57+
import { BrevoError, UnauthorizedError, TooManyRequestsError } from 'getbrevo/brevo';
5858

5959
try {
6060
await brevo.transactionalEmails.sendTransacEmail({...});
@@ -241,7 +241,7 @@ URL.revokeObjectURL(url);
241241
All request and response types are exported.
242242

243243
```typescript
244-
import { Brevo } from 'getbrevo/brevo@^4.0.0';
244+
import { Brevo } from 'getbrevo/brevo';
245245

246246
const request: Brevo.SendTransacEmailRequest = {
247247
subject: "First email",
@@ -256,7 +256,7 @@ const request: Brevo.SendTransacEmailRequest = {
256256
## Logging
257257

258258
```typescript
259-
import { BrevoClient, logging } from 'getbrevo/brevo@^4.0.0';
259+
import { BrevoClient, logging } from 'getbrevo/brevo';
260260

261261
const brevo = new BrevoClient({
262262
apiKey: 'your-api-key',
@@ -391,7 +391,7 @@ emailAPI.sendTransacEmail(message);
391391

392392
**v4.x:**
393393
```typescript
394-
import { BrevoClient } from 'getbrevo/brevo@^4.0.0';
394+
import { BrevoClient } from 'getbrevo/brevo';
395395

396396
const brevo = new BrevoClient({
397397
apiKey: 'xkeysib-xxx'

0 commit comments

Comments
 (0)