@onekeyfe/react-native-ping 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/Ping.h CHANGED
@@ -1,6 +1,6 @@
1
1
  #import <RNPingSpec/RNPingSpec.h>
2
2
 
3
- @interface Ping : NativeRNReactNativePingSpecBase <NativeRNReactNativePingSpec>
3
+ @interface Ping : NativePingSpecBase <NativePingSpec>
4
4
 
5
5
  - (void)start:(NSString *)ipAddress
6
6
  option:(JS::NativeRNReactNativePing::SpecStartOption &)option
package/ios/Ping.mm CHANGED
@@ -12,7 +12,7 @@
12
12
  - (std::shared_ptr<facebook::react::TurboModule>)getTurboModule:
13
13
  (const facebook::react::ObjCTurboModule::InitParams &)params
14
14
  {
15
- return std::make_shared<facebook::react::NativeRNReactNativePingSpecJSI>(params);
15
+ return std::make_shared<facebook::react::NativePingSpecJSI>(params);
16
16
  }
17
17
 
18
18
  + (NSString *)moduleName
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onekeyfe/react-native-ping",
3
- "version": "1.1.59",
3
+ "version": "1.1.60",
4
4
  "description": "react-native-ping TurboModule for OneKey",
5
5
  "main": "./lib/module/index.js",
6
6
  "types": "./lib/typescript/src/index.d.ts",