@blueid/access-capacitor 0.104.0 → 0.106.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 (39) hide show
  1. package/BlueidAccessCapacitor.podspec +2 -1
  2. package/dist/esm/BlueCore_pb.d.ts +12 -0
  3. package/dist/esm/BlueCore_pb.js +11 -0
  4. package/dist/esm/BlueCore_pb.js.map +1 -1
  5. package/dist/esm/BlueSDK_pb.d.ts +52 -0
  6. package/dist/esm/BlueSDK_pb.js +13 -0
  7. package/dist/esm/BlueSDK_pb.js.map +1 -1
  8. package/dist/esm/BlueSystem_pb.d.ts +12 -0
  9. package/dist/esm/BlueSystem_pb.js +3 -0
  10. package/dist/esm/BlueSystem_pb.js.map +1 -1
  11. package/dist/plugin.cjs.js +27 -0
  12. package/dist/plugin.cjs.js.map +1 -1
  13. package/dist/plugin.js +27 -0
  14. package/dist/plugin.js.map +1 -1
  15. package/ios/CBlueIDAccess.xcframework/Info.plist +5 -5
  16. package/ios/CBlueIDAccess.xcframework/ios-arm64/Headers/core/BlueCore.pb.h +9 -4
  17. package/ios/CBlueIDAccess.xcframework/ios-arm64/libCBlueIDAccess.a +0 -0
  18. package/ios/CBlueIDAccess.xcframework/ios-arm64_x86_64-simulator/Headers/core/BlueCore.pb.h +9 -4
  19. package/ios/CBlueIDAccess.xcframework/ios-arm64_x86_64-simulator/libCBlueIDAccess.a +0 -0
  20. package/ios/CBlueIDAccess.xcframework/macos-arm64_x86_64/Headers/core/BlueCore.pb.h +9 -4
  21. package/ios/CBlueIDAccess.xcframework/macos-arm64_x86_64/libCBlueIDAccess.a +0 -0
  22. package/ios/Plugin/BlueIDAccessSDK/BlueAPI.swift +7 -0
  23. package/ios/Plugin/BlueIDAccessSDK/BlueAPIProtocol.swift +20 -0
  24. package/ios/Plugin/BlueIDAccessSDK/BlueAccess.swift +50 -24
  25. package/ios/Plugin/BlueIDAccessSDK/BlueCommands.swift +3 -0
  26. package/ios/Plugin/BlueIDAccessSDK/BlueCore.pb.swift +25 -0
  27. package/ios/Plugin/BlueIDAccessSDK/BlueDFU/BlueDFUPeripheralService.swift +73 -0
  28. package/ios/Plugin/BlueIDAccessSDK/BlueDFU/BlueUpdateAccessDeviceFirmwareCommand.swift +252 -0
  29. package/ios/Plugin/BlueIDAccessSDK/BlueDevices.swift +24 -0
  30. package/ios/Plugin/BlueIDAccessSDK/BlueError.swift +1 -1
  31. package/ios/Plugin/BlueIDAccessSDK/BlueFetch.swift +10 -2
  32. package/ios/Plugin/BlueIDAccessSDK/BlueModal/BlueModal.swift +30 -5
  33. package/ios/Plugin/BlueIDAccessSDK/BlueModal/{BlueSynchronizeAccessDeviceModalSession.swift → BlueStepProgressModalSession.swift} +4 -4
  34. package/ios/Plugin/BlueIDAccessSDK/BlueModal/{BlueSynchronizeAccessDeviceModalView.swift → BlueStepProgressModalView.swift} +59 -19
  35. package/ios/Plugin/BlueIDAccessSDK/BlueSDK.pb.swift +234 -0
  36. package/ios/Plugin/BlueIDAccessSDK/BlueSystem.pb.swift +51 -0
  37. package/ios/Plugin/BlueIDAccessSDK/BlueTaskRunner.swift +42 -5
  38. package/ios/Plugin/BlueIDAccessSDK/BlueZip.swift +30 -0
  39. package/package.json +1 -1
package/dist/plugin.js CHANGED
@@ -458,6 +458,14 @@ var capacitorBlueIDAccess = (function (exports, core, protobuf) {
458
458
  * @generated from enum value: SdkWaitDeviceToRestartFailed = -421;
459
459
  */
460
460
  BlueReturnCode[BlueReturnCode["SdkWaitDeviceToRestartFailed"] = -421] = "SdkWaitDeviceToRestartFailed";
461
+ /**
462
+ * @generated from enum value: SdkUnzipError = -422;
463
+ */
464
+ BlueReturnCode[BlueReturnCode["SdkUnzipError"] = -422] = "SdkUnzipError";
465
+ /**
466
+ * @generated from enum value: SdkInvalidFirmwareURL = -423;
467
+ */
468
+ BlueReturnCode[BlueReturnCode["SdkInvalidFirmwareURL"] = -423] = "SdkInvalidFirmwareURL";
461
469
  /**
462
470
  * @generated from enum value: OssMAReturnCodeStart = -1000;
463
471
  */
@@ -564,6 +572,8 @@ var capacitorBlueIDAccess = (function (exports, core, protobuf) {
564
572
  { no: -419, name: "SdkGetBlacklistEntriesFailed" },
565
573
  { no: -420, name: "SdkGetSystemStatusFailed" },
566
574
  { no: -421, name: "SdkWaitDeviceToRestartFailed" },
575
+ { no: -422, name: "SdkUnzipError" },
576
+ { no: -423, name: "SdkInvalidFirmwareURL" },
567
577
  { no: -1000, name: "OssMAReturnCodeStart" },
568
578
  { no: -1100, name: "OssMAReturnCodeEnd" },
569
579
  ]);
@@ -1226,6 +1236,7 @@ var capacitorBlueIDAccess = (function (exports, core, protobuf) {
1226
1236
  BlueVersionInfo.fields = protobuf.proto2.util.newFieldList(() => [
1227
1237
  { no: 1, name: "buildTime", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
1228
1238
  { no: 2, name: "version", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
1239
+ { no: 3, name: "testVersion", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
1229
1240
  ]);
1230
1241
  /**
1231
1242
  * @generated from message BlueLocalTimestamp
@@ -3098,6 +3109,19 @@ var capacitorBlueIDAccess = (function (exports, core, protobuf) {
3098
3109
  { no: 32, name: "syncDeviceDeployBlacklistEntriesTaskLabel", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Deploy blacklist entries" },
3099
3110
  { no: 33, name: "syncDeviceRetrieveSystemStatusTaskLabel", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Retrieve system status" },
3100
3111
  { no: 34, name: "syncDevicePushSystemStatusTaskLabel", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Push system status" },
3112
+ { no: 35, name: "syncDeviceCheckLatestFWLabel", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Check latest firmware" },
3113
+ { no: 36, name: "dfuInProgressTitle", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Update in Progress" },
3114
+ { no: 37, name: "dfuFailedTitle", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Update has failed" },
3115
+ { no: 38, name: "dfuCancellingTitle", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Cancelling..." },
3116
+ { no: 39, name: "dfuCompletedTitle", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Update has been completed" },
3117
+ { no: 40, name: "dfuGetAuthenticationTokenTaskLabel", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Issue authentication token" },
3118
+ { no: 41, name: "dfuCheckLatestFWLabel", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Check latest firmware" },
3119
+ { no: 42, name: "dfuDownloadLatestFWLabel", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Download latest firmware" },
3120
+ { no: 43, name: "dfuPrepareUpdateLabel", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Prepare Update" },
3121
+ { no: 44, name: "dfuStartBootloaderLabel", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Start Bootloader" },
3122
+ { no: 45, name: "dfuInitializationLabel", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "DFU initialization" },
3123
+ { no: 46, name: "dfuUpdateFWLabel", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Update firmware" },
3124
+ { no: 47, name: "dfuWaitForDeviceToRestartTaskLabel", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Wait for device to restart" },
3101
3125
  ]);
3102
3126
  /**
3103
3127
  * @generated from message BlueDeviceDetailsBluetooth
@@ -3916,6 +3940,9 @@ var capacitorBlueIDAccess = (function (exports, core, protobuf) {
3916
3940
  { no: 7, name: "localTime", kind: "message", T: BlueLocalTimestamp },
3917
3941
  { no: 8, name: "settings", kind: "message", T: BlueSystemSettings },
3918
3942
  { no: 9, name: "lock", kind: "message", T: BlueLockStatus, opt: true },
3943
+ { no: 10, name: "applicationVersionTest", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
3944
+ { no: 11, name: "newFirmwareVersionAvailable", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
3945
+ { no: 12, name: "newTestFirmwareVersionAvailable", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
3919
3946
  ]);
3920
3947
  /**
3921
3948
  * @generated from message BlueSystemLogQuery