You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
lines 11 and 12 of TransportWebBLE.ts reference local imports. After building, the emitted .js file in /lib-es/ does not specify the full path including extension and so attempting to reference the ESM version fails.
Expected behavior
Importing from @ledgerhq/hw-transport-web-ble/lib-es/TransportWebBLE.js does not fail due to the aforementioned issue.
Additional context
The reason I tried importing the file directly is because importing normally with import { default as BluetoothTransport } from @ledgerhq/hw-transport-web-ble does not properly import, and that is because it is being exported with exports.default = BluetoothTransport instead of module.exports = BluetoothTransport in /lib/TransportWebBLE.js.
The text was updated successfully, but these errors were encountered:
Impacted Library name
@ledgerhq/hw-transport-web-ble
Impacted Library version
6.29.3
Describe the bug
lines 11 and 12 of TransportWebBLE.ts reference local imports. After building, the emitted .js file in
/lib-es/
does not specify the full path including extension and so attempting to reference the ESM version fails.Expected behavior
Importing from
@ledgerhq/hw-transport-web-ble/lib-es/TransportWebBLE.js
does not fail due to the aforementioned issue.Additional context
The reason I tried importing the file directly is because importing normally with
import { default as BluetoothTransport } from @ledgerhq/hw-transport-web-ble
does not properly import, and that is because it is being exported withexports.default = BluetoothTransport
instead ofmodule.exports = BluetoothTransport
in/lib/TransportWebBLE.js
.The text was updated successfully, but these errors were encountered: