mirror of
https://github.com/luxfi/safe-wallet.git
synced 2026-10-30 15:19:21 +00:00
* feat: add appkit dependencies * feat: add basic appkit config * feat: add wallet configs for Rabby and Phantom to appKit configuration * feat: update ImportSigners feature with new wallet connection options and replace Metamask image - Added new ConnectWalletApp image for wallet connection. - Removed Metamask image from the project. - Enhanced ImportSignersContainer to support wallet connection via WalletConnect. - Updated item descriptions and titles for clarity in the signer import process. - Introduced new SignerType enum for better type management in signersSlice. * fix: remove borderRadius from SafeCard component * refactor: update SignerType to use string literals and clean up imports in ImportSignersContainer - Replaced SignerType enum with string literals. - Removed unused import of SignerType in ImportSignersContainer. - Updated type assignment for wallet connection in ImportSignersContainer to use string literal 'walletconnect'. * fix: update wallet-related images in mobile assets Make gradient overlay transparent so it works on both light and dark mode * refactor: streamline signer connection handling in ImportSignersContainer - Updated the handling of signer connections to use a more concise approach with a single callback function. - Removed the previous memoization of items and integrated the item definitions directly into the component. - Enhanced the connection logic to include biometric checks for the seed signer option. * fix: update minimum SDK version for Android in app configuration * refactor: migrate from AsyncStorage to MMKV for improved storage performance - Removed AsyncStorage dependency and replaced it with MMKV for better efficiency in data handling. - Updated storage methods in appKit and Storybook configuration to utilize MMKV's API. * refactor: simplify state management in ImportSignersContainer - Removed unused selector for existing signer to streamline the connection logic. * refactor: reorganize component hierarchy in RootLayout for improved readability - Adjusted the order of providers in RootLayout to enhance clarity and maintainability. - Moved AppKitProvider to be nested within the Provider for better context management. * refactor: update type handling in appKit storage methods for improved type safety - Changed generic type from 'any' to 'unknown' in getEntries, setItem, and getItem methods to enhance type safety. - Updated parseEntry function to return a tuple with the correct type inference. * chore: updare yarn.lock * fix: revert removal of `@react-native-async-storage/async-storage` dependency It's needed by appkit * refactor: replace base64 wallet icons with URLs in appKit configuration - Removed base64 encoded icons for Phantom and Rabby wallets. - Updated image URLs to point to hosted images for better performance and maintainability. - Added new image files for the wallets in the web public images directory.
12 lines
446 B
JavaScript
12 lines
446 B
JavaScript
module.exports = function (api) {
|
|
api.cache(true)
|
|
return {
|
|
// Enables the `unstable_transformImportMeta` option which is required for valtio to work correctly with Expo 53+
|
|
presets: [['babel-preset-expo', { unstable_transformImportMeta: true }]],
|
|
plugins: [
|
|
// https://github.com/DataDog/dd-sdk-reactnative/issues/1111
|
|
['@datadog/mobile-react-native-babel-plugin', { components: { useContent: false } }],
|
|
],
|
|
}
|
|
}
|