chore(phantom): update Phantom SDK to v1.0.7 across all community templates#353
Merged
GuiBibeau merged 5 commits intosolana-foundation:mainfrom Apr 1, 2026
Conversation
GuiBibeau
approved these changes
Apr 1, 2026
- 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>
4a61abc to
20430ac
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Updates all three Phantom embedded wallet community templates to SDK v1.0.7.
phantom-embedded-js
@phantom/browser-sdkfrom1.0.0-beta.21→1.0.7BrowserSDKconstructor for stable API: removeproviderType/embeddedWalletType/authUrl, addproviders: ['google', 'apple']VITE_PHANTOM_AUTH_URLfrom.env.example(removed in stable)phantom-embedded-react
@phantom/browser-sdk+@phantom/react-sdkfrom1.0.0-beta.26→1.0.7connectError→errors.connect(breaking API change in v1.0.7)embeddedWalletType: 'user-wallet'fromPhantomProviderconfig (removed in stable)portal.phantom.com→phantom.com/portalphantom-embedded-react-native
@phantom/react-native-sdkfrom^1.0.2→1.0.7borderRadiustheme type:number→string(API change in v1.0.7)phantom.app/developer→phantom.com/portalcreate-solana-dappCLI instructions for consistencyAll templates
templates.json,TEMPLATES.md, and workflow metadata viapnpm generateTest plan
phantom-embedded-js:pnpm install && pnpm dev— Google/Apple login flow worksphantom-embedded-react:pnpm install && pnpm dev—PhantomProviderinitializes, auth callback resolves correctlyphantom-embedded-react-native:pnpm install && pnpm ios— wallet connect flow works with SDK v1.0.7🤖 Generated with Claude Code