@onekeyfe/hd-web-sdk 0.1.20 → 0.1.21

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.
@@ -19421,7 +19421,7 @@ const ensureConnected = (method, pollingId) => __awaiter(void 0, void 0, void 0,
19421
19421
  } catch (error) {
19422
19422
  Log.debug('device error: ', error);
19423
19423
 
19424
- if (error.errorCode === hdShared.HardwareErrorCode.BlePermissionError) {
19424
+ if ([hdShared.HardwareErrorCode.BlePermissionError, hdShared.HardwareErrorCode.BleLocationError, hdShared.HardwareErrorCode.BleDeviceNotBonded, hdShared.HardwareErrorCode.BleCharacteristicNotifyError].includes(error.errorCode)) {
19425
19425
  reject(error);
19426
19426
  return;
19427
19427
  }
@@ -46156,7 +46156,7 @@ const src_init = async settings => {
46156
46156
 
46157
46157
  try {
46158
46158
  await init({ ..._settings,
46159
- version: "0.1.20"
46159
+ version: "0.1.21"
46160
46160
  });
46161
46161
  return true;
46162
46162
  } catch (e) {