Skip to content

Commit 63e489f

Browse files
committed
Release new versions
1 parent 25bc3eb commit 63e489f

File tree

6 files changed

+24
-20
lines changed

6 files changed

+24
-20
lines changed

packages/js-sdk/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@e2b/desktop",
3-
"version": "1.1.0-beta.0",
3+
"version": "1.2.0-beta.0",
44
"description": "E2B Desktop Sandbox - isolated cloud environment with a desktop-like interface powered by E2B. Ready for AI Computer Use",
55
"author": {
66
"name": "FoundryLabs, Inc.",
@@ -60,6 +60,6 @@
6060
"vitest": "^2.1.5"
6161
},
6262
"dependencies": {
63-
"e2b": "^1.1.0-beta.1"
63+
"e2b": "^1.2.0-beta.0"
6464
}
6565
}

packages/js-sdk/src/sandbox.ts

+10-6
Original file line numberDiff line numberDiff line change
@@ -91,13 +91,17 @@ export class Sandbox extends SandboxBase {
9191

9292
const config = new ConnectionConfig(sandboxOpts)
9393

94-
const sandboxId = config.debug
95-
? 'debug_sandbox_id'
96-
: await this.createSandbox(
97-
template,
98-
sandboxOpts?.timeoutMs ?? this.defaultSandboxTimeoutMs,
99-
sandboxOpts
94+
let sandboxId: string
95+
if (config.debug) {
96+
sandboxId = 'debug_sandbox_id'
97+
} else {
98+
const sandboxInfo = await this.createSandbox(
99+
template,
100+
sandboxOpts?.timeoutMs ?? this.defaultSandboxTimeoutMs,
101+
sandboxOpts
100102
)
103+
sandboxId = sandboxInfo.sandboxId
104+
}
101105

102106
const sbx = new this({ sandboxId, ...config }) as InstanceType<S>
103107

packages/python-sdk/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@e2b/desktop-python",
33
"private": true,
4-
"version": "1.0.2",
4+
"version": "1.2.0b0",
55
"scripts": {
66
"test": "poetry run pytest -n 4 --verbose -x",
77
"example": "poetry run python3 example.py",

packages/python-sdk/poetry.lock

+4-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/python-sdk/pyproject.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "e2b-desktop"
3-
version = "1.1.0b0"
3+
version = "1.2.0b0"
44
description = "E2B Desktop Sandbox - Deskstop sandbox in cloud powered by E2B"
55
authors = ["e2b <[email protected]>"]
66
license = "Apache-2.0"
@@ -12,7 +12,7 @@ packages = [{ include = "e2b_desktop" }]
1212
[tool.poetry.dependencies]
1313
python = "^3.9"
1414

15-
e2b = "^1.1.0b17"
15+
e2b = "^1.2.0b0"
1616
requests = "^2.32.3"
1717

1818
[tool.poetry.group.dev.dependencies]

pnpm-lock.yaml

+5-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)