@statewalker/db-duckdb-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
@@ -22,7 +22,7 @@ interface BrowserDuckDbOptions extends DbOptions$1 {
22
22
  * @param options.path `opfs://` path for persistent storage. Omit for in-memory.
23
23
  * @param options.bundles Same-origin bundle URLs (required for OPFS).
24
24
  */
25
- declare function newBrowserDuckDb(options?: BrowserDuckDbOptions): Promise<Db$1>;
25
+ export declare function newBrowserDuckDb(options?: BrowserDuckDbOptions): Promise<Db$1>;
26
26
  //#endregion
27
- export { type BrowserDuckDbOptions, type Db, type DbEntry, type DbOptions, newBrowserDuckDb };
27
+ export type { BrowserDuckDbOptions, Db, DbEntry, DbOptions };
28
28
  //# sourceMappingURL=index.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","names":[],"sources":["../src/browser-duckdb.ts"],"mappings":";;;;UAoBiB,6BAA6B;;;;;;;;EAQ5C,UAAU,OAAO;;;;;;;;;;;;iBAaG,iBAAiB,UAAU,uBAAuB,QAAQ"}
1
+ {"version":3,"file":"index.d.mts","names":["DbOptions","Db"],"sources":["../src/browser-duckdb.ts"],"mappings":";;;;UAoBiB,6BAA6BA;;;;;;;;EAQ5C,UAAU,OAAO;;;;;;;;;;;;wBAaG,iBAAiB,UAAU,uBAAuB,QAAQC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@statewalker/db-duckdb-browser",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "DuckDB 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
  "@duckdb/duckdb-wasm": "^1.33.1-dev57.0",
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": {