Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions types/oracledb/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1642,6 +1642,8 @@ declare namespace OracleDB {

/** Buffer containing the identifier of the transaction which spawned the notification. */
txId: Buffer;
/** Registration ID of affected registration. */
regId: bigint;
/** Type of notification sent. One of the Subscribe Event Type Constants. */
type: number;
}
Expand Down
1 change: 1 addition & 0 deletions types/oracledb/oracledb-tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -430,6 +430,7 @@ const version4Tests = async () => {
sql: "test",
callback: message => {
console.log(message.queueName);
console.log(message.regId);
for (const query of message.queries ?? []) {
for (const table of query.tables ?? []) {
console.log(table.name);
Expand Down
2 changes: 1 addition & 1 deletion types/oracledb/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"name": "@types/oracledb",
"version": "6.5.9999",
"version": "6.6.9999",
"projects": [
"https://github.com/oracle/node-oracledb"
],
Expand Down