x402-trust-guard 0.1.1 → 0.1.3

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 (3) hide show
  1. package/README.md +5 -5
  2. package/index.js +3 -3
  3. package/package.json +2 -2
package/README.md CHANGED
@@ -14,7 +14,7 @@ const pay = wrapFetchWithPayment(fetch, client);
14
14
  await pay("https://api.some-seller.com/v1/data"); // throws instead of paying if the seller looks unsafe
15
15
  ```
16
16
 
17
- Before your client signs a payment, the guard asks the [x402 Trust Board](https://benmcalillycreative.github.io/x402-trust-board/)
17
+ Before your client signs a payment, the guard asks the [Settle Watch](https://settlewatch.com/)
18
18
  about the endpoint and the address it wants paid, and **stops the payment** when the answer is `avoid`:
19
19
 
20
20
  - the endpoint switched to a different wallet, or asks to be paid at a burn address
@@ -48,12 +48,12 @@ withTrustGuard(client, {
48
48
  `checkFree(url, payTo?)` checks one URL yourself, for free, and returns the full result.
49
49
 
50
50
  What each verdict is based on, and what a pre-payment check can't promise (it never pays, so it can't test delivery):
51
- [method and limits](https://benmcalillycreative.github.io/x402-trust-board/method.html).
51
+ [method and limits](https://settlewatch.com/method.html).
52
52
 
53
53
  ## Also available
54
54
 
55
- - **HTTP:** `GET https://x402-trust-check.ben-mcalilly.workers.dev/v1/check?url=…&payTo=…` ($0.01, x402)
56
- - **MCP:** add `https://x402-trust-check.ben-mcalilly.workers.dev/mcp` as a remote MCP server; tool `check_payment`, 100 free checks a day
57
- - **Sellers:** prove your payout address with a DNS record and a signature: [how](https://benmcalillycreative.github.io/x402-trust-board/verify.html)
55
+ - **HTTP:** `GET https://api.settlewatch.com/v1/check?url=…&payTo=…` ($0.01, x402)
56
+ - **MCP:** add `https://api.settlewatch.com/mcp` as a remote MCP server; tool `check_payment`, 100 free checks a day
57
+ - **Sellers:** prove your payout address with a DNS record and a signature: [how](https://settlewatch.com/verify.html)
58
58
 
59
59
  MIT licensed.
package/index.js CHANGED
@@ -4,14 +4,14 @@
4
4
  // withTrustGuard(client); // client = your x402Client
5
5
  // const pay = wrapFetchWithPayment(fetch, client);
6
6
  //
7
- // Before every payment the client is about to sign, the guard asks the x402 Trust Board whether
7
+ // Before every payment the client is about to sign, the guard asks the Settle Watch whether
8
8
  // the endpoint and the address it wants paid look safe, and stops the payment on "avoid"
9
9
  // (a switched or burn wallet, a 10x overcharge, an address that contradicts the seller's own
10
10
  // payout proof). Answers are cached, so each endpoint is checked at most once a day.
11
11
  import { parseTarget, verdict } from "./verdict.js";
12
12
 
13
- export const DEFAULT_API = "https://x402-trust-check.ben-mcalilly.workers.dev";
14
- export const DEFAULT_BOARD = "https://benmcalillycreative.github.io/x402-trust-board/";
13
+ export const DEFAULT_API = "https://api.settlewatch.com";
14
+ export const DEFAULT_BOARD = "https://settlewatch.com/";
15
15
 
16
16
  export class PaymentBlocked extends Error {
17
17
  constructor(result) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "x402-trust-guard",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "description": "Check an x402 seller before your agent pays it: blocks switched or burn wallets, big overcharges and payout addresses the seller never proved. One line on top of @x402/fetch.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -29,7 +29,7 @@
29
29
  "mpp"
30
30
  ],
31
31
  "license": "MIT",
32
- "homepage": "https://benmcalillycreative.github.io/x402-trust-board/",
32
+ "homepage": "https://settlewatch.com/",
33
33
  "repository": {
34
34
  "type": "git",
35
35
  "url": "git+https://github.com/benmcalillycreative/x402-trust-board.git",