Skip to content

chore(skill): unify solanaRpcConnection example for kit-plugin-rpc 0.11#50

Merged
amilz merged 1 commit intomainfrom
chore/bump-kitplugin-11
May 7, 2026
Merged

chore(skill): unify solanaRpcConnection example for kit-plugin-rpc 0.11#50
amilz merged 1 commit intomainfrom
chore/bump-kitplugin-11

Conversation

@amilz
Copy link
Copy Markdown
Collaborator

@amilz amilz commented May 5, 2026

Summary

  • Collapse the dual solanaRpcConnection(url) + solanaRpcSubscriptionsConnection(wsUrl) example in skill/references/kit/plugins.md into the unified solanaRpcConnection({ rpcUrl }) form shipped in @solana/kit-plugin-rpc@0.11.
  • WS URL is now auto-derived from rpcUrl (override via rpcSubscriptionsUrl); solanaRpcSubscriptionsConnection is soft-deprecated upstream (anza-xyz/kit-plugins#203).
  • Verified repo-wide: no remaining references to soft-deprecated solanaRpcSubscriptionsConnection / rpcConnection / rpcSubscriptionsConnection. SKILL.md already only uses the all-in-one solanaRpc({ rpcUrl }), which is unaffected.

Closes DEV-487. Parent: DEV-477.

Test plan

  • grep for soft-deprecated names under skill/ returns empty
  • Snippet matches 0.11 plugin signature ({ rpcUrl } options form, plugin order preserved)

Collapse the dual `solanaRpcConnection(url)` + `solanaRpcSubscriptionsConnection(wsUrl)`
calls into the unified `solanaRpcConnection({ rpcUrl })` form. The WS URL is now
derived from `rpcUrl` automatically; the separate subscriptions plugin is
soft-deprecated upstream (anza-xyz/kit-plugins#203).

Refs DEV-487, parent DEV-477.
@amilz amilz self-assigned this May 5, 2026
@amilz amilz merged commit 2d4edb9 into main May 7, 2026
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