react-native-hyperkyc-sdk 0.3.5 → 0.3.6

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/README.md CHANGED
@@ -19,7 +19,13 @@ const { Hyperkyc } = NativeModules
19
19
  var configDictionary = {};
20
20
  configDictionary["appId"] = appID
21
21
  configDictionary["appKey"] = appKey
22
-
22
+
23
+ var inputsDictionary = {};
24
+ inputsDictionary["bvnNumber"] = "number-123"
25
+ inputsDictionary["image"] = "image-path"
26
+
27
+
28
+ configDictionary["inputs"] = inputsDictionary
23
29
 
24
30
  configDictionary["transactionId"] = transactionId
25
31
  configDictionary["workflowId"] = "<workflow-id>"
@@ -16,6 +16,7 @@ import com.facebook.react.bridge.ReactMethod;
16
16
  import com.facebook.react.bridge.Callback;
17
17
  import com.facebook.react.bridge.ReadableArray;
18
18
  import com.facebook.react.bridge.ReadableMap;
19
+ import com.facebook.react.bridge.ReadableMapKeySetIterator;
19
20
  import com.facebook.react.bridge.WritableMap;
20
21
  import com.facebook.react.bridge.WritableNativeMap;
21
22
  import com.google.gson.Gson;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-hyperkyc-sdk",
3
- "version": "0.3.5",
3
+ "version": "0.3.6",
4
4
  "description": "React Native wrapper for HyperKYC SDK",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",