@blaxel/core 0.2.93-preview.191 → 0.2.94-preview.193
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/cjs/.tsbuildinfo +1 -1
- package/dist/cjs/common/settings.js +2 -2
- package/dist/cjs/sandbox/sandbox.js +2 -2
- package/dist/cjs/types/sandbox/sandbox.d.ts +2 -2
- package/dist/cjs-browser/.tsbuildinfo +1 -1
- package/dist/cjs-browser/common/settings.js +2 -2
- package/dist/cjs-browser/sandbox/sandbox.js +2 -2
- package/dist/cjs-browser/types/sandbox/sandbox.d.ts +2 -2
- package/dist/esm/.tsbuildinfo +1 -1
- package/dist/esm/common/settings.js +2 -2
- package/dist/esm/sandbox/sandbox.js +2 -2
- package/dist/esm-browser/.tsbuildinfo +1 -1
- package/dist/esm-browser/common/settings.js +2 -2
- package/dist/esm-browser/sandbox/sandbox.js +2 -2
- package/package.json +1 -1
|
@@ -22,8 +22,8 @@ function missingCredentialsMessage() {
|
|
|
22
22
|
return "No Blaxel credentials found. Set the BL_API_KEY and BL_WORKSPACE environment variables, or run `bl login`.";
|
|
23
23
|
}
|
|
24
24
|
// Build info - these placeholders are replaced at build time by build:replace-imports
|
|
25
|
-
const BUILD_VERSION = "0.2.
|
|
26
|
-
const BUILD_COMMIT = "
|
|
25
|
+
const BUILD_VERSION = "0.2.94-preview.193";
|
|
26
|
+
const BUILD_COMMIT = "7433c5d03d9ae424bb1a6e8447a31c85d340a62d";
|
|
27
27
|
const BUILD_SENTRY_DSN = "https://fd5e60e1c9820e1eef5ccebb84a07127@o4508714045276160.ingest.us.sentry.io/4510465864564736";
|
|
28
28
|
const BLAXEL_API_VERSION = "2026-04-16";
|
|
29
29
|
// Cache for config.yaml tracking value
|
|
@@ -308,7 +308,7 @@ export class SandboxInstance {
|
|
|
308
308
|
}
|
|
309
309
|
static async updateTtl(sandboxName, ttl) {
|
|
310
310
|
const sandbox = await SandboxInstance.get(sandboxName);
|
|
311
|
-
const body = { ...sandbox.sandbox, spec: { ...sandbox.spec, runtime: { ...sandbox.spec.runtime, ttl } } };
|
|
311
|
+
const body = { ...sandbox.sandbox, spec: { ...sandbox.spec, runtime: { ...sandbox.spec.runtime, ttl: ttl === '' ? null : ttl ?? null } } };
|
|
312
312
|
const { data } = await updateSandbox({
|
|
313
313
|
path: { sandboxName },
|
|
314
314
|
body,
|
|
@@ -319,7 +319,7 @@ export class SandboxInstance {
|
|
|
319
319
|
}
|
|
320
320
|
static async updateLifecycle(sandboxName, lifecycle) {
|
|
321
321
|
const sandbox = await SandboxInstance.get(sandboxName);
|
|
322
|
-
const body = { ...sandbox.sandbox, spec: { ...sandbox.spec, lifecycle } };
|
|
322
|
+
const body = { ...sandbox.sandbox, spec: { ...sandbox.spec, lifecycle: lifecycle ?? null } };
|
|
323
323
|
const { data } = await updateSandbox({
|
|
324
324
|
path: { sandboxName },
|
|
325
325
|
body,
|