@onekeyfe/hd-shared 1.2.8-alpha.2 → 1.2.8-alpha.20

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/index.js CHANGED
@@ -224,7 +224,7 @@ const HardwareErrorCodeMessage = {
224
224
  [HardwareErrorCode.TransportInvalidProtobuf]: 'Transport invalid protobuf',
225
225
  [HardwareErrorCode.BleScanError]: 'BLE scan error',
226
226
  [HardwareErrorCode.BlePermissionError]: 'Bluetooth required to be turned on',
227
- [HardwareErrorCode.BleLocationError]: 'Location permissions for the application are not available',
227
+ [HardwareErrorCode.BleLocationError]: 'Bluetooth or location permissions for the application are not available',
228
228
  [HardwareErrorCode.BleRequiredUUID]: 'uuid is required',
229
229
  [HardwareErrorCode.BleConnectedError]: 'connected error is always runtime error',
230
230
  [HardwareErrorCode.BleDeviceNotBonded]: 'device is not bonded',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onekeyfe/hd-shared",
3
- "version": "1.2.8-alpha.2",
3
+ "version": "1.2.8-alpha.20",
4
4
  "description": "Hardware SDK's shared tool library",
5
5
  "keywords": [
6
6
  "Hardware-SDK",
@@ -26,5 +26,5 @@
26
26
  "lint": "eslint .",
27
27
  "lint:fix": "eslint . --fix"
28
28
  },
29
- "gitHead": "74ac64464df3806ef44ad54d313378754c3eaed2"
29
+ "gitHead": "973f059fe93a58fdcf098ddb32ba63f621a2c78e"
30
30
  }
@@ -612,7 +612,7 @@ export const HardwareErrorCodeMessage: HardwareErrorCodeMessageMapping = {
612
612
  [HardwareErrorCode.BleScanError]: 'BLE scan error',
613
613
  [HardwareErrorCode.BlePermissionError]: 'Bluetooth required to be turned on',
614
614
  [HardwareErrorCode.BleLocationError]:
615
- 'Location permissions for the application are not available',
615
+ 'Bluetooth or location permissions for the application are not available',
616
616
  [HardwareErrorCode.BleRequiredUUID]: 'uuid is required',
617
617
  [HardwareErrorCode.BleConnectedError]: 'connected error is always runtime error',
618
618
  [HardwareErrorCode.BleDeviceNotBonded]: 'device is not bonded',