Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(LIVE-14948): remove CDN for release issues and thorswap as DEX #8436

Merged
merged 1 commit into from
Nov 26, 2024

Conversation

lpaquet-ledger
Copy link
Contributor

βœ… Checklist

  • npx changeset was attached.
  • Covered by automatic tests.
  • Impact of the changes:
    • ...

πŸ“ Description

remove CDN for release issues and thorswap as DEX

❓ Context

  • JIRA or GitHub link:

🧐 Checklist for the PR Reviewers

  • The code aligns with the requirements described in the linked JIRA or GitHub issue.
  • The PR description clearly documents the changes made and explains any technical trade-offs or design decisions.
  • There are no undocumented trade-offs, technical debt, or maintainability issues.
  • The PR has been tested thoroughly, and any potential edge cases have been considered and handled.
  • Any new dependencies have been justified and documented.
  • Performance considerations have been taken into account. (changes have been profiled or benchmarked if necessary)

@lpaquet-ledger lpaquet-ledger requested a review from a team as a code owner November 21, 2024 15:37
Copy link

vercel bot commented Nov 21, 2024

The latest updates on your projects. Learn more about Vercel for Git β†—οΈŽ

Name Status Preview Comments Updated (UTC)
web-tools ❌ Failed (Inspect) Nov 22, 2024 3:59pm
3 Skipped Deployments
Name Status Preview Comments Updated (UTC)
ledger-live-github-bot ⬜️ Ignored (Inspect) Visit Preview Nov 22, 2024 3:59pm
native-ui-storybook ⬜️ Ignored (Inspect) Visit Preview Nov 22, 2024 3:59pm
react-ui-storybook ⬜️ Ignored (Inspect) Visit Preview Nov 22, 2024 3:59pm

Comment on lines 53 to 55
if (providerConfig.useInExchangeApp === true) {
throw new Error(`Unsupported provider type ${providerConfig.type}`);
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you inverted the condition here .... I guess that's why all providers boolean where inverted too

Suggested change
if (providerConfig.useInExchangeApp === true) {
throw new Error(`Unsupported provider type ${providerConfig.type}`);
}
if (providerConfig.useInExchangeApp !== true) {
throw new Error(`Unsupported provider type ${providerConfig.type}`);
}

feat(LIVE-14948): changeset

feat(LIVE-14948): changeset

feat(LIVE-14948): lint

Update libs/ledger-live-common/src/exchange/providers/swap.ts

Update libs/ledger-live-common/src/exchange/providers/swap.ts

Update libs/ledger-live-common/src/exchange/providers/swap.ts

Update libs/ledger-live-common/src/exchange/providers/swap.ts

Update libs/ledger-live-common/src/exchange/providers/swap.ts

feat(LIVE-14948): fix wrong condition
@lpaquet-ledger lpaquet-ledger merged commit 2ebf404 into develop Nov 26, 2024
51 of 55 checks passed
@lpaquet-ledger lpaquet-ledger deleted the feat/LIVE-14948 branch November 26, 2024 08:40
lpaquet-ledger added a commit that referenced this pull request Nov 26, 2024
lpaquet-ledger added a commit that referenced this pull request Nov 26, 2024
#8480)

Revert "feat(LIVE-14948): remove CDN for release issues and thorswap as DEX (#8436)"

This reverts commit 2ebf404.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
common Has changes in live-common
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants