@solongate/proxy 0.82.42 → 0.82.43
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/index.js +583 -385
- package/dist/self-update.d.ts +7 -0
- package/dist/tui/index.js +930 -919
- package/package.json +1 -1
package/dist/self-update.d.ts
CHANGED
|
@@ -3,6 +3,13 @@ export declare function currentVersion(): string;
|
|
|
3
3
|
export declare function newerThan(b: string, a: string): boolean;
|
|
4
4
|
/** The latest version published to npm, or null if it can't be reached. */
|
|
5
5
|
export declare function latestVersion(): Promise<string | null>;
|
|
6
|
+
/** Foreground global install — resolves true on success, output → update log. */
|
|
7
|
+
/**
|
|
8
|
+
* `solongate update` — explicit, visible update instead of waiting for the
|
|
9
|
+
* background auto-update: installs the newest CLI globally, then refreshes the
|
|
10
|
+
* installed guard hooks. Returns a process exit code.
|
|
11
|
+
*/
|
|
12
|
+
export declare function runUpdateCommand(): Promise<number>;
|
|
6
13
|
/** What the dataroom shows about the updater. */
|
|
7
14
|
export type UpdateStatus = {
|
|
8
15
|
kind: 'idle';
|