Skip to content

Commit

Permalink
Release new versions
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubno committed Jan 24, 2025
1 parent 25bc3eb commit 63e489f
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 20 deletions.
4 changes: 2 additions & 2 deletions packages/js-sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@e2b/desktop",
"version": "1.1.0-beta.0",
"version": "1.2.0-beta.0",
"description": "E2B Desktop Sandbox - isolated cloud environment with a desktop-like interface powered by E2B. Ready for AI Computer Use",
"author": {
"name": "FoundryLabs, Inc.",
Expand Down Expand Up @@ -60,6 +60,6 @@
"vitest": "^2.1.5"
},
"dependencies": {
"e2b": "^1.1.0-beta.1"
"e2b": "^1.2.0-beta.0"
}
}
16 changes: 10 additions & 6 deletions packages/js-sdk/src/sandbox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,13 +91,17 @@ export class Sandbox extends SandboxBase {

const config = new ConnectionConfig(sandboxOpts)

const sandboxId = config.debug
? 'debug_sandbox_id'
: await this.createSandbox(
template,
sandboxOpts?.timeoutMs ?? this.defaultSandboxTimeoutMs,
sandboxOpts
let sandboxId: string
if (config.debug) {
sandboxId = 'debug_sandbox_id'
} else {
const sandboxInfo = await this.createSandbox(
template,
sandboxOpts?.timeoutMs ?? this.defaultSandboxTimeoutMs,
sandboxOpts
)
sandboxId = sandboxInfo.sandboxId
}

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

Expand Down
2 changes: 1 addition & 1 deletion packages/python-sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@e2b/desktop-python",
"private": true,
"version": "1.0.2",
"version": "1.2.0b0",
"scripts": {
"test": "poetry run pytest -n 4 --verbose -x",
"example": "poetry run python3 example.py",
Expand Down
8 changes: 4 additions & 4 deletions packages/python-sdk/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions packages/python-sdk/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "e2b-desktop"
version = "1.1.0b0"
version = "1.2.0b0"
description = "E2B Desktop Sandbox - Deskstop sandbox in cloud powered by E2B"
authors = ["e2b <[email protected]>"]
license = "Apache-2.0"
Expand All @@ -12,7 +12,7 @@ packages = [{ include = "e2b_desktop" }]
[tool.poetry.dependencies]
python = "^3.9"

e2b = "^1.1.0b17"
e2b = "^1.2.0b0"
requests = "^2.32.3"

[tool.poetry.group.dev.dependencies]
Expand Down
10 changes: 5 additions & 5 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 63e489f

Please sign in to comment.