react-native-hyperkyc-sdk 2.0.1 → 2.1.0

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.
@@ -56,7 +56,7 @@ repositories {
56
56
  dependencies {
57
57
  //noinspection GradleDynamicVersion
58
58
  implementation "com.facebook.react:react-native:+" // From node_modules
59
- implementation('co.hyperverge:hyperkyc:2.0.2@aar', {
59
+ implementation('co.hyperverge:hyperkyc:2.1.0@aar', {
60
60
  transitive = true
61
61
  exclude group: 'co.hyperverge', module: 'hyperdocdetect'
62
62
  exclude group: 'co.hyperverge', module: 'hypersnap-pdf'
@@ -181,7 +181,7 @@ public class HyperkycSdkModule extends ReactContextBaseJavaModule {
181
181
  Boolean useLocation = kycConfig.hasKey("useLocation") ? kycConfig.getBoolean("useLocation") : null;
182
182
  String uniqueId = kycConfig.hasKey("uniqueId") ? kycConfig.getString("uniqueId") : null;
183
183
  Map<String, String> metadata = new HashMap<>();
184
- metadata.put("sdk-version", "2.0.1");
184
+ metadata.put("sdk-version", "2.1.0");
185
185
  metadata.put("sdk-type", "React Native");
186
186
  if (accessToken == null) {
187
187
  assert appId != null;
@@ -45,7 +45,7 @@ class Hyperkyc: RCTEventEmitter {
45
45
  let useLocation = _config["useLocation"] as? Bool
46
46
  let uniqueId = _config["uniqueId"] as? String
47
47
  let metadata: [String: String] = [
48
- "sdk-version": "2.0.1",
48
+ "sdk-version": "2.1.0",
49
49
  "sdk-type": "React Native"
50
50
  ]
51
51
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-hyperkyc-sdk",
3
- "version": "2.0.1",
3
+ "version": "2.1.0",
4
4
  "description": "React Native wrapper for HyperKYC SDK",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",
@@ -17,7 +17,7 @@ Pod::Spec.new do |s|
17
17
  s.static_framework = true
18
18
 
19
19
  s.dependency "React-Core"
20
- s.dependency "HyperKYC", "0.49.0"
20
+ s.dependency "HyperKYC", "0.50.0"
21
21
  # Need these lines to support HyperKYC framework
22
22
  s.preserve_paths = 'HyperKYC.framework'
23
23
  s.xcconfig = { 'OTHER_LDFLAGS' => '-framework HyperKYC' }