@agent-shield/plugin-solana-agent-kit 0.4.1 → 0.4.2

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.
Files changed (2) hide show
  1. package/README.md +2 -2
  2. package/package.json +9 -10
package/README.md CHANGED
@@ -64,7 +64,7 @@ const protectedWallet = createShieldedWallet({
64
64
 
65
65
  ## Tools
66
66
 
67
- The plugin registers 4 monitoring/management tools on the agent:
67
+ The plugin registers 5 monitoring/management tools on the agent:
68
68
 
69
69
  | Tool | Description | Parameters |
70
70
  |------|-------------|------------|
@@ -203,7 +203,7 @@ Agent calls swap() → SAK builds transaction → shield() intercepts signTransa
203
203
 
204
204
  ```bash
205
205
  npm test
206
- # Runs 23 tests covering all tools, factory, config resolution, and event wiring
206
+ # Runs 25 tests covering all tools, factory, config resolution, and event wiring
207
207
  ```
208
208
 
209
209
  ## Related Packages
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agent-shield/plugin-solana-agent-kit",
3
- "version": "0.4.1",
3
+ "version": "0.4.2",
4
4
  "author": "Kaleb Rupe (https://x.com/MightieMags)",
5
5
  "homepage": "https://github.com/Kaleb-Rupe/agentshield#readme",
6
6
  "bugs": {
@@ -10,12 +10,6 @@
10
10
  "description": "AgentShield plugin for Solana Agent Kit — shield() wrapper monitoring and management tools",
11
11
  "main": "dist/index.js",
12
12
  "types": "dist/index.d.ts",
13
- "scripts": {
14
- "build": "tsc",
15
- "clean": "rm -rf dist",
16
- "test": "mocha --require ts-node/register tests/**/*.test.ts --timeout 30000",
17
- "prepublishOnly": "npm run build"
18
- },
19
13
  "files": [
20
14
  "dist/**/*",
21
15
  "README.md"
@@ -29,7 +23,6 @@
29
23
  "@solana/web3.js": ">=1.90.0"
30
24
  },
31
25
  "devDependencies": {
32
- "@agent-shield/solana": "workspace:*",
33
26
  "solana-agent-kit": "^2.0.0",
34
27
  "@solana/web3.js": "^1.95.0",
35
28
  "typescript": "^5.3.3",
@@ -37,7 +30,8 @@
37
30
  "@types/mocha": "^10.0.6",
38
31
  "chai": "^4.4.1",
39
32
  "mocha": "^10.3.0",
40
- "ts-node": "^10.9.2"
33
+ "ts-node": "^10.9.2",
34
+ "@agent-shield/solana": "0.3.2"
41
35
  },
42
36
  "dependencies": {
43
37
  "zod": "^3.22.0"
@@ -56,5 +50,10 @@
56
50
  "type": "git",
57
51
  "url": "https://github.com/Kaleb-Rupe/agentshield",
58
52
  "directory": "plugins/solana-agent-kit"
53
+ },
54
+ "scripts": {
55
+ "build": "tsc",
56
+ "clean": "rm -rf dist",
57
+ "test": "mocha --require ts-node/register tests/**/*.test.ts --timeout 30000"
59
58
  }
60
- }
59
+ }