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

substrate connect - upgrade to 0.5.0 #6958

Merged
merged 7 commits into from
Feb 9, 2022
Merged

substrate connect - upgrade to 0.5.0 #6958

merged 7 commits into from
Feb 9, 2022

Conversation

wirednkod
Copy link
Member

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.

@wirednkod wirednkod changed the title Nik upgrade substrate connect to 0.5.0 substrate connect - upgrade to 0.5.0 Feb 9, 2022
Copy link
Member

@jacogr jacogr left a 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...)

@@ -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';
Copy link
Member

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';

@wirednkod wirednkod requested a review from jacogr February 9, 2022 15:56
@jacogr jacogr merged commit c74e356 into polkadot-js:master Feb 9, 2022
@jacogr
Copy link
Member

jacogr commented Feb 9, 2022

Thank you very much.

@polkadot-js-bot
Copy link

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.

@polkadot-js polkadot-js locked as resolved and limited conversation to collaborators Feb 11, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants