@tryvital/vital-core-react-native 1.2.0 → 1.3.1

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/.DS_Store CHANGED
Binary file
package/ios/.DS_Store ADDED
Binary file
@@ -6,7 +6,7 @@
6
6
  @implementation VitalCoreConfiguration
7
7
 
8
8
  + (void)automaticConfiguration {
9
- [VitalClient automaticConfigurationWithCompletionHandler:^{}];
9
+ [VitalClient automaticConfigurationWithCompletion:nil];
10
10
  }
11
11
 
12
12
  @end
@@ -41,10 +41,8 @@ class VitalCoreReactNative: NSObject {
41
41
  return
42
42
  }
43
43
 
44
- Task {
45
- await VitalClient.configure(apiKey: apiKey, environment: env, configuration: .init(logsEnable: enableLogs))
46
- resolve(())
47
- }
44
+ VitalClient.configure(apiKey: apiKey, environment: env, configuration: .init(logsEnable: enableLogs))
45
+ resolve(())
48
46
  }
49
47
 
50
48
  @objc(cleanUp:rejecter:)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tryvital/vital-core-react-native",
3
- "version": "1.2.0",
3
+ "version": "1.3.1",
4
4
  "description": "test",
5
5
  "main": "lib/commonjs/index.js",
6
6
  "module": "lib/module/index.js",
@@ -30,7 +30,6 @@
30
30
  "clean": "del lib",
31
31
  "prepack": "yarn run clean && yarn run build",
32
32
  "np": "np --no-publish",
33
- "postversion": "react-native-version",
34
33
  "test": "jest",
35
34
  "lint": "eslint \"**/*.{js,ts,tsx}\""
36
35
  },
@@ -17,7 +17,7 @@ Pod::Spec.new do |s|
17
17
  s.source_files = "ios/**/*.{h,m,mm,swift}"
18
18
 
19
19
  s.dependency "React-Core"
20
- s.dependency "VitalCore", "~> 0.7.18"
20
+ s.dependency "VitalCore", "~> 0.8.0"
21
21
 
22
22
  # Don't install the dependencies when we run `pod install` in the old architecture.
23
23
  if ENV['RCT_NEW_ARCH_ENABLED'] == '1' then