x402-trust-guard 0.1.1 → 0.1.2
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 +2 -2
- package/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -52,8 +52,8 @@ What each verdict is based on, and what a pre-payment check can't promise (it ne
|
|
|
52
52
|
|
|
53
53
|
## Also available
|
|
54
54
|
|
|
55
|
-
- **HTTP:** `GET https://
|
|
56
|
-
- **MCP:** add `https://
|
|
55
|
+
- **HTTP:** `GET https://check.benmcalilly.com/v1/check?url=…&payTo=…` ($0.01, x402)
|
|
56
|
+
- **MCP:** add `https://check.benmcalilly.com/mcp` as a remote MCP server; tool `check_payment`, 100 free checks a day
|
|
57
57
|
- **Sellers:** prove your payout address with a DNS record and a signature: [how](https://benmcalillycreative.github.io/x402-trust-board/verify.html)
|
|
58
58
|
|
|
59
59
|
MIT licensed.
|
package/index.js
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
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://
|
|
13
|
+
export const DEFAULT_API = "https://check.benmcalilly.com";
|
|
14
14
|
export const DEFAULT_BOARD = "https://benmcalillycreative.github.io/x402-trust-board/";
|
|
15
15
|
|
|
16
16
|
export class PaymentBlocked extends Error {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "x402-trust-guard",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
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",
|