react-native-onyx 1.0.70 → 1.0.71

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.
@@ -58,6 +58,7 @@ const idbKeyvalMock = {
58
58
  getDatabaseSize() {
59
59
  return Promise.resolve({bytesRemaining: 0, bytesUsed: 99999});
60
60
  },
61
+ setMemoryOnlyKeys() {},
61
62
  };
62
63
 
63
64
  const idbKeyvalMockSpy = {
@@ -78,6 +79,7 @@ const idbKeyvalMockSpy = {
78
79
  storageMapInternal = data;
79
80
  }),
80
81
  getDatabaseSize: jest.fn(idbKeyvalMock.getDatabaseSize),
82
+ setMemoryOnlyKeys: jest.fn(idbKeyvalMock.setMemoryOnlyKeys),
81
83
  };
82
84
 
83
85
  export default idbKeyvalMockSpy;
@@ -160,6 +160,11 @@ const provider = {
160
160
  };
161
161
  });
162
162
  },
163
+
164
+ /**
165
+ * Noop on native
166
+ */
167
+ keepInstancesSync: () => {},
163
168
  };
164
169
 
165
170
  export default provider;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-onyx",
3
- "version": "1.0.70",
3
+ "version": "1.0.71",
4
4
  "author": "Expensify, Inc.",
5
5
  "homepage": "https://expensify.com",
6
6
  "description": "State management for React Native",