-
Notifications
You must be signed in to change notification settings - Fork 29
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
cleanBeforeInit
function throws uncaught error preventing WalletConnect QR code from being displayed
#410
Comments
Nice. @Lbqds Please help us investigate |
The root cause of this issue is in this function: https://github.com/jakearchibald/idb-keyval/blob/6695b178d3e1a6a6252d6d72bf8b1830253aadc1/src/index.ts#L12 In normal cases, when the database does not exist, The issue with the ayin app is that after calling I’m not sure why this happens, I did the following tests:
None of the above tests has this issue, after deleting database And this issue doesn’t seem to be related to |
By the way, since |
It makes sense to upgrade to the latest SDK version. At least for wallet connect provider |
Yes, I've already told them since yesterday to first update to latest SDK to see if the problem gets resolved. |
The Ayin team has shared a testing link where they updated to the latest SDK ( |
I discovered that when clearing all cache data solves the problem for Ayin. Yet, this is not necessary for all other dApps. Kapture.2024-08-28.at.10.28.35.mp4 |
@Lbqds Should we close this now? |
This happens on the Ayin website which (as I was informed today) uses our SDK version
0.45.0
.Here's a video walkthrough of the error:
Kapture.2024-08-22.at.15.38.18.mp4
To reproduce you can delete the indexed DB:
The text was updated successfully, but these errors were encountered: