Conversation
- Introduced `HardcodedChainRepository` to manage supported chains, replacing the previous `DemoChainsBlockchainProvider`. - Updated `WalletProvider` to utilize the new `SupportedChainsBlockchainProvider` for improved chain handling. - Added `allowedChains` configuration to restrict network dropdown options in the UI. - Enhanced `WalletConfigurator` and `TransactionHistory` components to support the new chain management features. - Removed deprecated demo chain references and streamlined related components for better maintainability. - Added new assets and updated documentation to reflect changes in chain handling.
Feature/UI tweaks
Enhance chain management and UI components
removed unused import
Bugfix/stylingconsistency
- Added `PaymentFeePicker` component to facilitate fee estimation for transactions using the relayer. - Updated `SendTransactionModal` and `TransferTokensModal` to integrate the new fee picker, allowing users to select payment tokens and view estimated fees. - Enhanced `TransactionService` to support quoting payment fees and managing wallet upgrade checks. - Introduced new interfaces for payment quotes and transaction services to streamline fee handling and improve code organization. - Updated dependencies in `package.json` and `package-lock.json` to include new packages for enhanced functionality.
- Upgraded `@1shotapi/ows-signer-utils` to version `0.2.2` in both `package.json` and `package-lock.json`. - Introduced new type `IRelayerConfirmSendResult` in `modalTypes.ts` for improved handling of relayer confirmation payloads. - Updated `WalletProvider` to utilize the new relayer confirmation structure, enhancing transaction processing. - Refactored `wrapSignerWithPasskeyPrompts.ts` to ensure asynchronous handling of the `signDigest` method for better performance.
- Replaced direct signer retrieval with OWSProvider in CachedRelayerCredentialRepository, TransactionService, and OneshotRelayerRepository for improved dependency management. - Introduced IOWSProvider interface and OWSProvider class to encapsulate signer, wallet, and RPC helper access. - Updated WalletProvider to utilize OWSProvider for managing signer and wallet instances, enhancing modularity and maintainability. - Added display size configurations in ConfigProvider for consistent UI presentation across various modals.
Fix issue with display not hiding after an error
… information. Refactor App component by removing unused state and functions, and streamline the WalletConfigurator by consolidating text fields into a new component.
- Replaced legacy credential ID handling with a new passkey handle in localStorage, ensuring smoother migration and improved security. - Introduced IndexedDB for storing sensitive delegation binding values, reducing reliance on localStorage. - Updated various components and services to utilize Promise.all for concurrent asynchronous operations, improving performance. - Enhanced the PaymentFeePicker and wallet authentication hooks for better state management and responsiveness.
- Consolidated style imports to use the new `StyleProvider` for consistency across components. - Moved `HOST_CHAINS` and related types to a dedicated `hostChains` module for better modularity. - Updated various components to reflect the new import paths, enhancing maintainability and clarity. - Streamlined exports in UI components by removing unused variables, improving code cleanliness.
…d state management and performance - Updated BalanceDisplay to utilize a live balance state, enhancing responsiveness to balance updates. - Simplified balance and decimals handling by removing unnecessary state synchronization. - Refactored TransactionHistory to use a shared date formatting constant, improving code reusability and clarity. - Enhanced LocalStorageTrackedAssetRepository to use Promise.all for concurrent balance fetching, optimizing performance.
- Introduced a constant for minimum password length in CreateBackupModal to enhance code clarity and maintainability. - Updated the fillTemplate function calls to use the new constant for consistency. - Removed the role attribute from the Pagination component to streamline the markup and improve accessibility.
- Renamed passkey ceremony overlays to passkey ceremony UI for clarity. - Updated WebAuthn prompt handling to show Confirm/Cancel UI within the signer iframe, enhancing user experience. - Removed the deprecated `wrapSignerWithPasskeyPrompts` function and replaced it with `wrapSignerWithCeremonyCopy` for improved modularity. - Updated package dependencies in `package.json` and `package-lock.json` to link local packages for better development workflow. - Enhanced documentation in various markdown files to reflect changes in passkey handling and UI updates.
- Introduced caching for secp256k1 public key in localStorage to streamline LocalAccount initialization. - Updated CreateBackupModal to remove unnecessary ensureReady call, simplifying the backup process. - Added new passkey prompt reasons for transaction approval and fee adjustment in PasskeyPromptModal. - Refactored TransactionService to eliminate prefetch logic, enhancing clarity and performance. - Updated style definitions to include new prompts for transaction approval and fee adjustment, improving user experience. - Implemented coalescing for concurrent signDigest calls to optimize signing ceremonies.
Relayer hookup
React doctor
Passkey batching
…igning efficiency - Updated TransactionService to accept optional parameters for account, nonce, and contract address in signWalletUpgradeAuthorizationInner, allowing for more flexible transaction signing. - Improved handling of nonce and contract address retrieval, ensuring fallback mechanisms are in place. - Enhanced withCoalescedSignDigest to support a minimum call threshold for flushing signDigest calls, optimizing the signing ceremony process and preventing overlapping requests. - Added tests to validate the new functionality and ensure correct behavior under concurrent signing scenarios.
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.
So many updates- should work on Mobile, a lot fewer passkey clicks. Faster, react doctored.