Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Support ethers v6#147

Merged
w4ll3 merged 2 commits into
spruceid:mainfrom
sloikaxyz:feat/support-ethers-v6
Apr 6, 2023
Merged

Support ethers v6#147
w4ll3 merged 2 commits into
spruceid:mainfrom
sloikaxyz:feat/support-ethers-v6

Conversation

@freeatnet

@freeatnet freeatnet commented Feb 26, 2023

Copy link
Copy Markdown
Contributor

This PR introduces compatibility with ethers v6. It's a bit hacky, but it works.

@w4ll3 w4ll3 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Hi again, can you please rebase with latest merged changes?

Comment thread packages/siwe/package.json
* loosen peerDependencies on siwe

* set up ethers5 and ethers6 devDependencies to enable testing with both versions

* allow test runner to select ethers 5 or 6

* create a compatibility layer that exports the right functions based on whether we are using ethers v5 or v6
@freeatnet freeatnet force-pushed the feat/support-ethers-v6 branch from 1aef29c to 75b7f2e Compare April 4, 2023 10:39
@freeatnet

Copy link
Copy Markdown
Contributor Author

@w4ll3 updated!

@w4ll3 w4ll3 merged commit e12cd8d into spruceid:main Apr 6, 2023
@freeatnet freeatnet deleted the feat/support-ethers-v6 branch June 26, 2023 08:25
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.

2 participants