Sign In

@true402.dev/ai-sdk

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@true402.dev/ai-sdk - npm Package Compare versions

Comparing version
1.1.1
to
1.1.2
+1
-1
package.json
{
"name": "@true402.dev/ai-sdk",
"version": "1.1.1",
"version": "1.1.2",
"description": "true402 tools for the Vercel AI SDK \u2014 pay-per-call on-chain rug/honeypot & address safety for Base AI agents over x402 (USDC, no account, no API key).",

@@ -5,0 +5,0 @@ "type": "module",

@@ -45,1 +45,19 @@ # @true402.dev/ai-sdk

**[true402.dev/integrations](https://true402.dev/integrations)**
## Paying, exactly
The rules below are the service's, not this package's — they bite whatever client you use, and they
are the ones that surprise people writing their own payer.
- **Pay the EXACT amount quoted in the 402.** Underpaying is rejected. **Overpaying is refused with
403 and never credited** — settlement submits the signed value and there is no refund path, so a
surplus would simply be swept. Equality is also what binds an authorization to the resource it was
quoted for.
- **One authorization buys exactly one response.** A replay is refused, not double-charged.
- **You are charged on success only.** Settlement is submitted only when the endpoint returns 2xx; if
it errors or times out, your signed authorization is never submitted, so there is nothing to refund.
- Some endpoints serve a few free calls per day per client IP, with no wallet. The per-operation
description in the [OpenAPI spec](https://true402.dev/api/openapi.json) says which.
Full rules: **[true402.dev/terms](https://true402.dev/terms)** · what is logged and kept:
**[true402.dev/privacy](https://true402.dev/privacy)**