fizzl-langchain 0.1.1 → 0.2.0
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 +1 -1
- package/index.js +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -8,7 +8,7 @@ Five LangChain tools you pass to `createAgent`, `createReactAgent` or `model.bin
|
|
|
8
8
|
|
|
9
9
|
| Tool | What the agent checks | Service | Price |
|
|
10
10
|
|---|---|---|---|
|
|
11
|
-
| `check_before_signing` | a transaction, token approval or signature **before signing it**: green / orange / red with reason codes (drainers, unlimited approvals to unknown spenders, look-alike tokens, Permit/Permit2/Seaport signatures that hand over tokens) | [presign-guard](https://presign-guard.fizzl.eu) | $0.01 |
|
|
11
|
+
| `check_before_signing` | a transaction, token approval or signature **before signing it**: green / orange / red with reason codes (drainers, unlimited approvals to unknown spenders, look-alike tokens, Permit/Permit2/Seaport signatures that hand over tokens). With `from` (the agent's wallet) a transaction is simulated, so a hidden approval, an NFT leaving or a transaction that would fail shows up; with `intent` (one sentence) signing something else than meant is caught; with `x402` (the accepts entry being paid) a payment that pays more or someone else is red | [presign-guard](https://presign-guard.fizzl.eu) | $0.01 |
|
|
12
12
|
| `check_xrpl_transaction` | an **XRP Ledger** transaction before signing it: account takeover (SetRegularKey, SignerListSet, master key off), AccountDelete, fake RLUSD (red); partial payments, destinations that refuse or need a tag, risky issuers, DEX orders far below the order book or AMM price (orange) | presign-guard | $0.01 |
|
|
13
13
|
| `check_token` | a token **before buying or accepting it**: honeypot, rug-pull signs, look-alikes (Solana, EVM, and XRPL tokens as `CURRENCY.rIssuer`: clawback, freeze, transfer fee, fake RLUSD) | presign-guard | $0.01 |
|
|
14
14
|
| `check_wallet_approvals` | every open approval of a wallet and which to revoke | presign-guard | $0.02 |
|
package/index.js
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
import { tool } from "@langchain/core/tools";
|
|
10
10
|
import { fizzlTools as checks, PRICES, PRESIGN_URL, DOCTOR_URL } from "presign-guard-ai-sdk";
|
|
11
11
|
|
|
12
|
-
export const VERSION = "0.
|
|
12
|
+
export const VERSION = "0.2.0";
|
|
13
13
|
export { PRICES, PRESIGN_URL, DOCTOR_URL };
|
|
14
14
|
|
|
15
15
|
// The same checks as presign-guard-ai-sdk; only the user agent says where the call came from.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fizzl-langchain",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Safety checks for LangChain.js and LangGraph.js agents that pay: tools to check a transaction or signature before signing, a token before buying, a wallet's open approvals, and an x402 endpoint before paying it (presign-guard and x402 Doctor, paid per call over x402, with a free quick check to try them).",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"files": ["index.js", "index.d.ts", "README.md", "LICENSE"],
|
|
15
15
|
"engines": { "node": ">=20" },
|
|
16
16
|
"scripts": { "test": "node --test test/*.test.mjs", "example": "node example/agent.mjs" },
|
|
17
|
-
"dependencies": { "presign-guard-ai-sdk": "^0.
|
|
17
|
+
"dependencies": { "presign-guard-ai-sdk": "^0.4.0" },
|
|
18
18
|
"peerDependencies": { "@langchain/core": ">=0.3.58 <2.0.0", "zod": "^3.25.0 || ^4.0.0" },
|
|
19
19
|
"devDependencies": { "@langchain/core": "^1.2.0", "@langchain/langgraph": "^1.0.0", "zod": "^4.0.0" },
|
|
20
20
|
"keywords": ["langchain", "langchainjs", "langgraph", "tools", "agents", "x402", "mpp", "wallet", "security", "presign", "token-check", "honeypot", "approvals", "permit2", "usdc", "base", "solana", "xrpl", "rlusd"],
|