Skip to content

Commit 15930f2

Browse files
committed
feat: #31 adding a definition for oldkeys in the wal2json response
1 parent d576f5e commit 15930f2

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
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": "pg-logical-replication",
3-
"version": "2.0.5",
3+
"version": "2.0.6",
44
"description": "PostgreSQL Location Replication client - logical WAL replication streaming",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",

src/output-plugins/wal2json/wal2json-plugin-output.type.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ export declare module Wal2Json {
5555
* +options.includeNotNull : true
5656
*/
5757
columnoptionals: boolean[];
58+
59+
oldkeys?: { keynames: string[]; keytypes: string[]; keyvalues: any[] };
5860
}
5961

6062
export interface Pk {

0 commit comments

Comments
 (0)