diff --git a/package-lock.json b/package-lock.json index 1b75758..5c55f2c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "0.7.1", "license": "MIT", "dependencies": { - "duckdb": "0.7.1" + "duckdb": "0.8.0" }, "devDependencies": { "@types/jest": "^29.2.0", @@ -1771,9 +1771,9 @@ } }, "node_modules/duckdb": { - "version": "0.7.1", - "resolved": "https://registry.npmjs.org/duckdb/-/duckdb-0.7.1.tgz", - "integrity": "sha512-RwFqUO83beq68DcK4XnVLNQXa/AGIXtvg5oI1onclfslo5JYnX+5zI5d0iP/WmpjxiUOGl0Z1bcO0pNvhA/CdA==", + "version": "0.8.0", + "resolved": "https://registry.npmjs.org/duckdb/-/duckdb-0.8.0.tgz", + "integrity": "sha512-hD05w83kdDkmRZoKwFK4PiA2fByczPp49rY6cREh23NoVHXJ3I4VpROsW8vNC9Gx7KP7lZpWvT7rQ/MHvrWI5g==", "hasInstallScript": true, "dependencies": { "@mapbox/node-pre-gyp": "^1.0.0", @@ -5734,9 +5734,9 @@ "dev": true }, "duckdb": { - "version": "0.7.1", - "resolved": "https://registry.npmjs.org/duckdb/-/duckdb-0.7.1.tgz", - "integrity": "sha512-RwFqUO83beq68DcK4XnVLNQXa/AGIXtvg5oI1onclfslo5JYnX+5zI5d0iP/WmpjxiUOGl0Z1bcO0pNvhA/CdA==", + "version": "0.8.0", + "resolved": "https://registry.npmjs.org/duckdb/-/duckdb-0.8.0.tgz", + "integrity": "sha512-hD05w83kdDkmRZoKwFK4PiA2fByczPp49rY6cREh23NoVHXJ3I4VpROsW8vNC9Gx7KP7lZpWvT7rQ/MHvrWI5g==", "requires": { "@mapbox/node-pre-gyp": "^1.0.0", "node-addon-api": "*", diff --git a/package.json b/package.json index 21f6f84..f417140 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "duckdb-async", - "version": "0.7.1", + "version": "0.8.0", "description": "Promise wrappers for DuckDb NodeJS API", "main": "dist/duckdb-async.js", "types": "dist/duckdb-async.d.ts", @@ -25,7 +25,7 @@ }, "homepage": "https://github.com/motherduckdb/duckdb-async#readme", "dependencies": { - "duckdb": "0.7.1" + "duckdb": "0.8.0" }, "devDependencies": { "@types/jest": "^29.2.0", diff --git a/src/duckdb-async.ts b/src/duckdb-async.ts index f49336e..4ebd7fa 100644 --- a/src/duckdb-async.ts +++ b/src/duckdb-async.ts @@ -209,7 +209,10 @@ export class Connection { return this.conn.stream(sql, ...args); } - arrowIPCStream(sql: any, ...args: any[]): duckdb.IpcResultStreamIterator { + arrowIPCStream( + sql: any, + ...args: any[] + ): Promise { if (!this.conn) { throw new Error("Connection.arrowIPCStream: uninitialized connection"); }