pg-promise 11.1.0 → 11.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pg-promise",
3
- "version": "11.1.0",
3
+ "version": "11.2.0",
4
4
  "description": "PostgreSQL interface for Node.js",
5
5
  "main": "lib/index.js",
6
6
  "typings": "typescript/pg-promise.d.ts",
@@ -20,7 +20,6 @@
20
20
 
21
21
  import {EventEmitter} from 'events';
22
22
  import {checkServerIdentity} from 'tls';
23
- import {Stream} from 'stream';
24
23
 
25
24
  declare namespace pg {
26
25
 
@@ -103,7 +102,7 @@ declare namespace pg {
103
102
  keepAlive?: boolean
104
103
  keepalives?: number
105
104
  keepalives_idle?: number
106
- stream?: Stream | ((cn: IConnectionParameters) => Stream)
105
+ stream?: Socket | ((cn: IConnectionParameters) => Socket)
107
106
  Client?: new(config: string | IConnectionParameters) => C
108
107
  Promise?: any
109
108
  types?: ITypeOverrides