feat: main -> develop#7495
Closed
limitofzero wants to merge 25 commits into
Closed
Conversation
… release/28-04-2026
* fix: token check from storage * feat: update sdk * fix: use proper address comparison * fix: proper address * fix: wrapped tokens * fix: resolution * feat: add sol/btc receiver * fix: pnpm * fix: bridge receiver * chore: update deps * feat: fix order status * fix: handle unsupported non-evm chain id * chore: bump version * refactor: add validation strategy * refactor: move hooks * refactor: rename files * fix: native currency price for non evm * fix: token prices * chore: bump sdk * chore: bump version * chore: update lock * fix: tests * fix: handle non evm addresses in search * fix: token explorer address for non-evm * fix: getWrappedToken * fix: native tokens for explorer * fix: build * fix: test * fix: address * fix: address 2 * chore: remove todo * fix: check btc/sol address per chain * fix: bug in hook * fix: typecheck * chore: refactor: use isSol helper * fix: block-explorer link on sol * refactor: isSolana * chore: comment * feat: add default recepient for btc/sol to get first quote * feat: update addresses * feat: add guard to prevent trading with default quote address for sol/btc * feat: add token lists for non-supported chains * refactor: more clear functions * refactor: more clear functions * refactor: helpers * refactor: nitpick * refactor: naming * refactor: btc stablecoind ref * fix: address * refactor: reuse patterns from sdk * fix: don't show receiver for non-evm default address * fix: recipient * fix: recipient address in bridge detales * chore: bump sdk * fix: format receiver * fix: ens tooltip * fix: hide confirm button for SC if recipient is not entered * fix: hide recipient when account is not connected * chore: remove dead comments * fix: tests * fix: fallback to default recipient when receiver is not valid * fix: token path * fix: loading * fix: token urls * fix: add native currency check * fix: token loading * fix: list validation * fix: list validation * refactor: naming * fix: native tokens * fix: use chain stab for explorer * fix: map tokens * chore(i18n): extract i18n strings [automatic] --------- Co-authored-by: Elena <70885163+elena-zh@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
… release/28-04-2026
* fix: hide paste btn if the api denied by settings * fix: handle rerender --------- Co-authored-by: Elena <70885163+elena-zh@users.noreply.github.com>
* feat(patch): applying a patch to fix coinbase wallet connection; * fix: fixing the build by applying patch using patch-package --------- Co-authored-by: Elena <70885163+elena-zh@users.noreply.github.com>
* fix(widget): fix ready event listener * fix(widget): support cow widget with WidgetEthereumProvider * chore: sync wagmi versions * chore: dedupe wagmi * fix: fix standaloneMode * fix: not connecting safe on widget-configurator * fix: removing cow wallet from wallets list * chore: update sdk and simplify deps (#7414) * chore: update sdk and simplify deps * chore(i18n): extract i18n strings [automatic] --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Denis Makarov <limitofzero@gmail.com> * fix: fixing wallet connection in dapp mode; * fix(wallet): disable AppKit in Safe App iframes to prevent postMessage conflicts * chore: removing unused log * chore: updating pnpm-lock.yaml --------- Co-authored-by: Luiz Gustavo Abou Hatem de Liz <luizgustavoahsc@gmail.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Denis Makarov <limitofzero@gmail.com> Co-authored-by: Elena <70885163+elena-zh@users.noreply.github.com>
* fix(wallet): allow smart accounts to use gasless off-chain signing * fix(twap): detect EIP-7702 accounts as unsupported for TWAP fix(wallet): allow gasless signing for smart contract wallets * fix: applying the offchain signing support only for EOA and Metamask smart accounts
…tamask smart wallet (#7455) Co-authored-by: Elena <70885163+elena-zh@users.noreply.github.com>
# Conflicts: # libs/ui/src/containers/Footer/index.tsx # pnpm-lock.yaml
# Conflicts: # pnpm-lock.yaml
…nection (#7467) * fix(widget): fix ready event listener * fix(widget): support cow widget with WidgetEthereumProvider * chore: sync wagmi versions * chore: dedupe wagmi * fix: fix standaloneMode * fix: not connecting safe on widget-configurator * fix: removing cow wallet from wallets list * fix: fixing wallet connection in dapp mode; * fix(wallet): isolate safe and regular contexts * fix(wallet): prevent Safe iframe from disconnecting browser tab via wallet_revokePermissions When SafeConnectionHandler switched from the injected connector to the safe connector inside a Safe App iframe, it called wagmi's disconnect() which internally calls wallet_revokePermissions on MetaMask. Since MetaMask manages permissions per origin (not per tab), this revoked the eth_accounts permission for the entire localhost:3000 origin, causing any open browser tab at that URL to lose its wallet connection. Fix: write the shimDisconnect storage flag directly instead of calling disconnect(). This prevents the connector from being reconnected on next load without touching MetaMask's global permissions. The connectSafeInIframe effect still runs and makes the safe connector the active connection. Also introduce IS_CROSS_ORIGIN_IFRAME — a one-time check that distinguishes genuine cross-origin iframes (Safe App) from same-origin ones (browser extensions like Loom or 1Password that also run inside iframes). This ensures SafeConnectionHandler only activates in actual cross-origin contexts. * fix: isolate iframe and regular tabs on storage * fix(wallet): eliminate safe iframe blink when switching wallets in regular tab * fix(wallet): remove injected iframe from safe * fix(wallet): skip AppKit in Safe iframe to eliminate cross-tab interference * fix(wallet): disable AppKit in Safe App iframes to prevent postMessage conflicts * chore: removing unused log * chore: updating pnpm-lock.yaml * chore: updating pnpm-lock; * fix: putting back the isInSafeSdkContext variable, removed by accident * fix(widget): remove appkit from all iframes * fix(widget): remove AppKit from all cross-origin iframe contexts AppKit was being initialised inside the injected widget (cross-origin iframe), causing localStorage key conflicts with the host app — connecting in the widget would auto-connect the standalone app, and disconnecting the app would disconnect the widget. Skip AppKit for all cross-origin iframes (both Safe App and injected widget) instead of only the Safe iframe. Each context already gets a distinct wagmi storage key, so session state remains isolated. The addWagmiConnector modal patch is no longer needed since AppKit doesn't run in the widget. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * fix(wallet): remove @appkit/* clearing and injected connector from widget - Stop clearing @appkit/* keys on widget init — this was wiping the main app's AppKit state, causing two-step disconnect and stale Account view. - Remove plain injected connector from widget — MetaMask is a per-origin singleton, registering it leaked wallet state between widget and app. - Disable EIP-6963 in widget to prevent auto-detecting the main app's injected wallet. - Keep Storage.prototype interception to redirect widget's @appkit/* operations to sessionStorage, preventing cross-tab storage events. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * fix(wallet): applies to all iframes * Revert "Merge remote-tracking branch 'origin/develop' into bruno/cow-925-connection-issues-when-the-app-is-opened-in-safe-and-in-a" This reverts commit c7ffaef, reversing changes made to 36292eb. * chore(wallet): connect both tabs on the same extension (rabby and metamask) * fix(wallet): disable AppKit auto-reconnect in widget to prevent duplicate eth_requestAccounts fix: upgrade wagmi, wagmi core and wagmi connectors * fix: fixing typecheck; * fix: separate standalone widget from dapp * fix: auto reconnect to the last wallet in regular app tab * fix: fixing e2e tests * fix: dont connect on disconnected tabs when switching wallet account * fix: address review comments * fix: resolve bot comments * fix: resolve last comments * chore: adding wagmi, @wagmi/* and viem back to the release age filter * fix: develop conflicts after revert commit * fix: pnpm.lock --------- Co-authored-by: Alexandr Kazachenko <shoom3301@gmail.com> Co-authored-by: brunota20 <brunot.anjos@gmail.com> Co-authored-by: Elena <70885163+elena-zh@users.noreply.github.com> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com> Co-authored-by: Denis Makarov <limitofzero@gmail.com>
* fix: permit provider connector * fix: handle eip1271 permit case * Revert "fix: handle eip1271 permit case" This reverts commit d61cb43. --------- Co-authored-by: Elena <70885163+elena-zh@users.noreply.github.com>
Release 28-04-2026
* fix: bump version of widget-lib + iframe-transport * chore: add jsdock * chore: fix
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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
<<if there's an issue>>Fixes #issueNumber
High-level description of what your changes are accomplishing
Add screenshots if applicable. Images are nice :)
To Test
aboutBackground
Optional: Give background information for changes you've made, that might be difficult to explain via comments
Summary by CodeRabbit
New Features
Bug Fixes
Dependencies