-
Notifications
You must be signed in to change notification settings - Fork 0
[Snyk] Security upgrade solana-agent-kit from 1.3.4 to 2.0.1 #40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -12,7 +12,7 @@ | |
| "dependencies": { | ||
| "discord.js": "^14.25.1", | ||
| "dotenv": "^16.4.7", | ||
| "solana-agent-kit": "^1.3.4" | ||
| "solana-agent-kit": "^2.0.1" | ||
|
||
| }, | ||
| "devDependencies": { | ||
| "@types/node": "^22.10.5", | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This upgrade to solana-agent-kit 2.0.10 (via ^2.0.1 specification) appears problematic. The root package is at version 1.4.8, and all other examples in the repository use versions 1.3.0-1.4.8. Version 2.0.10 has a completely different dependency structure - it includes @openai/agents and only has a minimal set of dependencies compared to the comprehensive v1.x versions. This appears to be either a different package, a major fork, or an incompatible version. The code in this example uses SolanaAgentKit and createSolanaTools which may have different APIs in version 2.x. This needs verification that: 1) version 2.0.10 is the correct official package, 2) the API is compatible with the existing code, and 3) this version should be used instead of updating all examples consistently.