-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
fix: ethers5 adapter import in exports #2754
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
♻️ Vite-Size ♻️Size Difference
Current Size
Base Size
|
@@ -1,6 +1,7 @@ | |||
import '@web3modal/polyfills' | |||
|
|||
export { EVMEthersClient } from './client.js' | |||
export * from '@web3modal/scaffold-utils/ethers' |
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.
is this needed?
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.
Yes, we are connecting to the EthersStoreUtil
from the backwards compat packages' custom hooks, see. To make the ethers
and base
package use the same proxy object (state), the @web3modal/scaffold-utils/ethers
needed to be exported from the adapter. Otherwise throwing this pmndrs/valtio#706 error.
Email flow seems broken from preview 🤔 |
Seems like it's not awaiting the connection after OTP. It's closing the modal, but after a few seconds it's getting connected. There should be a state management detail off |
Description
In the exports of the
ethers5
, we are importingethers
adapter which is wrong and should beethers5
.Type of change
Associated Issues
For Linear issues: Closes APKT-xxx
For GH issues: closes #...
Showcase (Optional)
If there is a UI change include the screenshots with before and after state.
If new feature is being introduced, include the link to demo recording.
Checklist