react-native-onyx 2.0.65 → 2.0.66

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.
@@ -162,7 +162,7 @@ class OnyxConnectionManager {
162
162
  * */
163
163
  addToEvictionBlockList(connection) {
164
164
  var _a;
165
- const connectionMetadata = this.connectionsMap.get(connection.id);
165
+ const connectionMetadata = this.connectionsMap.get(connection === null || connection === void 0 ? void 0 : connection.id);
166
166
  if (!connectionMetadata) {
167
167
  return;
168
168
  }
@@ -178,7 +178,7 @@ class OnyxConnectionManager {
178
178
  */
179
179
  removeFromEvictionBlockList(connection) {
180
180
  var _a, _b, _c;
181
- const connectionMetadata = this.connectionsMap.get(connection.id);
181
+ const connectionMetadata = this.connectionsMap.get(connection === null || connection === void 0 ? void 0 : connection.id);
182
182
  if (!connectionMetadata) {
183
183
  return;
184
184
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-onyx",
3
- "version": "2.0.65",
3
+ "version": "2.0.66",
4
4
  "author": "Expensify, Inc.",
5
5
  "homepage": "https://expensify.com",
6
6
  "description": "State management for React Native",