paybridge 0.3.0 → 0.3.1

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.
Files changed (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +4 -2
package/README.md CHANGED
@@ -207,7 +207,7 @@ app.post('/webhook', express.raw({ type: 'application/json' }), (req, res) => {
207
207
  **Notes:**
208
208
  - `⛔` marks features the underlying provider's API doesn't support — those methods throw a clear error explaining the limitation. Use a different provider for that capability or use `PayBridgeRouter` to route accordingly.
209
209
  - **Yellow Card** is gated behind `@experimental` until partner API documentation is verified — it logs a warning on instantiation. Do not use in production without partner-confirmed spec.
210
- - **Sandbox testing.** PayFast / PayStack / Stripe / Peach / Flutterwave are wired and unit-tested, but have not yet been validated against live sandbox credentials. Run a sandbox transaction before going live.
210
+ - **Sandbox testing.** PayFast / PayStack / Stripe / Peach / Flutterwave are wired and unit-tested, but have not yet been validated against live sandbox credentials. To validate against real sandboxes, set the relevant `*_API_KEY` env vars and run `npm run test:e2e:sandbox`.
211
211
 
212
212
  ## Provider Configuration
213
213
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "paybridge",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
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",
@@ -11,7 +11,8 @@
11
11
  "prepublishOnly": "npm run clean && npm run build",
12
12
  "test": "tsc && tsc --project tsconfig.test.json && node --test 'dist-test/**/*.test.js'",
13
13
  "test:e2e:moonpay": "tsx tests/e2e/moonpay-sandbox.ts",
14
- "test:e2e:yellowcard": "tsx tests/e2e/yellowcard-sandbox.ts"
14
+ "test:e2e:yellowcard": "tsx tests/e2e/yellowcard-sandbox.ts",
15
+ "test:e2e:sandbox": "tsx tests/e2e/sandbox-validate.ts"
15
16
  },
16
17
  "keywords": [
17
18
  "payments",
@@ -49,6 +50,7 @@
49
50
  },
50
51
  "devDependencies": {
51
52
  "@types/node": "^18.19.130",
53
+ "tsx": "^4.19.2",
52
54
  "typescript": "^5.9.3"
53
55
  }
54
56
  }