Skip to content

Commit 691bc10

Browse files
committed
Release v0.22.0
Origin-SHA: 70311407bc0427524377ffdce45325009c96b6fc
1 parent 9f73b5e commit 691bc10

16 files changed

Lines changed: 561 additions & 146 deletions

File tree

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @opensea/tool-sdk
22

3+
## 0.22.0
4+
5+
### Minor Changes
6+
7+
- c80dc52: Migrate `paidFetch`, `paidAuthenticatedFetch`, and the `pay` CLI to use `@x402/core` client infrastructure (`x402Client`, `x402HTTPClient`, `SchemeNetworkClient`) for payment payload creation and header encoding. Adds `ExactEip3009Scheme` adapter wrapping tool-sdk's existing EIP-3009 signing into the standard x402 scheme interface. No public API changes.
8+
39
## 0.21.0
410

511
### Minor Changes

examples/nft-appraisal-tool/api/holder.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,10 @@ const vercelHandler = toVercelHandler(
5454
}),
5555
)
5656

57+
// The LLM appraisal + OpenSea data fetch can run well past Vercel's 10s Hobby
58+
// default; allow up to the Hobby maximum so slow calls don't 502.
59+
export const maxDuration = 60
60+
5761
export default function (req: VercelRequest, res: VercelResponse) {
5862
return vercelHandler(req, res)
5963
}

examples/nft-appraisal-tool/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
},
1919
"dependencies": {
2020
"@ai-sdk/anthropic": "^1.2.0",
21-
"@opensea/tool-sdk": "^0.20.0",
21+
"@opensea/tool-sdk": "^0.21.0",
2222
"ai": "^4.3.0",
2323
"zod": "4.3.6"
2424
},

examples/nft-appraisal-tool/pnpm-lock.yaml

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/token-nft-overlap-tool/api/index.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@ const vercelHandler = toVercelHandler(
3939
}),
4040
)
4141

42+
// The LLM + OpenSea holder-overlap computation can run well past Vercel's 10s
43+
// Hobby default; allow up to the Hobby maximum so slow calls don't 502.
44+
export const maxDuration = 60
45+
4246
export default function (req: VercelRequest, res: VercelResponse) {
4347
return vercelHandler(req, res)
4448
}

examples/token-nft-overlap-tool/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"test": "vitest run"
1818
},
1919
"dependencies": {
20-
"@opensea/tool-sdk": "^0.20.0",
20+
"@opensea/tool-sdk": "^0.21.0",
2121
"zod": "4.3.6"
2222
},
2323
"devDependencies": {

examples/token-nft-overlap-tool/pnpm-lock.yaml

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/wallet-personality-tool/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
},
1818
"dependencies": {
1919
"@ai-sdk/anthropic": "1.2.12",
20-
"@opensea/tool-sdk": "^0.20.0",
20+
"@opensea/tool-sdk": "^0.21.0",
2121
"ai": "4.3.19",
2222
"zod": "4.3.6"
2323
},

examples/wallet-personality-tool/pnpm-lock.yaml

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@opensea/tool-sdk",
3-
"version": "0.21.0",
3+
"version": "0.22.0",
44
"type": "module",
55
"description": "SDK and CLI for building ERC-8257 compliant AI agent tools",
66
"repository": {
@@ -39,8 +39,10 @@
3939
"type-check": "tsc --noEmit"
4040
},
4141
"dependencies": {
42-
"@opensea/wallet-adapters": "^0.3.1",
4342
"@clack/prompts": "0.10.1",
43+
"@opensea/wallet-adapters": "^0.3.1",
44+
"@x402/core": "2.15.0",
45+
"@x402/fetch": "2.15.0",
4446
"canonicalize": "2.1.0",
4547
"commander": "14.0.3",
4648
"jiti": "2.6.1",

0 commit comments

Comments
 (0)