Skip to content

Commit 0993aec

Browse files
committed
Trezor import fix
1 parent 5150bb1 commit 0993aec

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

packages/trezor/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@web3-onboard/trezor",
3-
"version": "2.0.0",
3+
"version": "2.0.1",
44
"description": "Trezor module for web3-onboard",
55
"module": "dist/index.js",
66
"browser": "dist/index.js",

packages/trezor/src/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,9 @@ function trezor(options: TrezorOptions): WalletInit {
137137
}
138138

139139
const { email, appUrl, customNetwork } = options
140+
140141
// @ts-ignore
141-
const TrezorConnect = Trezor.default
142+
const TrezorConnect = Trezor.default || Trezor
142143

143144
TrezorConnect.manifest({
144145
email: email,

0 commit comments

Comments
 (0)