Skip to content

Commit adf1fe3

Browse files
committed
version bump and minor interface updates
1 parent 545d227 commit adf1fe3

File tree

6 files changed

+32
-549
lines changed

6 files changed

+32
-549
lines changed

bin/lib/Pool.old.js

Lines changed: 0 additions & 223 deletions
This file was deleted.

bin/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "pg-io",
3-
"version": "0.8.4",
3+
"version": "0.9.0",
44
"description": "Promise-based PostgreSQL client for node.js written in TypeScript",
55
"keywords": [
66
"pg",

bin/pg-io.d.ts

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,19 @@ declare module "pg-io" {
77
// GLOBAL
88
// --------------------------------------------------------------------------------------------
99
export interface DatabaseOptions {
10-
name? : string;
11-
pool? : PoolOptions;
12-
session? : SessionOptions;
13-
connection : ConnectionSettings;
10+
name? : string;
11+
pool? : PoolOptions;
12+
session? : SessionOptions;
13+
connection : ConnectionSettings;
1414
}
1515

1616
export interface ConnectionSettings {
17-
host : string;
18-
port? : number;
19-
ssl? : boolean;
20-
user : string;
21-
password : string;
22-
database : string;
17+
host : string;
18+
port? : number;
19+
ssl? : boolean;
20+
user : string;
21+
password : string;
22+
database : string;
2323
}
2424

2525
export interface PoolOptions {
@@ -29,11 +29,11 @@ declare module "pg-io" {
2929
}
3030

3131
export const defaults: {
32-
name : string;
33-
SessionCtr : typeof Session;
34-
connection : ConnectionSettings;
35-
session : SessionOptions;
36-
pool : PoolOptions;
32+
name : string;
33+
SessionCtr : typeof Session;
34+
connection : ConnectionSettings;
35+
session : SessionOptions;
36+
pool : PoolOptions;
3737
};
3838

3939
export const util: {

0 commit comments

Comments
 (0)