diff --git a/import-wrapper-prod.mjs b/import-wrapper-prod.mjs index 6de18dbf8..2d443825a 100644 --- a/import-wrapper-prod.mjs +++ b/import-wrapper-prod.mjs @@ -7,6 +7,6 @@ const Dexie = globalThis[DexieSymbol] || (globalThis[DexieSymbol] = _Dexie); if (_Dexie.semVer !== Dexie.semVer) { throw new Error(`Two different versions of Dexie loaded in the same app: ${_Dexie.semVer} and ${Dexie.semVer}`); } -const { liveQuery, mergeRanges, rangesOverlap, RangeSet, cmp } = Dexie; -export { liveQuery, mergeRanges, rangesOverlap, RangeSet, cmp, Dexie }; +const { liveQuery, mergeRanges, rangesOverlap, RangeSet, cmp, Entity } = Dexie; +export { liveQuery, mergeRanges, rangesOverlap, RangeSet, cmp, Dexie, Entity }; export default Dexie; diff --git a/import-wrapper.mjs b/import-wrapper.mjs index cd413140a..5c5950564 100644 --- a/import-wrapper.mjs +++ b/import-wrapper.mjs @@ -7,6 +7,6 @@ const Dexie = globalThis[DexieSymbol] || (globalThis[DexieSymbol] = _Dexie); if (_Dexie.semVer !== Dexie.semVer) { throw new Error(`Two different versions of Dexie loaded in the same app: ${_Dexie.semVer} and ${Dexie.semVer}`); } -const { liveQuery, mergeRanges, rangesOverlap, RangeSet, cmp } = Dexie; -export { liveQuery, mergeRanges, rangesOverlap, RangeSet, cmp, Dexie }; +const { liveQuery, mergeRanges, rangesOverlap, RangeSet, cmp, Entity } = Dexie; +export { liveQuery, mergeRanges, rangesOverlap, RangeSet, cmp, Dexie, Entity }; export default Dexie;