@pulseboard/react-native 0.4.8 → 0.4.9

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.
@@ -6,7 +6,8 @@
6
6
  NS_ASSUME_NONNULL_BEGIN
7
7
 
8
8
  @interface PulseBoardDevice : NSObject <NativePulseBoardDeviceSpec>
9
-
9
+ - (void)getDeviceInfo:(RCTPromiseResolveBlock)resolve
10
+ reject:(RCTPromiseRejectBlock)reject;
10
11
  @end
11
12
 
12
13
  NS_ASSUME_NONNULL_END
@@ -18,7 +18,7 @@
18
18
  }
19
19
 
20
20
  - (void)getDeviceInfo:(RCTPromiseResolveBlock)resolve
21
- rejecter:(RCTPromiseRejectBlock)reject {
21
+ reject:(RCTPromiseRejectBlock)reject {
22
22
  dispatch_async(dispatch_get_main_queue(), ^{
23
23
  UIDevice *device = [UIDevice currentDevice];
24
24
  CGRect screen = [UIScreen mainScreen].bounds;
@@ -6,7 +6,8 @@
6
6
  NS_ASSUME_NONNULL_BEGIN
7
7
 
8
8
  @interface PulseBoardNetwork : NSObject <NativePulseBoardNetworkSpec>
9
-
9
+ - (void)getNetworkInfo:(RCTPromiseResolveBlock)resolve
10
+ reject:(RCTPromiseRejectBlock)reject;
10
11
  @end
11
12
 
12
13
  NS_ASSUME_NONNULL_END
@@ -23,7 +23,7 @@
23
23
  }
24
24
 
25
25
  - (void)getNetworkInfo:(RCTPromiseResolveBlock)resolve
26
- rejecter:(RCTPromiseRejectBlock)reject {
26
+ reject:(RCTPromiseRejectBlock)reject {
27
27
  nw_path_monitor_t monitor = nw_path_monitor_create();
28
28
  dispatch_queue_t queue = dispatch_queue_create(
29
29
  "com.pulseboard.network", DISPATCH_QUEUE_SERIAL);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulseboard/react-native",
3
- "version": "0.4.8",
3
+ "version": "0.4.9",
4
4
  "description": "Official PulseBoard SDK for React Native",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",