Skip to content

Commit

Permalink
Merge branch 'develop' of github.com:LedgerHQ/ledger-live into feat/s…
Browse files Browse the repository at this point in the history
…ell-confirmation-message-lld
  • Loading branch information
chrisduma-ledger committed Sep 3, 2024
2 parents 5e53bdc + b2c4c51 commit 352846d
Show file tree
Hide file tree
Showing 383 changed files with 8,625 additions and 4,045 deletions.
21 changes: 21 additions & 0 deletions .changeset/cuddly-tomatoes-jam.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
"@ledgerhq/hw-transport-node-speculos-http": patch
"@ledgerhq/hw-transport-http": patch
"@ledgerhq/context-module": patch
"@ledgerhq/hw-app-helium": patch
"@ledgerhq/hw-app-solana": patch
"@ledgerhq/cryptoassets": patch
"@ledgerhq/hw-app-btc": patch
"@ledgerhq/hw-app-eth": patch
"@ledgerhq/coin-bitcoin": patch
"@ledgerhq/coin-evm": patch
"ledger-live-desktop": patch
"@ledgerhq/live-common": patch
"@ledgerhq/domain-service": patch
"@ledgerhq/live-network": patch
"@ledgerhq/coin-tester": patch
"@ledgerhq/evm-tools": patch
"@ledgerhq/ledger-libs": patch
---

Update `axios` to fixed version `1.7.3`
5 changes: 5 additions & 0 deletions .changeset/eighty-bikes-press.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"live-mobile": patch
---

Rework LedgerSync Analytics
5 changes: 5 additions & 0 deletions .changeset/eleven-taxis-dance.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@ledgerhq/live-network": major
---

Migrate to axios version 1.7.3
6 changes: 6 additions & 0 deletions .changeset/empty-pumas-argue.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"ledger-live-desktop": patch
"live-mobile": patch
---

Update errors in trad
23 changes: 23 additions & 0 deletions .changeset/fair-berries-drum.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
"@actions/live-common-affected": patch
"@ledgerhq/types-live": patch
"@ledgerhq/errors": patch
"@ledgerhq/live-countervalues-react": patch
"@ledgerhq/crypto-icons-ui": patch
"@actions/turbo-affected": patch
"@ledgerhq/coin-icon": patch
"@ledgerhq/webpack.js-example": patch
"@ledgerhq/coin-ton": patch
"@actions/build-checks": patch
"ledger-live-desktop": patch
"@ledgerhq/next.js-example": patch
"live-mobile": patch
"@ledgerhq/live-common": patch
"@ledgerhq/live-countervalues": patch
"@ledgerhq/speculos-transport": patch
"@ledgerhq/native-ui": patch
"@ledgerhq/icons-ui": patch
"@ledgerhq/react-ui": patch
---

Add support for jettons
5 changes: 5 additions & 0 deletions .changeset/fifty-eels-breathe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"ledger-live-desktop": patch
---

fix: uses correct status for fee drawers and disable button if any error is present
5 changes: 5 additions & 0 deletions .changeset/fluffy-peaches-dream.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"live-mobile": patch
---

User connects backup to instance with same backup or different backup
5 changes: 5 additions & 0 deletions .changeset/four-planes-allow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"live-mobile": patch
---

Fix Wording on FollowInstructions
7 changes: 7 additions & 0 deletions .changeset/gentle-lions-appear.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"ledger-live-desktop": minor
"live-mobile": minor
"@ledgerhq/live-wallet": minor
---

Ledger Sync - Improve account names module to avoid erasing custom names with the default ones when two instances are pushing around the same time
7 changes: 7 additions & 0 deletions .changeset/giant-beans-wait.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"ledger-live-desktop": patch
"live-mobile": patch
"@ledgerhq/trustchain": patch
---

Handle TrustchainAlreadyInitialized & TrustchainAlreadyInitializedWithOtherSeed on Scan QR
9 changes: 9 additions & 0 deletions .changeset/good-boats-breathe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
"ledger-live-desktop": minor
"live-mobile": minor
"@ledgerhq/live-wallet": minor
"@ledgerhq/trustchain": minor
"@ledgerhq/web-tools": minor
---

Ledger Sync - Added a Loading screen on LLM and LLD when initializing ledger sync while accounts are synchronizing
8 changes: 8 additions & 0 deletions .changeset/hip-plants-impress.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"live-mobile": minor
---

feat(web3hub): new bottom modal to select network and account with dapp browser v3
Small perf improvement for dapp browser v3 dapps initial load
Lots of small visual improvements, polish and bugfixes
Update app screen header url
6 changes: 6 additions & 0 deletions .changeset/lazy-pillows-bake.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"ledger-live-desktop": patch
"@ledgerhq/trustchain": patch
---

Handling alredy created key with new or same Ledger device
5 changes: 5 additions & 0 deletions .changeset/lemon-jeans-tie.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@ledgerhq/coin-polkadot": patch
---

get rid of sidecar fork api and fix validator list for polkadot
6 changes: 6 additions & 0 deletions .changeset/lucky-pandas-exist.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"ledger-live-desktop": patch
"live-mobile": patch
---

Fix minor bugs on both LL
5 changes: 5 additions & 0 deletions .changeset/mighty-mangos-begin.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"ledger-live-desktop": patch
---

perf: improve perf by using the networks instead of listing currencies to match
5 changes: 5 additions & 0 deletions .changeset/odd-masks-sleep.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@ledgerhq/coin-polkadot": patch
---

Rename network model types
5 changes: 5 additions & 0 deletions .changeset/pink-rings-deny.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"ledger-live-desktop": patch
---

fix: persistant gasOptions between evm chains creating crashes
5 changes: 5 additions & 0 deletions .changeset/pink-walls-tickle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"live-mobile": patch
---

Setup analytics on Web3Hub
5 changes: 5 additions & 0 deletions .changeset/pink-wolves-own.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@ledgerhq/coin-tezos": patch
---

Update some test for types regarding the upgrade to axios version 1.7.3
5 changes: 5 additions & 0 deletions .changeset/polite-donuts-peel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"ledger-live-desktop": patch
---

Add vertical scroll inside optin prompt and correct variable name. Fix export account row from settings that was hidden when LS enabled
5 changes: 5 additions & 0 deletions .changeset/popular-chairs-melt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"ledger-live-desktop": patch
---

btc and evm fee drawer display amount errors when editing fees too high
5 changes: 5 additions & 0 deletions .changeset/quick-mice-love.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"ledger-live-desktop": patch
---

fix setTransaction fee drawer call to check error status
14 changes: 14 additions & 0 deletions .changeset/seven-parrots-listen.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
"@ledgerhq/types-cryptoassets": patch
"@ledgerhq/cryptoassets": patch
"@ledgerhq/coin-bitcoin": patch
"ledger-live-desktop": patch
"live-mobile": patch
"@ledgerhq/live-common": patch
"@ledgerhq/live-countervalues": patch
"@ledgerhq/coin-framework": patch
"@ledgerhq/web-tools": patch
"@ledgerhq/live-cli": patch
---

remove pivx code
5 changes: 5 additions & 0 deletions .changeset/shaggy-crabs-approve.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@ledgerhq/hw-trustchain": patch
---

Fix the "Expected signature to be an Uint8Array with length 64" error
5 changes: 5 additions & 0 deletions .changeset/stupid-dodos-bow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"ledger-live-desktop": patch
---

Update analytics
8 changes: 8 additions & 0 deletions .changeset/sweet-spies-sell.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"@ledgerhq/errors": patch
"ledger-live-desktop": patch
"live-mobile": patch
"@ledgerhq/trustchain": patch
---

Refresh ledger sync QR code on expiration
5 changes: 5 additions & 0 deletions .changeset/tall-mayflies-study.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@ledgerhq/live-common": minor
---

Add new use case to delete locally stored app data (llm/lld)
6 changes: 6 additions & 0 deletions .changeset/ten-files-live.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@ledgerhq/live-common": minor
"@ledgerhq/live-env": minor
---

feat: added new env to bypass app requirements to init swaps
5 changes: 5 additions & 0 deletions .changeset/tender-apples-know.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@ledgerhq/cryptoassets": patch
---

edit zcash explorer links
5 changes: 5 additions & 0 deletions .changeset/thick-fans-give.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@ledgerhq/live-common": patch
---

Fix listApps: fallback to HSM script runner if listApps APDU is not available
5 changes: 5 additions & 0 deletions .changeset/tidy-trains-double.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@ledgerhq/native-ui": patch
---

refactor: merge BottomDrawer containerStyle prop
6 changes: 6 additions & 0 deletions .changeset/twenty-bottles-leave.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"ledger-live-desktop": patch
"@ledgerhq/live-common": patch
---

Fix removal of custom lock screen on LLD
6 changes: 6 additions & 0 deletions .changeset/wise-brooms-enjoy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"ledger-live-desktop": minor
"live-mobile": minor
---

Create the `/ledgersync` deeplink
6 changes: 6 additions & 0 deletions .changeset/young-birds-taste.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@ledgerhq/live-common": patch
---

fix: missing deps in useEffect array
And cleanup unused code and picomatch dependency
1 change: 0 additions & 1 deletion apps/cli/src/live-common-setup-base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ setSupportedCurrencies([
"qtum",
"bitcoin_gold",
"komodo",
"pivx",
"zencash",
"bitcoin_testnet",
"ethereum_sepolia",
Expand Down
5 changes: 3 additions & 2 deletions apps/ledger-live-desktop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@
"@types/write-file-atomic": "^4.0.0",
"@vitejs/plugin-react": "^3.1.0",
"allure-playwright": "2.15.1",
"axios": "1.3.4",
"axios": "1.7.3",
"chalk": "^4.1.2",
"cross-env": "^7.0.3",
"debug": "^4.3.4",
Expand All @@ -218,6 +218,7 @@
"jest-environment-jsdom": "^29.7.0",
"listr": "^0.14.3",
"listr-verbose-renderer": "^0.6.0",
"nock": "^13.0.5",
"prebuild-install": "^7.1.1",
"react-refresh": "^0.14.0",
"react-test-renderer": "^18.2.0",
Expand All @@ -229,4 +230,4 @@
"vite-plugin-electron": "0.4.9",
"yargs": "^17.0.0"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ setSupportedCurrencies([
"qtum",
"bitcoin_gold",
"komodo",
"pivx",
"zencash",
"bitcoin_testnet",
"ethereum_sepolia",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export const useAnalyticsOptInPrompt = ({ entryPoint }: Props) => {

const dispatch = useDispatch();

const [isAnalitycsOptInPromptOpened, setIsAnalitycsOptInPromptOpened] = useState<boolean>(false);
const [isAnalyticsOptInPromptOpened, setIsAnalyticsOptInPromptOpened] = useState<boolean>(false);

const [nextStep, setNextStep] = useState<(() => void) | null>(null);
const flow = trackingKeysByFlow?.[entryPoint];
Expand All @@ -45,12 +45,12 @@ export const useAnalyticsOptInPrompt = ({ entryPoint }: Props) => {
[ABTestingVariants.variantB]: privacyPolicyUrl,
};

const openAnalitycsOptInPrompt = useCallback(
const openAnalyticsOptInPrompt = useCallback(
(routePath: string, callBack: () => void) => {
setIsAnalitycsOptInPromptOpened(true);
setIsAnalyticsOptInPromptOpened(true);
setNextStep(() => callBack);
},
[setIsAnalitycsOptInPromptOpened],
[setIsAnalyticsOptInPromptOpened],
);

const isEntryPointIncludedInFlagParams = lldAnalyticsOptInPromptFlag?.params?.entryPoints
Expand All @@ -71,7 +71,7 @@ export const useAnalyticsOptInPrompt = ({ entryPoint }: Props) => {
);

const onSubmit = () => {
setIsAnalitycsOptInPromptOpened(false);
setIsAnalyticsOptInPromptOpened(false);
dispatch(setHasSeenAnalyticsOptInPrompt(true));
if (entryPoint === EntryPoint.onboarding) {
nextStep?.();
Expand All @@ -80,8 +80,8 @@ export const useAnalyticsOptInPrompt = ({ entryPoint }: Props) => {
};

const analyticsOptInPromptProps = {
onClose: () => setIsAnalitycsOptInPromptOpened(false),
isOpened: isAnalitycsOptInPromptOpened,
onClose: () => setIsAnalyticsOptInPromptOpened(false),
isOpened: isAnalyticsOptInPromptOpened,
entryPoint: entryPoint,
variant,
};
Expand All @@ -101,8 +101,8 @@ export const useAnalyticsOptInPrompt = ({ entryPoint }: Props) => {
};

return {
openAnalitycsOptInPrompt,
setIsAnalitycsOptInPromptOpened,
openAnalyticsOptInPrompt,
setIsAnalyticsOptInPromptOpened,
onSubmit,
analyticsOptInPromptProps,
isFeatureFlagsAnalyticsPrefDisplayed: isFlagEnabled,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { EntryPoint } from "../types/AnalyticsOptInPromptNavigator";
export const useDisplayOnPortfolioAnalytics = () => {
const {
analyticsOptInPromptProps,
setIsAnalitycsOptInPromptOpened,
setIsAnalyticsOptInPromptOpened,
isFeatureFlagsAnalyticsPrefDisplayed,
onSubmit,
} = useAnalyticsOptInPrompt({ entryPoint: EntryPoint.portfolio });
Expand All @@ -16,8 +16,8 @@ export const useDisplayOnPortfolioAnalytics = () => {
};

useEffect(() => {
if (isFeatureFlagsAnalyticsPrefDisplayed) setIsAnalitycsOptInPromptOpened(true);
}, [isFeatureFlagsAnalyticsPrefDisplayed, setIsAnalitycsOptInPromptOpened]);
if (isFeatureFlagsAnalyticsPrefDisplayed) setIsAnalyticsOptInPromptOpened(true);
}, [isFeatureFlagsAnalyticsPrefDisplayed, setIsAnalyticsOptInPromptOpened]);

return {
analyticsOptInPromptProps: extendedAnalyticsOptInPromptProps,
Expand Down
Loading

0 comments on commit 352846d

Please sign in to comment.