react-native-onyx 1.0.8 → 1.0.9

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.
@@ -1308,7 +1308,7 @@ function mergeCollection(collectionKey, collection) {
1308
1308
  function update(data) {
1309
1309
  // First, validate the Onyx object is in the format we expect
1310
1310
  _underscore.default.each(data, function (_ref4) {var onyxMethod = _ref4.onyxMethod,key = _ref4.key;
1311
- if (!_underscore.default.contains(['clear', 'set', 'merge', 'mergeCollection'], onyxMethod)) {
1311
+ if (!_underscore.default.contains(['clear', 'set', 'merge', 'mergecollection'], onyxMethod)) {
1312
1312
  throw new Error("Invalid onyxMethod " + onyxMethod + " in Onyx update.");
1313
1313
  }
1314
1314
  if (onyxMethod !== 'clear' && !_underscore.default.isString(key)) {
@@ -1324,7 +1324,7 @@ function update(data) {
1324
1324
  case 'merge':
1325
1325
  merge(key, value);
1326
1326
  break;
1327
- case 'mergeCollection':
1327
+ case 'mergecollection':
1328
1328
  mergeCollection(key, value);
1329
1329
  break;
1330
1330
  case 'clear':