ppio-sandbox 2.1.4-a1 → 2.1.4-a2

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.
@@ -5,7 +5,7 @@ import {
5
5
  TimeoutError,
6
6
  __spreadProps,
7
7
  __spreadValues
8
- } from "./chunk-RWHOETVW.mjs";
8
+ } from "./chunk-DKWK5NRD.mjs";
9
9
 
10
10
  // src/desktop/utils.ts
11
11
  import { randomBytes } from "crypto";
@@ -530,4 +530,4 @@ var VNCServer = class {
530
530
  export {
531
531
  Sandbox2 as Sandbox
532
532
  };
533
- //# sourceMappingURL=chunk-Q4BOWZMT.mjs.map
533
+ //# sourceMappingURL=chunk-2B6TN3O4.mjs.map
@@ -60,7 +60,7 @@ import createClient from "openapi-fetch";
60
60
  import platform2 from "platform";
61
61
 
62
62
  // package.json
63
- var version = "2.1.4-a1";
63
+ var version = "2.1.4-a2";
64
64
 
65
65
  // src/core/utils.ts
66
66
  import platform from "platform";
@@ -3999,7 +3999,7 @@ var SandboxPaginator = class extends BasePaginator {
3999
3999
  const data = await response.json();
4000
4000
  return (data != null ? data : []).map((sandbox) => {
4001
4001
  var _a4, _b2;
4002
- return __spreadProps(__spreadValues({
4002
+ return __spreadProps(__spreadValues(__spreadProps(__spreadValues({
4003
4003
  sandboxId: sandbox.clientID != null ? `${sandbox.sandboxID}-${sandbox.clientID}` : sandbox.sandboxID,
4004
4004
  templateId: sandbox.templateID
4005
4005
  }, sandbox.alias && { name: sandbox.alias }), {
@@ -4008,7 +4008,10 @@ var SandboxPaginator = class extends BasePaginator {
4008
4008
  endAt: new Date(sandbox.endAt),
4009
4009
  state: sandbox.state,
4010
4010
  cpuCount: sandbox.cpuCount,
4011
- memoryMB: sandbox.memoryMB,
4011
+ memoryMB: sandbox.memoryMB
4012
+ }), sandbox.diskSizeMB !== void 0 && {
4013
+ diskSizeMB: sandbox.diskSizeMB
4014
+ }), {
4012
4015
  envdVersion: sandbox.envdVersion,
4013
4016
  volumeMounts: (_b2 = sandbox.volumeMounts) != null ? _b2 : []
4014
4017
  });
@@ -4034,7 +4037,7 @@ var SandboxPaginator = class extends BasePaginator {
4034
4037
  return ((_e = res.data) != null ? _e : []).map(
4035
4038
  (sandbox) => {
4036
4039
  var _a4, _b2;
4037
- return __spreadProps(__spreadValues({
4040
+ return __spreadProps(__spreadValues(__spreadProps(__spreadValues({
4038
4041
  sandboxId: this.config.isLegacyDomain && sandbox.clientID != null ? `${sandbox.sandboxID}-${sandbox.clientID}` : sandbox.sandboxID,
4039
4042
  templateId: sandbox.templateID
4040
4043
  }, sandbox.alias && { name: sandbox.alias }), {
@@ -4043,7 +4046,10 @@ var SandboxPaginator = class extends BasePaginator {
4043
4046
  endAt: new Date(sandbox.endAt),
4044
4047
  state: sandbox.state,
4045
4048
  cpuCount: sandbox.cpuCount,
4046
- memoryMB: sandbox.memoryMB,
4049
+ memoryMB: sandbox.memoryMB
4050
+ }), sandbox.diskSizeMB !== void 0 && {
4051
+ diskSizeMB: sandbox.diskSizeMB
4052
+ }), {
4047
4053
  envdVersion: sandbox.envdVersion,
4048
4054
  volumeMounts: (_b2 = sandbox.volumeMounts) != null ? _b2 : []
4049
4055
  });
@@ -8061,12 +8067,12 @@ var PPIO = class {
8061
8067
  this.secret = new SecretNamespace(opts);
8062
8068
  this.codeInterpreter = new RuntimeSandboxNamespace(
8063
8069
  opts,
8064
- () => import("./sandbox-OKITI7WW.mjs")
8070
+ () => import("./sandbox-3WKRVKUL.mjs")
8065
8071
  );
8066
8072
  this.code_interpreter = this.codeInterpreter;
8067
8073
  this.desktop = new RuntimeSandboxNamespace(
8068
8074
  opts,
8069
- () => import("./sandbox-6EPWOUGN.mjs")
8075
+ () => import("./sandbox-AGCVAX7T.mjs")
8070
8076
  );
8071
8077
  }
8072
8078
  async create(templateOrOpts, opts) {
@@ -8145,4 +8151,4 @@ export {
8145
8151
  ALL_TRAFFIC,
8146
8152
  core_default
8147
8153
  };
8148
- //# sourceMappingURL=chunk-RWHOETVW.mjs.map
8154
+ //# sourceMappingURL=chunk-DKWK5NRD.mjs.map