@blueid/access-capacitor 1.5.0 → 1.16.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.
Files changed (28) hide show
  1. package/android/build.gradle +5 -7
  2. package/android/src/main/java/com/blueid/access/plugins/capacitor/BlueIDAccess.java +1 -43
  3. package/android/src/main/java/com/blueid/access/plugins/capacitor/BlueIDAccessPlugin.java +1 -87
  4. package/dist/esm/BlueSystem_pb.d.ts +41 -0
  5. package/dist/esm/BlueSystem_pb.js +32 -0
  6. package/dist/esm/BlueSystem_pb.js.map +1 -1
  7. package/dist/esm/interop.js +0 -3
  8. package/dist/esm/interop.js.map +1 -1
  9. package/dist/plugin.cjs.js +34 -3
  10. package/dist/plugin.cjs.js.map +1 -1
  11. package/dist/plugin.js +34 -3
  12. package/dist/plugin.js.map +1 -1
  13. package/ios/CBlueIDAccess.xcframework/Info.plist +8 -8
  14. package/ios/CBlueIDAccess.xcframework/ios-arm64/Headers/core/BlueCore.h +1 -1
  15. package/ios/CBlueIDAccess.xcframework/ios-arm64/libCBlueIDAccess.a +0 -0
  16. package/ios/CBlueIDAccess.xcframework/ios-arm64_x86_64-simulator/Headers/core/BlueCore.h +1 -1
  17. package/ios/CBlueIDAccess.xcframework/ios-arm64_x86_64-simulator/libCBlueIDAccess.a +0 -0
  18. package/ios/CBlueIDAccess.xcframework/macos-arm64_x86_64/Headers/core/BlueCore.h +1 -1
  19. package/ios/CBlueIDAccess.xcframework/macos-arm64_x86_64/libCBlueIDAccess.a +0 -0
  20. package/ios/Plugin/BlueIDAccessPlugin.swift +1 -1
  21. package/ios/Plugin/BlueIDAccessSDK/BlueAPI.swift +7 -0
  22. package/ios/Plugin/BlueIDAccessSDK/BlueAPIProtocol.swift +22 -0
  23. package/ios/Plugin/BlueIDAccessSDK/BlueCore.pb.swift +9 -1
  24. package/ios/Plugin/BlueIDAccessSDK/BlueSDK.pb.swift +18 -2
  25. package/ios/Plugin/BlueIDAccessSDK/BlueSystem.pb.swift +185 -3
  26. package/ios/Plugin/BlueIDAccessSDK/BlueSystem.swift +43 -17
  27. package/package.json +1 -3
  28. package/android/settings.gradle +0 -4
package/dist/plugin.js CHANGED
@@ -3912,6 +3912,36 @@ var capacitorBlueIDAccess = (function (exports, core, protobuf) {
3912
3912
  { no: 4, name: "terminalPrivateKey", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
3913
3913
  { no: 5, name: "signaturePublicKey", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
3914
3914
  ]);
3915
+ /**
3916
+ * @generated from message BlueHardwareInfo
3917
+ */
3918
+ class BlueHardwareInfo extends protobuf.Message {
3919
+ constructor(data) {
3920
+ super();
3921
+ protobuf.proto2.util.initPartial(data, this);
3922
+ }
3923
+ static fromBinary(bytes, options) {
3924
+ return new BlueHardwareInfo().fromBinary(bytes, options);
3925
+ }
3926
+ static fromJson(jsonValue, options) {
3927
+ return new BlueHardwareInfo().fromJson(jsonValue, options);
3928
+ }
3929
+ static fromJsonString(jsonString, options) {
3930
+ return new BlueHardwareInfo().fromJsonString(jsonString, options);
3931
+ }
3932
+ static equals(a, b) {
3933
+ return protobuf.proto2.util.equals(BlueHardwareInfo, a, b);
3934
+ }
3935
+ }
3936
+ BlueHardwareInfo.runtime = protobuf.proto2;
3937
+ BlueHardwareInfo.typeName = "BlueHardwareInfo";
3938
+ BlueHardwareInfo.fields = protobuf.proto2.util.newFieldList(() => [
3939
+ { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3940
+ { no: 2, name: "vendor", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3941
+ { no: 3, name: "vendorName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3942
+ { no: 4, name: "version", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
3943
+ { no: 5, name: "type", kind: "enum", T: protobuf.proto2.getEnumType(exports.BlueHardwareType) },
3944
+ ]);
3915
3945
  /**
3916
3946
  * @generated from message BlueSystemStatus
3917
3947
  */
@@ -3948,6 +3978,8 @@ var capacitorBlueIDAccess = (function (exports, core, protobuf) {
3948
3978
  { no: 10, name: "applicationVersionTest", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
3949
3979
  { no: 11, name: "newFirmwareVersionAvailable", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
3950
3980
  { no: 12, name: "newTestFirmwareVersionAvailable", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
3981
+ { no: 13, name: "newConfigurationAvailable", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
3982
+ { no: 14, name: "hardwareInfo", kind: "message", T: BlueHardwareInfo, opt: true },
3951
3983
  ]);
3952
3984
  /**
3953
3985
  * @generated from message BlueSystemLogQuery
@@ -4148,6 +4180,7 @@ var capacitorBlueIDAccess = (function (exports, core, protobuf) {
4148
4180
  BlueSystemUpdate: BlueSystemUpdate,
4149
4181
  BlueSystemSettings: BlueSystemSettings,
4150
4182
  BlueSystemProvisioning: BlueSystemProvisioning,
4183
+ BlueHardwareInfo: BlueHardwareInfo,
4151
4184
  BlueSystemStatus: BlueSystemStatus,
4152
4185
  BlueSystemLogQuery: BlueSystemLogQuery,
4153
4186
  BlueSystemLogEntry: BlueSystemLogEntry,
@@ -4211,21 +4244,18 @@ var capacitorBlueIDAccess = (function (exports, core, protobuf) {
4211
4244
  if (!command) {
4212
4245
  throw new Error("Missing valid command");
4213
4246
  }
4214
- console.log('Starting command: ' + JSON.stringify(command));
4215
4247
  const result = await this.runCommandFunc({
4216
4248
  command,
4217
4249
  arg0: encodeArgument(arg0),
4218
4250
  arg1: encodeArgument(arg1),
4219
4251
  arg2: encodeArgument(arg2),
4220
4252
  });
4221
- console.log('Running command with result : ' + JSON.stringify(result));
4222
4253
  if (!result) {
4223
4254
  return null;
4224
4255
  }
4225
4256
  if (result.data && result.messageTypeName) {
4226
4257
  return decodeResult(result.messageTypeName, result.data);
4227
4258
  }
4228
- console.log('result from interop ' + command + ' : ' + JSON.stringify(result.data));
4229
4259
  return result.data;
4230
4260
  }
4231
4261
  async terminalRunAll(deviceID, requests, timeoutSeconds = 10.0) {
@@ -4342,6 +4372,7 @@ var capacitorBlueIDAccess = (function (exports, core, protobuf) {
4342
4372
  exports.BlueEvent = BlueEvent;
4343
4373
  exports.BlueEventLogQuery = BlueEventLogQuery;
4344
4374
  exports.BlueEventLogResult = BlueEventLogResult;
4375
+ exports.BlueHardwareInfo = BlueHardwareInfo;
4345
4376
  exports.BlueI18n = BlueI18n;
4346
4377
  exports.BlueIDAccess = BlueIDAccess;
4347
4378
  exports.BlueIDAccessInterop = BlueIDAccessInterop;