driftsql 1.0.5 → 1.0.6

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/dist/index.d.mts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { PoolConfig } from 'pg';
2
2
  import { Config } from '@libsql/client';
3
- import mysql from 'mysql2/promise';
3
+ import { ConnectionOptions } from 'mysql2/promise';
4
4
 
5
5
  type Drivers = ClientOptions['drivers'];
6
6
  declare const inspectDB: (drivers: Drivers) => Promise<never>;
@@ -20,7 +20,7 @@ interface ClientOptions {
20
20
  drivers?: {
21
21
  libsql?: Config;
22
22
  postgres?: PoolConfig;
23
- mysql?: mysql.ConnectionOptions;
23
+ mysql?: ConnectionOptions;
24
24
  };
25
25
  options?: {
26
26
  defaultTimeout?: number;
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { PoolConfig } from 'pg';
2
2
  import { Config } from '@libsql/client';
3
- import mysql from 'mysql2/promise';
3
+ import { ConnectionOptions } from 'mysql2/promise';
4
4
 
5
5
  type Drivers = ClientOptions['drivers'];
6
6
  declare const inspectDB: (drivers: Drivers) => Promise<never>;
@@ -20,7 +20,7 @@ interface ClientOptions {
20
20
  drivers?: {
21
21
  libsql?: Config;
22
22
  postgres?: PoolConfig;
23
- mysql?: mysql.ConnectionOptions;
23
+ mysql?: ConnectionOptions;
24
24
  };
25
25
  options?: {
26
26
  defaultTimeout?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "driftsql",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
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",