@statewalker/db-duckdb-node 0.1.1 → 0.1.2

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
@@ -5,7 +5,7 @@ import { Db, Db as Db$1, DbEntry, DbOptions, DbOptions as DbOptions$1 } from "@s
5
5
  *
6
6
  * @param options.path File path for persistent storage. Omit for in-memory.
7
7
  */
8
- declare function newNodeDuckDb(options?: DbOptions$1): Promise<Db$1>;
8
+ export declare function newNodeDuckDb(options?: DbOptions$1): Promise<Db$1>;
9
9
  //#endregion
10
- export { type Db, type DbEntry, type DbOptions, newNodeDuckDb };
10
+ export type { Db, DbEntry, DbOptions };
11
11
  //# sourceMappingURL=index.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","names":[],"sources":["../src/node-duckdb.ts"],"mappings":";;;;;;;iBASsB,cAAc,UAAU,cAAY,QAAQ"}
1
+ {"version":3,"file":"index.d.mts","names":["DbOptions","Db"],"sources":["../src/node-duckdb.ts"],"mappings":";;;;;;;wBASsB,cAAc,UAAUA,cAAY,QAAQC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@statewalker/db-duckdb-node",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "DuckDB Node.js driver for @statewalker/db-api using @duckdb/node-api.",
@@ -15,7 +15,11 @@
15
15
  "url": "git+ssh://git@github.com/statewalker/statewalker-db.git"
16
16
  },
17
17
  "exports": {
18
- ".": "./src/index.ts"
18
+ ".": {
19
+ "source": "./src/index.ts",
20
+ "types": "./dist/index.d.mts",
21
+ "import": "./dist/index.mjs"
22
+ }
19
23
  },
20
24
  "files": [
21
25
  "dist",
@@ -23,15 +27,15 @@
23
27
  ],
24
28
  "dependencies": {
25
29
  "@duckdb/node-api": "^1.5.5-r.4",
26
- "@statewalker/db-api": "0.1.1"
30
+ "@statewalker/db-api": "^0.1.2"
27
31
  },
28
32
  "devDependencies": {
29
- "@types/node": "^26.2.0",
33
+ "@types/node": "^26.6.4",
30
34
  "rimraf": "^6.1.3",
31
- "tsdown": "^0.22.14",
35
+ "tsdown": "^0.23.0",
32
36
  "typescript": "^7.0.2",
33
- "vitest": "^4.1.10",
34
- "@statewalker/db-tests": "0.1.1"
37
+ "vitest": "^5.0.3",
38
+ "@statewalker/db-tests": "^0.1.1"
35
39
  },
36
40
  "sideEffects": false,
37
41
  "publishConfig": {