Skip to content

fix: type error on mismatch viem version#12193

Merged
kaladinlight merged 1 commit intodevelopfrom
fix-swap-widget-type-error
Mar 18, 2026
Merged

fix: type error on mismatch viem version#12193
kaladinlight merged 1 commit intodevelopfrom
fix-swap-widget-type-error

Conversation

@kaladinlight
Copy link
Contributor

@kaladinlight kaladinlight commented Mar 18, 2026

Mismatched viem versions were causing type errors for wagmi config. Use the same version as wagmi.

Summary by CodeRabbit

  • Chores
    • Updated viem library dependency to version 2.43.5, ensuring compatibility with the latest version.

@kaladinlight kaladinlight requested a review from a team as a code owner March 18, 2026 19:16
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Mar 18, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 0c5f8826-a6dd-4916-9b49-5823c92d795f

📥 Commits

Reviewing files that changed from the base of the PR and between 865d7d0 and fc4c004.

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (1)
  • packages/swap-widget/package.json

📝 Walkthrough

Walkthrough

The swap-widget package.json file is updated to bump the viem dependency version from 2.40.x to 2.43.5 in both peerDependencies and devDependencies sections, with no functional or structural changes introduced.

Changes

Cohort / File(s) Summary
Dependency Version Bumps
packages/swap-widget/package.json
Updated viem dependency from 2.40.x to 2.43.5 in peerDependencies and devDependencies.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

🐰 A viem bump hops into sight,
From 2.40 to 2.43, all so tight!
Dependencies dance in the JSON file,
Version updates make the code smile! ✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'fix: type error on mismatch viem version' accurately describes the main change: resolving a type error caused by mismatched viem versions by updating the dependency.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix-swap-widget-type-error
📝 Coding Plan
  • Generate coding plan for human review comments

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@kaladinlight kaladinlight merged commit a209894 into develop Mar 18, 2026
5 checks passed
@kaladinlight kaladinlight deleted the fix-swap-widget-type-error branch March 18, 2026 19:38
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