fix(docs): correct webhook SDK package name (#363)

This commit is contained in:
KM Koushik
2026-02-28 07:15:04 +11:00
committed by GitHub
parent b2ed09e7a7
commit 1c644740f2
+6 -6
View File
@@ -126,19 +126,19 @@ HMAC-SHA256(secret, "${timestamp}.${rawBody}")
<CodeGroup>
```bash npm
npm install usesend
npm install usesend-js
```
```bash yarn
yarn add usesend
yarn add usesend-js
```
```bash pnpm
pnpm add usesend
pnpm add usesend-js
```
```bash bun
bun add usesend
bun add usesend-js
```
</CodeGroup>
@@ -146,7 +146,7 @@ bun add usesend
### Next.js App Router
```typescript
import { UseSend } from "usesend";
import { UseSend } from "usesend-js";
const usesend = new UseSend("us_your_api_key");
const webhooks = usesend.webhooks(process.env.USESEND_WEBHOOK_SECRET!);
@@ -182,7 +182,7 @@ export async function POST(request: Request) {
```typescript
import express from "express";
import { Webhooks } from "usesend";
import { Webhooks } from "usesend-js";
const webhooks = new Webhooks(process.env.USESEND_WEBHOOK_SECRET!);