react-native-onyx 2.0.108 → 2.0.109

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.
Files changed (2) hide show
  1. package/dist/useOnyx.js +1 -1
  2. package/package.json +1 -1
package/dist/useOnyx.js CHANGED
@@ -204,7 +204,7 @@ function useOnyx(key, options, dependencies = []) {
204
204
  // we log an alert so it can be acknowledged by the consumer. Additionally, we won't log alerts
205
205
  // if there's a `Onyx.clear()` task in progress.
206
206
  if ((options === null || options === void 0 ? void 0 : options.canBeMissing) === false && newStatus === 'loaded' && !isOnyxValueDefined && !OnyxCache_1.default.hasPendingTask(OnyxCache_1.TASK.CLEAR)) {
207
- Logger.logAlert(`useOnyx returned no data for key with canBeMissing set to false.`, { key, showAlert: true });
207
+ Logger.logAlert(`useOnyx returned no data for key with canBeMissing set to false for key ${key}`, { showAlert: true });
208
208
  }
209
209
  }
210
210
  return resultRef.current;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-onyx",
3
- "version": "2.0.108",
3
+ "version": "2.0.109",
4
4
  "author": "Expensify, Inc.",
5
5
  "homepage": "https://expensify.com",
6
6
  "description": "State management for React Native",