@vapi-network/cli 0.9.2 → 0.9.4
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/dist/cli.d.ts +1 -1
- package/dist/cli.js +467 -92
- package/dist/cli.js.map +3 -3
- package/dist/index.d.ts +1 -0
- package/dist/index.js +460 -86
- package/dist/index.js.map +3 -3
- package/dist/setup.d.ts +2 -1
- package/dist/update-check.d.ts +13 -0
- package/dist/version.d.ts +1 -1
- package/package.json +1 -1
package/dist/setup.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { type VapiConfig } from "@vapi-network/core";
|
|
2
2
|
import { type CliDependencies, type CliIo } from "./cli.js";
|
|
3
3
|
export declare function setupCommand(argv: string[], json: boolean, io: CliIo, dependencies: CliDependencies): Promise<void>;
|
|
4
|
-
export declare function restoreVaultFromPhrase(phrase: string, config: VapiConfig, io: CliIo, dependencies: CliDependencies): Promise<{
|
|
4
|
+
export declare function restoreVaultFromPhrase(phrase: string, config: VapiConfig, io: CliIo, dependencies: CliDependencies, accountCount?: number): Promise<{
|
|
5
5
|
names: string[];
|
|
6
|
+
scannedAddresses: number;
|
|
6
7
|
}>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { type CliDependencies, type CliIo } from "./cli.js";
|
|
2
|
+
type UpdateCheckOptions = {
|
|
3
|
+
argv?: string[];
|
|
4
|
+
env?: NodeJS.ProcessEnv;
|
|
5
|
+
stderrIsTTY?: boolean;
|
|
6
|
+
home?: string;
|
|
7
|
+
fetchImpl?: typeof fetch;
|
|
8
|
+
nowMs?: () => number;
|
|
9
|
+
};
|
|
10
|
+
/** Only the executable entry points check for updates, never SDK or MCP calls. */
|
|
11
|
+
export declare function runCliWithUpdateCheck(argv?: string[], io?: CliIo, dependencies?: CliDependencies, options?: UpdateCheckOptions): Promise<number>;
|
|
12
|
+
export declare function checkForUpdate(options?: UpdateCheckOptions): Promise<string | undefined>;
|
|
13
|
+
export {};
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const CLI_VERSION = "0.9.
|
|
1
|
+
export declare const CLI_VERSION = "0.9.4";
|