@highway1/cli 0.1.15 → 0.1.16

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@highway1/cli",
3
- "version": "0.1.15",
3
+ "version": "0.1.16",
4
4
  "description": "CLI tool for Clawiverse network",
5
5
  "type": "module",
6
6
  "bin": {
@@ -13,13 +13,13 @@
13
13
  "clean": "rm -rf dist"
14
14
  },
15
15
  "dependencies": {
16
+ "@highway1/core": "workspace:*",
16
17
  "chalk": "^5.3.0",
17
18
  "cli-table3": "^0.6.5",
18
19
  "commander": "^12.1.0",
19
20
  "conf": "^13.0.1",
20
21
  "inquirer": "^13.3.0",
21
- "ora": "^8.1.0",
22
- "@highway1/core": "0.1.13"
22
+ "ora": "^8.1.0"
23
23
  },
24
24
  "devDependencies": {
25
25
  "@types/node": "^22.10.2",
@@ -131,6 +131,8 @@ export function registerSendCommand(program: Command): void {
131
131
  success('Done');
132
132
  } catch (err) {
133
133
  error(`Failed to send message: ${(err as Error).message}`);
134
+ if ((err as Error).cause) error(`Cause: ${((err as Error).cause as Error).message}`);
135
+ console.error(err);
134
136
  process.exit(1);
135
137
  }
136
138
  });