ReScript
Fix npm description
- 5.9.0 compat
rescript 8.2 compat
fetchInterfacemethod addedreachabilityRequestTimeoutfield added tonetInfoConfiguration
Legacymodule removed, to mirror removal of deprecated APIconfiguremethod andnetInfoConfigurationtype added- fields added to
netInfoStateanddetailstypes
-
Moved from sgny/rescript-react-native-netinfo.
npmpackage was previously namedrescript-react-native-netinfo. Please update your dependencies accordingly. You may update your existing code using theNetInfomodule ofrescript-react-nativeby replacing references to theReactNative.NetInfomodule withReactNativeNetInfo.Legacy. However, do note that the new API is more straightforward. -
The module is renamed to
ReactNativeNetInfo(previouslyCommunityNetInfo). -
Releases require use of jetifier for versions 0.59.x of React Native. You may continue to use
rescript-react-native-netinfoversion 3.2.x if you do not wish to usejetifier.