@veryai/react-native-sdk 1.0.35 → 1.0.38

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.
@@ -76,7 +76,7 @@ dependencies {
76
76
  if (findProject(':very-sdk') != null) {
77
77
  implementation project(':very-sdk')
78
78
  } else {
79
- implementation "org.very:sdk:${project.findProperty('verySDKVersion') ?: '1.0.35'}"
79
+ implementation "org.very:sdk:${project.findProperty('verySDKVersion') ?: '1.0.38'}"
80
80
  }
81
81
  }
82
82
 
@@ -44,7 +44,7 @@ class VerySDKModuleImpl(private val reactContext: ReactApplicationContext) {
44
44
 
45
45
  fun isSupported(promise: Promise) {
46
46
  val context = reactContext.currentActivity ?: reactContext
47
- promise.resolve(VerySDK.isSupport(context))
47
+ promise.resolve(VerySDK.isSupported(context))
48
48
  }
49
49
 
50
50
  companion object {
@@ -56,7 +56,7 @@ class VerySDKRN: NSObject {
56
56
  @objc(isSupported:reject:)
57
57
  func isSupported(_ resolve: RCTPromiseResolveBlock,
58
58
  reject: RCTPromiseRejectBlock) {
59
- resolve(VerySDK.isSupport())
59
+ resolve(VerySDK.isSupported())
60
60
  }
61
61
 
62
62
  // MARK: - Helper
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veryai/react-native-sdk",
3
- "version": "1.0.35",
3
+ "version": "1.0.38",
4
4
  "description": "React Native wrapper for Very SDK - Palm biometrics verification",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",
@@ -25,7 +25,7 @@ Pod::Spec.new do |s|
25
25
 
26
26
  s.subspec 'Core' do |core|
27
27
  core.source_files = "ios/**/*.{swift,h,m,mm}"
28
- core.dependency "VerySDK/Core", "1.0.35"
28
+ core.dependency "VerySDK/Core", "1.0.38"
29
29
 
30
30
  if respond_to?(:install_modules_dependencies, true)
31
31
  install_modules_dependencies(core)
@@ -36,6 +36,6 @@ Pod::Spec.new do |s|
36
36
 
37
37
  s.subspec 'Bundled' do |bundled|
38
38
  bundled.dependency 'veryai-react-native-sdk/Core'
39
- bundled.dependency 'VerySDK/Bundled', "1.0.35"
39
+ bundled.dependency 'VerySDK/Bundled', "1.0.38"
40
40
  end
41
41
  end