Skip to content

chore(phantom): update Phantom SDK to v1.0.7 across all community templates#353

Merged
GuiBibeau merged 5 commits intosolana-foundation:mainfrom
Th3Ya0vi:Th3Ya0vi/chore-update-phantom-sdk-to-1.0.5
Apr 1, 2026
Merged

chore(phantom): update Phantom SDK to v1.0.7 across all community templates#353
GuiBibeau merged 5 commits intosolana-foundation:mainfrom
Th3Ya0vi:Th3Ya0vi/chore-update-phantom-sdk-to-1.0.5

Conversation

@Th3Ya0vi
Copy link
Copy Markdown
Contributor

@Th3Ya0vi Th3Ya0vi commented Apr 1, 2026

Summary

Updates all three Phantom embedded wallet community templates to SDK v1.0.7.

phantom-embedded-js

  • Bump @phantom/browser-sdk from 1.0.0-beta.211.0.7
  • Fix BrowserSDK constructor for stable API: remove providerType/embeddedWalletType/authUrl, add providers: ['google', 'apple']
  • Remove VITE_PHANTOM_AUTH_URL from .env.example (removed in stable)
  • Rewrite README: clean quick start format, remove clutter

phantom-embedded-react

  • Bump @phantom/browser-sdk + @phantom/react-sdk from 1.0.0-beta.261.0.7
  • Fix connectErrorerrors.connect (breaking API change in v1.0.7)
  • Remove embeddedWalletType: 'user-wallet' from PhantomProvider config (removed in stable)
  • Fix portal URL: portal.phantom.comphantom.com/portal

phantom-embedded-react-native

  • Bump @phantom/react-native-sdk from ^1.0.21.0.7
  • Fix borderRadius theme type: numberstring (API change in v1.0.7)
  • Fix portal URL: phantom.app/developerphantom.com/portal
  • Remove emojis from create-solana-dapp CLI instructions for consistency
  • Trim description to under 100 chars (guide requirement)

All templates

  • Regenerated templates.json, TEMPLATES.md, and workflow metadata via pnpm generate
  • Consistent README structure across all three templates (no images, no emojis)

Test plan

  • phantom-embedded-js: pnpm install && pnpm dev — Google/Apple login flow works
  • phantom-embedded-react: pnpm install && pnpm devPhantomProvider initializes, auth callback resolves correctly
  • phantom-embedded-react-native: pnpm install && pnpm ios — wallet connect flow works with SDK v1.0.7

🤖 Generated with Claude Code

@Th3Ya0vi Th3Ya0vi changed the title chore(phantom): update Phantom SDK to v1.0.5 across all community templates chore(phantom): update Phantom SDK to v1.0.7 across all community templates Apr 1, 2026
Th3Ya0vi and others added 5 commits April 1, 2026 17:29
- phantom-embedded-js: bump @phantom/browser-sdk beta.21 → 1.0.5, fix
  BrowserSDK constructor (remove providerType/embeddedWalletType/authUrl,
  add providers array), remove VITE_PHANTOM_AUTH_URL from .env.example
- phantom-embedded-react: bump @phantom/browser-sdk + react-sdk beta.26
  → 1.0.5, remove embeddedWalletType from PhantomProvider config, fix
  portal URL (portal.phantom.com → phantom.com/portal)
- phantom-embedded-react-native: bump @phantom/react-native-sdk 1.0.2 →
  1.0.5, update expo packages to latest compatible versions, fix portal
  URL (phantom.app/developer → phantom.com/portal), update usePhantom →
  useModal API

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- @phantom/browser-sdk, @phantom/react-sdk, @phantom/react-native-sdk: 1.0.5 → 1.0.7
- Fix connectError → errors.connect (API change in react-sdk v1.0.7)
- Fix stale docs URL in RN template: docs.phantom.app → docs.phantom.com
- Update version comments

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Replace verbose README with clean quick start format consistent with
the React and React Native community templates.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…a-dapp instructions

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Trim phantom-embedded-react-native description to 97 chars (under 100 limit)
- Regenerate templates.json, TEMPLATES.md, and workflow templates.json

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@Th3Ya0vi Th3Ya0vi force-pushed the Th3Ya0vi/chore-update-phantom-sdk-to-1.0.5 branch from 4a61abc to 20430ac Compare April 1, 2026 21:30
@GuiBibeau GuiBibeau merged commit b9ac3dc into solana-foundation:main Apr 1, 2026
4 of 6 checks passed
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.

2 participants