diff --git a/packages/dapp-kit/src/utils/create-wallet.ts b/packages/dapp-kit/src/utils/create-wallet.ts index e9b0c889..3e4c40b5 100644 --- a/packages/dapp-kit/src/utils/create-wallet.ts +++ b/packages/dapp-kit/src/utils/create-wallet.ts @@ -1,4 +1,4 @@ -import { Connex } from '@vechain/connex'; +import * as ConnexLib from '@vechain/connex'; import type { ConnexWallet, DAppKitOptions, @@ -36,12 +36,12 @@ export const createWallet = ({ throw new Error('User is not in a Sync wallet'); } - const vendor = new Connex.Vendor(genesisId, 'sync'); + const vendor = new ConnexLib.Connex.Vendor(genesisId, 'sync'); return new CertificateBasedWallet(convertVendorToSigner(vendor)); } case 'sync2': { - const vendor = new Connex.Vendor(genesisId, 'sync2'); + const vendor = new ConnexLib.Connex.Vendor(genesisId, 'sync2'); return new CertificateBasedWallet(convertVendorToSigner(vendor)); }