We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7f6151d commit 1cd4582Copy full SHA for 1cd4582
packages/hardware-trezor/src/TrezorKeyAgent.ts
@@ -16,9 +16,12 @@ import {
16
util
17
} from '@cardano-sdk/key-management';
18
import { txToTrezor } from './transformers/tx';
19
-import TrezorConnectWeb from '@trezor/connect-web';
+import _TrezorConnectWeb from '@trezor/connect-web';
20
21
const TrezorConnectNode = Trezor.default;
22
+const TrezorConnectWeb = (_TrezorConnectWeb as any).default
23
+ ? ((_TrezorConnectWeb as any).default as typeof _TrezorConnectWeb)
24
+ : _TrezorConnectWeb;
25
26
const transportTypedError = (error?: any) =>
27
new errors.AuthenticationError(
0 commit comments