-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
substrate connect - upgrade to 0.5.0 #6958
substrate connect - upgrade to 0.5.0 #6958
Conversation
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.
One tiny OCD-related comment.
(It actually took ages to get the type vs normal imports right, well, it is correct AFAIK, but I'm probably guessing 99.5%, not sure where the missing 0.5% sits...)
packages/react-api/src/Api.tsx
Outdated
@@ -7,7 +7,7 @@ import type { ChainProperties, ChainType } from '@polkadot/types/interfaces'; | |||
import type { KeyringStore } from '@polkadot/ui-keyring/types'; | |||
import type { ApiProps, ApiState } from './types'; | |||
|
|||
import { Detector } from '@substrate/connect'; | |||
import { ScProvider, SupportedChains } from '@substrate/connect'; |
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.
Would prefer -
import type { SupportedChains } from '@substrate/connect';
import { ScProvider } from '@substrate/connect';
Thank you very much. |
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Latest version of Substrate-connect (0.5.0) has some several changes to the public API and exposed classes.
The changes on the integration with PolkadotJS Apps is fairly easy and straightforward.