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

fix!: make smoldot discovery interface conform to smoldot interface #2516

Merged
merged 1 commit into from
Oct 23, 2024

Conversation

ryanleecode
Copy link
Collaborator

@ryanleecode ryanleecode commented Oct 22, 2024

Existing smoldot interface wasnt compatible to the actual smoldot interface, so we couldnt use smProvider.

This change removes the "jsonRpcCallback" from addChain and just exposes nextJsonRpcResponseand jsonRpcResponses, just like smoldot does.

Copy link

changeset-bot bot commented Oct 22, 2024

🦋 Changeset detected

Latest commit: 08c0883

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 5 packages
Name Type
@substrate/connect Major
@substrate/smoldot-discovery Major
@substrate/smoldot-discovery-connector Minor
@substrate/extension Patch
@substrate/wallet-template Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@ryanleecode ryanleecode force-pushed the fix/smoldot-discovery1 branch from 936a9ae to f00258f Compare October 22, 2024 17:47
@ryanleecode ryanleecode changed the title fix!: make smoldot discovery interface conform to the actual smoldot … fix!: make smoldot discovery interface conform to smoldot interface Oct 22, 2024
@ryanleecode ryanleecode force-pushed the fix/smoldot-discovery1 branch 4 times, most recently from a0fbe3c to 59d43d1 Compare October 22, 2024 18:13
@ryanleecode ryanleecode marked this pull request as ready for review October 22, 2024 18:13
@ryanleecode ryanleecode force-pushed the fix/smoldot-discovery1 branch 8 times, most recently from 3bf116f to e1a65af Compare October 22, 2024 23:07
@ryanleecode ryanleecode force-pushed the fix/smoldot-discovery1 branch from e1a65af to 08c0883 Compare October 22, 2024 23:17
@ryanleecode ryanleecode merged commit e2a5cef into main Oct 23, 2024
10 of 12 checks passed
@ryanleecode ryanleecode deleted the fix/smoldot-discovery1 branch October 23, 2024 00:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant