@onekeyfe/hwk-ledger-adapter 1.1.26-alpha.14 → 1.1.26-alpha.15

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
@@ -246,7 +246,10 @@ var CONNECTION_LEVEL_TAGS = /* @__PURE__ */ new Set([
246
246
  var DEVICE_NOT_FOUND_TAGS = /* @__PURE__ */ new Set([
247
247
  ERROR_TAG.NoAccessibleDevice,
248
248
  ERROR_TAG.UnknownDevice,
249
- ERROR_TAG.DeviceNotInitialized
249
+ ERROR_TAG.DeviceNotInitialized,
250
+ // SDK-internal: dm.connect() called before _discovered was populated.
251
+ // Map to DeviceNotFound so non-BLE-direct paths get a sensible error code.
252
+ ERROR_TAG.DeviceNotInDiscoveryCache
250
253
  ]);
251
254
  var DEVICE_BUSY_TAGS = /* @__PURE__ */ new Set([ERROR_TAG.OpeningConnection]);
252
255
  var DEVICE_DISCONNECTED_TAGS = /* @__PURE__ */ new Set([