Browse Source

Bump ledger-core@1.4.3

master
meriadec 7 years ago
parent
commit
115b84e612
No known key found for this signature in database GPG Key ID: 1D2FC2305E2CB399
  1. 2
      package.json
  2. 3
      src/helpers/libcore.js
  3. 6
      yarn.lock

2
package.json

@ -41,7 +41,7 @@
"@ledgerhq/hw-app-xrp": "^4.12.0", "@ledgerhq/hw-app-xrp": "^4.12.0",
"@ledgerhq/hw-transport": "^4.12.0", "@ledgerhq/hw-transport": "^4.12.0",
"@ledgerhq/hw-transport-node-hid": "^4.12.0", "@ledgerhq/hw-transport-node-hid": "^4.12.0",
"@ledgerhq/ledger-core": "1.4.1", "@ledgerhq/ledger-core": "1.4.3",
"@ledgerhq/live-common": "2.24.0", "@ledgerhq/live-common": "2.24.0",
"axios": "^0.18.0", "axios": "^0.18.0",
"babel-runtime": "^6.26.0", "babel-runtime": "^6.26.0",

3
src/helpers/libcore.js

@ -332,7 +332,8 @@ export async function syncAccount({
const njsWallet = await njsWalletPool.getWallet(decodedAccountId.walletName) const njsWallet = await njsWalletPool.getWallet(decodedAccountId.walletName)
const njsAccount = await njsWallet.getAccount(rawAccount.index) const njsAccount = await njsWallet.getAccount(rawAccount.index)
await core.syncAccount(njsAccount) const unsub = await core.syncAccount(njsAccount)
unsub()
const query = njsAccount.queryOperations() const query = njsAccount.queryOperations()
const ops = await query.complete().execute() const ops = await query.complete().execute()

6
yarn.lock

@ -1482,9 +1482,9 @@
dependencies: dependencies:
events "^2.0.0" events "^2.0.0"
"@ledgerhq/ledger-core@1.4.1": "@ledgerhq/ledger-core@1.4.3":
version "1.4.1" version "1.4.3"
resolved "https://registry.yarnpkg.com/@ledgerhq/ledger-core/-/ledger-core-1.4.1.tgz#c12d4a9140765731458ff1c68112818948c7f91d" resolved "https://registry.yarnpkg.com/@ledgerhq/ledger-core/-/ledger-core-1.4.3.tgz#6cc44560e5a8fb35f85c8ad9fbae56436eacfc94"
dependencies: dependencies:
"@ledgerhq/hw-app-btc" "^4.7.3" "@ledgerhq/hw-app-btc" "^4.7.3"
"@ledgerhq/hw-transport-node-hid" "^4.7.6" "@ledgerhq/hw-transport-node-hid" "^4.7.6"

Loading…
Cancel
Save