@blueid/access-capacitor 1.1.0 → 1.4.0

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/dist/plugin.js CHANGED
@@ -4211,18 +4211,21 @@ var capacitorBlueIDAccess = (function (exports, core, protobuf) {
4211
4211
  if (!command) {
4212
4212
  throw new Error("Missing valid command");
4213
4213
  }
4214
+ console.log('Starting command: ' + JSON.stringify(command));
4214
4215
  const result = await this.runCommandFunc({
4215
4216
  command,
4216
4217
  arg0: encodeArgument(arg0),
4217
4218
  arg1: encodeArgument(arg1),
4218
4219
  arg2: encodeArgument(arg2),
4219
4220
  });
4221
+ console.log('Running command with result : ' + JSON.stringify(result));
4220
4222
  if (!result) {
4221
4223
  return null;
4222
4224
  }
4223
4225
  if (result.data && result.messageTypeName) {
4224
4226
  return decodeResult(result.messageTypeName, result.data);
4225
4227
  }
4228
+ console.log('result from interop ' + command + ' : ' + JSON.stringify(result.data));
4226
4229
  return result.data;
4227
4230
  }
4228
4231
  async terminalRunAll(deviceID, requests, timeoutSeconds = 10.0) {