paybridge 0.7.0 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -48,6 +48,17 @@ The playground lets you:
|
|
|
48
48
|
|
|
49
49
|
Perfect for demos, learning, and rapid prototyping. See [playground/README.md](playground/README.md) for details.
|
|
50
50
|
|
|
51
|
+
## Framework Examples
|
|
52
|
+
|
|
53
|
+
Runnable integrations for common Node.js frameworks:
|
|
54
|
+
|
|
55
|
+
- [Express](examples/frameworks/express/) — classic, raw body parsing for webhooks
|
|
56
|
+
- [Fastify](examples/frameworks/fastify/) — Fastify plugin pattern, custom content type parser
|
|
57
|
+
- [Next.js](examples/frameworks/nextjs/) — App Router API routes, multi-provider router
|
|
58
|
+
- [Hono](examples/frameworks/hono/) — edge-runtime ready (Cloudflare Workers, Bun, Deno, Node)
|
|
59
|
+
|
|
60
|
+
Each example uses `PayBridgeRouter` with Stripe + PayStack and demonstrates webhook signature verification, idempotency, and provider-specific routing.
|
|
61
|
+
|
|
51
62
|
## Quick Start
|
|
52
63
|
|
|
53
64
|
> **Upgrading from 0.1 or 0.2?** See [docs/migration.md](docs/migration.md).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "paybridge",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.0",
|
|
4
4
|
"description": "One API for fiat + crypto payments. Multi-provider routing, automatic failover, MoonPay on/off-ramp. SA-first, global-ready.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|