twzrd-x402-gate 0.8.18 → 0.8.19

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/QUICKSTART.md CHANGED
@@ -5,13 +5,13 @@ API key, no signup, no config — every `TWZRD_*` env var is an optional overrid
5
5
  is unreachable the gate never *invents* a wash flag (the wash check fails open); a failed
6
6
  preflight blocks the payment by default (`TWZRD_FAIL_OPEN=true` to allow).
7
7
 
8
- **Pin:** `twzrd-x402-gate@0.8.16` + stock PayAI client `x402-solana@2.1.0` (official
8
+ **Pin:** `twzrd-x402-gate@0.8.19` + stock PayAI client `x402-solana@2.1.0` (official
9
9
  `beforePayment` seat). `@x402/core` Path E remains supported; refuse script is fallback.
10
10
 
11
11
  ## 1. Stock PayAI client (default seat — copy-paste)
12
12
 
13
13
  ```bash
14
- npm install twzrd-x402-gate@0.8.16 x402-solana@2.1.0
14
+ npm install twzrd-x402-gate@0.8.19 x402-solana@2.1.0
15
15
  ```
16
16
 
17
17
  > **ESM-only.** The package ships `import` conditions only — a CommonJS
@@ -36,7 +36,7 @@ Then: `await client.fetch("https://merchant.example/paid");`
36
36
  ## 1b. Official `@x402/core` client (Path E)
37
37
 
38
38
  ```bash
39
- npm install twzrd-x402-gate@0.8.16 @x402/core @x402/fetch @x402/svm
39
+ npm install twzrd-x402-gate@0.8.19 @x402/core @x402/fetch @x402/svm
40
40
  ```
41
41
 
42
42
  ```typescript
package/README.md CHANGED
@@ -10,9 +10,9 @@ refuse. Protects the **payer** from a risky **merchant** (`payTo`). Chain-neutra
10
10
  ### Default-on AutoGate (5 lines)
11
11
 
12
12
  ```bash
13
- npm install twzrd-x402-gate@0.8.16 x402-solana@2.1.0
13
+ npm install twzrd-x402-gate@0.8.19 x402-solana@2.1.0
14
14
  # official @x402/* path (alternate seat):
15
- # npm install twzrd-x402-gate@0.8.16 @x402/core @x402/fetch @x402/svm
15
+ # npm install twzrd-x402-gate@0.8.19 @x402/core @x402/fetch @x402/svm
16
16
  ```
17
17
 
18
18
  ```typescript
@@ -56,7 +56,7 @@ transfer on-chain. Wash/sybil edges are primarily discounted in TWZRD scoring, n
56
56
  revenue refusal.
57
57
 
58
58
  ```bash
59
- npm install twzrd-x402-gate@0.8.16
59
+ npm install twzrd-x402-gate@0.8.19
60
60
  ```
61
61
 
62
62
  ```typescript
@@ -118,7 +118,7 @@ Prove refuse-before-sign: `npm run x402-solana-before-payment-proof`.
118
118
  Install the published gate and run against wash fixtures:
119
119
 
120
120
  ```bash
121
- npm install twzrd-x402-gate@0.8.16
121
+ npm install twzrd-x402-gate@0.8.19
122
122
  # from package root after install, or from a checkout:
123
123
  npm run wash-dogfood
124
124
  ```
@@ -263,7 +263,7 @@ Dogfood (one public live proof path):
263
263
  ## Install
264
264
 
265
265
  ```bash
266
- npm install twzrd-x402-gate@0.8.16 x402-solana@2.1.0
266
+ npm install twzrd-x402-gate@0.8.19 x402-solana@2.1.0
267
267
  ```
268
268
 
269
269
  Install pin is the published version (`GATE_PACKAGE_PIN` in
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "twzrd-x402-gate",
3
- "version": "0.8.18",
3
+ "version": "0.8.19",
4
4
  "description": "Core: buyer-side x402 trust gate. Free TWZRD preflight (ReadinessCard) before signing USDC to any merchant, with optional $0.001 paid trust escalate on warn — blocking spend on bad intel, no human in the loop. Optional: createTwzrdSettleGuard for resource servers to apply merchant policy on the payer before settle+serve. installTwzrdAutoGate is the canonical default-on entry across fetch payWrap, x402 client (onBeforePaymentCreation), PayAI x402-solana beforePayment (2.1.0+), and MPP onChallenge. Fail-closed by default — set TWZRD_FAIL_OPEN=true for outage allow; kill switch TWZRD_GATE_ENABLED=false or TWZRD_AUTO_GATE=0. Always stamps X-Twzrd-Caller for seat metrics.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",