driftsql 1.0.2 → 1.0.3

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/dist/index.mjs +6 -0
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -361,6 +361,12 @@ class DriftSQLClient {
361
361
  if (this.libsqlClient) {
362
362
  this.libsqlClient.close();
363
363
  }
364
+ if (this.mysqlClient) {
365
+ await (await this.mysqlClient).end();
366
+ }
367
+ if (this.postgresClient) {
368
+ await this.postgresClient.end();
369
+ }
364
370
  }
365
371
  }
366
372
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "driftsql",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "author": "lasse vestergaard",
5
5
  "description": "A lightweight SQL client for TypeScript, supporting multiple databases like PostgreSQL, MySQL, and LibSQL.",
6
6
  "repository": "lassejlv/driftsql",