We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f22aa1f commit d7b020fCopy full SHA for d7b020f
cli/src/index.ts
@@ -20,6 +20,8 @@ import {
20
import { handleError } from "./error-handler.js";
21
import { createTransport, TransportOptions } from "./transport.js";
22
23
+import packageJson from "../package.json" with { type: "json" };
24
+
25
type Args = {
26
target: string[];
27
method?: string;
@@ -89,7 +91,7 @@ async function callMethod(args: Args): Promise<void> {
89
91
const transport = createTransport(transportOptions);
90
92
const client = new Client({
93
name: "inspector-cli",
- version: "0.5.1",
94
+ version: packageJson.version,
95
});
96
97
try {
0 commit comments