@onekeyfe/react-native-network-info 1.1.59 → 1.1.60

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.
package/ios/NetworkInfo.h CHANGED
@@ -1,6 +1,6 @@
1
1
  #import <RNNetworkInfoSpec/RNNetworkInfoSpec.h>
2
2
 
3
- @interface NetworkInfo : NativeRNNetworkInfoSpecBase <NativeRNNetworkInfoSpec>
3
+ @interface NetworkInfo : NativeNetworkInfoSpecBase <NativeNetworkInfoSpec>
4
4
 
5
5
  - (void)getSSID:(RCTPromiseResolveBlock)resolve
6
6
  reject:(RCTPromiseRejectBlock)reject;
@@ -21,7 +21,7 @@
21
21
  - (std::shared_ptr<facebook::react::TurboModule>)getTurboModule:
22
22
  (const facebook::react::ObjCTurboModule::InitParams &)params
23
23
  {
24
- return std::make_shared<facebook::react::NativeRNNetworkInfoSpecJSI>(params);
24
+ return std::make_shared<facebook::react::NativeNetworkInfoSpecJSI>(params);
25
25
  }
26
26
 
27
27
  + (NSString *)moduleName
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onekeyfe/react-native-network-info",
3
- "version": "1.1.59",
3
+ "version": "1.1.60",
4
4
  "description": "react-native-network-info",
5
5
  "main": "./lib/module/index.js",
6
6
  "types": "./lib/typescript/src/index.d.ts",