@gatekeeperx/cordova-plugin-devicex 1.2.6 → 1.2.7

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gatekeeperx/cordova-plugin-devicex",
3
- "version": "1.2.6",
3
+ "version": "1.2.7",
4
4
  "description": "GatekeeperX Device Intelligence Cordova plugin (Android)",
5
5
  "license": "Apache-2.0",
6
6
  "keywords": [
package/plugin.xml CHANGED
@@ -1,7 +1,7 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <plugin id="@gatekeeperx/cordova-plugin-devicex"
3
3
  xmlns="http://apache.org/cordova/ns/plugins/1.0"
4
- xmlns:android="http://schemas.android.com/apk/res/android" version="1.2.6">
4
+ xmlns:android="http://schemas.android.com/apk/res/android" version="1.2.7">
5
5
  <name>Devicex</name>
6
6
  <description>GatekeeperX Device Intelligence Cordova plugin (Android)</description>
7
7
  <license>Apache-2.0</license>
@@ -85,9 +85,9 @@ public class DevicexPlugin extends CordovaPlugin {
85
85
  callbackContext.error(e.getMessage());
86
86
  }
87
87
  return true;
88
- case "evaluateRisk":
89
- evaluateRisk(args, callbackContext);
90
- return true;
88
+ // case "evaluateRisk":
89
+ // evaluateRisk(args, callbackContext);
90
+ // return true;
91
91
  default:
92
92
  return false;
93
93
  }
@@ -37,7 +37,7 @@ public class GatekeeperXClient {
37
37
  * @param payload JSON con los datos del evento
38
38
  * @param callback Callback para manejar respuesta/error
39
39
  */
40
- public static void evaluateRisk(
40
+ private static void evaluateRisk(
41
41
  final String apiUrl,
42
42
  final String organizationId,
43
43
  final String apiKey,
package/www/devicex.js CHANGED
@@ -27,10 +27,10 @@ exports.getVersion = function () {
27
27
  return call('getVersion', []).then(function (res) { return (res && res.value) || ''; });
28
28
  };
29
29
 
30
- exports.evaluateRisk = function (options) {
31
- if (!options || !options.apiUrl || !options.organizationId || !options.payload) {
32
- return Promise.reject('apiUrl, organizationId and payload are required');
33
- }
34
- // apiKey es opcional
35
- return call('evaluateRisk', [options]);
36
- };
30
+ // exports.evaluateRisk = function (options) {
31
+ // if (!options || !options.apiUrl || !options.organizationId || !options.payload) {
32
+ // return Promise.reject('apiUrl, organizationId and payload are required');
33
+ // }
34
+ // // apiKey es opcional
35
+ // return call('evaluateRisk', [options]);
36
+ // };