@chainalert/cli 0.0.4 → 0.0.5

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.
@@ -37,7 +37,7 @@ async function run(args, flags) {
37
37
  spinner.start("Fetching detections...");
38
38
  const result = await listDetections({
39
39
  status: flags.status,
40
- networkId: flags.network,
40
+ networkSlug: flags.network,
41
41
  page: flags.page ? Number(flags.page) : void 0,
42
42
  limit: flags.limit ? Number(flags.limit) : void 0
43
43
  });
package/dist/index.js CHANGED
@@ -67,12 +67,12 @@ async function main() {
67
67
  switch (root) {
68
68
  // No command or "chat" -> interactive REPL
69
69
  case void 0: {
70
- const { startRepl } = await import("./repl-IHWAF3J3.js");
70
+ const { startRepl } = await import("./repl-LJY4YK5T.js");
71
71
  await startRepl();
72
72
  return;
73
73
  }
74
74
  case "chat": {
75
- const { startRepl } = await import("./repl-IHWAF3J3.js");
75
+ const { startRepl } = await import("./repl-LJY4YK5T.js");
76
76
  await startRepl();
77
77
  return;
78
78
  }
@@ -106,7 +106,7 @@ async function main() {
106
106
  return;
107
107
  }
108
108
  case "detections": {
109
- const mod = await import("./detections-2J5GMYZB.js");
109
+ const mod = await import("./detections-KMOYIRPE.js");
110
110
  await mod.run(rest, flags);
111
111
  return;
112
112
  }
@@ -126,9 +126,9 @@ var registry = [
126
126
  type: "string",
127
127
  description: 'Filter by status: "active", "paused", or "error".'
128
128
  },
129
- networkId: {
129
+ networkSlug: {
130
130
  type: "string",
131
- description: 'Filter by network ID, e.g. "ethereum-mainnet", "arbitrum-one".'
131
+ description: 'Filter by network slug, e.g. "ethereum-mainnet", "arbitrum-one".'
132
132
  },
133
133
  page: { type: "number", description: "Page number (1-based)." },
134
134
  limit: { type: "number", description: "Results per page (default 20, max 100)." }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chainalert/cli",
3
- "version": "0.0.4",
3
+ "version": "0.0.5",
4
4
  "description": "ChainAlert CLI — manage blockchain monitoring from the command line",
5
5
  "type": "module",
6
6
  "license": "MIT",