@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.js
CHANGED
@@ -1697,7 +1697,7 @@ function indexEntriesForChanges(changes, mapFn) {
|
|
1697
1697
|
value: v || null
|
1698
1698
|
});
|
1699
1699
|
});
|
1700
|
-
if (!mapCalled && mapReturn) {
|
1700
|
+
if (!mapCalled && typeof mapReturn !== "undefined") {
|
1701
1701
|
indexEntries.push({
|
1702
1702
|
key: [charwise.encode(mapReturn), key],
|
1703
1703
|
value: null
|
@@ -4895,7 +4895,7 @@ __export(file_exports, {
|
|
4895
4895
|
|
4896
4896
|
// src/version.ts
|
4897
4897
|
var PACKAGE_VERSION = Object.keys({
|
4898
|
-
"0.20.0-dev-preview-
|
4898
|
+
"0.20.0-dev-preview-39": "xxxx"
|
4899
4899
|
})[0];
|
4900
4900
|
export {
|
4901
4901
|
CRDTImpl,
|