Skip to content

Commit

Permalink
docs: use mailtrap package instead of src.
Browse files Browse the repository at this point in the history
  • Loading branch information
narekhovhannisyan committed Aug 17, 2023
1 parent 1e87c7a commit a7457f1
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Refer to the [`examples`](examples) folder for the source code of these examples
### Minimal

```ts
import { MailtrapClient } from "../src"
import { MailtrapClient } from "mailtrap"

/**
* For this example to work, you need to set up a sending domain,
Expand Down Expand Up @@ -59,7 +59,8 @@ client
```ts
import fs from "node:fs"
import path from "node:path"
import { MailtrapClient } from "../src"

import { MailtrapClient } from "mailtrap"

/**
* For this example to work, you need to set up a sending domain,
Expand Down Expand Up @@ -125,7 +126,7 @@ client
### Mail from template

```ts
import { MailtrapClient } from "../src"
import { MailtrapClient } from "mailtrap"

/**
* For this example to work, you need to set up a sending domain,
Expand Down

0 comments on commit a7457f1

Please sign in to comment.