Skip to content

Commit 048f782

Browse files
committed
Update Onyx patch
1 parent fd38fe6 commit 048f782

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

patches/react-native-onyx/details.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# `react-native-onyx` patches
22

3-
### [react-native-onyx+3.0.71.patch](react-native-onyx+3.0.71.patch)
3+
### [react-native-onyx+3.0.73.patch](react-native-onyx+3.0.73.patch)
44

55
- Reason:
66

patches/react-native-onyx/react-native-onyx+3.0.71.patch renamed to patches/react-native-onyx/react-native-onyx+3.0.73.patch

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
diff --git a/node_modules/react-native-onyx/dist/OnyxUtils.js b/node_modules/react-native-onyx/dist/OnyxUtils.js
2-
index de56f94..495d378 100644
2+
index 87d163f..1971cd2 100644
33
--- a/node_modules/react-native-onyx/dist/OnyxUtils.js
44
+++ b/node_modules/react-native-onyx/dist/OnyxUtils.js
5-
@@ -868,24 +868,6 @@ function subscribeToKey(connectOptions) {
5+
@@ -886,24 +886,6 @@ function subscribeToKey(connectOptions) {
66
const subscriptionID = lastSubscriptionID++;
77
callbackToStateMapping[subscriptionID] = mapping;
88
callbackToStateMapping[subscriptionID].subscriptionID = subscriptionID;
@@ -27,7 +27,7 @@ index de56f94..495d378 100644
2727
// When keyChanged is called, a key is passed and the method looks through all the Subscribers in callbackToStateMapping for the matching key to get the subscriptionID
2828
// to avoid having to loop through all the Subscribers all the time (even when just one connection belongs to one key),
2929
// We create a mapping from key to lists of subscriptionIDs to access the specific list of subscriptionIDs.
30-
@@ -1394,12 +1376,6 @@ function logKeyChanged(onyxMethod, key, value, hasChanged) {
30+
@@ -1440,12 +1422,6 @@ function logKeyChanged(onyxMethod, key, value, hasChanged) {
3131
function logKeyRemoved(onyxMethod, key) {
3232
Logger.logInfo(`${onyxMethod} called for key: ${key} => null passed, so key was removed`);
3333
}
@@ -40,7 +40,7 @@ index de56f94..495d378 100644
4040
/**
4141
* Clear internal variables used in this file, useful in test environments.
4242
*/
43-
@@ -1458,6 +1434,5 @@ const OnyxUtils = {
43+
@@ -1504,6 +1480,5 @@ const OnyxUtils = {
4444
setWithRetry,
4545
multiSetWithRetry,
4646
setCollectionWithRetry,

0 commit comments

Comments
 (0)