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

Dashboard integration bugs #728

Merged
merged 3 commits into from
Nov 1, 2023
Merged

Conversation

kpyszkowski
Copy link
Contributor

While integrating threshold-dashboard with the latest iteration of the SDK, some bugs have been spotted. This pull request presents spotted issues, proposes and explains solutions. Each solution is explained in an additional commit message.

Fixed error while declaring EthereumWalletRegistry instance. Error
caused using Mainnet contracts on Goerli chain resulting with
error when SDK is consumed with an entrypoint.
@kpyszkowski kpyszkowski force-pushed the fix/dashboard-integration-bugs branch from 637570e to aace2bc Compare November 1, 2023 01:26
The SDK uses a Node implementation of the URL API which is not
complementary to the native browser implementation. I have added
a conditional that if you have window.URL available then use it,
and if you don't have it then fallback to the Node implementation
@kpyszkowski kpyszkowski force-pushed the fix/dashboard-integration-bugs branch from aace2bc to a46b0f9 Compare November 1, 2023 01:27
lukasz-zimnoch
lukasz-zimnoch previously approved these changes Nov 1, 2023
lukasz-zimnoch
lukasz-zimnoch previously approved these changes Nov 1, 2023
It's mandatory to check if `window` element is present in global scope
before it's used.
@lukasz-zimnoch lukasz-zimnoch merged commit cca098d into main Nov 1, 2023
@lukasz-zimnoch lukasz-zimnoch deleted the fix/dashboard-integration-bugs branch November 1, 2023 10:21
@lukasz-zimnoch lukasz-zimnoch added this to the typescript/v2.1.0 milestone Nov 1, 2023
@lukasz-zimnoch lukasz-zimnoch added the 🔌 typescript TypeScript library label Nov 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔌 typescript TypeScript library
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants