Comparing version 0.12.2-stateless-sdk.4 to 0.12.2-stateless-sdk.5
@@ -1458,2 +1458,16 @@ import * as openapi_typescript_fetch_dist_cjs_types from 'openapi-typescript-fetch/dist/cjs/types'; | ||
}): Promise<Uint8Array>; | ||
/** | ||
* Uploads a file to a sandbox. | ||
* @param apiKey API key | ||
* @param sandboxID ID of the sandbox to which the file will be uploaded | ||
* @param path Path where the file will be stored inside the sandbox | ||
* @param content The content of the file as a byte array | ||
*/ | ||
declare function uploadFile({ apiKey, sandboxID }: { | ||
sandboxID: string; | ||
apiKey?: string; | ||
}, { path, content }: { | ||
path: string; | ||
content: Uint8Array; | ||
}): Promise<void>; | ||
@@ -1464,2 +1478,3 @@ declare const stateless_create: typeof create; | ||
declare const stateless_kill: typeof kill; | ||
declare const stateless_uploadFile: typeof uploadFile; | ||
declare namespace stateless { | ||
@@ -1471,2 +1486,3 @@ export { | ||
stateless_kill as kill, | ||
stateless_uploadFile as uploadFile, | ||
}; | ||
@@ -1473,0 +1489,0 @@ } |
{ | ||
"name": "e2b", | ||
"version": "0.12.2-stateless-sdk.4", | ||
"version": "0.12.2-stateless-sdk.5", | ||
"description": "E2B SDK that give agents cloud environments", | ||
@@ -5,0 +5,0 @@ "homepage": "https://e2b.dev", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
437909
5581