@zgeoff/imp-client 0.19.0 → 0.20.0

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 CHANGED
@@ -12099,6 +12099,7 @@ declare const impContract: {
12099
12099
  ramUsedMib: z.ZodInt;
12100
12100
  ramReservedMib: z.ZodInt;
12101
12101
  ramCommittedMib: z.ZodInt;
12102
+ ramSleepingMib: z.ZodOptional<z.ZodInt>;
12102
12103
  awakeCount: z.ZodInt;
12103
12104
  impCount: z.ZodInt;
12104
12105
  sessionCount: z.ZodInt;
@@ -12148,6 +12149,13 @@ declare const impContract: {
12148
12149
  hostCpus: z.ZodInt;
12149
12150
  limitsEnforced: z.ZodBoolean;
12150
12151
  }, z.core.$strip>>;
12152
+ defaults: z.ZodOptional<z.ZodObject<{
12153
+ memoryMib: z.ZodInt;
12154
+ image: z.ZodNullable<z.ZodString>;
12155
+ }, z.core.$strip>>;
12156
+ egress: z.ZodOptional<z.ZodObject<{
12157
+ isEnforced: z.ZodBoolean;
12158
+ }, z.core.$strip>>;
12151
12159
  public: z.ZodOptional<z.ZodNullable<z.ZodObject<{
12152
12160
  ip: z.ZodIPv4;
12153
12161
  imps: z.ZodInt;
@@ -13675,6 +13683,7 @@ declare const SystemInfoSchema: z.ZodObject<{
13675
13683
  ramUsedMib: z.ZodInt;
13676
13684
  ramReservedMib: z.ZodInt;
13677
13685
  ramCommittedMib: z.ZodInt;
13686
+ ramSleepingMib: z.ZodOptional<z.ZodInt>;
13678
13687
  awakeCount: z.ZodInt;
13679
13688
  impCount: z.ZodInt;
13680
13689
  sessionCount: z.ZodInt;
@@ -13724,6 +13733,13 @@ declare const SystemInfoSchema: z.ZodObject<{
13724
13733
  hostCpus: z.ZodInt;
13725
13734
  limitsEnforced: z.ZodBoolean;
13726
13735
  }, z.core.$strip>>;
13736
+ defaults: z.ZodOptional<z.ZodObject<{
13737
+ memoryMib: z.ZodInt;
13738
+ image: z.ZodNullable<z.ZodString>;
13739
+ }, z.core.$strip>>;
13740
+ egress: z.ZodOptional<z.ZodObject<{
13741
+ isEnforced: z.ZodBoolean;
13742
+ }, z.core.$strip>>;
13727
13743
  public: z.ZodOptional<z.ZodNullable<z.ZodObject<{
13728
13744
  ip: z.ZodIPv4;
13729
13745
  imps: z.ZodInt;
package/dist/index.js CHANGED
@@ -3,7 +3,7 @@ import { RPCLink } from "@orpc/client/fetch";
3
3
  import * as z from "zod";
4
4
  //#endregion
5
5
  //#region src/check-server.ts
6
- const CLIENT_VERSION = "0.19.0";
6
+ const CLIENT_VERSION = "0.20.0";
7
7
  async function checkServer(rpc) {
8
8
  const info = await rpc.system.info();
9
9
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zgeoff/imp-client",
3
- "version": "0.19.0",
3
+ "version": "0.20.0",
4
4
  "description": "Typed client for impd, the imp host daemon: imps, checkpoints, images and exec",
5
5
  "license": "MIT",
6
6
  "repository": {