react-native-okhi 2.0.16 → 2.0.17

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.
@@ -73,7 +73,7 @@ repositories {
73
73
  def kotlin_version = getExtOrDefault("kotlinVersion")
74
74
 
75
75
  dependencies {
76
- implementation 'io.okhi.android:okhi:1.0.12'
76
+ implementation 'io.okhi.android:okhi:1.0.13'
77
77
  implementation "com.facebook.react:react-android"
78
78
  implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
79
79
  }
package/ios/Okhi.mm CHANGED
@@ -8,6 +8,7 @@
8
8
  #endif
9
9
 
10
10
  @implementation Okhi
11
+ RCT_EXPORT_MODULE(Okhi)
11
12
  - (void)login:(NSDictionary *)credentials callback:(RCTResponseSenderBlock)callback {
12
13
  [OkHiWrapper login:credentials callback:^(NSArray<NSString *> *results) {
13
14
  if (callback) {
@@ -167,9 +168,4 @@
167
168
  return std::make_shared<facebook::react::NativeOkhiSpecJSI>(params);
168
169
  }
169
170
 
170
- + (NSString *)moduleName
171
- {
172
- return @"Okhi";
173
- }
174
-
175
171
  @end
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-okhi",
3
- "version": "2.0.16",
3
+ "version": "2.0.17",
4
4
  "description": "The OkHi React Native library enables you to collect and verify addresses from your users",
5
5
  "license": "MIT",
6
6
  "repository": "https://github.com/OkHi/react-native-okhi",