@pgtyped/wire
Advanced tools
Comparing version 0.11.0 to 0.12.0
@@ -202,11 +202,2 @@ /// <reference types="node" /> | ||
}; | ||
export declare type TMessage = IServerMessage<{ | ||
commandTag: string; | ||
}> | IServerMessage<{ | ||
/** Row columns array */ | ||
columns: Array<{ | ||
/** The value of the column, in the format indicated by the associated format code. n is the above length. */ | ||
value: Buffer; | ||
}>; | ||
}>; | ||
export {}; |
{ | ||
"name": "@pgtyped/wire", | ||
"version": "0.11.0", | ||
"version": "0.12.0", | ||
"main": "lib/index.js", | ||
@@ -29,3 +29,3 @@ "types": "lib/index.d.ts", | ||
}, | ||
"gitHead": "edccd3ed6dc2f0910b9ac07af4725ba9de351727" | ||
"gitHead": "e8bd84256ec0ec6d37ba89c7fca21f9a3360d763" | ||
} |
@@ -1,3 +0,1 @@ | ||
import { SSL_OP_TLS_D5_BUG } from 'constants'; | ||
interface ISized { | ||
@@ -4,0 +2,0 @@ length: number; |
@@ -410,11 +410,1 @@ import { | ||
}; | ||
export type TMessage = | ||
| IServerMessage<{ commandTag: string }> | ||
| IServerMessage<{ | ||
/** Row columns array */ | ||
columns: Array<{ | ||
/** The value of the column, in the format indicated by the associated format code. n is the above length. */ | ||
value: Buffer; | ||
}>; | ||
}>; |
@@ -1,10 +0,4 @@ | ||
import { | ||
buildMessage, | ||
IMessagePayload, | ||
parseMessage, | ||
parseOneOf, | ||
ParseResult, | ||
} from '../src/protocol'; | ||
import { buildMessage, parseMessage, parseOneOf } from '../src/protocol'; | ||
import { messages, IServerMessage } from '../src/messages'; | ||
import { messages } from '../src/messages'; | ||
@@ -11,0 +5,0 @@ test('buildMessage for StartupMessage works', () => { |
import * as net from 'net'; | ||
import * as util from 'util'; | ||
import * as tls from 'tls'; | ||
@@ -12,3 +11,3 @@ | ||
import { IClientMessage, TMessage, IServerMessage, messages } from './messages'; | ||
import { IClientMessage, IServerMessage, messages } from './messages'; | ||
@@ -15,0 +14,0 @@ import debugBase from 'debug'; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
128277
3427