sandbox 3.3.1 → 3.4.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.
@@ -7286,7 +7286,7 @@ const scope = {
7286
7286
 
7287
7287
  //#endregion
7288
7288
  //#region package.json
7289
- var version = "3.3.1";
7289
+ var version = "3.4.0";
7290
7290
 
7291
7291
  //#endregion
7292
7292
  //#region src/error.ts
@@ -8379,7 +8379,11 @@ const list = import_cjs$12.command({
8379
8379
  MEMORY: { value: (s$1) => s$1.memory != null ? memoryFormatter.format(s$1.memory) : "-" },
8380
8380
  VCPUS: { value: (s$1) => s$1.vcpus ?? "-" },
8381
8381
  RUNTIME: { value: (s$1) => s$1.runtime ?? "-" },
8382
- TIMEOUT: { value: (s$1) => s$1.timeout != null ? timeAgo(s$1.createdAt + s$1.timeout) : "-" },
8382
+ TIMEOUT: { value: (s$1) => {
8383
+ if (s$1.expiresAt != null) return timeAgo(s$1.expiresAt);
8384
+ if (s$1.timeout != null) return timeAgo(s$1.createdAt + s$1.timeout);
8385
+ return "-";
8386
+ } },
8383
8387
  SNAPSHOT: { value: (s$1) => s$1.currentSnapshotId ?? "-" },
8384
8388
  TAGS: { value: (s$1) => s$1.tags && Object.keys(s$1.tags).length > 0 ? Object.entries(s$1.tags).map(([k, v]) => `${k}:${v}`).join(", ") : "-" }
8385
8389
  };
@@ -12067,4 +12071,4 @@ const app = (opts) => (0, import_cjs.subcommands)({
12067
12071
 
12068
12072
  //#endregion
12069
12073
  export { source_exports as a, init_source as i, printTopLevelError as n, require_cjs as r, app as t };
12070
- //# sourceMappingURL=app-C0bIcnCg.mjs.map
12074
+ //# sourceMappingURL=app-CsBNEDNb.mjs.map