import { GridPlusUnlock , LegderUnlock , TrezorUnlock , ViewOnlyDecrypt , WalletConnectDecrypt , Web3ProviderDecrypt } from '@components' ; import { withWalletConnect } from '@services/WalletService' ; import { IStory , WalletId } from '@types' ; import { IS_PROD , IS_STAGING } from '@utils' ; import { NetworkSelectPanel } from './components' ; export const IS_WEB_AND_PRODUCTION = IS_PROD && ! IS_STAGING ; export const getStories = ( ) : IStory [ ] => [ { name : WalletId . WEB3 , steps : [ Web3ProviderDecrypt ] } , { name : WalletId . WALLETCONNECT , steps : [ NetworkSelectPanel , withWalletConnect ( WalletConnectDecrypt ) ] } , { name : WalletId . LEDGER_NANO_S_NEW , steps : [ NetworkSelectPanel , LegderUnlock ] } , { name : WalletId . TREZOR_NEW , steps : [ NetworkSelectPanel , TrezorUnlock ] } , { name : WalletId . GRIDPLUS , steps : [ NetworkSelectPanel , GridPlusUnlock ] } , { name : WalletId . VIEW_ONLY , steps : [ NetworkSelectPanel , ViewOnlyDecrypt ] } ] ;