Comparing version 0.12.0 to 0.12.1
@@ -859,2 +859,3 @@ import * as openapi_typescript_fetch_dist_cjs_types from 'openapi-typescript-fetch/dist/cjs/types'; | ||
metadata?: SandboxMetadata; | ||
startedAt: Date; | ||
} | ||
@@ -877,2 +878,6 @@ interface SandboxConnectionOpts { | ||
envVars?: EnvVars; | ||
/** | ||
* A dictionary of strings that is stored alongside the running sandbox. | ||
* You can see this metadata when you list running sandboxes. | ||
*/ | ||
metadata?: SandboxMetadata; | ||
@@ -919,2 +924,3 @@ logger?: Logger; | ||
* List all running sandboxes | ||
* | ||
* @param apiKey API key to use for authentication. If not provided, the `E2B_API_KEY` environment variable will be used. | ||
@@ -1387,2 +1393,2 @@ */ | ||
export { API_HOST, Action, Artifact, ClientType, DataAnalysis as CodeInterpreter, CodeRuntime, DataAnalysis, DownloadFileFormat, EnvVars, FileInfo, FilesystemEvent, FilesystemEventListener, FilesystemManager, FilesystemOperation, FilesystemWatcher, OpenPort, Process, ProcessManager, ProcessMessage, ProcessOutput, RunPythonOpts, SANDBOX_DOMAIN, Sandbox, SandboxOpts, Terminal, TerminalManager, TerminalOutput, client as api, components, Sandbox as default, paths, runCode, withAPIKey, withAccessToken }; | ||
export { API_HOST, Action, Artifact, ClientType, DataAnalysis as CodeInterpreter, CodeRuntime, DataAnalysis, DownloadFileFormat, EnvVars, FileInfo, FilesystemEvent, FilesystemEventListener, FilesystemManager, FilesystemOperation, FilesystemWatcher, OpenPort, Process, ProcessManager, ProcessMessage, ProcessOutput, RunPythonOpts, RunningSandbox, SANDBOX_DOMAIN, Sandbox, SandboxMetadata, SandboxOpts, Terminal, TerminalManager, TerminalOutput, client as api, components, Sandbox as default, paths, runCode, withAPIKey, withAccessToken }; |
{ | ||
"name": "e2b", | ||
"version": "0.12.0", | ||
"version": "0.12.1", | ||
"description": "E2B SDK that give agents cloud environments", | ||
@@ -91,4 +91,4 @@ "homepage": "https://e2b.dev", | ||
"update-deps": "ncu -u && pnpm i", | ||
"postPublish": "npm pkg set 'name'='@e2b/sdk' && pnpm publish --no-git-checks && npm pkg set 'name'='e2b'" | ||
"postPublish": "./scripts/post-publish.sh || true" | ||
} | ||
} |
@@ -57,3 +57,3 @@ <p align="center"> | ||
```bash | ||
npm install @e2b/sdk | ||
npm install e2b | ||
``` | ||
@@ -64,3 +64,3 @@ | ||
```js | ||
import { Sandbox } from "@e2b/sdk"; | ||
import { Sandbox } from "e2b"; | ||
@@ -67,0 +67,0 @@ // Create sandbox |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
428962
5303
4