@indexnetwork/cli 0.30.0-rc.92.1 → 0.30.0-rc.96.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 +3 -3
  2. package/package.json +5 -5
package/dist/index.js CHANGED
@@ -1102,7 +1102,7 @@ function intentTable(intents) {
1102
1102
  month: "short",
1103
1103
  day: "numeric"
1104
1104
  });
1105
- const sColor = intent.status === "ACTIVE" ? GREEN : GRAY;
1105
+ const sColor = intent.status === "active" ? GREEN : GRAY;
1106
1106
  console.log(` ${CYAN}${shortId}${RESET} ${desc.padEnd(descWidth)} ${sColor}${status}${RESET} ${GRAY}${source}${RESET} ${GRAY}${date}${RESET}`);
1107
1107
  }
1108
1108
  }
@@ -1147,7 +1147,7 @@ function intentCard(intent) {
1147
1147
  console.log(` ${BOLD}${CYAN}Intent Details${RESET}`);
1148
1148
  console.log(` ${GRAY}${"─".repeat(50)}${RESET}`);
1149
1149
  console.log(` ${BOLD}ID${RESET} ${GRAY}${intent.id}${RESET}`);
1150
- console.log(` ${BOLD}Status${RESET} ${intent.status === "ACTIVE" ? GREEN : GRAY}${intent.status}${RESET}`);
1150
+ console.log(` ${BOLD}Status${RESET} ${intent.status === "active" ? GREEN : GRAY}${intent.status}${RESET}`);
1151
1151
  if (intent.summary) {
1152
1152
  console.log(` ${BOLD}Summary${RESET} ${intent.summary}`);
1153
1153
  }
@@ -1771,7 +1771,7 @@ async function handleIntent(client, subcommand, options) {
1771
1771
  case "resume": {
1772
1772
  if (!options.intentId)
1773
1773
  throw new Error(`Usage: index intent ${subcommand} <id>`);
1774
- const status = subcommand === "pause" ? "PAUSED" : "ACTIVE";
1774
+ const status = subcommand === "pause" ? "paused" : "active";
1775
1775
  await client.updateIntentStatus(options.intentId, status);
1776
1776
  if (options.json)
1777
1777
  console.log(JSON.stringify({ intentId: options.intentId, status }));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@indexnetwork/cli",
3
- "version": "0.30.0-rc.92.1",
3
+ "version": "0.30.0-rc.96.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.30.0-rc.92.1",
24
- "@indexnetwork/cli-linux-arm64": "0.30.0-rc.92.1",
25
- "@indexnetwork/cli-darwin-x64": "0.30.0-rc.92.1",
26
- "@indexnetwork/cli-darwin-arm64": "0.30.0-rc.92.1"
23
+ "@indexnetwork/cli-linux-x64": "0.30.0-rc.96.1",
24
+ "@indexnetwork/cli-linux-arm64": "0.30.0-rc.96.1",
25
+ "@indexnetwork/cli-darwin-x64": "0.30.0-rc.96.1",
26
+ "@indexnetwork/cli-darwin-arm64": "0.30.0-rc.96.1"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@types/bun": "1.3.14"