presidium-db-client-server 0.6.0 → 0.6.1

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.
@@ -33,6 +33,7 @@ class DatabaseLoadbalancer {
33
33
  this.serverIps = options.serverIps
34
34
  this.handlers = handlers
35
35
  this.clients = new Map()
36
+ this.closed = false
36
37
 
37
38
  const router = tryCatch(
38
39
  switchCase(
@@ -88,6 +89,7 @@ class DatabaseLoadbalancer {
88
89
  */
89
90
  close() {
90
91
  this.server.close()
92
+ this.closed = true
91
93
  }
92
94
 
93
95
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "presidium-db-client-server",
3
- "version": "0.6.0",
3
+ "version": "0.6.1",
4
4
  "description": "Presidium DB client and server library",
5
5
  "author": "Richard Tong",
6
6
  "license": "CFOSS",