@neondatabase/serverless
Advanced tools
Comparing version 0.4.18 to 0.4.19
@@ -26,4 +26,2 @@ | ||
Connection, | ||
ClientBase, | ||
Pool, | ||
Query, | ||
@@ -131,6 +129,12 @@ Events, | ||
import { | ||
ClientBase as PgClientBase, | ||
Client as PgClient, | ||
PoolClient as PgPoolClient, | ||
Pool as PgPool, | ||
} from "pg"; | ||
export class ClientBase extends PgClientBase { | ||
neonConfig: NeonConfig; | ||
} | ||
export class Client extends PgClient { | ||
@@ -144,2 +148,9 @@ neonConfig: NeonConfig; | ||
export class Pool extends PgPool { | ||
connect(): Promise<PoolClient>; | ||
connect(callback: (err: Error, client: PoolClient, done: (release?: any) => void) => void): void; | ||
on(event: 'error', listener: (err: Error, client: PoolClient) => void): this; | ||
on(event: 'connect' | 'acquire' | 'remove', listener: (client: PoolClient) => void): this; | ||
} | ||
export const neonConfig: NeonConfig; | ||
@@ -146,0 +157,0 @@ |
{ | ||
"name": "@neondatabase/serverless", | ||
"version": "0.4.18", | ||
"version": "0.4.19", | ||
"author": "Neon", | ||
@@ -5,0 +5,0 @@ "description": "node-postgres for serverless environments from neon.tech", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
183958
882