Skip to content

Commit

Permalink
Upgrade to DuckDb 0.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
antonycourtney committed May 22, 2023
1 parent 12f43bb commit e73953f
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 10 deletions.
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -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",
Expand Down
5 changes: 4 additions & 1 deletion src/duckdb-async.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<duckdb.IpcResultStreamIterator> {
if (!this.conn) {
throw new Error("Connection.arrowIPCStream: uninitialized connection");
}
Expand Down

0 comments on commit e73953f

Please sign in to comment.