Skip to content

chore: update all examples and dependencies to Widget V4 beta#686

Open
chybisov wants to merge 1 commit intofeat/tsdown-migrationfrom
chore/upgrade-dependencies
Open

chore: update all examples and dependencies to Widget V4 beta#686
chybisov wants to merge 1 commit intofeat/tsdown-migrationfrom
chore/upgrade-dependencies

Conversation

@chybisov
Copy link
Copy Markdown
Member

@chybisov chybisov commented Apr 3, 2026

Which Linear task is linked to this PR?

EMB-333

Why was it implemented this way?

Bulk dependency upgrade + full v3→v4 migration of all 22 examples to align with the Widget V4 beta architecture.

Key changes:

  • All dependencies upgraded to latest via pnpm up -r -L
  • TypeScript 5.9 → 6.0 with deprecated options removed (esModuleInterop, moduleResolution: "Node", allowSyntheticDefaultImports)
  • 15 examples migrated from v3 stable to v4 beta @lifi/* packages
  • Added @lifi/widget-provider-ethereum and SDK-based useChains hook to wallet-connected examples
  • Moved useSyncWagmiConfig/convertExtendedChain/isExtendedChain imports from wallet-managementwidget-provider-ethereum
  • wagmi v2 → v3 upgrade across affected examples
  • Fixed Privy SDK v3 breaking changes, ChainType.STL exclusion, @solana/web3.js type conflicts
  • Next.js ^14/^15/^16 versions preserved per example
  • workspace:* references kept unchanged

All 22 examples and all core packages build successfully.

Visual showcase (Screenshots or Videos)

N/A — no visual changes, dependency and import updates only.

Checklist before requesting a review

  • I have performed a self-review and testing of my code.
  • This pull request is focused and addresses a single problem.
  • If this PR modifies the Widget API or adds new features that require documentation, I have updated the documentation in the public-docs repository.

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