Skip to content

armgit / E2B

Public Imported from GitHub
0

Open-source, secure environment with real-world tools for enterprise-grade agents.

Cleanup

Tomas Valenta8ee82c4a5763
diff --git a/packages/js-sdk/src/session/sessionConnection.ts b/packages/js-sdk/src/session/sessionConnection.ts
index 6bc93e64d..372bb6abf 100644
--- a/packages/js-sdk/src/session/sessionConnection.ts
+++ b/packages/js-sdk/src/session/sessionConnection.ts
@@ -54,7 +54,7 @@ const refreshSession = api
.method('post')
.create({ api_key: true })
-abstract class SessionConnection {
+class SessionConnection {
protected readonly logger: Logger
protected session?: components['schemas']['Session']
protected isOpen = false
@@ -206,7 +206,7 @@ abstract class SessionConnection {
*
* `open` method requires `this` context - you may need to bind it.
*/
- protected async open() {
+ async open() {
if (this.isOpen || !!this.session) {
throw new Error('Session connect was already called')
} else {