@indexnetwork/cli 0.16.0-rc.65.1 → 0.17.0-rc.66.1

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/index.js +8 -10
  2. package/package.json +5 -5
package/dist/index.js CHANGED
@@ -19,7 +19,7 @@ import { spawn } from "node:child_process";
19
19
  // package.json
20
20
  var package_default = {
21
21
  name: "@indexnetwork/cli",
22
- version: "0.16.0",
22
+ version: "0.17.0",
23
23
  description: "Command-line interface for Index Network",
24
24
  license: "MIT",
25
25
  type: "module",
@@ -39,10 +39,10 @@ var package_default = {
39
39
  "publish:all": "bun scripts/publish.ts"
40
40
  },
41
41
  optionalDependencies: {
42
- "@indexnetwork/cli-linux-x64": "0.16.0",
43
- "@indexnetwork/cli-linux-arm64": "0.16.0",
44
- "@indexnetwork/cli-darwin-x64": "0.16.0",
45
- "@indexnetwork/cli-darwin-arm64": "0.16.0"
42
+ "@indexnetwork/cli-linux-x64": "0.17.0",
43
+ "@indexnetwork/cli-linux-arm64": "0.17.0",
44
+ "@indexnetwork/cli-darwin-x64": "0.17.0",
45
+ "@indexnetwork/cli-darwin-arm64": "0.17.0"
46
46
  },
47
47
  devDependencies: {
48
48
  "@types/bun": "1.3.14"
@@ -1228,9 +1228,8 @@ function profileCard(data) {
1228
1228
  lines.push("");
1229
1229
  lines.push(hline);
1230
1230
  const displayName = data.name ?? "(unnamed)";
1231
- const ghostTag = data.isGhost ? ` ${YELLOW}[ghost]${RESET}` : "";
1232
- const nameContent = `${BOLD}${WHITE}${displayName}${RESET}${ghostTag}`;
1233
- lines.push(` ${border("|")} ${nameContent}${padTo(W - 2, stripAnsi(displayName + (data.isGhost ? " [ghost]" : "")))}${border("|")}`);
1231
+ const nameContent = `${BOLD}${WHITE}${displayName}${RESET}`;
1232
+ lines.push(` ${border("|")} ${nameContent}${padTo(W - 2, stripAnsi(displayName))}${border("|")}`);
1234
1233
  if (data.intro) {
1235
1234
  lines.push(` ${border("|")}${" ".repeat(W)}${border("|")}`);
1236
1235
  const wrapped = wordWrap(data.intro, W - 4);
@@ -1274,8 +1273,7 @@ function contactTable(contacts) {
1274
1273
  const header = ` ${"Name".padEnd(nameWidth)} Email`;
1275
1274
  console.log(`${BOLD}${header}${RESET}`);
1276
1275
  for (const c of contacts) {
1277
- const ghost = c.isGhost ? ` ${DIM}(ghost)${RESET}` : "";
1278
- console.log(` ${c.name.padEnd(nameWidth)} ${c.email}${ghost}`);
1276
+ console.log(` ${c.name.padEnd(nameWidth)} ${c.email}`);
1279
1277
  }
1280
1278
  }
1281
1279
  function intentTable(intents) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@indexnetwork/cli",
3
- "version": "0.16.0-rc.65.1",
3
+ "version": "0.17.0-rc.66.1",
4
4
  "description": "Command-line interface for Index Network",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -20,10 +20,10 @@
20
20
  "publish:all": "bun scripts/publish.ts"
21
21
  },
22
22
  "optionalDependencies": {
23
- "@indexnetwork/cli-linux-x64": "0.16.0-rc.65.1",
24
- "@indexnetwork/cli-linux-arm64": "0.16.0-rc.65.1",
25
- "@indexnetwork/cli-darwin-x64": "0.16.0-rc.65.1",
26
- "@indexnetwork/cli-darwin-arm64": "0.16.0-rc.65.1"
23
+ "@indexnetwork/cli-linux-x64": "0.17.0-rc.66.1",
24
+ "@indexnetwork/cli-linux-arm64": "0.17.0-rc.66.1",
25
+ "@indexnetwork/cli-darwin-x64": "0.17.0-rc.66.1",
26
+ "@indexnetwork/cli-darwin-arm64": "0.17.0-rc.66.1"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@types/bun": "1.3.14"