@statewalker/db-sqlite-node 0.1.1 → 0.2.0

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 newNodeSqliteDb(options?: DbOptions$1): Promise<Db$1>;
8
+ export declare function newNodeSqliteDb(options?: DbOptions$1): Promise<Db$1>;
9
9
  //#endregion
10
- export { type Db, type DbEntry, type DbOptions, newNodeSqliteDb };
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-sqlite-db.ts"],"mappings":";;;;;;;iBASsB,gBAAgB,UAAU,cAAY,QAAQ"}
1
+ {"version":3,"file":"index.d.mts","names":["DbOptions","Db"],"sources":["../src/node-sqlite-db.ts"],"mappings":";;;;;;;wBASsB,gBAAgB,UAAUA,cAAY,QAAQC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@statewalker/db-sqlite-node",
3
- "version": "0.1.1",
3
+ "version": "0.2.0",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "libSQL/SQLite client driver for @statewalker/db-api, targeting Node.js environments.",
@@ -15,23 +15,27 @@
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",
22
26
  "src"
23
27
  ],
24
28
  "dependencies": {
25
- "@libsql/client": "^0.17.4",
26
- "@statewalker/db-api": "0.1.1"
29
+ "@libsql/client": "^0.18.0",
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": {