-
Notifications
You must be signed in to change notification settings - Fork 352
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove usage of deprecated navigator.product (#5785)
* remove conditional axios agent * set https agent if in electron * revert snapshot * conditional navigator * jsdom environement * use https keep alive if not llm * clearer condition * add comments * explain why keep alive in comment * snap linebreak * revert near snpashot changesg * revert celo snapshot changes * changeset * revert arg.timeout existence check * set test ledger_client_version * setenv in test * setEnv beforeAll * optional getEnv * no need for beforeAll in hasMinimumFund test
- Loading branch information
Showing
4 changed files
with
18 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@ledgerhq/live-network": patch | ||
--- | ||
|
||
Inject https agent in all platform other than mobile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 comment
on commit dd5d930
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
web-tools – ./apps/web-tools
web-tools-ledgerhq.vercel.app
ledger-live.vercel.app
live.ledger.tools
web-tools-git-develop-ledgerhq.vercel.app
ledger-live-tools.vercel.app
Hi @lvndry we have an issue with the
setEnv
of thisLEDGER_CLIENT_VERSION
value as it tends to reset it back to its default leter on when the lib is loaded in a later component. Even if the react native platform check is executed in the beginning. The reset tends to happen later in the build / code execution process and raisehttps
import lib issue.Env: simple expo project + metro
cc: @fcipollone-ledger, @cfranceschi-ledger