dexie 4.4.3 → 4.4.4
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/dexie.d.ts +2 -2
- package/dist/dexie.js +4 -6
- package/dist/dexie.js.map +1 -1
- package/dist/dexie.min.js +1 -1
- package/dist/dexie.min.js.map +1 -1
- package/dist/dexie.mjs +4 -6
- package/dist/dexie.mjs.map +1 -1
- package/dist/modern/dexie.min.mjs +1 -1
- package/dist/modern/dexie.min.mjs.map +1 -1
- package/dist/modern/dexie.mjs +4 -6
- package/dist/modern/dexie.mjs.map +1 -1
- package/package.json +1 -1
package/dist/dexie.d.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*
|
|
5
5
|
* By David Fahlander, david.fahlander@gmail.com
|
|
6
6
|
*
|
|
7
|
-
* Version 4.4.
|
|
7
|
+
* Version 4.4.4, Tue Jun 16 2026
|
|
8
8
|
*
|
|
9
9
|
* https://dexie.org
|
|
10
10
|
*
|
|
@@ -860,7 +860,7 @@ export interface Dexie {
|
|
|
860
860
|
transaction<U>(mode: TransactionMode, table: string | Table, table2: string | Table, scope: (trans: TXWithTables<this>) => PromiseLike<U> | U): PromiseExtended<U>;
|
|
861
861
|
transaction<U>(mode: TransactionMode, table: string | Table, table2: string | Table, table3: string | Table, scope: (trans: TXWithTables<this>) => PromiseLike<U> | U): PromiseExtended<U>;
|
|
862
862
|
transaction<U>(mode: TransactionMode, table: string | Table, table2: string | Table, table3: string | Table, table4: string | Table, scope: (trans: TXWithTables<this>) => PromiseLike<U> | U): PromiseExtended<U>;
|
|
863
|
-
transaction<U>(mode: TransactionMode, table: string | Table, table2: string | Table, table3: string | Table, table5: string | Table, scope: (trans: TXWithTables<this>) => PromiseLike<U> | U): PromiseExtended<U>;
|
|
863
|
+
transaction<U>(mode: TransactionMode, table: string | Table, table2: string | Table, table3: string | Table, table4: string | Table, table5: string | Table, scope: (trans: TXWithTables<this>) => PromiseLike<U> | U): PromiseExtended<U>;
|
|
864
864
|
close(closeOptions?: {
|
|
865
865
|
disableAutoOpen: boolean;
|
|
866
866
|
}): void;
|
package/dist/dexie.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*
|
|
5
5
|
* By David Fahlander, david.fahlander@gmail.com
|
|
6
6
|
*
|
|
7
|
-
* Version 4.4.
|
|
7
|
+
* Version 4.4.4, Tue Jun 16 2026
|
|
8
8
|
*
|
|
9
9
|
* https://dexie.org
|
|
10
10
|
*
|
|
@@ -1227,7 +1227,7 @@
|
|
|
1227
1227
|
}
|
|
1228
1228
|
}
|
|
1229
1229
|
|
|
1230
|
-
var DEXIE_VERSION = '4.4.
|
|
1230
|
+
var DEXIE_VERSION = '4.4.4';
|
|
1231
1231
|
var maxString = String.fromCharCode(65535);
|
|
1232
1232
|
var minKey = -Infinity;
|
|
1233
1233
|
var INVALID_KEY_ARGUMENT = 'Invalid key provided. Keys must be of type string, number, Date or Array<string | number | Date>.';
|
|
@@ -5799,9 +5799,6 @@
|
|
|
5799
5799
|
}
|
|
5800
5800
|
Object.freeze(result);
|
|
5801
5801
|
}
|
|
5802
|
-
else {
|
|
5803
|
-
res.result = deepClone(result);
|
|
5804
|
-
}
|
|
5805
5802
|
return res;
|
|
5806
5803
|
})
|
|
5807
5804
|
.catch(function (error) {
|
|
@@ -5838,8 +5835,9 @@
|
|
|
5838
5835
|
}
|
|
5839
5836
|
subscribeToCacheEntry(cacheEntry, container, requery, signal);
|
|
5840
5837
|
return cacheEntry.promise.then(function (res) {
|
|
5838
|
+
var result = applyOptimisticOps(res.result, req, tblCache === null || tblCache === void 0 ? void 0 : tblCache.optimisticOps, downTable, cacheEntry, freezeResults);
|
|
5841
5839
|
return {
|
|
5842
|
-
result:
|
|
5840
|
+
result: freezeResults ? result : deepClone(result),
|
|
5843
5841
|
};
|
|
5844
5842
|
});
|
|
5845
5843
|
} });
|