@malloydata/db-duckdb 0.0.45-dev230623212532 → 0.0.45-dev230623224452

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.
@@ -3,4 +3,5 @@ import { DuckDBWASMConnection as DuckDBWASMConnectionBase } from './duckdb_wasm_
3
3
  export declare class DuckDBWASMConnection extends DuckDBWASMConnectionBase {
4
4
  getBundles(): DuckDBBundles;
5
5
  createHash(sqlCommand: string): Promise<string>;
6
+ test(): Promise<void>;
6
7
  }
@@ -53,6 +53,9 @@ class DuckDBWASMConnection extends duckdb_wasm_connection_1.DuckDBWASMConnection
53
53
  async createHash(sqlCommand) {
54
54
  return crypto_1.default.createHash('md5').update(sqlCommand).digest('hex');
55
55
  }
56
+ async test() {
57
+ await this.runRawSQL('SELECT 1');
58
+ }
56
59
  }
57
60
  exports.DuckDBWASMConnection = DuckDBWASMConnection;
58
61
  //# sourceMappingURL=duckdb_wasm_connection_node.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@malloydata/db-duckdb",
3
- "version": "0.0.45-dev230623212532",
3
+ "version": "0.0.45-dev230623224452",
4
4
  "license": "MIT",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",