Skip to content

Commit 5594461

Browse files
authored
Merge pull request #12 from e2b-dev/imports
Improve exports
2 parents 44f1154 + 5553563 commit 5594461

File tree

8 files changed

+115
-258
lines changed

8 files changed

+115
-258
lines changed

.changeset/eight-queens-prove.md

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"@e2b/code-interpreter-python": patch
3+
"@e2b/code-interpreter": patch
4+
---
5+
6+
Improve imports

js/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
"vm"
6161
],
6262
"dependencies": {
63-
"e2b": "^0.13.1",
63+
"e2b": "^0.16.0",
6464
"isomorphic-ws": "^5.0.0",
6565
"ws": "^8.15.1"
6666
},

js/src/index.ts

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
export { CodeInterpreter, JupyterExtension } from './code-interpreter'
22
export type { CreateKernelProps } from './code-interpreter'
33

4-
export type { ExecutionError, Result, Execution, MIMEType } from './messaging'
4+
export type { Logs, ExecutionError, Result, Execution, MIMEType, RawData } from './messaging'
55

66
import { CodeInterpreter } from './code-interpreter'
7-
export default CodeInterpreter
7+
8+
export * from 'e2b'
9+
10+
export default CodeInterpreter

0 commit comments

Comments
 (0)