facia-mobilesdk 0.0.4 → 0.0.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.
@@ -43,15 +43,15 @@ public class FaciaReactNativeModule extends ReactContextBaseJavaModule {
43
43
  }
44
44
 
45
45
  @ReactMethod
46
- public void verify(String token, String configObject, Callback callback) {
46
+ public void verify(String configObject, Callback callback) {
47
47
  try {
48
48
 
49
49
  JSONObject configJson = new JSONObject(configObject);
50
50
 
51
51
  FaciaAi faciaAi = new FaciaAi();
52
52
 
53
- faciaAi.createRequest(token, getCurrentActivity(), configJson, responseSet -> {
54
- callback.invoke(new JSONObject(hashMap).toString());
53
+ faciaAi.createRequest(getCurrentActivity(), configJson, responseSet -> {
54
+ callback.invoke(new JSONObject(responseSet).toString());
55
55
  });
56
56
 
57
57
  // JSONObject requestJson = new JSONObject(requestObject);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "facia-mobilesdk",
3
3
  "title": "React Native Mobilesdk Module",
4
- "version": "0.0.4",
4
+ "version": "0.0.6",
5
5
  "description": "Facia mobile SDK",
6
6
  "main": "index.js",
7
7
  "files": [