File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
22 "name" : " e2b" ,
3- "version" : " 2.0.0-rc.1 " ,
3+ "version" : " 2.0.0-rc.2 " ,
44 "description" : " E2B SDK that give agents cloud environments" ,
55 "homepage" : " https://e2b.dev" ,
66 "license" : " MIT" ,
Original file line number Diff line number Diff line change @@ -39,6 +39,7 @@ export type {
3939 SandboxOpts ,
4040 SandboxApiOpts ,
4141 SandboxConnectOpts ,
42+ SandboxBetaCreateOpts ,
4243 SandboxResumeOpts ,
4344 SandboxMetricsOpts ,
4445 SandboxState ,
Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ import {
1818 SandboxApi ,
1919 SandboxListOpts ,
2020 SandboxPaginator ,
21+ SandboxBetaCreateOpts ,
2122} from './sandboxApi'
2223import { getSignature } from './signature'
2324import { compareVersions } from 'compare-versions'
@@ -283,12 +284,12 @@ export class Sandbox extends SandboxApi {
283284 static async betaCreate < S extends typeof Sandbox > (
284285 this : S ,
285286 template : string ,
286- opts ?: SandboxOpts
287+ opts ?: SandboxBetaCreateOpts
287288 ) : Promise < InstanceType < S > >
288289 static async betaCreate < S extends typeof Sandbox > (
289290 this : S ,
290- templateOrOpts ?: SandboxOpts | string ,
291- opts ?: SandboxOpts
291+ templateOrOpts ?: SandboxBetaCreateOpts | string ,
292+ opts ?: SandboxBetaCreateOpts
292293 ) : Promise < InstanceType < S > > {
293294 const { template, sandboxOpts } =
294295 typeof templateOrOpts === 'string'
You can’t perform that action at this time.
0 commit comments