@blaxel/core 0.3.31-preview.326 → 0.3.31-preview.328
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 +6 -1
- package/dist/cjs/types/client/types.gen.d.ts +4 -0
- package/dist/cjs/types/sandbox/types.d.ts +4 -0
- package/dist/cjs-browser/.tsbuildinfo +1 -1
- package/dist/cjs-browser/common/settings.js +2 -2
- package/dist/cjs-browser/sandbox/sandbox.js +6 -1
- package/dist/cjs-browser/types/client/types.gen.d.ts +4 -0
- package/dist/cjs-browser/types/sandbox/types.d.ts +4 -0
- package/dist/esm/.tsbuildinfo +1 -1
- package/dist/esm/common/settings.js +2 -2
- package/dist/esm/sandbox/sandbox.js +6 -1
- package/dist/esm-browser/.tsbuildinfo +1 -1
- package/dist/esm-browser/common/settings.js +2 -2
- package/dist/esm-browser/sandbox/sandbox.js +6 -1
- package/package.json +1 -1
|
@@ -24,8 +24,8 @@ function missingCredentialsMessage() {
|
|
|
24
24
|
return "No Blaxel credentials found. Set the BL_API_KEY and BL_WORKSPACE environment variables, or run `bl login`.";
|
|
25
25
|
}
|
|
26
26
|
// Build info - these placeholders are replaced at build time by build:replace-imports
|
|
27
|
-
const BUILD_VERSION = "0.3.31-preview.
|
|
28
|
-
const BUILD_COMMIT = "
|
|
27
|
+
const BUILD_VERSION = "0.3.31-preview.328";
|
|
28
|
+
const BUILD_COMMIT = "e08b96df13cebc750a05401ee4d824d42f37a191";
|
|
29
29
|
const BUILD_SENTRY_DSN = "https://fd5e60e1c9820e1eef5ccebb84a07127@o4508714045276160.ingest.us.sentry.io/4510465864564736";
|
|
30
30
|
const BLAXEL_API_VERSION = "2026-09-22";
|
|
31
31
|
// Bun < 1.3.11 never sends connection-level WINDOW_UPDATE: the pooled h2
|
|
@@ -311,7 +311,9 @@ export class SandboxInstance {
|
|
|
311
311
|
'network' in sandbox ||
|
|
312
312
|
'snapshotEnabled' in sandbox ||
|
|
313
313
|
'labels' in sandbox ||
|
|
314
|
-
'extraArgs' in sandbox
|
|
314
|
+
'extraArgs' in sandbox ||
|
|
315
|
+
'terminationGracePeriodSeconds' in sandbox ||
|
|
316
|
+
'standbyGracePeriodSeconds' in sandbox) {
|
|
315
317
|
if (!sandbox)
|
|
316
318
|
sandbox = {};
|
|
317
319
|
if (!sandbox.image)
|
|
@@ -332,6 +334,7 @@ export class SandboxInstance {
|
|
|
332
334
|
const network = sandbox.network;
|
|
333
335
|
const snapshotEnabled = sandbox.snapshotEnabled;
|
|
334
336
|
const extraArgs = sandbox.extraArgs;
|
|
337
|
+
const { terminationGracePeriodSeconds, standbyGracePeriodSeconds } = sandbox;
|
|
335
338
|
sandbox = {
|
|
336
339
|
metadata: { name: sandbox.name, labels: sandbox.labels, externalId: sandbox.externalId },
|
|
337
340
|
spec: {
|
|
@@ -344,6 +347,8 @@ export class SandboxInstance {
|
|
|
344
347
|
generation: "mk3",
|
|
345
348
|
snapshotEnabled,
|
|
346
349
|
extraArgs,
|
|
350
|
+
terminationGracePeriodSeconds,
|
|
351
|
+
standbyGracePeriodSeconds,
|
|
347
352
|
},
|
|
348
353
|
volumes: volumes,
|
|
349
354
|
lifecycle: lifecycle,
|