@firebase/database 1.1.5-eap-sql.49c10c82f → 1.1.6-20261110194028
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.
- package/dist/index.cjs.js +6 -2
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +6 -2
- package/dist/index.esm.js.map +1 -1
- package/dist/index.node.cjs.js +6 -2
- package/dist/index.node.cjs.js.map +1 -1
- package/dist/index.standalone.js +5 -1
- package/dist/index.standalone.js.map +1 -1
- package/dist/node-esm/index.node.esm.js +6 -2
- package/dist/node-esm/index.node.esm.js.map +1 -1
- package/dist/node-esm/src/api/Database.d.ts +2 -2
- package/dist/node-esm/src/api/Reference_impl.d.ts +2 -2
- package/dist/node-esm/src/api.standalone.d.ts +5 -5
- package/dist/node-esm/src/core/RepoInfo.d.ts +1 -1
- package/dist/src/api/Database.d.ts +2 -2
- package/dist/src/api/Reference_impl.d.ts +2 -2
- package/dist/src/api.standalone.d.ts +5 -5
- package/dist/src/core/RepoInfo.d.ts +1 -1
- package/package.json +12 -17
- package/dist/node-esm/test/helpers/EventAccumulator.d.ts +0 -35
- package/dist/node-esm/test/helpers/syncpoint-util.d.ts +0 -29
- package/dist/node-esm/test/helpers/util.d.ts +0 -36
- package/dist/test/helpers/EventAccumulator.d.ts +0 -35
- package/dist/test/helpers/syncpoint-util.d.ts +0 -29
- package/dist/test/helpers/util.d.ts +0 -36
package/dist/index.esm.js
CHANGED
|
@@ -4,7 +4,7 @@ import { stringify, jsonEval, contains, assert, stringToByteArray, Sha1, base64,
|
|
|
4
4
|
import { Logger, LogLevel } from '@firebase/logger';
|
|
5
5
|
|
|
6
6
|
const name = "@firebase/database";
|
|
7
|
-
const version = "1.1.
|
|
7
|
+
const version = "1.1.6-20261110194028";
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* @license
|
|
@@ -11674,7 +11674,11 @@ function repoAbortTransactionsOnNode(repo, node) {
|
|
|
11674
11674
|
let events = [];
|
|
11675
11675
|
let lastSent = -1;
|
|
11676
11676
|
for (let i = 0; i < queue.length; i++) {
|
|
11677
|
-
if (queue[i].status === 3 /* TransactionStatus.SENT_NEEDS_ABORT */)
|
|
11677
|
+
if (queue[i].status === 3 /* TransactionStatus.SENT_NEEDS_ABORT */) {
|
|
11678
|
+
assert(lastSent === i - 1, 'All SENT_NEEDS_ABORT items should be at beginning of queue.');
|
|
11679
|
+
// Keep waiting for the outstanding response to clean up this transaction.
|
|
11680
|
+
lastSent = i;
|
|
11681
|
+
}
|
|
11678
11682
|
else if (queue[i].status === 1 /* TransactionStatus.SENT */) {
|
|
11679
11683
|
assert(lastSent === i - 1, 'All SENT items should be at beginning of queue.');
|
|
11680
11684
|
lastSent = i;
|