Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@e2b/code-interpreter

Package Overview
Dependencies
Maintainers
3
Versions
98
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@e2b/code-interpreter - npm Package Compare versions

Comparing version 0.0.1-prerelease.0 to 0.0.1-prerelease.1

8

dist/index.d.ts

@@ -187,5 +187,11 @@ import { Sandbox, SandboxOpts, ProcessMessage } from 'e2b';

* @param onStderr A callback function to handle standard error messages from the code execution.
* @param onDisplayData A callback function to handle display data messages from the code execution.
* @returns A promise that resolves with the result of the code execution.
*/
execCell(code: string, kernelID?: string, onStdout?: (msg: ProcessMessage) => any, onStderr?: (msg: ProcessMessage) => any, onDisplayData?: (data: Data) => any): Promise<Result>;
execCell(code: string, { kernelID, onStdout, onStderr, onDisplayData, }: {
kernelID?: string;
onStdout?: (msg: ProcessMessage) => Promise<void> | void;
onStderr?: (msg: ProcessMessage) => Promise<void> | void;
onDisplayData?: (data: Data) => Promise<void> | void;
}): Promise<Result>;
private startConnectingToDefaultKernel;

@@ -192,0 +198,0 @@ /**

10

dist/index.js

@@ -416,6 +416,12 @@ "use strict";

* @param onStderr A callback function to handle standard error messages from the code execution.
* @param onDisplayData A callback function to handle display data messages from the code execution.
* @returns A promise that resolves with the result of the code execution.
*/
execCell(code, kernelID, onStdout, onStderr, onDisplayData) {
return __async(this, null, function* () {
execCell(_0, _1) {
return __async(this, arguments, function* (code, {
kernelID,
onStdout,
onStderr,
onDisplayData
}) {
kernelID = kernelID || (yield this.defaultKernelID);

@@ -422,0 +428,0 @@ const ws = this.connectedKernels[kernelID] || (yield this.connectToKernelWS(kernelID));

{
"name": "@e2b/code-interpreter",
"version": "0.0.1-prerelease.0",
"version": "0.0.1-prerelease.1",
"description": "E2B Code Interpreter - Stateful code execution",

@@ -5,0 +5,0 @@ "homepage": "https://e2b.dev",

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc