chore(examples): upgrade react-viem to @zama-fhe/sdk 3.1.0-alpha.10#404
Draft
zama-cremaud wants to merge 1 commit into
Draft
chore(examples): upgrade react-viem to @zama-fhe/sdk 3.1.0-alpha.10#404zama-cremaud wants to merge 1 commit into
zama-cremaud wants to merge 1 commit into
Conversation
Public API Changes✅ No public API changes detected. |
Coverage Report
File CoverageNo changed files found. |
zama-cremaud
added a commit
that referenced
this pull request
Jun 15, 2026
…nce result [SDK-208] The react-viem (#404) + react-ethers (#410) convergence experiment showed the semantic migration converges perfectly (identical hook call-site API shapes), with the only residual divergence being incidental line-wrapping. Running oxfmt collapses both to byte-identical source — so the deterministic gate now formats before typechecking, making converged-API the bar the apply step has to hit rather than hand-matching a sibling's whitespace. - cli.mjs: `apply --gate` now runs bump -> install -> format (oxfmt) -> typecheck; format is best-effort (skipped with a warning for external apps lacking oxfmt). - apply-guide skill + /sdk-upgrade command: document the format-then-typecheck gate. - plan doc: mark Phase 2 done and record the convergence finding. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
a747386 to
966b0ae
Compare
966b0ae to
3a3fc35
Compare
Migrate the react-viem example to the 3.1 SDK line: - bump @zama-fhe/sdk and @zama-fhe/react-sdk pins to 3.1.0-alpha.10 - adopt the 3.1 hook surface (positional address args, renamed permit helpers, EncryptedValue handles, sdk.signer over requireSigner) Verified with `npm run typecheck` (exit 0) against the published 3.1.0-alpha.10 packages. No decrypt-glossary call-sites in this app, so the upgrade is pin-only on the surfaces it consumes. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
3a3fc35 to
227429c
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.
Upgrades the react-viem example to the
3.1.0-alpha.10SDK line.What changed
@zama-fhe/sdkand@zama-fhe/react-sdkto3.1.0-alpha.10.addressargs, renamed permit helpers,EncryptedValuehandles,sdk.signerin place ofrequireSigner.Verification
npm run typecheck→ exit 0 against the published3.1.0-alpha.10packages.useUserDecrypt/userDecrypt…) call-sites, so the upgrade is pin-only on the surfaces it consumes.Part of the SDK-208 example-app upgrade rollout (one PR per app).
🤖 Generated with Claude Code