diff --git a/alix.js b/alix.js index 5636d490..eab6144c 100644 --- a/alix.js +++ b/alix.js @@ -13,7 +13,7 @@ const { getWallet, syncAccount, signTransaction, -} = require('ledger-core') +} = require('@ledgerhq/ledger-core') async function getOrCreateWallet(currencyId) { try { diff --git a/src/init-ledger-core.js b/src/init-ledger-core.js index 738de91a..61e94e88 100644 --- a/src/init-ledger-core.js +++ b/src/init-ledger-core.js @@ -4,7 +4,7 @@ // instanciating wallet pool, but we don't need to do each everytime we // require ledger-core, only the first time, so, eh. -const core = require('ledger-core') +const core = require('@ledgerhq/ledger-core') let instanciated = false diff --git a/src/internals/accounts/scanAccountsOnDevice.js b/src/internals/accounts/scanAccountsOnDevice.js index ec392451..0c8a92be 100644 --- a/src/internals/accounts/scanAccountsOnDevice.js +++ b/src/internals/accounts/scanAccountsOnDevice.js @@ -15,7 +15,7 @@ import { getCryptoCurrencyById } from '@ledgerhq/live-common/lib/helpers/currenc import type Transport from '@ledgerhq/hw-transport' import type { AccountRaw } from '@ledgerhq/live-common/lib/types' -import type { NJSAccount, NJSOperation } from 'ledger-core/src/ledgercore_doc' +import type { NJSAccount, NJSOperation } from '@ledgerhq/ledger-core/src/ledgercore_doc' type Props = { devicePath: string,