ppio-sandbox 2.1.0-a4 → 2.1.0-a5
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/{chunk-DIBNB4FZ.mjs → chunk-7FK4QRY2.mjs} +2 -2
- package/dist/{chunk-FLLX4NEM.mjs → chunk-FTZEUGFE.mjs} +6 -4
- package/dist/chunk-FTZEUGFE.mjs.map +1 -0
- package/dist/{chunk-FU27AIYY.mjs → chunk-MRIYHDYZ.mjs} +2 -2
- package/dist/code-interpreter.js +3 -1
- package/dist/code-interpreter.js.map +1 -1
- package/dist/code-interpreter.mjs +2 -2
- package/dist/desktop.js +3 -1
- package/dist/desktop.js.map +1 -1
- package/dist/desktop.mjs +2 -2
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/sandbox-7CAGPGIQ.mjs +8 -0
- package/dist/sandbox-VMOVM5KY.mjs +8 -0
- package/package.json +1 -1
- package/dist/chunk-FLLX4NEM.mjs.map +0 -1
- package/dist/sandbox-4BXYHVGT.mjs +0 -8
- package/dist/sandbox-XUU36K7U.mjs +0 -8
- /package/dist/{chunk-DIBNB4FZ.mjs.map → chunk-7FK4QRY2.mjs.map} +0 -0
- /package/dist/{chunk-FU27AIYY.mjs.map → chunk-MRIYHDYZ.mjs.map} +0 -0
- /package/dist/{sandbox-4BXYHVGT.mjs.map → sandbox-7CAGPGIQ.mjs.map} +0 -0
- /package/dist/{sandbox-XUU36K7U.mjs.map → sandbox-VMOVM5KY.mjs.map} +0 -0
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
TimeoutError,
|
|
6
6
|
__spreadProps,
|
|
7
7
|
__spreadValues
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-FTZEUGFE.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-
|
|
533
|
+
//# sourceMappingURL=chunk-7FK4QRY2.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.0-
|
|
63
|
+
var version = "2.1.0-a5";
|
|
64
64
|
|
|
65
65
|
// src/core/utils.ts
|
|
66
66
|
import platform from "platform";
|
|
@@ -3777,6 +3777,7 @@ var SandboxApi = class {
|
|
|
3777
3777
|
static async getQuota(opts) {
|
|
3778
3778
|
var _a3, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t;
|
|
3779
3779
|
const config = new ConnectionConfig(opts);
|
|
3780
|
+
raiseIfLegacy(config, "Sandbox.getQuota", SandboxError);
|
|
3780
3781
|
const url = new URL(`${config.apiUrl}/sandboxes/quota`);
|
|
3781
3782
|
const response = await fetch(url, {
|
|
3782
3783
|
method: "GET",
|
|
@@ -5926,6 +5927,7 @@ function clearImageConfigCache() {
|
|
|
5926
5927
|
var TemplateApi = class {
|
|
5927
5928
|
static async getTemplate(templateId, options) {
|
|
5928
5929
|
const config = new ConnectionConfig(options);
|
|
5930
|
+
raiseIfLegacy(config, "Template.get", BuildError);
|
|
5929
5931
|
const client = new ApiClient(config);
|
|
5930
5932
|
const response = await client.api.GET("/templates/{templateID}", {
|
|
5931
5933
|
params: { path: { templateID: templateId } },
|
|
@@ -7687,12 +7689,12 @@ var PPIO = class {
|
|
|
7687
7689
|
this.secret = new SecretNamespace(opts);
|
|
7688
7690
|
this.codeInterpreter = new RuntimeSandboxNamespace(
|
|
7689
7691
|
opts,
|
|
7690
|
-
() => import("./sandbox-
|
|
7692
|
+
() => import("./sandbox-VMOVM5KY.mjs")
|
|
7691
7693
|
);
|
|
7692
7694
|
this.code_interpreter = this.codeInterpreter;
|
|
7693
7695
|
this.desktop = new RuntimeSandboxNamespace(
|
|
7694
7696
|
opts,
|
|
7695
|
-
() => import("./sandbox-
|
|
7697
|
+
() => import("./sandbox-7CAGPGIQ.mjs")
|
|
7696
7698
|
);
|
|
7697
7699
|
}
|
|
7698
7700
|
async create(templateOrOpts, opts) {
|
|
@@ -7770,4 +7772,4 @@ export {
|
|
|
7770
7772
|
ALL_TRAFFIC,
|
|
7771
7773
|
core_default
|
|
7772
7774
|
};
|
|
7773
|
-
//# sourceMappingURL=chunk-
|
|
7775
|
+
//# sourceMappingURL=chunk-FTZEUGFE.mjs.map
|