ReScript
Fix npm description
- 5.9.0 compat
rescript 8.2 compat
fetchInterface
method addedreachabilityRequestTimeout
field added tonetInfoConfiguration
Legacy
module removed, to mirror removal of deprecated APIconfigure
method andnetInfoConfiguration
type added- fields added to
netInfoState
anddetails
types
-
Moved from sgny/rescript-react-native-netinfo.
npm
package was previously namedrescript-react-native-netinfo
. Please update your dependencies accordingly. You may update your existing code using theNetInfo
module ofrescript-react-native
by replacing references to theReactNative.NetInfo
module 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-netinfo
version 3.2.x if you do not wish to usejetifier
.