diodejs 0.1.3 → 0.1.4

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.
Files changed (2) hide show
  1. package/bindPort.js +1 -4
  2. package/package.json +1 -1
package/bindPort.js CHANGED
@@ -90,10 +90,7 @@ class BindPort {
90
90
 
91
91
  this.portsConfig[localPort] = { targetPort, deviceIdHex };
92
92
 
93
- // If we're already bound, set up this new port immediately
94
- if (this.servers.size > 0) {
95
- this.bindSinglePort(localPort);
96
- }
93
+ this.bindSinglePort(localPort);
97
94
 
98
95
  return true;
99
96
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "diodejs",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "A JavaScript client for interacting with the Diode network. It provides functionalities to bind and publish ports, send RPC commands, and handle responses.",
5
5
  "main": "index.js",
6
6
  "scripts": {