react-native-onyx 1.0.89 → 1.0.90

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.
@@ -40,6 +40,9 @@ const webStorage = {
40
40
  this.removeItems = keys => Storage.removeItems(keys)
41
41
  .then(() => raiseStorageSyncManyKeysEvent(keys));
42
42
 
43
+ this.mergeItem = (key, batchedChanges, modifiedData) => Storage.mergeItem(key, batchedChanges, modifiedData)
44
+ .then(() => raiseStorageSyncEvent(key));
45
+
43
46
  // If we just call Storage.clear other tabs will have no idea which keys were available previously
44
47
  // so that they can call keysChanged for them. That's why we iterate over every key and raise a storage sync
45
48
  // event for each one
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-onyx",
3
- "version": "1.0.89",
3
+ "version": "1.0.90",
4
4
  "author": "Expensify, Inc.",
5
5
  "homepage": "https://expensify.com",
6
6
  "description": "State management for React Native",