@impz/client 6.2.1 → 6.3.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.
- package/dist/index.d.ts +31 -0
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -327,6 +327,7 @@ declare const ImpEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
327
327
|
coldBootReason: z.ZodOptional<z.ZodString>;
|
|
328
328
|
steps: z.ZodOptional<z.ZodReadonly<z.ZodRecord<z.ZodString, z.ZodInt>>>;
|
|
329
329
|
released: z.ZodOptional<z.ZodInt>;
|
|
330
|
+
memFileMib: z.ZodOptional<z.ZodInt>;
|
|
330
331
|
}, z.core.$strip>>>;
|
|
331
332
|
}, z.core.$strip>, z.ZodObject<{
|
|
332
333
|
v: z.ZodLiteral<1>;
|
|
@@ -16389,6 +16390,7 @@ declare const impContract: {
|
|
|
16389
16390
|
coldBootReason?: string | undefined;
|
|
16390
16391
|
steps?: Readonly<Record<string, number>> | undefined;
|
|
16391
16392
|
released?: number | undefined;
|
|
16393
|
+
memFileMib?: number | undefined;
|
|
16392
16394
|
}> | undefined;
|
|
16393
16395
|
} | {
|
|
16394
16396
|
v: 1;
|
|
@@ -16675,6 +16677,7 @@ declare const impContract: {
|
|
|
16675
16677
|
coldBootReason?: string | undefined;
|
|
16676
16678
|
steps?: Readonly<Record<string, number>> | undefined;
|
|
16677
16679
|
released?: number | undefined;
|
|
16680
|
+
memFileMib?: number | undefined;
|
|
16678
16681
|
}> | undefined;
|
|
16679
16682
|
} | {
|
|
16680
16683
|
v: 1;
|
|
@@ -17094,6 +17097,20 @@ declare const impContract: {
|
|
|
17094
17097
|
imagePins: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
17095
17098
|
buildContextUpload: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
17096
17099
|
}, import("zod/v4/core").$strip>>;
|
|
17100
|
+
host: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
17101
|
+
kernel: import("zod").ZodString;
|
|
17102
|
+
cpuModel: import("zod").ZodString;
|
|
17103
|
+
isNested: import("zod").ZodBoolean;
|
|
17104
|
+
hugePages: import("zod").ZodEnum<{
|
|
17105
|
+
"2M": "2M";
|
|
17106
|
+
off: "off";
|
|
17107
|
+
}>;
|
|
17108
|
+
hugePool: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
17109
|
+
totalMib: import("zod").ZodInt;
|
|
17110
|
+
freeMib: import("zod").ZodInt;
|
|
17111
|
+
}, import("zod/v4/core").$strip>>;
|
|
17112
|
+
bootTemplates: import("zod").ZodNullable<import("zod").ZodInt>;
|
|
17113
|
+
}, import("zod/v4/core").$strip>>;
|
|
17097
17114
|
}, import("zod/v4/core").$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
17098
17115
|
NOT_FOUND: {
|
|
17099
17116
|
readonly message: "Not found";
|
|
@@ -21599,6 +21616,20 @@ declare const SystemInfoSchema: z.ZodObject<{
|
|
|
21599
21616
|
imagePins: z.ZodOptional<z.ZodBoolean>;
|
|
21600
21617
|
buildContextUpload: z.ZodOptional<z.ZodBoolean>;
|
|
21601
21618
|
}, z.core.$strip>>;
|
|
21619
|
+
host: z.ZodOptional<z.ZodObject<{
|
|
21620
|
+
kernel: z.ZodString;
|
|
21621
|
+
cpuModel: z.ZodString;
|
|
21622
|
+
isNested: z.ZodBoolean;
|
|
21623
|
+
hugePages: z.ZodEnum<{
|
|
21624
|
+
"2M": "2M";
|
|
21625
|
+
off: "off";
|
|
21626
|
+
}>;
|
|
21627
|
+
hugePool: z.ZodNullable<z.ZodObject<{
|
|
21628
|
+
totalMib: z.ZodInt;
|
|
21629
|
+
freeMib: z.ZodInt;
|
|
21630
|
+
}, z.core.$strip>>;
|
|
21631
|
+
bootTemplates: z.ZodNullable<z.ZodInt>;
|
|
21632
|
+
}, z.core.$strip>>;
|
|
21602
21633
|
}, z.core.$strip>;
|
|
21603
21634
|
type SystemInfo = z.infer<typeof SystemInfoSchema>;
|
|
21604
21635
|
declare const SystemFeaturesInfoSchema: z.ZodObject<{
|
package/dist/index.js
CHANGED
|
@@ -5,7 +5,7 @@ import { P, match } from "ts-pattern";
|
|
|
5
5
|
import pRetry, { AbortError } from "p-retry";
|
|
6
6
|
//#endregion
|
|
7
7
|
//#region src/check-server.ts
|
|
8
|
-
const CLIENT_VERSION = "6.
|
|
8
|
+
const CLIENT_VERSION = "6.3.1";
|
|
9
9
|
async function checkServer(rpc, options = {}) {
|
|
10
10
|
const signal = options.signal;
|
|
11
11
|
const callOptions = signal === void 0 ? {} : { signal };
|