diff --git a/package.json b/package.json index 2bdf999f7f..a0f55fdfb7 100644 --- a/package.json +++ b/package.json @@ -64,6 +64,7 @@ "@metamask/jazzicon": "2.0.0", "@oasisprotocol/client": "0.1.1-alpha.2", "@oasisprotocol/client-rt": "0.2.1-alpha.2", + "@oasisprotocol/ionic-ledger-hw-transport-ble": "1.0.0-beta", "@oasisprotocol/ledger": "1.0.0", "@reduxjs/toolkit": "1.9.5", "base64-arraybuffer": "1.0.2", @@ -76,7 +77,6 @@ "grommet-icons": "4.11.0", "i18next": "23.5.0", "i18next-browser-languagedetector": "7.1.0", - "ionic-hw-transport-ble": "https://github.com/lubej/ionic-hw-transport-ble", "lodash": "4.17.21", "qrcode.react": "3.1.0", "react": "18.2.0", diff --git a/src/app/lib/ledger.ts b/src/app/lib/ledger.ts index abc1b51de3..e7f555533a 100644 --- a/src/app/lib/ledger.ts +++ b/src/app/lib/ledger.ts @@ -6,7 +6,7 @@ import { WalletError, WalletErrors } from 'types/errors' import { hex2uint, publicKeyToAddress } from './helpers' import type Transport from '@ledgerhq/hw-transport' import { isSupported, requestLedgerDevice } from '@ledgerhq/hw-transport-webusb/lib-es/webusb' -import BleTransport from 'ionic-hw-transport-ble/lib' +import BleTransport from '@oasisprotocol/ionic-ledger-hw-transport-ble/lib' interface LedgerAccount { publicKey: Uint8Array diff --git a/src/app/state/importaccounts/saga.test.ts b/src/app/state/importaccounts/saga.test.ts index 837b4d4251..7ea81491c7 100644 --- a/src/app/state/importaccounts/saga.test.ts +++ b/src/app/state/importaccounts/saga.test.ts @@ -13,7 +13,7 @@ import { WalletType } from 'app/state/wallet/types' import delayP from '@redux-saga/delay-p' import { getAccountBalanceWithFallback } from '../../lib/getAccountBalanceWithFallback' import { ScanResult } from '@capacitor-community/bluetooth-le' -import BleTransport from 'ionic-hw-transport-ble/lib' +import BleTransport from '@oasisprotocol/ionic-ledger-hw-transport-ble/lib' describe('importAccounts Sagas', () => { describe('enumerateAccountsFromLedger', () => { diff --git a/src/app/state/importaccounts/saga.ts b/src/app/state/importaccounts/saga.ts index c11ca874d5..5faf8f02e1 100644 --- a/src/app/state/importaccounts/saga.ts +++ b/src/app/state/importaccounts/saga.ts @@ -20,7 +20,7 @@ import { selectSelectedBleDevice, } from './selectors' import { getAccountBalanceWithFallback } from '../../lib/getAccountBalanceWithFallback' -import BleTransport from 'ionic-hw-transport-ble/lib' +import BleTransport from '@oasisprotocol/ionic-ledger-hw-transport-ble/lib' import { ScanResult } from '@capacitor-community/bluetooth-le' function* setStep(step: ImportAccountsStep) {