@mint.club/v2-eliza-plugin 2.0.2 → 2.0.3

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/dist/plugin.js +5 -1
  2. package/package.json +6 -6
package/dist/plugin.js CHANGED
@@ -30,8 +30,12 @@ function runMcCommand(argv) {
30
30
  }
31
31
  catch (error) {
32
32
  const failure = error;
33
+ const stdout = failure.stdout?.toString().trim();
33
34
  const stderr = failure.stderr?.toString().trim();
34
- throw new Error(`mc command failed: ${stderr || failure.message || 'unknown error'}`);
35
+ const detail = [stdout, stderr || failure.message || 'unknown error']
36
+ .filter(Boolean)
37
+ .join('\n');
38
+ throw new Error(`mc command failed: ${detail}`);
35
39
  }
36
40
  }
37
41
  function createAction(spec) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mint.club/v2-eliza-plugin",
3
- "version": "2.0.2",
3
+ "version": "2.0.3",
4
4
  "description": "ElizaOS plugin for Mint Club V2 Bond operations and bounded local Uniswap ZapV2 routing across supported chains",
5
5
  "files": [
6
6
  "dist/",
@@ -18,8 +18,8 @@
18
18
  "prepublishOnly": "npm run build"
19
19
  },
20
20
  "dependencies": {
21
- "@mint.club/v2-cli": "^2.0.2",
22
- "zod": "^4.3.5"
21
+ "@mint.club/v2-cli": "^2.0.3",
22
+ "zod": "^4.6.5"
23
23
  },
24
24
  "peerDependencies": {
25
25
  "@elizaos/core": "^1.7.2"
@@ -45,9 +45,9 @@
45
45
  },
46
46
  "devDependencies": {
47
47
  "@elizaos/core": "^1.7.2",
48
- "@types/node": "^22.0.0",
49
- "typescript": "^5.0.0",
50
- "vitest": "^3.2.7"
48
+ "@types/node": "^22.20.5",
49
+ "typescript": "^7.0.2",
50
+ "vitest": "^5.0.3"
51
51
  },
52
52
  "license": "MIT",
53
53
  "publishConfig": {