Skip to content

Commit 4df3909

Browse files
committed
chore: bump version to 1.0.5 in package.json and update PostgresAdapter constructor type
1 parent 55de0f0 commit 4df3909

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sqlkit",
3-
"version": "1.0.4",
3+
"version": "1.0.5",
44
"description": "A lightweight SQL builder for TypeScript",
55
"license": "MIT",
66
"author": {

src/dialects/postgres.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
import { Pool } from "pg";
21
import { QueryResult, SqlExecutor } from "../types";
32
import { SQLKITException } from "../exceptions";
43

54
export class PostgresAdapter implements SqlExecutor {
6-
constructor(private pgPool: Pool) {}
5+
constructor(private pgPool: any) {}
76

87
async executeSQL<T>(sql: string, values: any[]): Promise<QueryResult> {
98
return new Promise((resolve, reject) => {

0 commit comments

Comments
 (0)