LiFi 7715 support - #67
Open
csibbach wants to merge 18 commits into
Open
Conversation
- Updated the `bridge` RPC method to support additional parameters: `speed` and `tokenAddress`, allowing for more flexible bridge transactions. - Enhanced the wallet UI to pre-fill source, destination, amount, and speed fields, enabling users to skip setup when all required fields are filled. - Introduced new analytics events for bridge actions: `BridgeOpened`, `BridgeCompleted`, `BridgeFailed`, and `BridgeCancelled` to track user interactions. - Added confirmation titles and bodies in the style configuration for better user guidance during the bridging process. - Implemented validation for bridge amount and improved error handling in the bridge modal. - Updated various components to reflect these changes, ensuring a cohesive user experience across the application.
…CCTPBridge - Introduced a new `QuoteCountdown` component to display live fee quotes with a countdown timer. - Updated `PaymentFeePicker` to utilize `QuoteCountdown`, enhancing the user experience with real-time fee updates. - Integrated `QuoteCountdown` into `CCTPBridge` for improved quote management during the bridging process. - Added a `paused` prop to handle countdown behavior during transaction phases. - Refactored quote fetching logic to improve efficiency and maintainability across components.
- Introduced an optional `iconUrl` parameter in the `addAsset` RPC method to allow users to provide a custom HTTPS icon for assets. - Updated the `WalletActions` component to handle the new `iconUrl` parameter, enabling users to specify an icon when adding assets. - Enhanced the `LocalStorageTrackedAssetRepository` to persist and manage asset icons, including registration and unregistration of icons. - Implemented a new `SafeAssetImage` component to ensure safe loading of asset icons, rejecting non-HTTPS sources. - Updated various components to utilize the new icon handling, improving the overall user experience with asset management. - Added necessary validations for the `iconUrl` to ensure it is a safe HTTPS URL.
… definition - Introduced `IHostChainMeta` interface to standardize host chain metadata structure. - Updated `ARC_MAINNET` and `ARC_TESTNET` to conform to the new interface, adding properties for `isTestnet` and `weight`. - Implemented sorting logic for host chains based on `weight` and `label`, ensuring testnets are prioritized over mainnets. - Refactored `WalletActions` and other components to utilize the new `ChainSelector` for improved chain selection UI. - Enhanced `bridgeDemo` constants to include optional `weight` for bridge chains, facilitating better sorting and display. - Updated `CCTPBridge` and `SelectNetworkModal` to leverage the new chain selection components, improving user experience.
- Added `onRegisterAwaitingConfirmation` prop to `CancelDelegationModal` in `ModalHost`, allowing for better handling of confirmation states during modal interactions.
…ansactionUtils - Removed the `prepareRelayerVaultAssertion` method from `DelegationService` and replaced it with a new challenge minting approach. - Updated `TransactionUtils` to utilize `mintRelayerVaultChallenge` and `cacheRelayerVaultAssertion` for improved batching of relayer vault authentication. - Enhanced `CachedRelayerVaultRepository` to support challenge minting and assertion caching. - Adjusted interfaces to reflect changes in relayer vault assertion management, ensuring a more streamlined authentication process. - Added tests to verify the new coalesced signing behavior with relayer vault challenges.
- Introduced `RelayerConfirmModalChrome` to manage the relayer fee confirmation process, allowing users to review and confirm final fees before submission. - Updated `CancelDelegationModal` and `SendTransactionModal` to utilize the new relayer confirmation modal, enhancing user experience during transaction confirmations. - Refactored `useRelayerConfirmSubmit` to handle the relayer fee state and transitions effectively, ensuring a smooth user interaction flow. - Enhanced `TransactionService` and `DelegationService` to support new relayer fee callbacks, improving the overall transaction handling process. - Added necessary type definitions and utility functions to manage relayer fee data and callbacks consistently across the application.
Bumps the minor-and-patch group with 18 updates: | Package | From | To | | --- | --- | --- | | [@fontsource-variable/geist](https://github.com/fontsource/font-files/tree/HEAD/fonts/variable/geist) | `5.2.9` | `5.3.0` | | [@walletconnect/core](https://github.com/WalletConnect/walletconnect-monorepo/tree/HEAD/packages/core) | `2.23.10` | `2.24.0` | | [@walletconnect/utils](https://github.com/WalletConnect/walletconnect-monorepo/tree/HEAD/packages/utils) | `2.23.10` | `2.24.0` | | [radix-ui](https://github.com/radix-ui/primitives/tree/HEAD/packages/react/radix-ui) | `1.6.2` | `1.6.7` | | [react](https://github.com/react/react/tree/HEAD/packages/react) | `19.2.7` | `19.2.8` | | [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) | `19.2.17` | `19.2.18` | | [react-dom](https://github.com/react/react/tree/HEAD/packages/react-dom) | `19.2.7` | `19.2.8` | | [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom) | `19.2.3` | `19.2.5` | | [shadcn](https://github.com/shadcn-ui/ui/tree/HEAD/packages/shadcn) | `4.13.0` | `4.19.0` | | [viem](https://github.com/wevm/viem) | `2.55.2` | `2.56.0` | | [zod](https://github.com/colinhacks/zod) | `4.4.3` | `4.5.4` | | [zustand](https://github.com/pmndrs/zustand) | `5.0.14` | `5.0.15` | | [@tailwindcss/vite](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/@tailwindcss-vite) | `4.3.2` | `4.3.3` | | [react-doctor](https://github.com/millionco/react-doctor/tree/HEAD/packages/react-doctor) | `0.9.1` | `0.9.12` | | [tailwindcss](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/tailwindcss) | `4.3.2` | `4.3.3` | | [tsx](https://github.com/privatenumber/tsx) | `4.23.11` | `4.23.12` | | [@types/chrome](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/chrome) | `0.0.287` | `0.2.7` | | [wxt](https://github.com/wxt-dev/wxt) | `0.21.3` | `0.21.4` | Updates `@fontsource-variable/geist` from 5.2.9 to 5.3.0 - [Changelog](https://github.com/fontsource/font-files/blob/main/CHANGELOG.md) - [Commits](https://github.com/fontsource/font-files/commits/HEAD/fonts/variable/geist) Updates `@walletconnect/core` from 2.23.10 to 2.24.0 - [Release notes](https://github.com/WalletConnect/walletconnect-monorepo/releases) - [Changelog](https://github.com/WalletConnect/walletconnect-monorepo/blob/v2.0/packages/core/CHANGELOG.md) - [Commits](https://github.com/WalletConnect/walletconnect-monorepo/commits/@walletconnect/core@2.24.0/packages/core) Updates `@walletconnect/utils` from 2.23.10 to 2.24.0 - [Release notes](https://github.com/WalletConnect/walletconnect-monorepo/releases) - [Changelog](https://github.com/WalletConnect/walletconnect-monorepo/blob/v2.0/packages/utils/CHANGELOG.md) - [Commits](https://github.com/WalletConnect/walletconnect-monorepo/commits/@walletconnect/utils@2.24.0/packages/utils) Updates `radix-ui` from 1.6.2 to 1.6.7 - [Changelog](https://github.com/radix-ui/primitives/blob/main/packages/react/radix-ui/CHANGELOG.md) - [Commits](https://github.com/radix-ui/primitives/commits/1.6.7/packages/react/radix-ui) Updates `react` from 19.2.7 to 19.2.8 - [Release notes](https://github.com/react/react/releases) - [Changelog](https://github.com/react/react/blob/main/CHANGELOG.md) - [Commits](https://github.com/react/react/commits/v19.2.8/packages/react) Updates `@types/react` from 19.2.17 to 19.2.18 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react) Updates `react-dom` from 19.2.7 to 19.2.8 - [Release notes](https://github.com/react/react/releases) - [Changelog](https://github.com/react/react/blob/main/CHANGELOG.md) - [Commits](https://github.com/react/react/commits/v19.2.8/packages/react-dom) Updates `@types/react-dom` from 19.2.3 to 19.2.5 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-dom) Updates `shadcn` from 4.13.0 to 4.19.0 - [Release notes](https://github.com/shadcn-ui/ui/releases) - [Changelog](https://github.com/shadcn-ui/ui/blob/main/packages/shadcn/CHANGELOG.md) - [Commits](https://github.com/shadcn-ui/ui/commits/shadcn@4.19.0/packages/shadcn) Updates `viem` from 2.55.2 to 2.56.0 - [Release notes](https://github.com/wevm/viem/releases) - [Commits](https://github.com/wevm/viem/compare/viem@2.55.2...viem@2.56.0) Updates `zod` from 4.4.3 to 4.5.4 - [Release notes](https://github.com/colinhacks/zod/releases) - [Commits](colinhacks/zod@v4.4.3...v4.5.4) Updates `zustand` from 5.0.14 to 5.0.15 - [Release notes](https://github.com/pmndrs/zustand/releases) - [Commits](pmndrs/zustand@v5.0.14...v5.0.15) Updates `@tailwindcss/vite` from 4.3.2 to 4.3.3 - [Release notes](https://github.com/tailwindlabs/tailwindcss/releases) - [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md) - [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.3.3/packages/@tailwindcss-vite) Updates `@types/react` from 19.2.17 to 19.2.18 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react) Updates `@types/react-dom` from 19.2.3 to 19.2.5 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-dom) Updates `react-doctor` from 0.9.1 to 0.9.12 - [Release notes](https://github.com/millionco/react-doctor/releases) - [Changelog](https://github.com/millionco/react-doctor/blob/main/packages/react-doctor/CHANGELOG.md) - [Commits](https://github.com/millionco/react-doctor/commits/react-doctor@0.9.12/packages/react-doctor) Updates `tailwindcss` from 4.3.2 to 4.3.3 - [Release notes](https://github.com/tailwindlabs/tailwindcss/releases) - [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md) - [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.3.3/packages/tailwindcss) Updates `tsx` from 4.23.11 to 4.23.12 - [Release notes](https://github.com/privatenumber/tsx/releases) - [Changelog](https://github.com/privatenumber/tsx/blob/master/release.config.cjs) - [Commits](privatenumber/tsx@v4.23.11...v4.23.12) Updates `@types/chrome` from 0.0.287 to 0.2.7 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/chrome) Updates `wxt` from 0.21.3 to 0.21.4 - [Release notes](https://github.com/wxt-dev/wxt/releases) - [Commits](wxt-dev/wxt@wxt-v0.21.3...wxt-v0.21.4) --- updated-dependencies: - dependency-name: "@fontsource-variable/geist" dependency-version: 5.3.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor-and-patch - dependency-name: "@walletconnect/core" dependency-version: 2.24.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor-and-patch - dependency-name: "@walletconnect/utils" dependency-version: 2.24.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor-and-patch - dependency-name: radix-ui dependency-version: 1.6.7 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor-and-patch - dependency-name: react dependency-version: 19.2.8 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor-and-patch - dependency-name: "@types/react" dependency-version: 19.2.18 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: minor-and-patch - dependency-name: react-dom dependency-version: 19.2.8 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor-and-patch - dependency-name: "@types/react-dom" dependency-version: 19.2.5 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: minor-and-patch - dependency-name: shadcn dependency-version: 4.19.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor-and-patch - dependency-name: viem dependency-version: 2.56.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor-and-patch - dependency-name: zod dependency-version: 4.5.4 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor-and-patch - dependency-name: zustand dependency-version: 5.0.15 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor-and-patch - dependency-name: "@tailwindcss/vite" dependency-version: 4.3.3 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: minor-and-patch - dependency-name: "@types/react" dependency-version: 19.2.18 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: minor-and-patch - dependency-name: "@types/react-dom" dependency-version: 19.2.5 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: minor-and-patch - dependency-name: react-doctor dependency-version: 0.9.12 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: minor-and-patch - dependency-name: tailwindcss dependency-version: 4.3.3 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: minor-and-patch - dependency-name: tsx dependency-version: 4.23.12 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: minor-and-patch - dependency-name: "@types/chrome" dependency-version: 0.2.7 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: minor-and-patch - dependency-name: wxt dependency-version: 0.21.4 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: minor-and-patch ... Signed-off-by: dependabot[bot] <support@github.com>
- Added support for `lifi-swap-approve` and `lifi-swap-periodic` permissions in the 1Shot embedded wallet, allowing for one-time and periodic LiFi swaps. - Introduced `GrantLiFiApprovePermissionModal` and `GrantLiFiSwapPermissionModal` for user consent on LiFi operations. - Updated `DelegationService` to handle new LiFi permissions and ensure proper delegation management. - Enhanced UI components to accommodate new permission requests and improve user experience during LiFi transactions. - Refactored related hooks and services to integrate LiFi functionalities seamlessly across the application.
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.
UI update for batched delegation requests, and support for LiFi specific delegations.