diff --git a/typescript/.changeset/eight-islands-march.md b/typescript/.changeset/eight-islands-march.md new file mode 100644 index 000000000..f8e45f617 --- /dev/null +++ b/typescript/.changeset/eight-islands-march.md @@ -0,0 +1,6 @@ +--- +"goat-examples-vercel-ai-viem": patch +"@goat-sdk/plugin-0x": patch +--- + +Release 0x plugin diff --git a/typescript/examples/vercel-ai/viem/index.ts b/typescript/examples/vercel-ai/viem/index.ts index d71adf337..cce459416 100644 --- a/typescript/examples/vercel-ai/viem/index.ts +++ b/typescript/examples/vercel-ai/viem/index.ts @@ -11,8 +11,7 @@ import { base } from "viem/chains"; import { getOnChainTools } from "@goat-sdk/adapter-vercel-ai"; import { PEPE, USDC, erc20 } from "@goat-sdk/plugin-erc20"; -import { zeroEx } from "@goat-sdk/plugin-0x"; -//import { uniswap } from "@goat-sdk/plugin-uniswap"; +import { uniswap } from "@goat-sdk/plugin-uniswap"; import { sendETH } from "@goat-sdk/wallet-evm"; import { viem } from "@goat-sdk/wallet-viem"; @@ -32,12 +31,9 @@ const walletClient = createWalletClient({ plugins: [ sendETH(), erc20({ tokens: [USDC, PEPE] }), - // uniswap({ - // baseUrl: process.env.UNISWAP_BASE_URL as string, - // apiKey: process.env.UNISWAP_API_KEY as string, - // }), - zeroEx({ - apiKey: process.env.ZEROEX_API_KEY as string, + uniswap({ + baseUrl: process.env.UNISWAP_BASE_URL as string, + apiKey: process.env.UNISWAP_API_KEY as string, }), ], }); diff --git a/typescript/examples/vercel-ai/viem/package.json b/typescript/examples/vercel-ai/viem/package.json index 7fa267a3d..f7f5cae9a 100644 --- a/typescript/examples/vercel-ai/viem/package.json +++ b/typescript/examples/vercel-ai/viem/package.json @@ -14,7 +14,6 @@ "@goat-sdk/core": "workspace:*", "@goat-sdk/plugin-erc20": "workspace:*", "@goat-sdk/plugin-uniswap": "workspace:*", - "@goat-sdk/plugin-0x": "workspace:*", "@goat-sdk/wallet-evm": "workspace:*", "@goat-sdk/wallet-viem": "workspace:*", "ai": "catalog:", diff --git a/typescript/pnpm-lock.yaml b/typescript/pnpm-lock.yaml index dc66fdb45..c79cbedd3 100644 --- a/typescript/pnpm-lock.yaml +++ b/typescript/pnpm-lock.yaml @@ -791,9 +791,6 @@ importers: '@goat-sdk/core': specifier: workspace:* version: link:../../../packages/core - '@goat-sdk/plugin-0x': - specifier: workspace:* - version: link:../../../packages/plugins/0x '@goat-sdk/plugin-erc20': specifier: workspace:* version: link:../../../packages/plugins/erc20