bdy 1.7.58-dev → 1.7.59-dev

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bdy",
3
3
  "preferGlobal": false,
4
- "version": "1.7.58-dev",
4
+ "version": "1.7.59-dev",
5
5
  "type": "commonjs",
6
6
  "license": "MIT",
7
7
  "dependencies": {
package/src/api/socket.js CHANGED
@@ -123,6 +123,10 @@ class ApiSocketClass extends EventEmitter {
123
123
  this.connected = true;
124
124
  logger.info(LOG_SOCKET_CONNECTED);
125
125
  this.emit(SOCKET_IO_EVENT_CONNECTED);
126
+ this.socket.emit('joinTunnelAgent', {
127
+ id: this.id,
128
+ token: this.token,
129
+ });
126
130
  });
127
131
  this.socket.on('disconnect', () => {
128
132
  this.connected = false;