Skip to content
This repository has been archived by the owner on Jul 15, 2022. It is now read-only.

Release/v22.0.1 #1894

Merged
merged 12 commits into from
Apr 14, 2022
2 changes: 1 addition & 1 deletion cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"@ledgerhq/hw-transport-mocker": "6.24.1",
"@ledgerhq/hw-transport-node-hid": "6.24.1",
"@ledgerhq/hw-transport-node-speculos": "6.24.1",
"@ledgerhq/live-common": "21.34.0",
"@ledgerhq/live-common": "22.0.0",
"@ledgerhq/logs": "6.10.0",
"@walletconnect/client": "^1.7.1",
"asciichart": "^1.5.25",
Expand Down
39 changes: 26 additions & 13 deletions cli/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -827,7 +827,14 @@
dependencies:
invariant "2"

"@ledgerhq/[email protected]", "@ledgerhq/cryptoassets@^6.27.0":
"@ledgerhq/[email protected]":
version "6.28.0"
resolved "https://registry.yarnpkg.com/@ledgerhq/cryptoassets/-/cryptoassets-6.28.0.tgz#218a41c5184a176ceb3ec16dc21b37589f673c08"
integrity sha512-j3fBnjsOi2qijWO7p/PNoiEHdzjxP849pO02Q4YWW4Ms4lByv7ysmNLMwrset91We2yyVrdHsjdWY8X5JE97qQ==
dependencies:
invariant "2"

"@ledgerhq/cryptoassets@^6.27.0":
version "6.27.0"
resolved "https://registry.yarnpkg.com/@ledgerhq/cryptoassets/-/cryptoassets-6.27.0.tgz#1a4efdef07858e8cb1b2dd4c1b9e110f1ed60f3f"
integrity sha512-fM1tm+xJSkbgEB73RtWeTeogcWRkpAcgZX+hBGbvq7anhbRwF2jD4EL897SRNwDuvCKFfpSMxpSUaSvEmj9Lcw==
Expand Down Expand Up @@ -1087,19 +1094,24 @@
dependencies:
bignumber.js "^9.0.1"
json-rpc-2.0 "^0.2.16"

"@ledgerhq/live-common@https://github.com/LedgerHQ/ledger-live-common.git#31177aae3a559e17f8452ed8dc6e010cd1d6f41e":
version "21.32.4"
resolved "https://github.com/LedgerHQ/ledger-live-common.git#31177aae3a559e17f8452ed8dc6e010cd1d6f41e"
dependencies:
"@celo/contractkit" "^1.5.1"
"@celo/wallet-base" "^1.5.1"
"@celo/wallet-ledger" "^1.5.1"

"@ledgerhq/[email protected]":
version "22.0.0"
resolved "https://registry.yarnpkg.com/@ledgerhq/live-common/-/live-common-22.0.0.tgz#2717701fc8ba63b4befdd3cb1400527c2922335f"
integrity sha512-BUMgPMWmavlFip0LwMVzr+TABG1o77nLZepGSmxZWIcyLUvsmRRDtCEasVJCW60g0Cd0BhvbtUOo8l0NdDZ+/A==
dependencies:
"@celo/contractkit" "^1.5.2"
"@celo/wallet-base" "^1.5.2"
"@celo/wallet-ledger" "^1.5.2"
"@cosmjs/crypto" "^0.26.5"
"@cosmjs/ledger-amino" "^0.26.5"
"@cosmjs/proto-signing" "^0.26.5"
"@cosmjs/stargate" "^0.26.5"
"@crypto-com/chain-jslib" "0.0.19"
"@ethereumjs/common" "^2.6.2"
"@ethereumjs/tx" "^3.5.0"
"@ledgerhq/compressjs" "1.3.2"
"@ledgerhq/cryptoassets" "6.27.0"
"@ledgerhq/cryptoassets" "6.28.0"
"@ledgerhq/devices" "6.24.1"
"@ledgerhq/errors" "6.10.0"
"@ledgerhq/hw-app-algorand" "6.24.1"
Expand Down Expand Up @@ -1178,6 +1190,7 @@
semver "^7.3.5"
sha.js "^2.4.11"
stellar-sdk "^10.0.1"
superstruct "^0.14.2"
triple-beam "^1.3.0"
winston "^3.4.0"
xstate "^4.28.1"
Expand Down Expand Up @@ -6900,9 +6913,9 @@ uri-js@^4.2.2:
punycode "^2.1.0"

urijs@^1.19.1:
version "1.19.10"
resolved "https://registry.yarnpkg.com/urijs/-/urijs-1.19.10.tgz#8e2fe70a8192845c180f75074884278f1eea26cb"
integrity sha512-EzauQlgKuJgsXOqoMrCiePBf4At5jVqRhXykF3Wfb8ZsOBMxPcfiVBcsHXug4Aepb/ICm2PIgqAUGMelgdrWEg==
version "1.19.11"
resolved "https://registry.yarnpkg.com/urijs/-/urijs-1.19.11.tgz#204b0d6b605ae80bea54bea39280cdb7c9f923cc"
integrity sha512-HXgFDgDommxn5/bIv0cnQZsPhHDA90NPHD6+c/v21U5+Sx5hoP8+dP9IZXBU1gIfvdRfhG8cel9QNPeionfcCQ==

url-parse-lax@^1.0.0:
version "1.0.0"
Expand Down
6 changes: 3 additions & 3 deletions mobile-test-app/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6859,9 +6859,9 @@ unset-value@^1.0.0:
isobject "^3.0.0"

urijs@^1.19.1:
version "1.19.10"
resolved "https://registry.yarnpkg.com/urijs/-/urijs-1.19.10.tgz#8e2fe70a8192845c180f75074884278f1eea26cb"
integrity sha512-EzauQlgKuJgsXOqoMrCiePBf4At5jVqRhXykF3Wfb8ZsOBMxPcfiVBcsHXug4Aepb/ICm2PIgqAUGMelgdrWEg==
version "1.19.11"
resolved "https://registry.yarnpkg.com/urijs/-/urijs-1.19.11.tgz#204b0d6b605ae80bea54bea39280cdb7c9f923cc"
integrity sha512-HXgFDgDommxn5/bIv0cnQZsPhHDA90NPHD6+c/v21U5+Sx5hoP8+dP9IZXBU1gIfvdRfhG8cel9QNPeionfcCQ==

urix@^0.1.0:
version "0.1.0"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"type": "git",
"url": "https://github.com/LedgerHQ/ledger-live-common"
},
"version": "22.0.0",
"version": "22.0.1",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"license": "Apache-2.0",
Expand Down
2 changes: 1 addition & 1 deletion src/__tests__/test-helpers/setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import BigNumber from "bignumber.js";
import { setSupportedCurrencies } from "../../currencies";
import { setPlatformVersion } from "../../platform/version";

jest.setTimeout(180000);
jest.setTimeout(240000);

expect.extend({
toBeBigNumber(value) {
Expand Down
5 changes: 1 addition & 4 deletions src/families/bitcoin/wallet-btc/storage/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -216,10 +216,7 @@ class BitcoinLikeStorage implements IStorage {
this.unspentUtxos = data.unspentUtxos;
this.addressCache = data.addressCache;
Base.addressCache = { ...Base.addressCache, ...this.addressCache };
if (
(!this.accountIndex || isEmpty(this.accountIndex)) &&
this.txs.length > 0
) {
if (!this.accountIndex || isEmpty(this.accountIndex)) {
this.accountIndex = {};
this.createAccountIndex();
}
Expand Down
2 changes: 1 addition & 1 deletion tools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"@ledgerhq/hw-transport-web-ble": "^6.7.0",
"@ledgerhq/hw-transport-webhid": "^6.7.0",
"@ledgerhq/hw-transport-webusb": "^6.7.0",
"@ledgerhq/live-common": "^21.7.0",
"@ledgerhq/live-common": "^22.0.0",
"@material-ui/core": "^4.11.3",
"babel-polyfill": "^6.26.0",
"bignumber.js": "^9.0.1",
Expand Down
Loading