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

Ledger connector #877

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Ledger connector #877

wants to merge 4 commits into from

Conversation

RamyEB
Copy link

@RamyEB RamyEB commented Aug 18, 2023

Test it locally :

./
yarn && yarn build

Add this dependency in exemple/package.json :
"@web3-react/ledger": "file:../packages/ledger",

./exemple
pnpm i && pnpm start

@vercel
Copy link

vercel bot commented Aug 18, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
web3-react ❌ Failed (Inspect) Aug 28, 2023 0:27am

@RamyEB RamyEB marked this pull request as ready for review August 28, 2023 12:29
Comment on lines +90 to +91
const src = "https://statuesque-naiad-0cb980.netlify.app/umd/index.js";
const globalName = "ledgerConnectKit";
Copy link
Contributor

Choose a reason for hiding this comment

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

if you need a package you should load it via yarn

Copy link

Choose a reason for hiding this comment

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

This is an architecture decision that was made to enable hot upgrades on the connect kit.

Unfortunately, falling back to a package manager solution is not a change we can implement at the moment.

Choose a reason for hiding this comment

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

if you need a package you should load it via yarn

Hero of the day sir, thanks for the common sense you showed on that sweet September 14

Choose a reason for hiding this comment

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

This brings so much joy to my cold dead security heart that you spotted this and blocked merging because of it, saving many!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants