Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@pimlico/webhook

Package Overview
Dependencies
Maintainers
0
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pimlico/webhook - npm Package Compare versions

Comparing version 0.0.0-main.20241203T135701 to 0.0.0-main.20241203T141749

2

package.json
{
"name": "@pimlico/webhook",
"version": "0.0.0-main.20241203T135701",
"version": "0.0.0-main.20241203T141749",
"author": "Pimlico",

@@ -5,0 +5,0 @@ "main": "./_cjs/index.js",

@@ -13,11 +13,2 @@ # @pimlico/webhook

```typescript
import { pimlicoWebhookVerifier } from "@pimlico/webhook"
const verifyWebhook = pimlicoWebhookVerifier(process.env.PIMLICO_API_KEY)
const body = await verifyWebhook(
req.headers as Record<string, string>,
Buffer.from(JSON.stringify(req.body))
)
```
Check out the [example](./../../examples/webhook/api/approve.ts) repo for more details.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc