@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.
@@ -1256,7 +1256,7 @@ WebSocketConnection.responsesRequiredToBeHealthy = 2;
1256
1256
  WebSocketConnection.healthyTimeout = 30000;
1257
1257
 
1258
1258
  const name = "@firebase/database";
1259
- const version = "1.1.5";
1259
+ const version = "1.1.6-20261111165442";
1260
1260
 
1261
1261
  /**
1262
1262
  * @license
@@ -11682,7 +11682,11 @@ function repoAbortTransactionsOnNode(repo, node) {
11682
11682
  let events = [];
11683
11683
  let lastSent = -1;
11684
11684
  for (let i = 0; i < queue.length; i++) {
11685
- if (queue[i].status === 3 /* TransactionStatus.SENT_NEEDS_ABORT */) ;
11685
+ if (queue[i].status === 3 /* TransactionStatus.SENT_NEEDS_ABORT */) {
11686
+ util.assert(lastSent === i - 1, 'All SENT_NEEDS_ABORT items should be at beginning of queue.');
11687
+ // Keep waiting for the outstanding response to clean up this transaction.
11688
+ lastSent = i;
11689
+ }
11686
11690
  else if (queue[i].status === 1 /* TransactionStatus.SENT */) {
11687
11691
  util.assert(lastSent === i - 1, 'All SENT items should be at beginning of queue.');
11688
11692
  lastSent = i;