atem-connection
Advanced tools
Comparing version 2.3.0-nightly-latest-20210313-231322-abcff0c.0 to 2.3.0-nightly-v2-x-20210602-074504-fb9c3f4.0
@@ -115,3 +115,2 @@ "use strict"; | ||
threadedclass_1.ThreadedClassManager.onEvent(socketProcess, 'restarted', () => { | ||
this.emit('disconnect'); | ||
this.connect().catch(error => { | ||
@@ -122,2 +121,5 @@ const errorMsg = `Failed to reconnect after respawning socket process: ${error}`; | ||
}); | ||
threadedclass_1.ThreadedClassManager.onEvent(socketProcess, 'thread_closed', () => { | ||
this.emit('disconnect'); | ||
}); | ||
yield socketProcess.connect(this._address, this._port); | ||
@@ -124,0 +126,0 @@ return socketProcess; |
{ | ||
"name": "atem-connection", | ||
"version": "2.3.0-nightly-latest-20210313-231322-abcff0c.0", | ||
"version": "2.3.0-nightly-v2-x-20210602-074504-fb9c3f4.0", | ||
"description": "Typescript Node.js library for connecting with an ATEM switcher.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
686310
9451