Skip to content

Commit f70762e

Browse files
authored
🤖 Merge PR DefinitelyTyped#72238 oracledb: add registration ID in CQN subscription message by @jogold
1 parent 330451f commit f70762e

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

‎types/oracledb/index.d.ts‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1642,6 +1642,8 @@ declare namespace OracleDB {
16421642

16431643
/** Buffer containing the identifier of the transaction which spawned the notification. */
16441644
txId: Buffer;
1645+
/** Registration ID of affected registration. */
1646+
regId: bigint;
16451647
/** Type of notification sent. One of the Subscribe Event Type Constants. */
16461648
type: number;
16471649
}

‎types/oracledb/oracledb-tests.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -430,6 +430,7 @@ const version4Tests = async () => {
430430
sql: "test",
431431
callback: message => {
432432
console.log(message.queueName);
433+
console.log(message.regId);
433434
for (const query of message.queries ?? []) {
434435
for (const table of query.tables ?? []) {
435436
console.log(table.name);

‎types/oracledb/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"private": true,
33
"name": "@types/oracledb",
4-
"version": "6.5.9999",
4+
"version": "6.6.9999",
55
"projects": [
66
"https://github.com/oracle/node-oracledb"
77
],

0 commit comments

Comments
 (0)