Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ A simple nuxt module that works on the edge to easily validate incoming webhooks

## Features

- 21 [Webhook validators](#supported-webhook-validators)
- 20 [Webhook validators](#supported-webhook-validators)
- Works on the edge
- Exposed [Server utils](#server-utils)

Expand Down Expand Up @@ -89,7 +89,6 @@ Go to [playground/.env.example](./playground/.env.example) or [playground/nuxt.c
- Kick
- MailChannels
- Meta
- NuxtHub
- Paddle
- PayPal
- Polar
Expand Down
3 changes: 0 additions & 3 deletions playground/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@ NUXT_WEBHOOK_MAILCHANNELS_PUBLIC_KEY=
# Meta Validator
NUXT_WEBHOOK_META_APP_SECRET=

# NuxtHub Validator
NUXT_WEBHOOK_NUXTHUB_SECRET_KEY=

# Paddle Validator
NUXT_WEBHOOK_PADDLE_WEBHOOK_ID=

Expand Down
3 changes: 0 additions & 3 deletions playground/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,6 @@ export default defineNuxtConfig({
meta: {
appSecret: '',
},
nuxthub: {
secretKey: '',
},
paddle: {
webhookId: '',
},
Expand Down
7 changes: 0 additions & 7 deletions playground/server/api/webhooks/nuxthub.post.ts

This file was deleted.

4 changes: 0 additions & 4 deletions src/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,6 @@ export default defineNuxtModule<ModuleOptions>({
runtimeConfig.webhook.meta = defu(runtimeConfig.webhook.meta, {
appSecret: '',
})
// NuxtHub Webhook
runtimeConfig.webhook.nuxthub = defu(runtimeConfig.webhook.nuxthub, {
secretKey: '',
})
// Paddle Webhook
runtimeConfig.webhook.paddle = defu(runtimeConfig.webhook.paddle, {
webhookId: '',
Expand Down
32 changes: 0 additions & 32 deletions src/runtime/server/lib/validators/nuxthub.ts

This file was deleted.

1 change: 0 additions & 1 deletion test/events.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ export { simulateShopifyEvent } from './simulations/shopify'
export { simulateSlackEvent } from './simulations/slack'
export { simulateStripeEvent } from './simulations/stripe'
export { simulateSvixEvent } from './simulations/svix'
export { simulateNuxthubEvent } from './simulations/nuxthub'
export { simulateMailChannelsEvent } from './simulations/mailchannels'
export { simulateMetaEvent } from './simulations/meta'
export { simulateHygraphEvent } from './simulations/hygraph'
Expand Down
3 changes: 0 additions & 3 deletions test/fixtures/basic/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,6 @@ export default defineNuxtConfig({
meta: {
appSecret: 'testMetaAppSecret',
},
nuxthub: {
secretKey: 'testNuxtHubSecretKey',
},
paddle: {
webhookId: 'testPaddleWebhookId',
},
Expand Down
19 changes: 0 additions & 19 deletions test/simulations/nuxthub.ts

This file was deleted.