@statewalker/db-sqlite-browser 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
@@ -13,7 +13,7 @@ type BrowserDbOptions = DbOptions$1 & {
13
13
  * @param options.path File path for persistent storage. Omit for in-memory.
14
14
  * @param options.wasmUrl URL to the sqlite3.wasm file. Defaults to "/sqlite3.wasm".
15
15
  */
16
- declare function newBrowserSqliteDb(options?: BrowserDbOptions): Promise<Db$1>;
16
+ export declare function newBrowserSqliteDb(options?: BrowserDbOptions): Promise<Db$1>;
17
17
  //#endregion
18
- export { type BrowserDbOptions, type Db, type DbEntry, type DbOptions, newBrowserSqliteDb };
18
+ export type { BrowserDbOptions, Db, DbEntry, DbOptions };
19
19
  //# sourceMappingURL=index.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","names":[],"sources":["../src/browser-sqlite-db.ts"],"mappings":";;KAIY,mBAAmB;;EAE7B;;;;;;;;;;;iBAuBoB,mBAAmB,UAAU,mBAAmB,QAAQ"}
1
+ {"version":3,"file":"index.d.mts","names":["DbOptions","Db"],"sources":["../src/browser-sqlite-db.ts"],"mappings":";;KAIY,mBAAmBA;;EAE7B;;;;;;;;;;;wBAuBoB,mBAAmB,UAAU,mBAAmB,QAAQC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@statewalker/db-sqlite-browser",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "libSQL/SQLite WASM driver for @statewalker/db-api, targeting browser environments.",
@@ -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,18 +27,18 @@
23
27
  ],
24
28
  "dependencies": {
25
29
  "@libsql/libsql-wasm-experimental": "^0.0.3",
26
- "@statewalker/db-api": "0.1.1"
30
+ "@statewalker/db-api": "^0.1.2"
27
31
  },
28
32
  "devDependencies": {
29
- "@playwright/test": "^1.62.1",
30
- "@vitest/browser": "^4.1.10",
31
- "@vitest/browser-playwright": "^4.1.10",
32
- "playwright": "^1.62.1",
33
+ "@playwright/test": "^1.63.0",
34
+ "@vitest/browser": "^5.0.3",
35
+ "@vitest/browser-playwright": "^5.0.3",
36
+ "playwright": "^1.63.0",
33
37
  "rimraf": "^6.1.3",
34
- "tsdown": "^0.22.14",
38
+ "tsdown": "^0.23.0",
35
39
  "typescript": "^7.0.2",
36
- "vitest": "^4.1.10",
37
- "@statewalker/db-tests": "0.1.1"
40
+ "vitest": "^5.0.3",
41
+ "@statewalker/db-tests": "^0.1.1"
38
42
  },
39
43
  "sideEffects": false,
40
44
  "publishConfig": {