react-native-onyx 1.0.99 → 1.0.101
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/web.development.js
CHANGED
|
@@ -2330,7 +2330,7 @@ const provider = {
|
|
|
2330
2330
|
return getValues.then((values) => {
|
|
2331
2331
|
const upsertMany = underscore__WEBPACK_IMPORTED_MODULE_1___default().map(pairs, (_ref2, index) => {let [key, value] = _ref2;
|
|
2332
2332
|
const prev = values[index];
|
|
2333
|
-
const newValue = _utils__WEBPACK_IMPORTED_MODULE_2__["default"].
|
|
2333
|
+
const newValue = _utils__WEBPACK_IMPORTED_MODULE_2__["default"].fastMerge(prev, value);
|
|
2334
2334
|
return (0,idb_keyval__WEBPACK_IMPORTED_MODULE_0__.promisifyRequest)(store.put(newValue, key));
|
|
2335
2335
|
});
|
|
2336
2336
|
return Promise.all(upsertMany);
|