@e-mc/db 0.9.10 → 0.9.11

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/README.md CHANGED
@@ -9,7 +9,7 @@
9
9
 
10
10
  ## Interface
11
11
 
12
- * [View Source](https://www.unpkg.com/@e-mc/types@0.9.10/lib/index.d.ts)
12
+ * [View Source](https://www.unpkg.com/@e-mc/types@0.9.11/lib/index.d.ts)
13
13
 
14
14
  ```typescript
15
15
  import type { DbDataSource } from "./squared";
@@ -200,11 +200,11 @@ const [rows1, rows2] = await instance.executeBatchQuery([
200
200
 
201
201
  ## References
202
202
 
203
- - https://www.unpkg.com/@e-mc/types@0.9.10/lib/squared.d.ts
204
- - https://www.unpkg.com/@e-mc/types@0.9.10/lib/core.d.ts
205
- - https://www.unpkg.com/@e-mc/types@0.9.10/lib/db.d.ts
206
- - https://www.unpkg.com/@e-mc/types@0.9.10/lib/http.d.ts
207
- - https://www.unpkg.com/@e-mc/types@0.9.10/lib/settings.d.ts
203
+ - https://www.unpkg.com/@e-mc/types@0.9.11/lib/squared.d.ts
204
+ - https://www.unpkg.com/@e-mc/types@0.9.11/lib/core.d.ts
205
+ - https://www.unpkg.com/@e-mc/types@0.9.11/lib/db.d.ts
206
+ - https://www.unpkg.com/@e-mc/types@0.9.11/lib/http.d.ts
207
+ - https://www.unpkg.com/@e-mc/types@0.9.11/lib/settings.d.ts
208
208
 
209
209
  * https://www.npmjs.com/package/@types/node
210
210
 
package/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import type { DbConstructor } from '../types/lib';
2
-
3
- declare const Db: DbConstructor;
4
-
1
+ import type { DbConstructor } from '@e-mc/types/lib';
2
+
3
+ declare const Db: DbConstructor;
4
+
5
5
  export = Db;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@e-mc/db",
3
- "version": "0.9.10",
3
+ "version": "0.9.11",
4
4
  "description": "DB modules for E-mc.",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -20,8 +20,8 @@
20
20
  "license": "BSD 3-Clause",
21
21
  "homepage": "https://github.com/anpham6/e-mc#readme",
22
22
  "dependencies": {
23
- "@e-mc/core": "0.9.10",
24
- "@e-mc/request": "0.9.10",
25
- "@e-mc/types": "0.9.10"
23
+ "@e-mc/core": "0.9.11",
24
+ "@e-mc/request": "0.9.11",
25
+ "@e-mc/types": "0.9.11"
26
26
  }
27
27
  }
package/pool.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import type { DbPoolConstructor } from '../types/lib/db';
2
-
3
- declare const DbPool: DbPoolConstructor;
4
-
1
+ import type { DbPoolConstructor } from '@e-mc/types/lib/db';
2
+
3
+ declare const DbPool: DbPoolConstructor;
4
+
5
5
  export = DbPool;
package/types/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- import type { DbDataSource } from '../../types/lib/squared';
1
+ import type { DbDataSource } from '@e-mc/types/lib/squared';
2
2
 
3
- import type { IDb } from '../../types/lib';
4
- import type { BatchQueryResult, ExecuteBatchQueryOptions, ExecuteQueryOptions, QueryResult } from '../../types/lib/db';
3
+ import type { IDb } from '@e-mc/types/lib';
4
+ import type { BatchQueryResult, ExecuteBatchQueryOptions, ExecuteQueryOptions, QueryResult } from '@e-mc/types/lib/db';
5
5
 
6
6
  export interface IDbSourceClient<T extends DbDataSource = DbDataSource> {
7
7
  DB_SOURCE_NAME: string;
package/util.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- import type { DbDataSource } from '../types/lib/squared';
1
+ import type { DbDataSource } from '@e-mc/types/lib/squared';
2
2
 
3
- import type { DbConnection, SQL_COMMAND, ServerAuth } from '../types/lib/db';
4
- import type { AuthValue } from '../types/lib/http';
3
+ import type { DbConnection, SQL_COMMAND, ServerAuth } from '@e-mc/types/lib/db';
4
+ import type { AuthValue } from '@e-mc/types/lib/http';
5
5
 
6
6
  declare namespace util {
7
7
  const SQL_COMMAND: SQL_COMMAND;