@fireproof/core 0.20.0-dev-preview-36 → 0.20.0-dev-preview-39
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/index.cjs +2 -2
- package/index.cjs.map +1 -1
- package/index.js +2 -2
- package/index.js.map +1 -1
- package/metafile-cjs.json +1 -1
- package/metafile-esm.json +1 -1
- package/package.json +1 -1
- package/react/index.cjs +9 -15
- package/react/index.cjs.map +1 -1
- package/react/index.js +9 -15
- package/react/index.js.map +1 -1
- package/react/metafile-cjs.json +1 -1
- package/react/metafile-esm.json +1 -1
- package/tests/fireproof/indexer.test.ts +33 -0
- package/tests/react/useFireproof.test.tsx +129 -0
package/index.cjs
CHANGED
@@ -1745,7 +1745,7 @@ function indexEntriesForChanges(changes, mapFn) {
|
|
1745
1745
|
value: v || null
|
1746
1746
|
});
|
1747
1747
|
});
|
1748
|
-
if (!mapCalled && mapReturn) {
|
1748
|
+
if (!mapCalled && typeof mapReturn !== "undefined") {
|
1749
1749
|
indexEntries.push({
|
1750
1750
|
key: [import_charwise.default.encode(mapReturn), key],
|
1751
1751
|
value: null
|
@@ -4943,6 +4943,6 @@ __export(file_exports, {
|
|
4943
4943
|
|
4944
4944
|
// src/version.ts
|
4945
4945
|
var PACKAGE_VERSION = Object.keys({
|
4946
|
-
"0.20.0-dev-preview-
|
4946
|
+
"0.20.0-dev-preview-39": "xxxx"
|
4947
4947
|
})[0];
|
4948
4948
|
//# sourceMappingURL=index.cjs.map
|