@firebase/database 1.1.5 → 1.1.6-20261111165442

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.
@@ -381,6 +381,7 @@ export declare class DataSnapshot {
381
381
  */
382
382
  val(): any;
383
383
  }
384
+
384
385
  export { EmulatorMockTokenOptions }
385
386
 
386
387
  /**
@@ -1252,7 +1252,7 @@ WebSocketConnection.responsesRequiredToBeHealthy = 2;
1252
1252
  WebSocketConnection.healthyTimeout = 30000;
1253
1253
 
1254
1254
  const name = "@firebase/database";
1255
- const version = "1.1.5";
1255
+ const version = "1.1.6-20261111165442";
1256
1256
 
1257
1257
  /**
1258
1258
  * @license
@@ -11678,7 +11678,11 @@ function repoAbortTransactionsOnNode(repo, node) {
11678
11678
  let events = [];
11679
11679
  let lastSent = -1;
11680
11680
  for (let i = 0; i < queue.length; i++) {
11681
- if (queue[i].status === 3 /* TransactionStatus.SENT_NEEDS_ABORT */) ;
11681
+ if (queue[i].status === 3 /* TransactionStatus.SENT_NEEDS_ABORT */) {
11682
+ assert(lastSent === i - 1, 'All SENT_NEEDS_ABORT items should be at beginning of queue.');
11683
+ // Keep waiting for the outstanding response to clean up this transaction.
11684
+ lastSent = i;
11685
+ }
11682
11686
  else if (queue[i].status === 1 /* TransactionStatus.SENT */) {
11683
11687
  assert(lastSent === i - 1, 'All SENT items should be at beginning of queue.');
11684
11688
  lastSent = i;