Skip to content

Point the Solana JSDoc at the packages that actually exist - #319

Merged
yosriady merged 1 commit into
mainfrom
fix/framework-kit-package-names
Jul 31, 2026
Merged

Point the Solana JSDoc at the packages that actually exist#319
yosriady merged 1 commit into
mainfrom
fix/framework-kit-package-names

Conversation

@yosriady

@yosriady yosriady commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

Problem

The @example blocks on SolanaOptions.store and SolanaManager.setStore() tell users to:

import { createClient } from '@solana-foundation/framework-kit';

That package does not exist:

$ npm view @solana-foundation/framework-kit version
npm error code E404

framework-kit ships as @solana/client (1.7.0) and @solana/react-hooks (1.4.1), which is what examples/with-solana depends on and what the docs instruct.

SolanaOptions is the type users hover in their editor while wiring the Solana integration, so this is the first import they copy.

Changes

File Change
src/solana/types.ts @example import → @solana/client; prose drops the bogus scope
src/solana/SolanaManager.ts @example import → @solana/client
src/solana/storeTypes.ts prose drops the bogus scope

The prose mentions still say framework-kit, which is correct as the project name; only the package scope was wrong. Both examples call autoDiscover(), so the import now includes it.

Comments only, no behavior change.

Verification

  • tsc --noEmit: exit 0, no errors
  • npm test: 678 passing

🤖 Generated with Claude Code


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

The @example blocks on SolanaOptions.store and SolanaManager.setStore told
users to `import { createClient } from '@solana-foundation/framework-kit'`.
That package does not exist; npm returns a 404. framework-kit ships as
`@solana/client` and `@solana/react-hooks`, which is what examples/with-solana
depends on and what the docs instruct.

SolanaOptions is the type users hover in their editor when wiring the Solana
integration, so this is the first import they copy.

The two prose mentions keep calling it framework-kit, which is correct as the
project name; they just drop the bogus package scope. The examples also import
`autoDiscover`, since both examples call it.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@yosriady
yosriady merged commit 3179bf9 into main Jul 31, 2026
12 checks passed
@yosriady
yosriady deleted the fix/framework-kit-package-names branch July 31, 2026 10:06
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