[WIP] Update security upgrade of solana-agent-kit to 2.0.1#34
Conversation
Co-authored-by: SMSDAO <144380926+SMSDAO@users.noreply.github.com>
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
0a2c321
into
snyk-fix-79d17d74375956f9b19adb7e2186c148
There was a problem hiding this comment.
Pull request overview
Updates the example projects to use solana-agent-kit ^2.0.1 as part of a security upgrade effort.
Changes:
- Bump
solana-agent-kitdependency to^2.0.1across multiple examplepackage.jsonfiles. - Standardize the dependency version in examples previously on various
1.xversions.
Reviewed changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated 9 comments.
Show a summary per file
| File | Description |
|---|---|
| examples/tg-bot-starter/group-tg-bot/package.json | Bumps solana-agent-kit to ^2.0.1 for the group Telegram bot example. |
| examples/tg-bot-starter/basic-tg-bot/package.json | Bumps solana-agent-kit to ^2.0.1 for the basic Telegram bot example. |
| examples/tg-bot-starter/advanced-tg-bot/package.json | Bumps solana-agent-kit to ^2.0.1 for the advanced Telegram bot example. |
| examples/persistent-agent/package.json | Bumps solana-agent-kit to ^2.0.1 for the persistent agent example. |
| examples/orbofi-personality-engine/package.json | Bumps solana-agent-kit to ^2.0.1 for the Orbofi personality engine example. |
| examples/discord-bot-starter/package.json | Bumps solana-agent-kit to ^2.0.1 for the Discord bot starter example. |
| examples/agent-kit-nextjs-langchain/package.json | Bumps solana-agent-kit to ^2.0.1 for the Next.js + LangChain example. |
| examples/agent-kit-mcp-server/package.json | Bumps solana-agent-kit to ^2.0.1 for the MCP server example. |
| examples/agent-kit-langgraph/package.json | Bumps solana-agent-kit to ^2.0.1 for the LangGraph example. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| "react": "^19.2.0", | ||
| "react-dom": "^19.0.0", | ||
| "solana-agent-kit": "^1.3.0" | ||
| "solana-agent-kit": "^2.0.1" |
There was a problem hiding this comment.
This dependency was bumped in package.json, but the corresponding pnpm-lock.yaml in this example still pins solana-agent-kit to 1.3.0. Please update the lockfile (e.g., run pnpm install in this example) so installs/CI actually use solana-agent-kit ^2.0.1.
| "solana-agent-kit": "^2.0.1" | |
| "solana-agent-kit": "^1.3.0" |
| "react": "^19.2.0", | ||
| "react-dom": "^19.0.0", | ||
| "solana-agent-kit": "^1.3.0" | ||
| "solana-agent-kit": "^2.0.1" |
There was a problem hiding this comment.
This dependency was bumped in package.json, but the corresponding pnpm-lock.yaml in this example still pins solana-agent-kit to 1.3.0. Please update the lockfile (e.g., run pnpm install in this example) so installs/CI actually use solana-agent-kit ^2.0.1.
| "solana-agent-kit": "^2.0.1" | |
| "solana-agent-kit": "1.3.0" |
| "dependencies": { | ||
| "@langchain/langgraph-checkpoint-postgres": "^0.0.2", | ||
| "solana-agent-kit": "^1.3.0" | ||
| "solana-agent-kit": "^2.0.1" |
There was a problem hiding this comment.
This dependency was bumped in package.json, but the corresponding pnpm-lock.yaml in this example still pins solana-agent-kit to 1.3.0. Please update the lockfile (run pnpm install here) so installs/CI actually use solana-agent-kit ^2.0.1.
| "solana-agent-kit": "^2.0.1" | |
| "solana-agent-kit": "^1.3.0" |
| "discord.js": "^14.25.1", | ||
| "dotenv": "^16.4.7", | ||
| "solana-agent-kit": "^1.3.4" | ||
| "solana-agent-kit": "^2.0.1" |
There was a problem hiding this comment.
This dependency was bumped in package.json, but examples/discord-bot-starter/pnpm-lock.yaml still pins solana-agent-kit to 1.3.4. Please update the lockfile (pnpm install) so installs/CI actually use solana-agent-kit ^2.0.1.
| "solana-agent-kit": "^2.0.1" | |
| "solana-agent-kit": "^1.3.4" |
| "react-dom": "^18.3.1", | ||
| "react-toastify": "^9.1.3", | ||
| "solana-agent-kit": "^1.3.0", | ||
| "solana-agent-kit": "^2.0.1", |
There was a problem hiding this comment.
This dependency was bumped in package.json, but examples/agent-kit-nextjs-langchain/pnpm-lock.yaml still pins solana-agent-kit to 1.3.0. Please update the lockfile (pnpm install) so installs/CI actually use solana-agent-kit ^2.0.1.
| "solana-agent-kit": "^2.0.1", | |
| "solana-agent-kit": "1.3.0", |
| "@modelcontextprotocol/sdk": "^1.5.0", | ||
| "dotenv": "^16.4.7", | ||
| "solana-agent-kit": "1.4.8", | ||
| "solana-agent-kit": "^2.0.1", |
There was a problem hiding this comment.
This dependency was bumped in package.json, but examples/agent-kit-mcp-server/pnpm-lock.yaml still pins solana-agent-kit to 1.4.8. Please update the lockfile (pnpm install) so installs/CI actually use solana-agent-kit ^2.0.1.
| "solana-agent-kit": "^2.0.1", | |
| "solana-agent-kit": "1.4.8", |
| "react": "^19.0.0", | ||
| "react-dom": "^19.0.0", | ||
| "solana-agent-kit": "^1.3.0" | ||
| "solana-agent-kit": "^2.0.1" |
There was a problem hiding this comment.
This dependency was bumped in package.json, but the corresponding pnpm-lock.yaml in this example still pins solana-agent-kit to 1.3.0. Please update the lockfile (e.g., run pnpm install in this example) so installs/CI actually use solana-agent-kit ^2.0.1.
| "solana-agent-kit": "^2.0.1" | |
| "solana-agent-kit": "^1.3.0" |
| "dependencies": { | ||
| "@langchain/langgraph-checkpoint-postgres": "^0.0.2", | ||
| "solana-agent-kit": "^1.3.0" | ||
| "solana-agent-kit": "^2.0.1" |
There was a problem hiding this comment.
package.json was updated to solana-agent-kit ^2.0.1, but this example’s package-lock.json still references solana-agent-kit ^1.3.0 / 1.x (and will keep npm installs on the old version). Please regenerate/update package-lock.json so npm installs resolve to 2.0.1.
| "solana-agent-kit": "^2.0.1" | |
| "solana-agent-kit": "^1.3.0" |
| "@solana/web3.js": "^1.98.0", | ||
| "dotenv": "^16.4.7", | ||
| "solana-agent-kit": "^1.3.0", | ||
| "solana-agent-kit": "^2.0.1", |
There was a problem hiding this comment.
This dependency was bumped in package.json, but examples/agent-kit-langgraph/pnpm-lock.yaml still pins solana-agent-kit to 1.3.0. Please update the lockfile (pnpm install) so installs/CI actually use solana-agent-kit ^2.0.1.
| "solana-agent-kit": "^2.0.1", | |
| "solana-agent-kit": "^1.3.0", |
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.