@multiversx/sdk-dapp 5.2.6 → 5.2.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/out/__chunks__/{chunk-MBBXTAA3.mjs → chunk-23KF5JXN.mjs} +2 -2
- package/out/__chunks__/chunk-32UBROSW.mjs +2 -0
- package/out/__chunks__/chunk-34SZ56FQ.mjs +2 -0
- package/out/__chunks__/{chunk-SV4C4UPN.mjs → chunk-35AC7JEX.mjs} +2 -2
- package/out/__chunks__/chunk-3AT3N6U7.mjs +2 -0
- package/out/__chunks__/{chunk-2K2QZVBC.mjs → chunk-3EVBWJRB.mjs} +2 -2
- package/out/__chunks__/{chunk-PDKESLKC.mjs → chunk-3H5GYTLV.mjs} +2 -2
- package/out/__chunks__/{chunk-2NF5HX3H.mjs → chunk-3IMTI6JQ.mjs} +2 -2
- package/out/__chunks__/{chunk-FULNMU6J.mjs → chunk-4D3ZQTRN.mjs} +2 -2
- package/out/__chunks__/chunk-4WBXT7UF.mjs +2 -0
- package/out/__chunks__/chunk-4YLMDHUH.mjs +2 -0
- package/out/__chunks__/chunk-4YLMDHUH.mjs.map +7 -0
- package/out/__chunks__/chunk-5PNQWHBP.mjs +2 -0
- package/out/__chunks__/chunk-5PNQWHBP.mjs.map +7 -0
- package/out/__chunks__/{chunk-PT2OF4QJ.mjs → chunk-5SUCN4KU.mjs} +2 -2
- package/out/__chunks__/chunk-6BQWDKWC.mjs +2 -0
- package/out/__chunks__/{chunk-ZTUC7FCA.mjs.map → chunk-6BQWDKWC.mjs.map} +2 -2
- package/out/__chunks__/chunk-6XHXG7HB.mjs +2 -0
- package/out/__chunks__/{chunk-Q4OG6NMJ.mjs.map → chunk-6XHXG7HB.mjs.map} +1 -1
- package/out/__chunks__/{chunk-JDLVFGXF.mjs → chunk-753KDZIR.mjs} +2 -2
- package/out/__chunks__/{chunk-SWZ5LDC3.mjs → chunk-7LP6TRTV.mjs} +2 -2
- package/out/__chunks__/{chunk-74JXPSSX.mjs → chunk-7NW5R435.mjs} +2 -2
- package/out/__chunks__/{chunk-JDTTHSQL.mjs → chunk-7PIS2F7G.mjs} +2 -2
- package/out/__chunks__/chunk-AHRQWA37.mjs +2 -0
- package/out/__chunks__/{chunk-K3VVHPG3.mjs → chunk-AOYKAITD.mjs} +2 -2
- package/out/__chunks__/{chunk-67JAXZGA.mjs → chunk-ASPVUU7R.mjs} +2 -2
- package/out/__chunks__/chunk-AXYA7YGQ.mjs +2 -0
- package/out/__chunks__/chunk-AXYA7YGQ.mjs.map +7 -0
- package/out/__chunks__/{chunk-M2KI5WFN.mjs → chunk-BMJVOKCD.mjs} +2 -2
- package/out/__chunks__/{chunk-OVBYKKMB.mjs → chunk-BZRPJAII.mjs} +2 -2
- package/out/__chunks__/{chunk-Z5AFLXOE.mjs → chunk-D4SYE2AU.mjs} +2 -2
- package/out/__chunks__/{chunk-U54BL4SU.mjs → chunk-DBMG6HQS.mjs} +2 -2
- package/out/__chunks__/chunk-DBTVIN4S.mjs +2 -0
- package/out/__chunks__/{chunk-FE5FK7I6.mjs.map → chunk-DBTVIN4S.mjs.map} +2 -2
- package/out/__chunks__/chunk-DK6T6BEY.mjs +2 -0
- package/out/__chunks__/{chunk-W37M2LIA.mjs.map → chunk-DK6T6BEY.mjs.map} +3 -3
- package/out/__chunks__/{chunk-YTIAXTQR.mjs → chunk-DPWDWN6V.mjs} +2 -2
- package/out/__chunks__/chunk-EDVSRPEU.mjs +2 -0
- package/out/__chunks__/chunk-EDVSRPEU.mjs.map +7 -0
- package/out/__chunks__/{chunk-MXNCPIER.mjs → chunk-EH3INPBE.mjs} +2 -2
- package/out/__chunks__/{chunk-ZDJN4F3W.mjs → chunk-EJ3EBFAG.mjs} +2 -2
- package/out/__chunks__/{chunk-3OEO7IVT.mjs → chunk-EJHFAT42.mjs} +2 -2
- package/out/__chunks__/{chunk-5O725H7M.mjs → chunk-EMSDNE45.mjs} +2 -2
- package/out/__chunks__/chunk-FGO6JGLQ.mjs +2 -0
- package/out/__chunks__/{chunk-7XASUTI2.mjs → chunk-FMNY4EIM.mjs} +2 -2
- package/out/__chunks__/chunk-FUOM6J37.mjs +2 -0
- package/out/__chunks__/chunk-FUOM6J37.mjs.map +7 -0
- package/out/__chunks__/{chunk-ET5L4CEA.mjs → chunk-GDTOANYH.mjs} +2 -2
- package/out/__chunks__/chunk-GKZ2BSWS.mjs +2 -0
- package/out/__chunks__/{chunk-R3U4ONSV.mjs.map → chunk-GKZ2BSWS.mjs.map} +2 -2
- package/out/__chunks__/chunk-GRUQO4NQ.mjs +2 -0
- package/out/__chunks__/{chunk-XHM77HFZ.mjs → chunk-H3U7BN2F.mjs} +2 -2
- package/out/__chunks__/{chunk-TFDVHULP.mjs → chunk-H6LOCVAD.mjs} +2 -2
- package/out/__chunks__/{chunk-775THAIS.mjs → chunk-HZCXNBGJ.mjs} +2 -2
- package/out/__chunks__/{chunk-SUHXBGYR.mjs → chunk-HZRV27MM.mjs} +2 -2
- package/out/__chunks__/{chunk-O7KFAU3B.mjs → chunk-IGDWL5FF.mjs} +2 -2
- package/out/__chunks__/{chunk-RL2G66LY.mjs → chunk-K23LCX54.mjs} +2 -2
- package/out/__chunks__/{chunk-6CUDZR72.mjs → chunk-KAYZVBV4.mjs} +2 -2
- package/out/__chunks__/chunk-KFBY5KJV.mjs +2 -0
- package/out/__chunks__/chunk-KHK7HHMR.mjs +2 -0
- package/out/__chunks__/chunk-KHK7HHMR.mjs.map +7 -0
- package/out/__chunks__/{chunk-4B3YTXMB.mjs → chunk-KKC3NMW2.mjs} +2 -2
- package/out/__chunks__/chunk-L45XDEGL.mjs +2 -0
- package/out/__chunks__/{chunk-O3YM7WCC.mjs → chunk-LAH3RNPH.mjs} +2 -2
- package/out/__chunks__/{chunk-OU5Y3UTY.mjs → chunk-LCHJKRM5.mjs} +2 -2
- package/out/__chunks__/chunk-LDFQUMVY.mjs +2 -0
- package/out/__chunks__/chunk-LTXWZGXK.mjs +2 -0
- package/out/__chunks__/{chunk-WK4PPAAJ.mjs → chunk-M44UOZ5O.mjs} +2 -2
- package/out/__chunks__/{chunk-CMJSKAR5.mjs → chunk-MBYIULNF.mjs} +2 -2
- package/out/__chunks__/chunk-NAEWTITL.mjs +2 -0
- package/out/__chunks__/{chunk-OXC2IURR.mjs → chunk-NKAJB5TQ.mjs} +2 -2
- package/out/__chunks__/{chunk-BCODBYYR.mjs → chunk-NPF6FJT3.mjs} +2 -2
- package/out/__chunks__/{chunk-QJZ5YIXI.mjs → chunk-NRBAAXUJ.mjs} +2 -2
- package/out/__chunks__/chunk-NWV2L5R7.mjs +2 -0
- package/out/__chunks__/chunk-NWV2L5R7.mjs.map +7 -0
- package/out/__chunks__/chunk-O4IUATY4.mjs +2 -0
- package/out/__chunks__/{chunk-CUMJOJXJ.mjs → chunk-OHFXF2B5.mjs} +2 -2
- package/out/__chunks__/{chunk-TQIB47S6.mjs → chunk-QWU5MHP3.mjs} +2 -2
- package/out/__chunks__/chunk-RVYA3BJD.mjs +2 -0
- package/out/__chunks__/chunk-RVYA3BJD.mjs.map +7 -0
- package/out/__chunks__/{chunk-XA3AGZCX.mjs → chunk-U6N242A3.mjs} +2 -2
- package/out/__chunks__/chunk-UIWCJ3CV.mjs +2 -0
- package/out/__chunks__/{chunk-YX7TMA3N.mjs → chunk-UJIIYWYI.mjs} +2 -2
- package/out/__chunks__/chunk-UKBPRQL6.mjs +2 -0
- package/out/__chunks__/chunk-UKBPRQL6.mjs.map +7 -0
- package/out/__chunks__/{chunk-UCCJLDG6.mjs → chunk-UL35YJX4.mjs} +2 -2
- package/out/__chunks__/chunk-UYRCLUET.mjs +2 -0
- package/out/__chunks__/{chunk-OD6C4XKP.mjs → chunk-W2TBID4H.mjs} +2 -2
- package/out/__chunks__/{chunk-6ME6A43J.mjs → chunk-W42RP7KL.mjs} +2 -2
- package/out/__chunks__/chunk-X5F7OCHT.mjs +2 -0
- package/out/__chunks__/chunk-X5F7OCHT.mjs.map +7 -0
- package/out/__chunks__/chunk-YGRMC52T.mjs +2 -0
- package/out/__chunks__/{chunk-YHNOFYGM.mjs → chunk-YIEM5DGL.mjs} +2 -2
- package/out/__chunks__/{chunk-2VRRMEOY.mjs → chunk-YIZAB63A.mjs} +2 -2
- package/out/__chunks__/{chunk-GMP2DZ26.mjs → chunk-YLJC7ZKD.mjs} +2 -2
- package/out/__chunks__/{chunk-ANIJIRAY.mjs → chunk-YVAL3LZF.mjs} +2 -2
- package/out/__chunks__/{chunk-VQULIVGX.mjs → chunk-Z3ZWRORQ.mjs} +2 -2
- package/out/apiCalls/account/getAccountFromApi.cjs +1 -59
- package/out/apiCalls/account/getAccountFromApi.cjs.map +2 -2
- package/out/apiCalls/account/getAccountFromApi.d.ts +1 -1
- package/out/apiCalls/account/getScamAddressData.cjs +1 -51
- package/out/apiCalls/account/getScamAddressData.cjs.map +2 -2
- package/out/apiCalls/account/getScamAddressData.mjs +1 -1
- package/out/apiCalls/account/index.cjs +1 -22
- package/out/apiCalls/account/index.cjs.map +2 -2
- package/out/apiCalls/configuration/getCleanApiAddress.cjs +1 -34
- package/out/apiCalls/configuration/getCleanApiAddress.cjs.map +2 -2
- package/out/apiCalls/configuration/getCleanApiAddress.mjs +1 -1
- package/out/apiCalls/configuration/getGasStationMetadata.cjs +1 -64
- package/out/apiCalls/configuration/getGasStationMetadata.cjs.map +2 -2
- package/out/apiCalls/configuration/getGasStationMetadata.mjs +1 -1
- package/out/apiCalls/configuration/getNetworkConfigFromApi.cjs +1 -61
- package/out/apiCalls/configuration/getNetworkConfigFromApi.cjs.map +2 -2
- package/out/apiCalls/configuration/getServerConfiguration.cjs +1 -65
- package/out/apiCalls/configuration/getServerConfiguration.cjs.map +2 -2
- package/out/apiCalls/configuration/index.cjs +1 -24
- package/out/apiCalls/configuration/index.cjs.map +2 -2
- package/out/apiCalls/configuration/index.mjs +1 -1
- package/out/apiCalls/economics/getEconomics.cjs +1 -54
- package/out/apiCalls/economics/getEconomics.cjs.map +2 -2
- package/out/apiCalls/endpoints.cjs +1 -100
- package/out/apiCalls/endpoints.cjs.map +2 -2
- package/out/apiCalls/index.cjs +1 -32
- package/out/apiCalls/index.cjs.map +2 -2
- package/out/apiCalls/index.mjs +1 -1
- package/out/apiCalls/tokens/getPersistedToken.cjs +1 -42
- package/out/apiCalls/tokens/getPersistedToken.cjs.map +2 -2
- package/out/apiCalls/tokens/getPersistedTokenDetails.cjs +1 -72
- package/out/apiCalls/tokens/getPersistedTokenDetails.cjs.map +2 -2
- package/out/apiCalls/tokens/getPersistedTokenDetails.mjs +1 -1
- package/out/apiCalls/tokens/getTokenDetails.cjs +1 -74
- package/out/apiCalls/tokens/getTokenDetails.cjs.map +2 -2
- package/out/apiCalls/tokens/getTokenDetails.mjs +1 -1
- package/out/apiCalls/tokens/index.cjs +1 -22
- package/out/apiCalls/tokens/index.cjs.map +2 -2
- package/out/apiCalls/tokens/index.mjs +1 -1
- package/out/apiCalls/tokens/tokenDataStorage.cjs +1 -58
- package/out/apiCalls/tokens/tokenDataStorage.cjs.map +2 -2
- package/out/apiCalls/transactions/getServerTransactionsByHashes.cjs +1 -55
- package/out/apiCalls/transactions/getServerTransactionsByHashes.cjs.map +2 -2
- package/out/apiCalls/transactions/getServerTransactionsByHashes.mjs +1 -1
- package/out/apiCalls/transactions/getTransactionByHash.cjs +1 -51
- package/out/apiCalls/transactions/getTransactionByHash.cjs.map +2 -2
- package/out/apiCalls/transactions/getTransactionByHash.d.ts +1 -1
- package/out/apiCalls/transactions/getTransactionByHash.mjs +1 -1
- package/out/apiCalls/transactions/getTransactions.cjs +1 -76
- package/out/apiCalls/transactions/getTransactions.cjs.map +2 -2
- package/out/apiCalls/transactions/getTransactions.d.ts +1 -1
- package/out/apiCalls/transactions/getTransactionsByHashes.cjs +1 -47
- package/out/apiCalls/transactions/getTransactionsByHashes.cjs.map +2 -2
- package/out/apiCalls/transactions/getTransactionsByHashes.mjs +1 -1
- package/out/apiCalls/utils/axiosFetcher.cjs +1 -29
- package/out/apiCalls/utils/axiosFetcher.cjs.map +2 -2
- package/out/apiCalls/utils/axiosInstance.cjs +1 -105
- package/out/apiCalls/utils/axiosInstance.cjs.map +2 -2
- package/out/apiCalls/utils/getCleanApiAddress.cjs +1 -30
- package/out/apiCalls/utils/getCleanApiAddress.cjs.map +2 -2
- package/out/apiCalls/utils/index.cjs +1 -26
- package/out/apiCalls/utils/index.cjs.map +2 -2
- package/out/apiCalls/websocket/getWebsocketUrl.cjs +1 -49
- package/out/apiCalls/websocket/getWebsocketUrl.cjs.map +2 -2
- package/out/apiCalls/websocket/index.cjs +1 -22
- package/out/apiCalls/websocket/index.cjs.map +2 -2
- package/out/constants/UITags.enum.cjs +1 -37
- package/out/constants/UITags.enum.cjs.map +2 -2
- package/out/constants/browser.constants.cjs +1 -34
- package/out/constants/browser.constants.cjs.map +2 -2
- package/out/constants/browser.constants.mjs +1 -1
- package/out/constants/index.cjs +1 -40
- package/out/constants/index.cjs.map +2 -2
- package/out/constants/index.mjs +1 -1
- package/out/constants/ledger.constants.cjs +1 -131
- package/out/constants/ledger.constants.cjs.map +2 -2
- package/out/constants/mvx.constants.cjs +1 -58
- package/out/constants/mvx.constants.cjs.map +2 -2
- package/out/constants/network.constants.cjs +1 -113
- package/out/constants/network.constants.cjs.map +2 -2
- package/out/constants/placeholders.constants.cjs +1 -34
- package/out/constants/placeholders.constants.cjs.map +2 -2
- package/out/constants/providerFactory.constants.cjs +1 -41
- package/out/constants/providerFactory.constants.cjs.map +2 -2
- package/out/constants/storage.constants.cjs +1 -43
- package/out/constants/storage.constants.cjs.map +2 -2
- package/out/constants/storage.constants.mjs +1 -1
- package/out/constants/transactions.constants.cjs +1 -64
- package/out/constants/transactions.constants.cjs.map +2 -2
- package/out/constants/walletConnect.constants.cjs +1 -32
- package/out/constants/walletConnect.constants.cjs.map +2 -2
- package/out/constants/webWalletProvider.constants.cjs +1 -46
- package/out/constants/webWalletProvider.constants.cjs.map +2 -2
- package/out/constants/websocket.constants.cjs +1 -39
- package/out/constants/websocket.constants.cjs.map +2 -2
- package/out/constants/window.constants.cjs +1 -31
- package/out/constants/window.constants.cjs.map +3 -3
- package/out/constants/window.constants.mjs +1 -1
- package/out/controllers/FormatAmountController/FormatAmountController.cjs +1 -57
- package/out/controllers/FormatAmountController/FormatAmountController.cjs.map +2 -2
- package/out/controllers/FormatAmountController/index.cjs +1 -22
- package/out/controllers/FormatAmountController/index.cjs.map +2 -2
- package/out/controllers/FormatAmountController/types.cjs +1 -16
- package/out/controllers/FormatAmountController/types.cjs.map +2 -2
- package/out/controllers/TransactionsHistoryController/TransactionsHistoryController.cjs +1 -34
- package/out/controllers/TransactionsHistoryController/TransactionsHistoryController.cjs.map +2 -2
- package/out/controllers/TransactionsHistoryController/TransactionsHistoryController.mjs +1 -1
- package/out/controllers/TransactionsHistoryController/index.cjs +1 -22
- package/out/controllers/TransactionsHistoryController/index.cjs.map +2 -2
- package/out/controllers/TransactionsHistoryController/index.mjs +1 -1
- package/out/controllers/TransactionsTableController/TransactionsTableController.cjs +1 -133
- package/out/controllers/TransactionsTableController/TransactionsTableController.cjs.map +2 -2
- package/out/controllers/TransactionsTableController/TransactionsTableController.mjs +1 -1
- package/out/controllers/TransactionsTableController/index.cjs +1 -22
- package/out/controllers/TransactionsTableController/index.cjs.map +2 -2
- package/out/controllers/TransactionsTableController/index.mjs +1 -1
- package/out/controllers/TransactionsTableController/transactionsTableController.types.cjs +1 -16
- package/out/controllers/TransactionsTableController/transactionsTableController.types.cjs.map +2 -2
- package/out/controllers/index.cjs +1 -22
- package/out/controllers/index.cjs.map +2 -2
- package/out/index.cjs +1 -32
- package/out/index.cjs.map +2 -2
- package/out/index.mjs +1 -1
- package/out/lib/sdkCore.cjs +1 -46
- package/out/lib/sdkCore.cjs.map +2 -2
- package/out/lib/sdkDappUi.cjs +1 -53
- package/out/lib/sdkDappUi.cjs.map +2 -2
- package/out/lib/sdkDappUi.mjs +1 -1
- package/out/lib/sdkDappUtils.cjs +1 -44
- package/out/lib/sdkDappUtils.cjs.map +2 -2
- package/out/lib/sdkWebWalletCrossWindowProvider.cjs +1 -33
- package/out/lib/sdkWebWalletCrossWindowProvider.cjs.map +2 -2
- package/out/lib/sdkWebWalletIframeProvider.cjs +1 -28
- package/out/lib/sdkWebWalletIframeProvider.cjs.map +2 -2
- package/out/lib/sdkWebviewProvider.cjs +1 -28
- package/out/lib/sdkWebviewProvider.cjs.map +2 -2
- package/out/managers/LogoutManager/LogoutManager.cjs +1 -167
- package/out/managers/LogoutManager/LogoutManager.cjs.map +2 -2
- package/out/managers/LogoutManager/LogoutManager.mjs +1 -1
- package/out/managers/LogoutManager/helpers/getHumanReadableTokenExpirationTime.cjs +1 -56
- package/out/managers/LogoutManager/helpers/getHumanReadableTokenExpirationTime.cjs.map +2 -2
- package/out/managers/NotificationsFeedManager/NotificationsFeedManager.cjs +1 -139
- package/out/managers/NotificationsFeedManager/NotificationsFeedManager.cjs.map +2 -2
- package/out/managers/NotificationsFeedManager/NotificationsFeedManager.mjs +1 -1
- package/out/managers/NotificationsFeedManager/index.cjs +1 -24
- package/out/managers/NotificationsFeedManager/index.cjs.map +2 -2
- package/out/managers/NotificationsFeedManager/index.mjs +1 -1
- package/out/managers/NotificationsFeedManager/types/index.cjs +1 -22
- package/out/managers/NotificationsFeedManager/types/index.cjs.map +2 -2
- package/out/managers/NotificationsFeedManager/types/notifications.types.cjs +1 -35
- package/out/managers/NotificationsFeedManager/types/notifications.types.cjs.map +2 -2
- package/out/managers/ToastManager/ToastManager.cjs +1 -203
- package/out/managers/ToastManager/ToastManager.cjs.map +2 -2
- package/out/managers/ToastManager/ToastManager.mjs +1 -1
- package/out/managers/ToastManager/ToastUICoordinator.cjs +1 -125
- package/out/managers/ToastManager/ToastUICoordinator.cjs.map +2 -2
- package/out/managers/ToastManager/ToastUICoordinator.mjs +1 -1
- package/out/managers/ToastManager/helpers/LifetimeManager.cjs +1 -71
- package/out/managers/ToastManager/helpers/LifetimeManager.cjs.map +2 -2
- package/out/managers/ToastManager/helpers/LifetimeManager.mjs +1 -1
- package/out/managers/ToastManager/helpers/createToastsFromTransactions.cjs +1 -87
- package/out/managers/ToastManager/helpers/createToastsFromTransactions.cjs.map +3 -3
- package/out/managers/ToastManager/helpers/createToastsFromTransactions.d.ts +1 -1
- package/out/managers/ToastManager/helpers/createToastsFromTransactions.mjs +1 -1
- package/out/managers/ToastManager/helpers/createTransactionToast.cjs +1 -66
- package/out/managers/ToastManager/helpers/createTransactionToast.cjs.map +2 -2
- package/out/managers/ToastManager/helpers/getToastDataStateByStatus.cjs +1 -104
- package/out/managers/ToastManager/helpers/getToastDataStateByStatus.cjs.map +2 -2
- package/out/managers/ToastManager/helpers/getToastTransactionsStatus.cjs +1 -40
- package/out/managers/ToastManager/helpers/getToastTransactionsStatus.cjs.map +2 -2
- package/out/managers/ToastManager/index.cjs +1 -22
- package/out/managers/ToastManager/index.cjs.map +2 -2
- package/out/managers/ToastManager/index.mjs +1 -1
- package/out/managers/ToastManager/types/index.cjs +1 -22
- package/out/managers/ToastManager/types/index.cjs.map +2 -2
- package/out/managers/ToastManager/types/toast.types.cjs +1 -47
- package/out/managers/ToastManager/types/toast.types.cjs.map +2 -2
- package/out/managers/TransactionManager/TransactionManager.cjs +1 -229
- package/out/managers/TransactionManager/TransactionManager.cjs.map +2 -2
- package/out/managers/TransactionManager/TransactionManager.mjs +1 -1
- package/out/managers/TransactionManager/TransactionManager.types.cjs +1 -16
- package/out/managers/TransactionManager/TransactionManager.types.cjs.map +2 -2
- package/out/managers/TransactionManager/helpers/getAreTransactionsCorssShards.cjs +1 -50
- package/out/managers/TransactionManager/helpers/getAreTransactionsCorssShards.cjs.map +2 -2
- package/out/managers/TransactionManager/helpers/getAreTransactionsCorssShards.mjs +1 -1
- package/out/managers/TransactionManager/helpers/getToastDuration.cjs +1 -52
- package/out/managers/TransactionManager/helpers/getToastDuration.cjs.map +2 -2
- package/out/managers/TransactionManager/helpers/getToastDuration.mjs +1 -1
- package/out/managers/TransactionManager/helpers/getTransactionsStatus.cjs +1 -53
- package/out/managers/TransactionManager/helpers/getTransactionsStatus.cjs.map +2 -2
- package/out/managers/TransactionManager/helpers/isBatchTransaction.cjs +1 -30
- package/out/managers/TransactionManager/helpers/isBatchTransaction.cjs.map +2 -2
- package/out/managers/TransactionManager/helpers/isCrossShardTransaction.cjs +1 -47
- package/out/managers/TransactionManager/helpers/isCrossShardTransaction.cjs.map +2 -2
- package/out/managers/TransactionManager/helpers/sessionCallbacks.cjs +1 -54
- package/out/managers/TransactionManager/helpers/sessionCallbacks.cjs.map +2 -2
- package/out/managers/TransactionManager/index.cjs +1 -22
- package/out/managers/TransactionManager/index.cjs.map +2 -2
- package/out/managers/TransactionManager/index.mjs +1 -1
- package/out/managers/UnlockPanelManager/UnlockPanelManager.cjs +1 -165
- package/out/managers/UnlockPanelManager/UnlockPanelManager.cjs.map +2 -2
- package/out/managers/UnlockPanelManager/UnlockPanelManager.mjs +1 -1
- package/out/managers/UnlockPanelManager/UnlockPanelManager.types.cjs +1 -36
- package/out/managers/UnlockPanelManager/UnlockPanelManager.types.cjs.map +2 -2
- package/out/managers/UnlockPanelManager/index.cjs +1 -22
- package/out/managers/UnlockPanelManager/index.cjs.map +2 -2
- package/out/managers/UnlockPanelManager/index.mjs +1 -1
- package/out/managers/index.cjs +1 -24
- package/out/managers/index.cjs.map +2 -2
- package/out/managers/index.mjs +1 -1
- package/out/managers/internal/LedgerConnectStateManager/LedgerConnectStateManager.cjs +1 -214
- package/out/managers/internal/LedgerConnectStateManager/LedgerConnectStateManager.cjs.map +2 -2
- package/out/managers/internal/LedgerConnectStateManager/LedgerConnectStateManager.mjs +1 -1
- package/out/managers/internal/LedgerConnectStateManager/index.cjs +1 -24
- package/out/managers/internal/LedgerConnectStateManager/index.cjs.map +2 -2
- package/out/managers/internal/LedgerConnectStateManager/index.mjs +1 -1
- package/out/managers/internal/LedgerConnectStateManager/types/index.cjs +1 -22
- package/out/managers/internal/LedgerConnectStateManager/types/index.cjs.map +2 -2
- package/out/managers/internal/LedgerConnectStateManager/types/ledgerConnectEvents.enum.cjs +1 -36
- package/out/managers/internal/LedgerConnectStateManager/types/ledgerConnectEvents.enum.cjs.map +2 -2
- package/out/managers/internal/LedgerIdleStateManager/LedgerIdleStateManager.cjs +1 -124
- package/out/managers/internal/LedgerIdleStateManager/LedgerIdleStateManager.cjs.map +2 -2
- package/out/managers/internal/LedgerIdleStateManager/LedgerIdleStateManager.mjs +1 -1
- package/out/managers/internal/PendingTransactionsStateManager/PendingTransactionsStateManager.cjs +1 -58
- package/out/managers/internal/PendingTransactionsStateManager/PendingTransactionsStateManager.cjs.map +2 -2
- package/out/managers/internal/PendingTransactionsStateManager/PendingTransactionsStateManager.mjs +1 -1
- package/out/managers/internal/PendingTransactionsStateManager/index.cjs +1 -24
- package/out/managers/internal/PendingTransactionsStateManager/index.cjs.map +2 -2
- package/out/managers/internal/PendingTransactionsStateManager/index.mjs +1 -1
- package/out/managers/internal/PendingTransactionsStateManager/types/index.cjs +1 -22
- package/out/managers/internal/PendingTransactionsStateManager/types/index.cjs.map +2 -2
- package/out/managers/internal/PendingTransactionsStateManager/types/pendingTransactions.types.cjs +1 -32
- package/out/managers/internal/PendingTransactionsStateManager/types/pendingTransactions.types.cjs.map +2 -2
- package/out/managers/internal/SidePanelBaseManager/SidePanelBaseManager.cjs +1 -67
- package/out/managers/internal/SidePanelBaseManager/SidePanelBaseManager.cjs.map +2 -2
- package/out/managers/internal/SidePanelBaseManager/SidePanelBaseManager.mjs +1 -1
- package/out/managers/internal/SidePanelBaseManager/index.cjs +1 -22
- package/out/managers/internal/SidePanelBaseManager/index.cjs.map +2 -2
- package/out/managers/internal/SidePanelBaseManager/index.mjs +1 -1
- package/out/managers/internal/SignTransactionsStateManager/SignTransactionsStateManager.cjs +1 -138
- package/out/managers/internal/SignTransactionsStateManager/SignTransactionsStateManager.cjs.map +2 -2
- package/out/managers/internal/SignTransactionsStateManager/SignTransactionsStateManager.mjs +1 -1
- package/out/managers/internal/SignTransactionsStateManager/index.cjs +1 -22
- package/out/managers/internal/SignTransactionsStateManager/index.cjs.map +2 -2
- package/out/managers/internal/SignTransactionsStateManager/index.mjs +1 -1
- package/out/managers/internal/SignTransactionsStateManager/types/index.cjs +1 -22
- package/out/managers/internal/SignTransactionsStateManager/types/index.cjs.map +2 -2
- package/out/managers/internal/SignTransactionsStateManager/types/signTransactionsPanel.types.cjs +1 -36
- package/out/managers/internal/SignTransactionsStateManager/types/signTransactionsPanel.types.cjs.map +2 -2
- package/out/managers/internal/UIBaseManager/UIBaseManager.cjs +1 -102
- package/out/managers/internal/UIBaseManager/UIBaseManager.cjs.map +2 -2
- package/out/managers/internal/UIBaseManager/UIBaseManager.mjs +1 -1
- package/out/managers/internal/WalletConnectStateManager/WalletConnectStateManager.cjs +1 -78
- package/out/managers/internal/WalletConnectStateManager/WalletConnectStateManager.cjs.map +2 -2
- package/out/managers/internal/WalletConnectStateManager/WalletConnectStateManager.mjs +1 -1
- package/out/managers/internal/WalletConnectStateManager/index.cjs +1 -22
- package/out/managers/internal/WalletConnectStateManager/index.cjs.map +2 -2
- package/out/managers/internal/WalletConnectStateManager/index.mjs +1 -1
- package/out/managers/internal/index.cjs +1 -34
- package/out/managers/internal/index.cjs.map +2 -2
- package/out/managers/internal/index.mjs +1 -1
- package/out/methods/account/getAccount.cjs +1 -32
- package/out/methods/account/getAccount.cjs.map +2 -2
- package/out/methods/account/getAccount.mjs +1 -1
- package/out/methods/account/getAccountInfo.cjs +1 -32
- package/out/methods/account/getAccountInfo.cjs.map +2 -2
- package/out/methods/account/getAccountInfo.mjs +1 -1
- package/out/methods/account/getAddress.cjs +1 -32
- package/out/methods/account/getAddress.cjs.map +2 -2
- package/out/methods/account/getAddress.mjs +1 -1
- package/out/methods/account/getIsLoggedIn.cjs +1 -32
- package/out/methods/account/getIsLoggedIn.cjs.map +2 -2
- package/out/methods/account/getIsLoggedIn.mjs +1 -1
- package/out/methods/account/getLatestNonce.cjs +1 -55
- package/out/methods/account/getLatestNonce.cjs.map +2 -2
- package/out/methods/account/getLatestNonce.mjs +1 -1
- package/out/methods/initApp/gastStationMetadata/setGasStationMetadata.cjs +1 -61
- package/out/methods/initApp/gastStationMetadata/setGasStationMetadata.cjs.map +2 -2
- package/out/methods/initApp/gastStationMetadata/setGasStationMetadata.mjs +1 -1
- package/out/methods/initApp/initApp.cjs +1 -136
- package/out/methods/initApp/initApp.cjs.map +2 -2
- package/out/methods/initApp/initApp.mjs +1 -1
- package/out/methods/initApp/initApp.mjs.map +1 -1
- package/out/methods/initApp/initApp.types.cjs +1 -16
- package/out/methods/initApp/initApp.types.cjs.map +2 -2
- package/out/methods/initApp/websocket/initializeWebsocketConnection.cjs +1 -126
- package/out/methods/initApp/websocket/initializeWebsocketConnection.cjs.map +2 -2
- package/out/methods/initApp/websocket/initializeWebsocketConnection.mjs +1 -1
- package/out/methods/initApp/websocket/registerWebsocket.cjs +1 -37
- package/out/methods/initApp/websocket/registerWebsocket.cjs.map +2 -2
- package/out/methods/initApp/websocket/registerWebsocket.mjs +1 -1
- package/out/methods/loginInfo/getLoginInfo.cjs +1 -36
- package/out/methods/loginInfo/getLoginInfo.cjs.map +2 -2
- package/out/methods/loginInfo/getLoginInfo.mjs +1 -1
- package/out/methods/network/getEgldLabel.cjs +1 -32
- package/out/methods/network/getEgldLabel.cjs.map +2 -2
- package/out/methods/network/getEgldLabel.mjs +1 -1
- package/out/methods/network/getExplorerAddress.cjs +1 -32
- package/out/methods/network/getExplorerAddress.cjs.map +2 -2
- package/out/methods/network/getExplorerAddress.mjs +1 -1
- package/out/methods/network/getNetworkConfig.cjs +1 -32
- package/out/methods/network/getNetworkConfig.cjs.map +2 -2
- package/out/methods/network/getNetworkConfig.mjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkBatch.cjs +1 -158
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkBatch.cjs.map +3 -3
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkBatch.mjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkTransactionStatus.cjs +1 -43
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkTransactionStatus.cjs.map +2 -2
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkTransactionStatus.mjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/getPendingTransactions.cjs +1 -40
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/getPendingTransactions.cjs.map +2 -2
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/index.cjs +1 -22
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/index.cjs.map +2 -2
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/index.mjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/manageFailedTransactions.cjs +1 -66
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/manageFailedTransactions.cjs.map +3 -3
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/manageFailedTransactions.mjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/runSessionCallbacks.cjs +1 -49
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/runSessionCallbacks.cjs.map +2 -2
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/updateTransactionAndSessionStatus.cjs +2 -0
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/updateTransactionAndSessionStatus.cjs.map +7 -0
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/updateTransactionAndSessionStatus.d.ts +3 -0
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/updateTransactionAndSessionStatus.mjs +2 -0
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/updateTransactionAndSessionStatus.mjs.map +7 -0
- package/out/methods/trackTransactions/helpers/getPollingInterval.cjs +1 -37
- package/out/methods/trackTransactions/helpers/getPollingInterval.cjs.map +2 -2
- package/out/methods/trackTransactions/helpers/getPollingInterval.mjs +1 -1
- package/out/methods/trackTransactions/trackTransactions.cjs +1 -117
- package/out/methods/trackTransactions/trackTransactions.cjs.map +2 -2
- package/out/methods/trackTransactions/trackTransactions.mjs +1 -1
- package/out/methods/transactions/getFailedTransactions.cjs +1 -32
- package/out/methods/transactions/getFailedTransactions.cjs.map +2 -2
- package/out/methods/transactions/getFailedTransactions.mjs +1 -1
- package/out/methods/transactions/getFailedTransactionsSessions.cjs +1 -32
- package/out/methods/transactions/getFailedTransactionsSessions.cjs.map +2 -2
- package/out/methods/transactions/getFailedTransactionsSessions.mjs +1 -1
- package/out/methods/transactions/getPendingTransactions.cjs +1 -32
- package/out/methods/transactions/getPendingTransactions.cjs.map +2 -2
- package/out/methods/transactions/getPendingTransactions.mjs +1 -1
- package/out/methods/transactions/getPendingTransactionsSessions.cjs +1 -32
- package/out/methods/transactions/getPendingTransactionsSessions.cjs.map +2 -2
- package/out/methods/transactions/getPendingTransactionsSessions.mjs +1 -1
- package/out/methods/transactions/getSuccessfulTransactions.cjs +1 -32
- package/out/methods/transactions/getSuccessfulTransactions.cjs.map +2 -2
- package/out/methods/transactions/getSuccessfulTransactions.mjs +1 -1
- package/out/methods/transactions/getSuccessfulTransactionsSessions.cjs +1 -32
- package/out/methods/transactions/getSuccessfulTransactionsSessions.cjs.map +2 -2
- package/out/methods/transactions/getSuccessfulTransactionsSessions.mjs +1 -1
- package/out/methods/transactions/getTransactionSessions.cjs +1 -32
- package/out/methods/transactions/getTransactionSessions.cjs.map +2 -2
- package/out/methods/transactions/getTransactionSessions.mjs +1 -1
- package/out/providers/DappProvider/DappProvider.cjs +1 -112
- package/out/providers/DappProvider/DappProvider.cjs.map +2 -2
- package/out/providers/DappProvider/DappProvider.mjs +1 -1
- package/out/providers/DappProvider/helpers/computeNonces/computeNonce.cjs +1 -36
- package/out/providers/DappProvider/helpers/computeNonces/computeNonce.cjs.map +2 -2
- package/out/providers/DappProvider/helpers/computeNonces/computeNonces.cjs +1 -46
- package/out/providers/DappProvider/helpers/computeNonces/computeNonces.cjs.map +2 -2
- package/out/providers/DappProvider/helpers/login/helpers/accountLogin.cjs +1 -66
- package/out/providers/DappProvider/helpers/login/helpers/accountLogin.cjs.map +2 -2
- package/out/providers/DappProvider/helpers/login/helpers/accountLogin.mjs +1 -1
- package/out/providers/DappProvider/helpers/login/helpers/extractAddressFromToken.cjs +1 -44
- package/out/providers/DappProvider/helpers/login/helpers/extractAddressFromToken.cjs.map +2 -2
- package/out/providers/DappProvider/helpers/login/helpers/extractAddressFromToken.mjs +1 -1
- package/out/providers/DappProvider/helpers/login/helpers/getAccountFromToken.cjs +1 -44
- package/out/providers/DappProvider/helpers/login/helpers/getAccountFromToken.cjs.map +2 -2
- package/out/providers/DappProvider/helpers/login/helpers/getAccountFromToken.mjs +1 -1
- package/out/providers/DappProvider/helpers/login/helpers/getModifiedLoginToken.cjs +1 -55
- package/out/providers/DappProvider/helpers/login/helpers/getModifiedLoginToken.cjs.map +2 -2
- package/out/providers/DappProvider/helpers/login/helpers/getModifiedLoginToken.mjs +1 -1
- package/out/providers/DappProvider/helpers/login/login.cjs +1 -121
- package/out/providers/DappProvider/helpers/login/login.cjs.map +2 -2
- package/out/providers/DappProvider/helpers/login/login.mjs +1 -1
- package/out/providers/DappProvider/helpers/logout/logout.cjs +1 -63
- package/out/providers/DappProvider/helpers/logout/logout.cjs.map +2 -2
- package/out/providers/DappProvider/helpers/logout/logout.mjs +1 -1
- package/out/providers/DappProvider/helpers/signErrors/handleSignError.cjs +1 -78
- package/out/providers/DappProvider/helpers/signErrors/handleSignError.cjs.map +2 -2
- package/out/providers/DappProvider/helpers/signErrors/handleSignError.mjs +1 -1
- package/out/providers/DappProvider/helpers/signMessage/getVerifier.cjs +1 -32
- package/out/providers/DappProvider/helpers/signMessage/getVerifier.cjs.map +2 -2
- package/out/providers/DappProvider/helpers/signMessage/signMessageWithProvider.cjs +1 -42
- package/out/providers/DappProvider/helpers/signMessage/signMessageWithProvider.cjs.map +2 -2
- package/out/providers/DappProvider/helpers/signMessage/signMessageWithProvider.mjs +1 -1
- package/out/providers/DappProvider/helpers/signMessage/verifyMessage.cjs +1 -60
- package/out/providers/DappProvider/helpers/signMessage/verifyMessage.cjs.map +2 -2
- package/out/providers/DappProvider/helpers/signTransactions/signTransactionsWithProvider.cjs +1 -58
- package/out/providers/DappProvider/helpers/signTransactions/signTransactionsWithProvider.cjs.map +2 -2
- package/out/providers/DappProvider/helpers/signTransactions/signTransactionsWithProvider.mjs +1 -1
- package/out/providers/DappProvider/index.cjs +1 -22
- package/out/providers/DappProvider/index.cjs.map +2 -2
- package/out/providers/DappProvider/index.mjs +1 -1
- package/out/providers/ProviderFactory.cjs +1 -127
- package/out/providers/ProviderFactory.cjs.map +2 -2
- package/out/providers/ProviderFactory.mjs +1 -1
- package/out/providers/helpers/accountProvider.cjs +1 -38
- package/out/providers/helpers/accountProvider.cjs.map +2 -2
- package/out/providers/helpers/accountProvider.mjs +1 -1
- package/out/providers/helpers/cancelCrossWindowAction.cjs +1 -37
- package/out/providers/helpers/cancelCrossWindowAction.cjs.map +2 -2
- package/out/providers/helpers/cancelCrossWindowAction.mjs +1 -1
- package/out/providers/helpers/clearInitiatedLogins.cjs +1 -48
- package/out/providers/helpers/clearInitiatedLogins.cjs.map +2 -2
- package/out/providers/helpers/emptyProvider.cjs +1 -106
- package/out/providers/helpers/emptyProvider.cjs.map +2 -2
- package/out/providers/helpers/restoreProvider.cjs +1 -60
- package/out/providers/helpers/restoreProvider.cjs.map +3 -3
- package/out/providers/helpers/restoreProvider.mjs +1 -1
- package/out/providers/index.cjs +1 -31
- package/out/providers/index.cjs.map +2 -2
- package/out/providers/index.mjs +1 -1
- package/out/providers/strategies/BaseProviderStrategy/BaseProviderStrategy.cjs +1 -129
- package/out/providers/strategies/BaseProviderStrategy/BaseProviderStrategy.cjs.map +2 -2
- package/out/providers/strategies/BaseProviderStrategy/BaseProviderStrategy.mjs +1 -1
- package/out/providers/strategies/CrossWindowProviderStrategy/CrossWindowProviderStrategy.cjs +1 -106
- package/out/providers/strategies/CrossWindowProviderStrategy/CrossWindowProviderStrategy.cjs.map +2 -2
- package/out/providers/strategies/CrossWindowProviderStrategy/CrossWindowProviderStrategy.mjs +1 -1
- package/out/providers/strategies/CrossWindowProviderStrategy/index.cjs +1 -22
- package/out/providers/strategies/CrossWindowProviderStrategy/index.cjs.map +2 -2
- package/out/providers/strategies/CrossWindowProviderStrategy/index.mjs +1 -1
- package/out/providers/strategies/ExtensionProviderStrategy/ExtensionProviderStrategy.cjs +1 -96
- package/out/providers/strategies/ExtensionProviderStrategy/ExtensionProviderStrategy.cjs.map +2 -2
- package/out/providers/strategies/ExtensionProviderStrategy/ExtensionProviderStrategy.mjs +1 -1
- package/out/providers/strategies/ExtensionProviderStrategy/index.cjs +1 -22
- package/out/providers/strategies/ExtensionProviderStrategy/index.cjs.map +2 -2
- package/out/providers/strategies/ExtensionProviderStrategy/index.mjs +1 -1
- package/out/providers/strategies/IframeProviderStrategy/IframeProviderStrategy.cjs +1 -118
- package/out/providers/strategies/IframeProviderStrategy/IframeProviderStrategy.cjs.map +2 -2
- package/out/providers/strategies/IframeProviderStrategy/IframeProviderStrategy.mjs +1 -1
- package/out/providers/strategies/IframeProviderStrategy/index.cjs +1 -24
- package/out/providers/strategies/IframeProviderStrategy/index.cjs.map +2 -2
- package/out/providers/strategies/IframeProviderStrategy/index.mjs +1 -1
- package/out/providers/strategies/IframeProviderStrategy/types/iframe.types.cjs +1 -16
- package/out/providers/strategies/IframeProviderStrategy/types/iframe.types.cjs.map +2 -2
- package/out/providers/strategies/IframeProviderStrategy/types/index.cjs +1 -22
- package/out/providers/strategies/IframeProviderStrategy/types/index.cjs.map +2 -2
- package/out/providers/strategies/LedgerProviderStrategy/LedgerProviderStrategy.cjs +1 -181
- package/out/providers/strategies/LedgerProviderStrategy/LedgerProviderStrategy.cjs.map +2 -2
- package/out/providers/strategies/LedgerProviderStrategy/LedgerProviderStrategy.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount.cjs +1 -124
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount.cjs.map +2 -2
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getAuthTokenText.cjs +1 -68
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getAuthTokenText.cjs.map +2 -2
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getAuthTokenText.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerConfiguration.cjs +1 -37
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerConfiguration.cjs.map +2 -2
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerConfiguration.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerErrorCodes.cjs +1 -47
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerErrorCodes.cjs.map +2 -2
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider.cjs +1 -80
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider.cjs.map +2 -2
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerVersionOptions.cjs +1 -82
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerVersionOptions.cjs.map +2 -2
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerVersionOptions.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/index.cjs +1 -32
- package/out/providers/strategies/LedgerProviderStrategy/helpers/index.cjs.map +2 -2
- package/out/providers/strategies/LedgerProviderStrategy/helpers/index.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/initializeLedgerProvider.cjs +1 -65
- package/out/providers/strategies/LedgerProviderStrategy/helpers/initializeLedgerProvider.cjs.map +2 -2
- package/out/providers/strategies/LedgerProviderStrategy/helpers/initializeLedgerProvider.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/secondsToTimeString.cjs +1 -61
- package/out/providers/strategies/LedgerProviderStrategy/helpers/secondsToTimeString.cjs.map +2 -2
- package/out/providers/strategies/LedgerProviderStrategy/helpers/signLedgerMessage.cjs +1 -46
- package/out/providers/strategies/LedgerProviderStrategy/helpers/signLedgerMessage.cjs.map +2 -2
- package/out/providers/strategies/LedgerProviderStrategy/helpers/signLedgerMessage.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/index.cjs +1 -22
- package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/index.cjs.map +2 -2
- package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/index.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/updateAccountsList.cjs +1 -122
- package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/updateAccountsList.cjs.map +2 -2
- package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/updateAccountsList.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/updateAccountsList.types.cjs +1 -16
- package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/updateAccountsList.types.cjs.map +2 -2
- package/out/providers/strategies/LedgerProviderStrategy/index.cjs +1 -24
- package/out/providers/strategies/LedgerProviderStrategy/index.cjs.map +2 -2
- package/out/providers/strategies/LedgerProviderStrategy/index.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/types/index.cjs +1 -22
- package/out/providers/strategies/LedgerProviderStrategy/types/index.cjs.map +2 -2
- package/out/providers/strategies/LedgerProviderStrategy/types/ledger.types.cjs +1 -37
- package/out/providers/strategies/LedgerProviderStrategy/types/ledger.types.cjs.map +2 -2
- package/out/providers/strategies/LedgerProviderStrategy/types/ledgerProvider.types.cjs +1 -16
- package/out/providers/strategies/LedgerProviderStrategy/types/ledgerProvider.types.cjs.map +2 -2
- package/out/providers/strategies/WalletConnectProviderStrategy/WalletConnectProviderStrategy.cjs +1 -280
- package/out/providers/strategies/WalletConnectProviderStrategy/WalletConnectProviderStrategy.cjs.map +2 -2
- package/out/providers/strategies/WalletConnectProviderStrategy/WalletConnectProviderStrategy.mjs +1 -1
- package/out/providers/strategies/WalletConnectProviderStrategy/index.cjs +1 -24
- package/out/providers/strategies/WalletConnectProviderStrategy/index.cjs.map +2 -2
- package/out/providers/strategies/WalletConnectProviderStrategy/index.mjs +1 -1
- package/out/providers/strategies/WalletConnectProviderStrategy/types/index.cjs +1 -22
- package/out/providers/strategies/WalletConnectProviderStrategy/types/index.cjs.map +2 -2
- package/out/providers/strategies/WalletConnectProviderStrategy/types/walletConnect.types.cjs +1 -48
- package/out/providers/strategies/WalletConnectProviderStrategy/types/walletConnect.types.cjs.map +2 -2
- package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/WebviewClient.cjs +1 -186
- package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/WebviewClient.cjs.map +3 -3
- package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/WebviewClient.mjs +1 -1
- package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/index.cjs +1 -22
- package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/index.cjs.map +2 -2
- package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/index.mjs +1 -1
- package/out/providers/strategies/WebviewProviderStrategy/WebviewProviderStrategy.cjs +1 -97
- package/out/providers/strategies/WebviewProviderStrategy/WebviewProviderStrategy.cjs.map +2 -2
- package/out/providers/strategies/WebviewProviderStrategy/WebviewProviderStrategy.mjs +1 -1
- package/out/providers/strategies/WebviewProviderStrategy/index.cjs +1 -22
- package/out/providers/strategies/WebviewProviderStrategy/index.cjs.map +2 -2
- package/out/providers/strategies/WebviewProviderStrategy/index.mjs +1 -1
- package/out/providers/strategies/helpers/getPendingTransactionsHandlers.cjs +1 -41
- package/out/providers/strategies/helpers/getPendingTransactionsHandlers.cjs.map +2 -2
- package/out/providers/strategies/helpers/getPendingTransactionsHandlers.mjs +1 -1
- package/out/providers/strategies/helpers/index.cjs +1 -28
- package/out/providers/strategies/helpers/index.cjs.map +2 -2
- package/out/providers/strategies/helpers/index.mjs +1 -1
- package/out/providers/strategies/helpers/signMessage/signMessage.cjs +1 -83
- package/out/providers/strategies/helpers/signMessage/signMessage.cjs.map +2 -2
- package/out/providers/strategies/helpers/signMessage/signMessage.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/calculateFeeInFiat.cjs +1 -50
- package/out/providers/strategies/helpers/signTransactions/helpers/calculateFeeInFiat.cjs.map +2 -2
- package/out/providers/strategies/helpers/signTransactions/helpers/calculateFeeLimit.cjs +1 -84
- package/out/providers/strategies/helpers/signTransactions/helpers/calculateFeeLimit.cjs.map +2 -2
- package/out/providers/strategies/helpers/signTransactions/helpers/calculateFeeLimit.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/getCommonData.cjs +1 -180
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/getCommonData.cjs.map +2 -2
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/getCommonData.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/checkIsValidSender.cjs +1 -38
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/checkIsValidSender.cjs.map +2 -2
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/decodeDataField.cjs +1 -46
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/decodeDataField.cjs.map +2 -2
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getExtractTransactionsInfo.cjs +1 -93
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getExtractTransactionsInfo.cjs.map +2 -2
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getExtractTransactionsInfo.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getHighlight.cjs +1 -33
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getHighlight.cjs.map +2 -2
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getPpuOptions.cjs +1 -92
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getPpuOptions.cjs.map +2 -2
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getRecommendedGasPrice.cjs +1 -43
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getRecommendedGasPrice.cjs.map +2 -2
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getScCall.cjs +1 -39
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getScCall.cjs.map +2 -2
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getTokenType.cjs +1 -38
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getTokenType.cjs.map +2 -2
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getTxInfoByDataField.cjs +1 -50
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getTxInfoByDataField.cjs.map +2 -2
- package/out/providers/strategies/helpers/signTransactions/helpers/getFeeData.cjs +1 -56
- package/out/providers/strategies/helpers/signTransactions/helpers/getFeeData.cjs.map +2 -2
- package/out/providers/strategies/helpers/signTransactions/helpers/getFeeData.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/getMultiEsdtTransferData.cjs +1 -35
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/getMultiEsdtTransferData.cjs.map +2 -2
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/getAllStringOccurrences.cjs +1 -36
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/getAllStringOccurrences.cjs.map +2 -2
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/getTokenFromData.cjs +1 -126
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/getTokenFromData.cjs.map +2 -2
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/parseMultiEsdtTransferData.cjs +1 -118
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/parseMultiEsdtTransferData.cjs.map +2 -2
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/parseMultiEsdtTransferDataForMultipleTransactions.cjs +1 -86
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/parseMultiEsdtTransferDataForMultipleTransactions.cjs.map +2 -2
- package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/getCrossWindowProvider.cjs +1 -46
- package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/getCrossWindowProvider.cjs.map +2 -2
- package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/getTransactionsNeedGuardianSigning.cjs +1 -39
- package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/getTransactionsNeedGuardianSigning.cjs.map +2 -2
- package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/guardTransactions.cjs +1 -50
- package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/guardTransactions.cjs.map +2 -2
- package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/guardTransactions.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/isTokenTransfer.cjs +1 -33
- package/out/providers/strategies/helpers/signTransactions/helpers/isTokenTransfer.cjs.map +2 -2
- package/out/providers/strategies/helpers/signTransactions/signTransactions.cjs +1 -232
- package/out/providers/strategies/helpers/signTransactions/signTransactions.cjs.map +2 -2
- package/out/providers/strategies/helpers/signTransactions/signTransactions.mjs +1 -1
- package/out/providers/strategies/index.cjs +1 -30
- package/out/providers/strategies/index.cjs.map +2 -2
- package/out/providers/strategies/index.mjs +1 -1
- package/out/providers/types/providerFactory.types.cjs +1 -37
- package/out/providers/types/providerFactory.types.cjs.map +2 -2
- package/out/react/account/useGetAccount.cjs +1 -32
- package/out/react/account/useGetAccount.cjs.map +2 -2
- package/out/react/account/useGetAccount.mjs +1 -1
- package/out/react/account/useGetAccountInfo.cjs +1 -32
- package/out/react/account/useGetAccountInfo.cjs.map +2 -2
- package/out/react/account/useGetAccountInfo.mjs +1 -1
- package/out/react/account/useGetIsLoggedIn.cjs +1 -33
- package/out/react/account/useGetIsLoggedIn.cjs.map +2 -2
- package/out/react/account/useGetIsLoggedIn.mjs +1 -1
- package/out/react/account/useGetLatestNonce.cjs +1 -34
- package/out/react/account/useGetLatestNonce.cjs.map +2 -2
- package/out/react/account/useGetLatestNonce.mjs +1 -1
- package/out/react/index.cjs +1 -22
- package/out/react/index.cjs.map +2 -2
- package/out/react/index.mjs +1 -1
- package/out/react/loginInfo/useGetLoginInfo.cjs +1 -35
- package/out/react/loginInfo/useGetLoginInfo.cjs.map +2 -2
- package/out/react/loginInfo/useGetLoginInfo.mjs +1 -1
- package/out/react/network/useGetNetworkConfig.cjs +1 -32
- package/out/react/network/useGetNetworkConfig.cjs.map +2 -2
- package/out/react/network/useGetNetworkConfig.mjs +1 -1
- package/out/react/store/createBoundedStore.cjs +1 -29
- package/out/react/store/createBoundedStore.cjs.map +2 -2
- package/out/react/store/getReactStore.cjs +1 -30
- package/out/react/store/getReactStore.cjs.map +2 -2
- package/out/react/store/getReactStore.mjs +1 -1
- package/out/react/store/useSelector.cjs +1 -32
- package/out/react/store/useSelector.cjs.map +2 -2
- package/out/react/store/useSelector.mjs +1 -1
- package/out/react/transactions/useGetFailedTransactions.cjs +1 -33
- package/out/react/transactions/useGetFailedTransactions.cjs.map +2 -2
- package/out/react/transactions/useGetFailedTransactions.mjs +1 -1
- package/out/react/transactions/useGetFailedTransactionsSessions.cjs +1 -33
- package/out/react/transactions/useGetFailedTransactionsSessions.cjs.map +2 -2
- package/out/react/transactions/useGetFailedTransactionsSessions.mjs +1 -1
- package/out/react/transactions/useGetPendingTransactions.cjs +1 -33
- package/out/react/transactions/useGetPendingTransactions.cjs.map +2 -2
- package/out/react/transactions/useGetPendingTransactions.mjs +1 -1
- package/out/react/transactions/useGetPendingTransactionsSessions.cjs +1 -33
- package/out/react/transactions/useGetPendingTransactionsSessions.cjs.map +2 -2
- package/out/react/transactions/useGetPendingTransactionsSessions.mjs +1 -1
- package/out/react/transactions/useGetSuccessfulTransactions.cjs +1 -33
- package/out/react/transactions/useGetSuccessfulTransactions.cjs.map +2 -2
- package/out/react/transactions/useGetSuccessfulTransactions.mjs +1 -1
- package/out/react/transactions/useGetSuccessfulTransactionsSessions.cjs +1 -35
- package/out/react/transactions/useGetSuccessfulTransactionsSessions.cjs.map +2 -2
- package/out/react/transactions/useGetSuccessfulTransactionsSessions.mjs +1 -1
- package/out/react/transactions/useGetTransactionSessions.cjs +1 -33
- package/out/react/transactions/useGetTransactionSessions.cjs.map +2 -2
- package/out/react/transactions/useGetTransactionSessions.mjs +1 -1
- package/out/services/index.cjs +1 -22
- package/out/services/index.cjs.map +2 -2
- package/out/services/index.mjs +1 -1
- package/out/services/nativeAuth/helpers/decodeLoginToken.cjs +1 -62
- package/out/services/nativeAuth/helpers/decodeLoginToken.cjs.map +2 -2
- package/out/services/nativeAuth/helpers/decodeNativeAuthToken.cjs +1 -72
- package/out/services/nativeAuth/helpers/decodeNativeAuthToken.cjs.map +2 -2
- package/out/services/nativeAuth/helpers/getLatestBlockHash.cjs +1 -100
- package/out/services/nativeAuth/helpers/getLatestBlockHash.cjs.map +2 -2
- package/out/services/nativeAuth/helpers/index.cjs +1 -26
- package/out/services/nativeAuth/helpers/index.cjs.map +2 -2
- package/out/services/nativeAuth/index.cjs +1 -22
- package/out/services/nativeAuth/index.cjs.map +2 -2
- package/out/services/nativeAuth/index.mjs +1 -1
- package/out/services/nativeAuth/methods/buildNativeAuthConfig.cjs +1 -41
- package/out/services/nativeAuth/methods/buildNativeAuthConfig.cjs.map +2 -2
- package/out/services/nativeAuth/methods/buildNativeAuthConfig.mjs +1 -1
- package/out/services/nativeAuth/methods/getDefaultNativeAuthConfig.cjs +1 -42
- package/out/services/nativeAuth/methods/getDefaultNativeAuthConfig.cjs.map +2 -2
- package/out/services/nativeAuth/methods/getDefaultNativeAuthConfig.mjs +1 -1
- package/out/services/nativeAuth/methods/getTokenExpiration.cjs +1 -51
- package/out/services/nativeAuth/methods/getTokenExpiration.cjs.map +2 -2
- package/out/services/nativeAuth/methods/index.cjs +1 -24
- package/out/services/nativeAuth/methods/index.cjs.map +2 -2
- package/out/services/nativeAuth/methods/index.mjs +1 -1
- package/out/services/nativeAuth/nativeAuth.cjs +1 -81
- package/out/services/nativeAuth/nativeAuth.cjs.map +2 -2
- package/out/services/nativeAuth/nativeAuth.mjs +1 -1
- package/out/services/nativeAuth/nativeAuth.types.cjs +1 -16
- package/out/services/nativeAuth/nativeAuth.types.cjs.map +2 -2
- package/out/store/actions/account/accountActions.cjs +1 -94
- package/out/store/actions/account/accountActions.cjs.map +3 -3
- package/out/store/actions/account/accountActions.mjs +1 -1
- package/out/store/actions/account/index.cjs +1 -22
- package/out/store/actions/account/index.cjs.map +2 -2
- package/out/store/actions/account/index.mjs +1 -1
- package/out/store/actions/cache/cacheActions.cjs +1 -61
- package/out/store/actions/cache/cacheActions.cjs.map +3 -3
- package/out/store/actions/cache/cacheActions.mjs +1 -1
- package/out/store/actions/cache/index.cjs +1 -22
- package/out/store/actions/cache/index.cjs.map +2 -2
- package/out/store/actions/cache/index.mjs +1 -1
- package/out/store/actions/config/configActions.cjs +1 -60
- package/out/store/actions/config/configActions.cjs.map +3 -3
- package/out/store/actions/config/configActions.mjs +1 -1
- package/out/store/actions/config/index.cjs +1 -22
- package/out/store/actions/config/index.cjs.map +2 -2
- package/out/store/actions/config/index.mjs +1 -1
- package/out/store/actions/index.cjs +1 -34
- package/out/store/actions/index.cjs.map +2 -2
- package/out/store/actions/index.mjs +1 -1
- package/out/store/actions/loginInfo/loginInfoActions.cjs +1 -115
- package/out/store/actions/loginInfo/loginInfoActions.cjs.map +3 -3
- package/out/store/actions/loginInfo/loginInfoActions.mjs +1 -1
- package/out/store/actions/network/index.cjs +1 -22
- package/out/store/actions/network/index.cjs.map +2 -2
- package/out/store/actions/network/index.mjs +1 -1
- package/out/store/actions/network/initializeNetwork.cjs +1 -70
- package/out/store/actions/network/initializeNetwork.cjs.map +2 -2
- package/out/store/actions/network/initializeNetwork.mjs +1 -1
- package/out/store/actions/network/networkActions.cjs +1 -41
- package/out/store/actions/network/networkActions.cjs.map +3 -3
- package/out/store/actions/network/networkActions.mjs +1 -1
- package/out/store/actions/sharedActions/index.cjs +1 -22
- package/out/store/actions/sharedActions/index.cjs.map +2 -2
- package/out/store/actions/sharedActions/index.mjs +1 -1
- package/out/store/actions/sharedActions/sharedActions.cjs +1 -49
- package/out/store/actions/sharedActions/sharedActions.cjs.map +3 -3
- package/out/store/actions/sharedActions/sharedActions.mjs +1 -1
- package/out/store/actions/toasts/index.cjs +1 -22
- package/out/store/actions/toasts/index.cjs.map +2 -2
- package/out/store/actions/toasts/index.mjs +1 -1
- package/out/store/actions/toasts/toastsActions.cjs +1 -177
- package/out/store/actions/toasts/toastsActions.cjs.map +3 -3
- package/out/store/actions/toasts/toastsActions.mjs +1 -1
- package/out/store/actions/transactions/transactionStateByStatus.cjs +1 -144
- package/out/store/actions/transactions/transactionStateByStatus.cjs.map +2 -2
- package/out/store/actions/transactions/transactionsActions.cjs +1 -143
- package/out/store/actions/transactions/transactionsActions.cjs.map +3 -3
- package/out/store/actions/transactions/transactionsActions.d.ts +6 -5
- package/out/store/actions/transactions/transactionsActions.mjs +1 -1
- package/out/store/actions/ui/index.cjs +1 -22
- package/out/store/actions/ui/index.cjs.map +2 -2
- package/out/store/actions/ui/index.mjs +1 -1
- package/out/store/actions/ui/uiActions.cjs +1 -35
- package/out/store/actions/ui/uiActions.cjs.map +3 -3
- package/out/store/actions/ui/uiActions.mjs +1 -1
- package/out/store/middleware/applyMiddlewares.cjs +1 -31
- package/out/store/middleware/applyMiddlewares.cjs.map +2 -2
- package/out/store/middleware/applyMiddlewares.mjs +1 -1
- package/out/store/middleware/index.cjs +1 -22
- package/out/store/middleware/index.cjs.map +2 -2
- package/out/store/middleware/index.mjs +1 -1
- package/out/store/middleware/logoutMiddleware.cjs +1 -78
- package/out/store/middleware/logoutMiddleware.cjs.map +2 -2
- package/out/store/middleware/logoutMiddleware.mjs +1 -1
- package/out/store/selectors/accountSelectors.cjs +1 -60
- package/out/store/selectors/accountSelectors.cjs.map +2 -2
- package/out/store/selectors/cacheSelector.cjs +1 -31
- package/out/store/selectors/cacheSelector.cjs.map +2 -2
- package/out/store/selectors/configSelectors.cjs +1 -36
- package/out/store/selectors/configSelectors.cjs.map +2 -2
- package/out/store/selectors/index.cjs +1 -32
- package/out/store/selectors/index.cjs.map +2 -2
- package/out/store/selectors/loginInfoSelectors.cjs +1 -43
- package/out/store/selectors/loginInfoSelectors.cjs.map +2 -2
- package/out/store/selectors/networkSelectors.cjs +1 -51
- package/out/store/selectors/networkSelectors.cjs.map +2 -2
- package/out/store/selectors/storeSelector.cjs +1 -28
- package/out/store/selectors/storeSelector.cjs.map +2 -2
- package/out/store/selectors/toastsSelectors.cjs +1 -34
- package/out/store/selectors/toastsSelectors.cjs.map +2 -2
- package/out/store/selectors/transactionsSelector.cjs +1 -150
- package/out/store/selectors/transactionsSelector.cjs.map +2 -2
- package/out/store/selectors/uiSelectors.cjs +1 -31
- package/out/store/selectors/uiSelectors.cjs.map +2 -2
- package/out/store/slices/account/account.types.cjs +1 -16
- package/out/store/slices/account/account.types.cjs.map +2 -2
- package/out/store/slices/account/accountSlice.cjs +1 -43
- package/out/store/slices/account/accountSlice.cjs.map +2 -2
- package/out/store/slices/account/emptyAccount.cjs +1 -38
- package/out/store/slices/account/emptyAccount.cjs.map +2 -2
- package/out/store/slices/account/index.cjs +1 -28
- package/out/store/slices/account/index.cjs.map +2 -2
- package/out/store/slices/cache/cacheSlice.cjs +1 -34
- package/out/store/slices/cache/cacheSlice.cjs.map +2 -2
- package/out/store/slices/cache/cacheSlice.types.cjs +1 -16
- package/out/store/slices/cache/cacheSlice.types.cjs.map +2 -2
- package/out/store/slices/cache/index.cjs +1 -28
- package/out/store/slices/cache/index.cjs.map +2 -2
- package/out/store/slices/config/config.types.cjs +1 -16
- package/out/store/slices/config/config.types.cjs.map +2 -2
- package/out/store/slices/config/configSlice.cjs +1 -37
- package/out/store/slices/config/configSlice.cjs.map +2 -2
- package/out/store/slices/config/index.cjs +1 -28
- package/out/store/slices/config/index.cjs.map +2 -2
- package/out/store/slices/index.cjs +1 -34
- package/out/store/slices/index.cjs.map +2 -2
- package/out/store/slices/loginInfo/index.cjs +1 -28
- package/out/store/slices/loginInfo/index.cjs.map +2 -2
- package/out/store/slices/loginInfo/loginInfo.types.cjs +1 -16
- package/out/store/slices/loginInfo/loginInfo.types.cjs.map +2 -2
- package/out/store/slices/loginInfo/loginInfoSlice.cjs +1 -40
- package/out/store/slices/loginInfo/loginInfoSlice.cjs.map +2 -2
- package/out/store/slices/network/emptyNetwork.cjs +1 -41
- package/out/store/slices/network/emptyNetwork.cjs.map +2 -2
- package/out/store/slices/network/index.cjs +1 -28
- package/out/store/slices/network/index.cjs.map +2 -2
- package/out/store/slices/network/network.types.cjs +1 -16
- package/out/store/slices/network/network.types.cjs.map +2 -2
- package/out/store/slices/network/networkSlice.cjs +1 -35
- package/out/store/slices/network/networkSlice.cjs.map +2 -2
- package/out/store/slices/network/networkSlice.types.cjs +1 -16
- package/out/store/slices/network/networkSlice.types.cjs.map +2 -2
- package/out/store/slices/toast/index.cjs +1 -28
- package/out/store/slices/toast/index.cjs.map +2 -2
- package/out/store/slices/toast/toastSlice.cjs +1 -37
- package/out/store/slices/toast/toastSlice.cjs.map +2 -2
- package/out/store/slices/toast/toastSlice.types.cjs +1 -16
- package/out/store/slices/toast/toastSlice.types.cjs.map +2 -2
- package/out/store/slices/transactions/index.cjs +1 -28
- package/out/store/slices/transactions/index.cjs.map +2 -2
- package/out/store/slices/transactions/transactionsSlice.cjs +1 -34
- package/out/store/slices/transactions/transactionsSlice.cjs.map +2 -2
- package/out/store/slices/transactions/transactionsSlice.types.cjs +1 -16
- package/out/store/slices/transactions/transactionsSlice.types.cjs.map +2 -2
- package/out/store/slices/ui/index.cjs +1 -28
- package/out/store/slices/ui/index.cjs.map +2 -2
- package/out/store/slices/ui/ui.types.cjs +1 -16
- package/out/store/slices/ui/ui.types.cjs.map +2 -2
- package/out/store/slices/ui/uiSlice.cjs +1 -34
- package/out/store/slices/ui/uiSlice.cjs.map +2 -2
- package/out/store/storage/inMemoryStorage.cjs +1 -51
- package/out/store/storage/inMemoryStorage.cjs.map +2 -2
- package/out/store/storage/index.cjs +1 -24
- package/out/store/storage/index.cjs.map +2 -2
- package/out/store/storage/index.mjs +1 -1
- package/out/store/storage/storageCallback.cjs +1 -29
- package/out/store/storage/storageCallback.cjs.map +2 -2
- package/out/store/storage/storageCallback.mjs +1 -1
- package/out/store/store.cjs +1 -82
- package/out/store/store.cjs.map +3 -3
- package/out/store/store.mjs +1 -1
- package/out/store/store.types.cjs +1 -16
- package/out/store/store.types.cjs.map +2 -2
- package/out/types/account.types.cjs +1 -16
- package/out/types/account.types.cjs.map +2 -2
- package/out/types/enums.types.cjs +1 -119
- package/out/types/enums.types.cjs.map +2 -2
- package/out/types/index.cjs +1 -34
- package/out/types/index.cjs.map +2 -2
- package/out/types/login.types.cjs +1 -16
- package/out/types/login.types.cjs.map +2 -2
- package/out/types/manager.types.cjs +1 -16
- package/out/types/manager.types.cjs.map +2 -2
- package/out/types/network.types.cjs +1 -16
- package/out/types/network.types.cjs.map +2 -2
- package/out/types/provider.types.cjs +1 -34
- package/out/types/provider.types.cjs.map +2 -2
- package/out/types/serverTransactions.types.cjs +1 -154
- package/out/types/serverTransactions.types.cjs.map +2 -2
- package/out/types/subscriptions.type.cjs +1 -33
- package/out/types/subscriptions.type.cjs.map +2 -2
- package/out/types/suspiciousLink.types.cjs +1 -16
- package/out/types/suspiciousLink.types.cjs.map +2 -2
- package/out/types/theme.types.cjs +1 -33
- package/out/types/theme.types.cjs.map +2 -2
- package/out/types/tokens.types.cjs +1 -39
- package/out/types/tokens.types.cjs.map +2 -2
- package/out/types/transaction-list-item.types.cjs +1 -114
- package/out/types/transaction-list-item.types.cjs.map +2 -2
- package/out/types/transactions.types.cjs +1 -34
- package/out/types/transactions.types.cjs.map +2 -2
- package/out/types/websocket.types.cjs +1 -16
- package/out/types/websocket.types.cjs.map +2 -2
- package/out/utils/ComponentFactory.cjs +1 -50
- package/out/utils/ComponentFactory.cjs.map +2 -2
- package/out/utils/ComponentFactory.mjs +1 -1
- package/out/utils/account/fetchAccount.cjs +1 -29
- package/out/utils/account/fetchAccount.cjs.map +2 -2
- package/out/utils/account/index.cjs +1 -28
- package/out/utils/account/index.cjs.map +2 -2
- package/out/utils/account/index.mjs +1 -1
- package/out/utils/account/refreshAccount.cjs +1 -80
- package/out/utils/account/refreshAccount.cjs.map +2 -2
- package/out/utils/account/refreshAccount.mjs +1 -1
- package/out/utils/account/refreshNativeAuthTokenLogin.cjs +1 -65
- package/out/utils/account/refreshNativeAuthTokenLogin.cjs.map +2 -2
- package/out/utils/account/refreshNativeAuthTokenLogin.mjs +1 -1
- package/out/utils/account/trimUsernameDomain.cjs +1 -35
- package/out/utils/account/trimUsernameDomain.cjs.map +2 -2
- package/out/utils/asyncActions/index.cjs +1 -22
- package/out/utils/asyncActions/index.cjs.map +2 -2
- package/out/utils/asyncActions/sleep.cjs +1 -35
- package/out/utils/asyncActions/sleep.cjs.map +2 -2
- package/out/utils/dateTime/getUnixTimestamp.cjs +1 -30
- package/out/utils/dateTime/getUnixTimestamp.cjs.map +2 -2
- package/out/utils/dateTime/getUnixTimestampWithAddedMilliseconds.cjs +1 -32
- package/out/utils/dateTime/getUnixTimestampWithAddedMilliseconds.cjs.map +2 -2
- package/out/utils/dateTime/getUnixTimestampWithAddedSeconds.cjs +1 -30
- package/out/utils/dateTime/getUnixTimestampWithAddedSeconds.cjs.map +2 -2
- package/out/utils/dateTime/index.cjs +1 -26
- package/out/utils/dateTime/index.cjs.map +2 -2
- package/out/utils/decoders/base64Utils.cjs +1 -57
- package/out/utils/decoders/base64Utils.cjs.map +2 -2
- package/out/utils/decoders/decodePart.cjs +1 -39
- package/out/utils/decoders/decodePart.cjs.map +2 -2
- package/out/utils/decoders/index.cjs +1 -30
- package/out/utils/decoders/index.cjs.map +2 -2
- package/out/utils/decoders/isAscii.cjs +1 -28
- package/out/utils/decoders/isAscii.cjs.map +2 -2
- package/out/utils/decoders/isUtf8.cjs +1 -35
- package/out/utils/decoders/isUtf8.cjs.map +2 -2
- package/out/utils/decoders/stringContainsNumbers.cjs +1 -28
- package/out/utils/decoders/stringContainsNumbers.cjs.map +2 -2
- package/out/utils/index.cjs +1 -40
- package/out/utils/index.cjs.map +2 -2
- package/out/utils/index.mjs +1 -1
- package/out/utils/network/index.cjs +1 -22
- package/out/utils/network/index.cjs.map +2 -2
- package/out/utils/network/setAxiosInterceptors.cjs +1 -66
- package/out/utils/network/setAxiosInterceptors.cjs.map +2 -2
- package/out/utils/operations/capitalize.cjs +1 -28
- package/out/utils/operations/capitalize.cjs.map +2 -2
- package/out/utils/operations/getUsdValue.cjs +1 -45
- package/out/utils/operations/getUsdValue.cjs.map +2 -2
- package/out/utils/operations/pluralize.cjs +1 -28
- package/out/utils/operations/pluralize.cjs.map +2 -2
- package/out/utils/operations/timeRemaining.cjs +1 -109
- package/out/utils/operations/timeRemaining.cjs.map +2 -2
- package/out/utils/operations/trimAmountDecimals.cjs +1 -59
- package/out/utils/operations/trimAmountDecimals.cjs.map +2 -2
- package/out/utils/retryMultipleTimes.cjs +1 -44
- package/out/utils/retryMultipleTimes.cjs.map +2 -2
- package/out/utils/transactions/explorerUrlBuilder.cjs +1 -53
- package/out/utils/transactions/explorerUrlBuilder.cjs.map +2 -2
- package/out/utils/transactions/getActiveTransactionsStatus.cjs +1 -46
- package/out/utils/transactions/getActiveTransactionsStatus.cjs.map +2 -2
- package/out/utils/transactions/getActiveTransactionsStatus.mjs +1 -1
- package/out/utils/transactions/getDecodedDataField/getDecodedDataField.cjs +5 -110
- package/out/utils/transactions/getDecodedDataField/getDecodedDataField.cjs.map +2 -2
- package/out/utils/transactions/getDecodedDataField/helpers/decodeByMethod.cjs +1 -89
- package/out/utils/transactions/getDecodedDataField/helpers/decodeByMethod.cjs.map +2 -2
- package/out/utils/transactions/getDecodedDataField/helpers/decodeHighlight.cjs +1 -47
- package/out/utils/transactions/getDecodedDataField/helpers/decodeHighlight.cjs.map +2 -2
- package/out/utils/transactions/getDecodedDataField/helpers/getDecodedParts.cjs +1 -44
- package/out/utils/transactions/getDecodedDataField/helpers/getDecodedParts.cjs.map +2 -2
- package/out/utils/transactions/getDecodedDataField/helpers/getDisplayValueAndValidationWarnings.cjs +1 -60
- package/out/utils/transactions/getDecodedDataField/helpers/getDisplayValueAndValidationWarnings.cjs.map +2 -2
- package/out/utils/transactions/getDecodedDataField/helpers/getHexValidationWarnings.cjs +1 -38
- package/out/utils/transactions/getDecodedDataField/helpers/getHexValidationWarnings.cjs.map +2 -2
- package/out/utils/transactions/getDecodedDataField/helpers/getSmartDecodedParts.cjs +1 -51
- package/out/utils/transactions/getDecodedDataField/helpers/getSmartDecodedParts.cjs.map +2 -2
- package/out/utils/transactions/getDecodedDataField/helpers/index.cjs +1 -32
- package/out/utils/transactions/getDecodedDataField/helpers/index.cjs.map +2 -2
- package/out/utils/transactions/getDecodedDataField/index.cjs +1 -24
- package/out/utils/transactions/getDecodedDataField/index.cjs.map +2 -2
- package/out/utils/transactions/getExplorerLink.cjs +1 -49
- package/out/utils/transactions/getExplorerLink.cjs.map +2 -2
- package/out/utils/transactions/getHumanReadableTimeFormat.cjs +1 -46
- package/out/utils/transactions/getHumanReadableTimeFormat.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.cjs +1 -109
- package/out/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/constants.cjs +1 -49
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/constants.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/getTransactionValue.cjs +1 -106
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/getTransactionValue.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getEgldValueData.cjs +1 -35
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getEgldValueData.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTitleText.cjs +1 -54
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTitleText.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTransactionActionNftText.cjs +1 -70
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTransactionActionNftText.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTransactionTokens.cjs +1 -40
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTransactionTokens.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromActions.cjs +1 -53
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromActions.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromDataField.cjs +1 -59
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromDataField.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromOperations.cjs +2 -52
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromOperations.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getVisibleOperations.cjs +1 -36
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getVisibleOperations.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/index.cjs +1 -32
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/index.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/index.cjs +1 -22
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/index.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/types.cjs +1 -16
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/types.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/helpers/getLockedAccountName.cjs +1 -82
- package/out/utils/transactions/getInterpretedTransaction/helpers/getLockedAccountName.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/helpers/getLockedAccountName.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getOperationsMessages.cjs +1 -30
- package/out/utils/transactions/getInterpretedTransaction/helpers/getOperationsMessages.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.cjs +1 -65
- package/out/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getScResultsMessages.cjs +1 -30
- package/out/utils/transactions/getInterpretedTransaction/helpers/getScResultsMessages.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/helpers/getShardText.cjs +1 -43
- package/out/utils/transactions/getInterpretedTransaction/helpers/getShardText.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/helpers/getShardText.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTokenFromData.cjs +1 -121
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTokenFromData.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionIconInfo.cjs +1 -46
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionIconInfo.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionIconInfo.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionMessages.cjs +1 -39
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionMessages.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionMessages.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionMethod.cjs +1 -43
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionMethod.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionReceiver.cjs +1 -34
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionReceiver.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionReceiverAssets.cjs +1 -32
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionReceiverAssets.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionStatus.cjs +1 -41
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionStatus.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionTokens.cjs +1 -40
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionTokens.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionTransferType.cjs +1 -49
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionTransferType.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/helpers/index.cjs +1 -46
- package/out/utils/transactions/getInterpretedTransaction/helpers/index.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/helpers/index.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/index.cjs +1 -24
- package/out/utils/transactions/getInterpretedTransaction/index.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/index.mjs +1 -1
- package/out/utils/transactions/getScamFlag.cjs +1 -87
- package/out/utils/transactions/getScamFlag.cjs.map +2 -2
- package/out/utils/transactions/getTransactionsHistory/getTransactionsHistory.cjs +1 -50
- package/out/utils/transactions/getTransactionsHistory/getTransactionsHistory.cjs.map +2 -2
- package/out/utils/transactions/getTransactionsHistory/getTransactionsHistory.mjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/createTransactionsHistoryFromSessions.cjs +1 -39
- package/out/utils/transactions/getTransactionsHistory/helpers/createTransactionsHistoryFromSessions.cjs.map +2 -2
- package/out/utils/transactions/getTransactionsHistory/helpers/getAssetAmount.cjs +1 -63
- package/out/utils/transactions/getTransactionsHistory/helpers/getAssetAmount.cjs.map +2 -2
- package/out/utils/transactions/getTransactionsHistory/helpers/getAssetPrice.cjs +1 -52
- package/out/utils/transactions/getTransactionsHistory/helpers/getAssetPrice.cjs.map +2 -2
- package/out/utils/transactions/getTransactionsHistory/helpers/getCachedTransactionListItem.cjs +1 -35
- package/out/utils/transactions/getTransactionsHistory/helpers/getCachedTransactionListItem.cjs.map +2 -2
- package/out/utils/transactions/getTransactionsHistory/helpers/getCachedTransactionListItem.mjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getIsTransactionInvalidOrFailed.cjs +1 -38
- package/out/utils/transactions/getTransactionsHistory/helpers/getIsTransactionInvalidOrFailed.cjs.map +2 -2
- package/out/utils/transactions/getTransactionsHistory/helpers/getReceiverData.cjs +1 -36
- package/out/utils/transactions/getTransactionsHistory/helpers/getReceiverData.cjs.map +2 -2
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAction.cjs +1 -112
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAction.cjs.map +2 -2
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionActionDirectionLabel.cjs +1 -58
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionActionDirectionLabel.cjs.map +2 -2
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionActionTransferLabel.cjs +1 -74
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionActionTransferLabel.cjs.map +2 -2
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAmount.cjs +1 -62
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAmount.cjs.map +2 -2
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAsset.cjs +1 -90
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAsset.cjs.map +2 -2
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAssets.cjs +1 -65
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAssets.cjs.map +2 -2
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAvatar.cjs +1 -37
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAvatar.cjs.map +2 -2
- package/out/utils/transactions/getTransactionsHistory/helpers/index.cjs +1 -49
- package/out/utils/transactions/getTransactionsHistory/helpers/index.cjs.map +2 -2
- package/out/utils/transactions/getTransactionsHistory/helpers/index.mjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/isTransferNftOrSft.cjs +1 -37
- package/out/utils/transactions/getTransactionsHistory/helpers/isTransferNftOrSft.cjs.map +2 -2
- package/out/utils/transactions/getTransactionsHistory/helpers/mapServerTransactionsToListItems.cjs +1 -115
- package/out/utils/transactions/getTransactionsHistory/helpers/mapServerTransactionsToListItems.cjs.map +2 -2
- package/out/utils/transactions/getTransactionsHistory/helpers/mapServerTransactionsToListItems.mjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/mapTransactionToListItem.cjs +1 -80
- package/out/utils/transactions/getTransactionsHistory/helpers/mapTransactionToListItem.cjs.map +2 -2
- package/out/utils/transactions/getTransactionsHistory/index.cjs +1 -24
- package/out/utils/transactions/getTransactionsHistory/index.cjs.map +2 -2
- package/out/utils/transactions/getTransactionsHistory/index.mjs +1 -1
- package/out/utils/transactions/index.cjs +1 -30
- package/out/utils/transactions/index.cjs.map +2 -2
- package/out/utils/transactions/index.mjs +1 -1
- package/out/utils/transactions/isGuardianTx.cjs +1 -42
- package/out/utils/transactions/isGuardianTx.cjs.map +2 -2
- package/out/utils/validation/addressIsValid.cjs +1 -39
- package/out/utils/validation/addressIsValid.cjs.map +2 -2
- package/out/utils/validation/getIdentifierType.cjs +1 -53
- package/out/utils/validation/getIdentifierType.cjs.map +2 -2
- package/out/utils/validation/hex.cjs +1 -35
- package/out/utils/validation/hex.cjs.map +2 -2
- package/out/utils/validation/index.cjs +1 -30
- package/out/utils/validation/index.cjs.map +2 -2
- package/out/utils/validation/isContract.cjs +1 -95
- package/out/utils/validation/isContract.cjs.map +2 -2
- package/out/utils/validation/maxDecimals.cjs +1 -33
- package/out/utils/validation/maxDecimals.cjs.map +2 -2
- package/out/utils/visual/index.cjs +1 -22
- package/out/utils/visual/index.cjs.map +2 -2
- package/out/utils/visual/index.mjs +1 -1
- package/out/utils/visual/switchTheme.cjs +1 -38
- package/out/utils/visual/switchTheme.cjs.map +2 -2
- package/out/utils/visual/switchTheme.mjs +1 -1
- package/out/utils/walletconnect/__sdkWalletconnectProvider.cjs +1 -33
- package/out/utils/walletconnect/__sdkWalletconnectProvider.cjs.map +2 -2
- package/out/utils/window/buildUrlParams.cjs +1 -36
- package/out/utils/window/buildUrlParams.cjs.map +2 -2
- package/out/utils/window/getIsAuthRoute.cjs +1 -37
- package/out/utils/window/getIsAuthRoute.cjs.map +2 -2
- package/out/utils/window/getIsInIframe.cjs +1 -43
- package/out/utils/window/getIsInIframe.cjs.map +2 -2
- package/out/utils/window/getIsInIframe.mjs +1 -1
- package/out/utils/window/getWindowLocation.cjs +1 -55
- package/out/utils/window/getWindowLocation.cjs.map +2 -2
- package/out/utils/window/getWindowParentOrigin.cjs +1 -43
- package/out/utils/window/getWindowParentOrigin.cjs.map +2 -2
- package/out/utils/window/getWindowParentOrigin.mjs +1 -1
- package/out/utils/window/index.cjs +1 -32
- package/out/utils/window/index.cjs.map +2 -2
- package/out/utils/window/index.mjs +1 -1
- package/out/utils/window/isWindowAvailable.cjs +1 -28
- package/out/utils/window/isWindowAvailable.cjs.map +2 -2
- package/out/utils/window/matchPath.cjs +1 -113
- package/out/utils/window/matchPath.cjs.map +2 -2
- package/out/utils/window/sanitizeCallbackUrl.cjs +1 -38
- package/out/utils/window/sanitizeCallbackUrl.cjs.map +2 -2
- package/package.json +2 -2
- package/out/__chunks__/chunk-2TCIBFJT.mjs +0 -2
- package/out/__chunks__/chunk-2TCIBFJT.mjs.map +0 -7
- package/out/__chunks__/chunk-4QPWKBSQ.mjs +0 -2
- package/out/__chunks__/chunk-4QPWKBSQ.mjs.map +0 -7
- package/out/__chunks__/chunk-5WVYRVED.mjs +0 -2
- package/out/__chunks__/chunk-6OIZTWJQ.mjs +0 -2
- package/out/__chunks__/chunk-7C3DDRSK.mjs +0 -2
- package/out/__chunks__/chunk-7GZRWUJQ.mjs +0 -2
- package/out/__chunks__/chunk-7QYO4UOP.mjs +0 -2
- package/out/__chunks__/chunk-7QYO4UOP.mjs.map +0 -7
- package/out/__chunks__/chunk-7UJCMFKV.mjs +0 -2
- package/out/__chunks__/chunk-BMSWZIEX.mjs +0 -2
- package/out/__chunks__/chunk-DMF2DF5I.mjs +0 -2
- package/out/__chunks__/chunk-DOBSLHLX.mjs +0 -2
- package/out/__chunks__/chunk-EUBOWXIH.mjs +0 -2
- package/out/__chunks__/chunk-FE5FK7I6.mjs +0 -2
- package/out/__chunks__/chunk-HAPHEGVZ.mjs +0 -2
- package/out/__chunks__/chunk-HOBCDZ2D.mjs +0 -2
- package/out/__chunks__/chunk-HOBCDZ2D.mjs.map +0 -7
- package/out/__chunks__/chunk-IE4SA26O.mjs +0 -2
- package/out/__chunks__/chunk-IHU6TBZQ.mjs +0 -2
- package/out/__chunks__/chunk-KHBRO4FY.mjs +0 -2
- package/out/__chunks__/chunk-KHBRO4FY.mjs.map +0 -7
- package/out/__chunks__/chunk-OYQAXY6H.mjs +0 -2
- package/out/__chunks__/chunk-Q4OG6NMJ.mjs +0 -2
- package/out/__chunks__/chunk-R3U4ONSV.mjs +0 -2
- package/out/__chunks__/chunk-RCNZOLEM.mjs +0 -2
- package/out/__chunks__/chunk-RCNZOLEM.mjs.map +0 -7
- package/out/__chunks__/chunk-SKNUG6M5.mjs +0 -2
- package/out/__chunks__/chunk-TFCXKUX5.mjs +0 -2
- package/out/__chunks__/chunk-U2IPYFJX.mjs +0 -2
- package/out/__chunks__/chunk-U2IPYFJX.mjs.map +0 -7
- package/out/__chunks__/chunk-VVZ2I6CL.mjs +0 -2
- package/out/__chunks__/chunk-VVZ2I6CL.mjs.map +0 -7
- package/out/__chunks__/chunk-W37M2LIA.mjs +0 -2
- package/out/__chunks__/chunk-WQZKREPI.mjs +0 -2
- package/out/__chunks__/chunk-YSPLCVKY.mjs +0 -2
- package/out/__chunks__/chunk-YSPLCVKY.mjs.map +0 -7
- package/out/__chunks__/chunk-ZTUC7FCA.mjs +0 -2
- /package/out/__chunks__/{chunk-MBBXTAA3.mjs.map → chunk-23KF5JXN.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-IHU6TBZQ.mjs.map → chunk-32UBROSW.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-7GZRWUJQ.mjs.map → chunk-34SZ56FQ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-SV4C4UPN.mjs.map → chunk-35AC7JEX.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-WQZKREPI.mjs.map → chunk-3AT3N6U7.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-2K2QZVBC.mjs.map → chunk-3EVBWJRB.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-PDKESLKC.mjs.map → chunk-3H5GYTLV.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-2NF5HX3H.mjs.map → chunk-3IMTI6JQ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-FULNMU6J.mjs.map → chunk-4D3ZQTRN.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-IE4SA26O.mjs.map → chunk-4WBXT7UF.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-PT2OF4QJ.mjs.map → chunk-5SUCN4KU.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-JDLVFGXF.mjs.map → chunk-753KDZIR.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-SWZ5LDC3.mjs.map → chunk-7LP6TRTV.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-74JXPSSX.mjs.map → chunk-7NW5R435.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-JDTTHSQL.mjs.map → chunk-7PIS2F7G.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-DMF2DF5I.mjs.map → chunk-AHRQWA37.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-K3VVHPG3.mjs.map → chunk-AOYKAITD.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-67JAXZGA.mjs.map → chunk-ASPVUU7R.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-M2KI5WFN.mjs.map → chunk-BMJVOKCD.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-OVBYKKMB.mjs.map → chunk-BZRPJAII.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-Z5AFLXOE.mjs.map → chunk-D4SYE2AU.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-U54BL4SU.mjs.map → chunk-DBMG6HQS.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-YTIAXTQR.mjs.map → chunk-DPWDWN6V.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-MXNCPIER.mjs.map → chunk-EH3INPBE.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ZDJN4F3W.mjs.map → chunk-EJ3EBFAG.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-3OEO7IVT.mjs.map → chunk-EJHFAT42.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-5O725H7M.mjs.map → chunk-EMSDNE45.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-HAPHEGVZ.mjs.map → chunk-FGO6JGLQ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-7XASUTI2.mjs.map → chunk-FMNY4EIM.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ET5L4CEA.mjs.map → chunk-GDTOANYH.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-SKNUG6M5.mjs.map → chunk-GRUQO4NQ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-XHM77HFZ.mjs.map → chunk-H3U7BN2F.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-TFDVHULP.mjs.map → chunk-H6LOCVAD.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-775THAIS.mjs.map → chunk-HZCXNBGJ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-SUHXBGYR.mjs.map → chunk-HZRV27MM.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-O7KFAU3B.mjs.map → chunk-IGDWL5FF.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-RL2G66LY.mjs.map → chunk-K23LCX54.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-6CUDZR72.mjs.map → chunk-KAYZVBV4.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-TFCXKUX5.mjs.map → chunk-KFBY5KJV.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-4B3YTXMB.mjs.map → chunk-KKC3NMW2.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-DOBSLHLX.mjs.map → chunk-L45XDEGL.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-O3YM7WCC.mjs.map → chunk-LAH3RNPH.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-OU5Y3UTY.mjs.map → chunk-LCHJKRM5.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-6OIZTWJQ.mjs.map → chunk-LDFQUMVY.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-7UJCMFKV.mjs.map → chunk-LTXWZGXK.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-WK4PPAAJ.mjs.map → chunk-M44UOZ5O.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-CMJSKAR5.mjs.map → chunk-MBYIULNF.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-EUBOWXIH.mjs.map → chunk-NAEWTITL.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-OXC2IURR.mjs.map → chunk-NKAJB5TQ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-BCODBYYR.mjs.map → chunk-NPF6FJT3.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-QJZ5YIXI.mjs.map → chunk-NRBAAXUJ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-OYQAXY6H.mjs.map → chunk-O4IUATY4.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-CUMJOJXJ.mjs.map → chunk-OHFXF2B5.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-TQIB47S6.mjs.map → chunk-QWU5MHP3.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-XA3AGZCX.mjs.map → chunk-U6N242A3.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-5WVYRVED.mjs.map → chunk-UIWCJ3CV.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-YX7TMA3N.mjs.map → chunk-UJIIYWYI.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-UCCJLDG6.mjs.map → chunk-UL35YJX4.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-7C3DDRSK.mjs.map → chunk-UYRCLUET.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-OD6C4XKP.mjs.map → chunk-W2TBID4H.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-6ME6A43J.mjs.map → chunk-W42RP7KL.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-BMSWZIEX.mjs.map → chunk-YGRMC52T.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-YHNOFYGM.mjs.map → chunk-YIEM5DGL.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-2VRRMEOY.mjs.map → chunk-YIZAB63A.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-GMP2DZ26.mjs.map → chunk-YLJC7ZKD.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ANIJIRAY.mjs.map → chunk-YVAL3LZF.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-VQULIVGX.mjs.map → chunk-Z3ZWRORQ.mjs.map} +0 -0
|
@@ -1,72 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
var LifetimeManager_exports = {};
|
|
20
|
-
__export(LifetimeManager_exports, {
|
|
21
|
-
LifetimeManager: () => LifetimeManager
|
|
22
|
-
});
|
|
23
|
-
module.exports = __toCommonJS(LifetimeManager_exports);
|
|
24
|
-
var import_toastsActions = require("../../../store/actions/toasts/toastsActions");
|
|
25
|
-
const DEFAULT_SUCCESSFUL_TOAST_LIFETIME = 1e4;
|
|
26
|
-
class LifetimeManager {
|
|
27
|
-
constructor() {
|
|
28
|
-
this.timeoutIntervals = /* @__PURE__ */ new Map();
|
|
29
|
-
this.successfulToastLifetime = DEFAULT_SUCCESSFUL_TOAST_LIFETIME;
|
|
30
|
-
this.start = (toastId) => {
|
|
31
|
-
this.stop(toastId);
|
|
32
|
-
if (this.successfulToastLifetime <= 0) {
|
|
33
|
-
return;
|
|
34
|
-
}
|
|
35
|
-
const timeout = setTimeout(() => {
|
|
36
|
-
(0, import_toastsActions.removeTransactionToast)(toastId);
|
|
37
|
-
}, this.successfulToastLifetime);
|
|
38
|
-
this.timeoutIntervals.set(toastId, timeout);
|
|
39
|
-
};
|
|
40
|
-
this.startWithCustomDuration = (toastId, duration) => {
|
|
41
|
-
this.stop(toastId);
|
|
42
|
-
if (duration <= 0) {
|
|
43
|
-
return;
|
|
44
|
-
}
|
|
45
|
-
const timeout = setTimeout(() => {
|
|
46
|
-
(0, import_toastsActions.removeCustomToast)(toastId);
|
|
47
|
-
const handleClose = import_toastsActions.customToastCloseHandlersDictionary[toastId];
|
|
48
|
-
handleClose?.();
|
|
49
|
-
}, duration);
|
|
50
|
-
this.timeoutIntervals.set(toastId, timeout);
|
|
51
|
-
};
|
|
52
|
-
this.stop = (toastId) => {
|
|
53
|
-
const timeout = this.timeoutIntervals.get(toastId);
|
|
54
|
-
if (timeout) {
|
|
55
|
-
clearTimeout(timeout);
|
|
56
|
-
this.timeoutIntervals.delete(toastId);
|
|
57
|
-
}
|
|
58
|
-
};
|
|
59
|
-
}
|
|
60
|
-
init({ successfulToastLifetime }) {
|
|
61
|
-
this.successfulToastLifetime = successfulToastLifetime ?? DEFAULT_SUCCESSFUL_TOAST_LIFETIME;
|
|
62
|
-
}
|
|
63
|
-
destroy() {
|
|
64
|
-
this.timeoutIntervals.forEach((interval) => clearTimeout(interval));
|
|
65
|
-
this.timeoutIntervals.clear();
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
69
|
-
0 && (module.exports = {
|
|
70
|
-
LifetimeManager
|
|
71
|
-
});
|
|
1
|
+
"use strict";var u=Object.defineProperty;var n=Object.getOwnPropertyDescriptor;var m=Object.getOwnPropertyNames;var c=Object.prototype.hasOwnProperty;var l=(s,t)=>{for(var e in t)u(s,e,{get:t[e],enumerable:!0})},T=(s,t,e,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of m(t))!c.call(s,i)&&i!==e&&u(s,i,{get:()=>t[i],enumerable:!(o=n(t,i))||o.enumerable});return s};var f=s=>T(u({},"__esModule",{value:!0}),s);var h={};l(h,{LifetimeManager:()=>p});module.exports=f(h);var r=require("../../../store/actions/toasts/toastsActions");const a=1e4;class p{constructor(){this.timeoutIntervals=new Map;this.successfulToastLifetime=a;this.start=t=>{if(this.stop(t),this.successfulToastLifetime<=0)return;const e=setTimeout(()=>{(0,r.removeTransactionToast)(t)},this.successfulToastLifetime);this.timeoutIntervals.set(t,e)};this.startWithCustomDuration=(t,e)=>{if(this.stop(t),e<=0)return;const o=setTimeout(()=>{(0,r.removeCustomToast)(t);const i=r.customToastCloseHandlersDictionary[t];i?.()},e);this.timeoutIntervals.set(t,o)};this.stop=t=>{const e=this.timeoutIntervals.get(t);e&&(clearTimeout(e),this.timeoutIntervals.delete(t))}}init({successfulToastLifetime:t}){this.successfulToastLifetime=t??a}destroy(){this.timeoutIntervals.forEach(t=>clearTimeout(t)),this.timeoutIntervals.clear()}}0&&(module.exports={LifetimeManager});
|
|
72
2
|
//# sourceMappingURL=LifetimeManager.cjs.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../src/managers/ToastManager/helpers/LifetimeManager.ts"],
|
|
4
4
|
"sourcesContent": ["import {\n customToastCloseHandlersDictionary,\n removeCustomToast,\n removeTransactionToast\n} from 'store/actions/toasts/toastsActions';\n\ninterface IToastProgressManagerParams {\n successfulToastLifetime?: number;\n}\n\nconst DEFAULT_SUCCESSFUL_TOAST_LIFETIME = 10_000;\n\nexport class LifetimeManager {\n private timeoutIntervals: Map<string, ReturnType<typeof setTimeout>> =\n new Map();\n private successfulToastLifetime: number = DEFAULT_SUCCESSFUL_TOAST_LIFETIME;\n\n constructor() {}\n\n public init({ successfulToastLifetime }: IToastProgressManagerParams) {\n this.successfulToastLifetime =\n successfulToastLifetime ?? DEFAULT_SUCCESSFUL_TOAST_LIFETIME;\n }\n\n public start = (toastId: string) => {\n this.stop(toastId);\n\n if (this.successfulToastLifetime <= 0) {\n return;\n }\n\n const timeout = setTimeout(() => {\n removeTransactionToast(toastId);\n }, this.successfulToastLifetime);\n\n this.timeoutIntervals.set(toastId, timeout);\n };\n\n public startWithCustomDuration = (toastId: string, duration: number) => {\n this.stop(toastId);\n\n if (duration <= 0) {\n return;\n }\n\n const timeout = setTimeout(() => {\n removeCustomToast(toastId);\n const handleClose = customToastCloseHandlersDictionary[toastId];\n handleClose?.();\n }, duration);\n\n this.timeoutIntervals.set(toastId, timeout);\n };\n\n public stop = (toastId: string) => {\n const timeout = this.timeoutIntervals.get(toastId);\n if (timeout) {\n clearTimeout(timeout);\n this.timeoutIntervals.delete(toastId);\n }\n };\n\n public destroy() {\n this.timeoutIntervals.forEach((interval) => clearTimeout(interval));\n this.timeoutIntervals.clear();\n }\n}\n"],
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": []
|
|
5
|
+
"mappings": "yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,qBAAAE,IAAA,eAAAC,EAAAH,GAAA,IAAAI,EAIO,8CAMP,MAAMC,EAAoC,IAEnC,MAAMH,CAAgB,CAK3B,aAAc,CAJd,KAAQ,iBACN,IAAI,IACN,KAAQ,wBAAkCG,EAS1C,KAAO,MAASC,GAAoB,CAGlC,GAFA,KAAK,KAAKA,CAAO,EAEb,KAAK,yBAA2B,EAClC,OAGF,MAAMC,EAAU,WAAW,IAAM,IAC/B,0BAAuBD,CAAO,CAChC,EAAG,KAAK,uBAAuB,EAE/B,KAAK,iBAAiB,IAAIA,EAASC,CAAO,CAC5C,EAEA,KAAO,wBAA0B,CAACD,EAAiBE,IAAqB,CAGtE,GAFA,KAAK,KAAKF,CAAO,EAEbE,GAAY,EACd,OAGF,MAAMD,EAAU,WAAW,IAAM,IAC/B,qBAAkBD,CAAO,EACzB,MAAMG,EAAc,qCAAmCH,CAAO,EAC9DG,IAAc,CAChB,EAAGD,CAAQ,EAEX,KAAK,iBAAiB,IAAIF,EAASC,CAAO,CAC5C,EAEA,KAAO,KAAQD,GAAoB,CACjC,MAAMC,EAAU,KAAK,iBAAiB,IAAID,CAAO,EAC7CC,IACF,aAAaA,CAAO,EACpB,KAAK,iBAAiB,OAAOD,CAAO,EAExC,CA3Ce,CAER,KAAK,CAAE,wBAAAI,CAAwB,EAAgC,CACpE,KAAK,wBACHA,GAA2BL,CAC/B,CAwCO,SAAU,CACf,KAAK,iBAAiB,QAASM,GAAa,aAAaA,CAAQ,CAAC,EAClE,KAAK,iBAAiB,MAAM,CAC9B,CACF",
|
|
6
|
+
"names": ["LifetimeManager_exports", "__export", "LifetimeManager", "__toCommonJS", "import_toastsActions", "DEFAULT_SUCCESSFUL_TOAST_LIFETIME", "toastId", "timeout", "duration", "handleClose", "successfulToastLifetime", "interval"]
|
|
7
7
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{j as a}from"../../../__chunks__/chunk-
|
|
1
|
+
import{j as a}from"../../../__chunks__/chunk-EDVSRPEU.mjs";import"../../../__chunks__/chunk-23KF5JXN.mjs";import"../../../__chunks__/chunk-RUBOJOJP.mjs";import"../../../__chunks__/chunk-LTXWZGXK.mjs";import"../../../__chunks__/chunk-KHK7HHMR.mjs";import"../../../__chunks__/chunk-T7DVMF2K.mjs";import"../../../__chunks__/chunk-JZZ3MOUU.mjs";import"../../../__chunks__/chunk-6UZHM5LW.mjs";import"../../../__chunks__/chunk-UZTMRUVT.mjs";import"../../../__chunks__/chunk-U3MIDVR7.mjs";import"../../../__chunks__/chunk-DGMI66QS.mjs";import"../../../__chunks__/chunk-PKD3AEXI.mjs";import"../../../__chunks__/chunk-CLUVDWX6.mjs";import"../../../__chunks__/chunk-DPWDWN6V.mjs";import"../../../__chunks__/chunk-3EVBWJRB.mjs";import"../../../__chunks__/chunk-3H5GYTLV.mjs";import"../../../__chunks__/chunk-4WBXT7UF.mjs";import"../../../__chunks__/chunk-34SZ56FQ.mjs";import"../../../__chunks__/chunk-4YLMDHUH.mjs";import"../../../__chunks__/chunk-UKBPRQL6.mjs";import"../../../__chunks__/chunk-N55JEIM6.mjs";import"../../../__chunks__/chunk-KDWLSBQB.mjs";import"../../../__chunks__/chunk-2VG3V3VD.mjs";import"../../../__chunks__/chunk-VRLS225Q.mjs";import"../../../__chunks__/chunk-4ODPAHHA.mjs";import"../../../__chunks__/chunk-ECEWPZGA.mjs";import"../../../__chunks__/chunk-H3U7BN2F.mjs";import"../../../__chunks__/chunk-K23LCX54.mjs";import"../../../__chunks__/chunk-NPF6FJT3.mjs";import"../../../__chunks__/chunk-ZFXAT6MD.mjs";import"../../../__chunks__/chunk-Q2Q4XN4M.mjs";import"../../../__chunks__/chunk-O4IUATY4.mjs";import"../../../__chunks__/chunk-KAYZVBV4.mjs";import"../../../__chunks__/chunk-UJIIYWYI.mjs";import"../../../__chunks__/chunk-MDVI45IV.mjs";import"../../../__chunks__/chunk-3C5GZ3BL.mjs";import"../../../__chunks__/chunk-W42RP7KL.mjs";import"../../../__chunks__/chunk-AHRQWA37.mjs";import"../../../__chunks__/chunk-LDFQUMVY.mjs";import"../../../__chunks__/chunk-7LP6TRTV.mjs";import"../../../__chunks__/chunk-55SACSMS.mjs";import"../../../__chunks__/chunk-EJ3EBFAG.mjs";import"../../../__chunks__/chunk-NKAJB5TQ.mjs";import"../../../__chunks__/chunk-J32T6OAP.mjs";import"../../../__chunks__/chunk-4US7HVCR.mjs";import"../../../__chunks__/chunk-FUOM6J37.mjs";import"../../../__chunks__/chunk-4TBVQD27.mjs";import"../../../__chunks__/chunk-M3GFSV3G.mjs";import"../../../__chunks__/chunk-WV5X6BXA.mjs";import"../../../__chunks__/chunk-AXYA7YGQ.mjs";import"../../../__chunks__/chunk-X5F7OCHT.mjs";import"../../../__chunks__/chunk-E2GGD7D4.mjs";import"../../../__chunks__/chunk-L3YPAYXZ.mjs";import"../../../__chunks__/chunk-GKZ2BSWS.mjs";import"../../../__chunks__/chunk-NWV2L5R7.mjs";import"../../../__chunks__/chunk-YK7T6MBD.mjs";import"../../../__chunks__/chunk-KMJMQEXI.mjs";import"../../../__chunks__/chunk-G5DKGX73.mjs";import"../../../__chunks__/chunk-DBTVIN4S.mjs";import"../../../__chunks__/chunk-XXV6KGR4.mjs";import"../../../__chunks__/chunk-HORSXVIV.mjs";import"../../../__chunks__/chunk-7PIS2F7G.mjs";import"../../../__chunks__/chunk-NAEWTITL.mjs";import"../../../__chunks__/chunk-NWEUIK3A.mjs";import"../../../__chunks__/chunk-YVAL3LZF.mjs";import"../../../__chunks__/chunk-3S57OP4Z.mjs";import"../../../__chunks__/chunk-OJX2TSAZ.mjs";import"../../../__chunks__/chunk-QTKK6OSJ.mjs";import"../../../__chunks__/chunk-6ACLOUQ3.mjs";import"../../../__chunks__/chunk-WE7YOBO7.mjs";import"../../../__chunks__/chunk-YLJC7ZKD.mjs";import"../../../__chunks__/chunk-YIEM5DGL.mjs";import"../../../__chunks__/chunk-G7GU37XI.mjs";import"../../../__chunks__/chunk-72VXBZOB.mjs";import"../../../__chunks__/chunk-3GGBXXXJ.mjs";import"../../../__chunks__/chunk-RMW3YLGD.mjs";import"../../../__chunks__/chunk-YSCND2MX.mjs";import"../../../__chunks__/chunk-FPJ2PIFX.mjs";import"../../../__chunks__/chunk-NJN53MJV.mjs";import"../../../__chunks__/chunk-YJK5FPW4.mjs";import"../../../__chunks__/chunk-36XFDUXN.mjs";import"../../../__chunks__/chunk-O7LCTC4K.mjs";import"../../../__chunks__/chunk-TFZ46GCB.mjs";import"../../../__chunks__/chunk-OL6LWUIJ.mjs";import"../../../__chunks__/chunk-ZRSYQ3MT.mjs";import"../../../__chunks__/chunk-M6MN4RXG.mjs";import"../../../__chunks__/chunk-KIOUFP5Q.mjs";import"../../../__chunks__/chunk-5DILKRFV.mjs";import"../../../__chunks__/chunk-DZ2BIDRW.mjs";import"../../../__chunks__/chunk-HZGRS7HG.mjs";import"../../../__chunks__/chunk-NTPPBM7T.mjs";import"../../../__chunks__/chunk-GUAXMODN.mjs";import"../../../__chunks__/chunk-4VA2SULD.mjs";import"../../../__chunks__/chunk-ZAPRDHIW.mjs";import"../../../__chunks__/chunk-GIZSIYH4.mjs";import"../../../__chunks__/chunk-WVAP3V3E.mjs";import"../../../__chunks__/chunk-XVX7N3JK.mjs";import"../../../__chunks__/chunk-HH5SA7BX.mjs";import"../../../__chunks__/chunk-TCDMXBPB.mjs";import"../../../__chunks__/chunk-B3IKUIRK.mjs";import"../../../__chunks__/chunk-4D3ZQTRN.mjs";import"../../../__chunks__/chunk-NGM3AVCY.mjs";import"../../../__chunks__/chunk-IXBWD6BF.mjs";import"../../../__chunks__/chunk-BMJVOKCD.mjs";import"../../../__chunks__/chunk-VCAWVAO5.mjs";import"../../../__chunks__/chunk-55W25Q35.mjs";import"../../../__chunks__/chunk-BZRPJAII.mjs";import"../../../__chunks__/chunk-KKC3NMW2.mjs";import"../../../__chunks__/chunk-RVYA3BJD.mjs";import"../../../__chunks__/chunk-UYRCLUET.mjs";import"../../../__chunks__/chunk-4MWQKLVG.mjs";import"../../../__chunks__/chunk-5OMQOYP7.mjs";import"../../../__chunks__/chunk-UCNS6KD5.mjs";import"../../../__chunks__/chunk-35MNP3LA.mjs";import"../../../__chunks__/chunk-TX7PTLVP.mjs";import"../../../__chunks__/chunk-WZ2DNB3R.mjs";import"../../../__chunks__/chunk-DFSBS3PX.mjs";import"../../../__chunks__/chunk-GFR6K4DR.mjs";import"../../../__chunks__/chunk-6D53LH5J.mjs";import"../../../__chunks__/chunk-H33OUO77.mjs";import"../../../__chunks__/chunk-HQQMSHTW.mjs";import"../../../__chunks__/chunk-UQU2VWPJ.mjs";import"../../../__chunks__/chunk-NK5Y3RLY.mjs";import"../../../__chunks__/chunk-6UMOECOW.mjs";import"../../../__chunks__/chunk-54B3EIZC.mjs";import"../../../__chunks__/chunk-QJ7MRSGB.mjs";import"../../../__chunks__/chunk-VDDXFGB2.mjs";import"../../../__chunks__/chunk-BRJNX4JF.mjs";import"../../../__chunks__/chunk-5PNQWHBP.mjs";import"../../../__chunks__/chunk-T4FRQ4JG.mjs";import"../../../__chunks__/chunk-UTWIKUIK.mjs";import"../../../__chunks__/chunk-UERJ6AKK.mjs";import"../../../__chunks__/chunk-KPK72MOE.mjs";import"../../../__chunks__/chunk-7VHTZYM2.mjs";import"../../../__chunks__/chunk-VNLGNNIL.mjs";import"../../../__chunks__/chunk-6JM4DPOH.mjs";import"../../../__chunks__/chunk-ZODTYAYF.mjs";import"../../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../../__chunks__/chunk-DKX6JUT6.mjs";import"../../../__chunks__/chunk-FGO6JGLQ.mjs";import"../../../__chunks__/chunk-KRWR77QE.mjs";import"../../../__chunks__/chunk-B7YCKWDU.mjs";import"../../../__chunks__/chunk-HDJOER66.mjs";import"../../../__chunks__/chunk-A7FTKX2A.mjs";import"../../../__chunks__/chunk-XKU5QBXG.mjs";import"../../../__chunks__/chunk-WZGG2YKQ.mjs";import"../../../__chunks__/chunk-JMC7CMTU.mjs";import"../../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../../__chunks__/chunk-T2YPFNVM.mjs";import"../../../__chunks__/chunk-M7BM6QPB.mjs";import"../../../__chunks__/chunk-5N4F5T5L.mjs";import"../../../__chunks__/chunk-CYCS3K6Q.mjs";import"../../../__chunks__/chunk-YMPZDHKF.mjs";import"../../../__chunks__/chunk-VKEESSBI.mjs";import"../../../__chunks__/chunk-2DNGCNYM.mjs";import"../../../__chunks__/chunk-SQVKVA7X.mjs";import"../../../__chunks__/chunk-I24YBVHK.mjs";import"../../../__chunks__/chunk-NB7A4C7L.mjs";import"../../../__chunks__/chunk-PJWJZHIS.mjs";import"../../../__chunks__/chunk-DBIIY2TX.mjs";import"../../../__chunks__/chunk-KD2IQ32V.mjs";import"../../../__chunks__/chunk-WHEXX3BD.mjs";import"../../../__chunks__/chunk-CDTYHGXZ.mjs";import"../../../__chunks__/chunk-2RAULLHL.mjs";import"../../../__chunks__/chunk-7CELSV4S.mjs";import"../../../__chunks__/chunk-YUITECZ5.mjs";import"../../../__chunks__/chunk-TVELGQIH.mjs";import"../../../__chunks__/chunk-2BSPSW6X.mjs";import"../../../__chunks__/chunk-OVXVICF7.mjs";import"../../../__chunks__/chunk-BTJWNUM6.mjs";import"../../../__chunks__/chunk-TRMQFQOQ.mjs";import"../../../__chunks__/chunk-WZI2I6NX.mjs";import"../../../__chunks__/chunk-TI37DKBT.mjs";import"../../../__chunks__/chunk-NTEMINYA.mjs";import"../../../__chunks__/chunk-WRLZ5ICK.mjs";import"../../../__chunks__/chunk-3FXHIV6O.mjs";import"../../../__chunks__/chunk-I3MK6KZJ.mjs";import"../../../__chunks__/chunk-UCRVRBTA.mjs";import"../../../__chunks__/chunk-QWU5MHP3.mjs";import"../../../__chunks__/chunk-MGQ373AO.mjs";import"../../../__chunks__/chunk-RPTH42EF.mjs";import"../../../__chunks__/chunk-3UNGCOKO.mjs";import"../../../__chunks__/chunk-HZRV27MM.mjs";import"../../../__chunks__/chunk-5Y2ZDPP6.mjs";import"../../../__chunks__/chunk-LHEH7L4L.mjs";import"../../../__chunks__/chunk-FMNY4EIM.mjs";import"../../../__chunks__/chunk-EJV4VNJG.mjs";import"../../../__chunks__/chunk-6R2WFQ7U.mjs";import"../../../__chunks__/chunk-3IMTI6JQ.mjs";import"../../../__chunks__/chunk-FI444OX3.mjs";import"../../../__chunks__/chunk-PKDR5ERF.mjs";import"../../../__chunks__/chunk-MGFIOCA4.mjs";import"../../../__chunks__/chunk-GGBMHKR4.mjs";import"../../../__chunks__/chunk-GLXG5BES.mjs";import"../../../__chunks__/chunk-LJX4MW7B.mjs";import"../../../__chunks__/chunk-DTQL3IDP.mjs";import"../../../__chunks__/chunk-CKTFPRJS.mjs";import"../../../__chunks__/chunk-M44UOZ5O.mjs";import"../../../__chunks__/chunk-IGDWL5FF.mjs";import"../../../__chunks__/chunk-EHDGJUEU.mjs";import"../../../__chunks__/chunk-HOCSCRJF.mjs";import"../../../__chunks__/chunk-6XHXG7HB.mjs";import"../../../__chunks__/chunk-UE3IBKCO.mjs";import"../../../__chunks__/chunk-H6IZMTJK.mjs";import"../../../__chunks__/chunk-B2UIPHJ3.mjs";export{a as LifetimeManager};
|
|
2
2
|
//# sourceMappingURL=LifetimeManager.mjs.map
|
|
@@ -1,88 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
var createToastsFromTransactions_exports = {};
|
|
20
|
-
__export(createToastsFromTransactions_exports, {
|
|
21
|
-
createToastsFromTransactions: () => createToastsFromTransactions
|
|
22
|
-
});
|
|
23
|
-
module.exports = __toCommonJS(createToastsFromTransactions_exports);
|
|
24
|
-
var import_transactionStateByStatus = require("../../../store/actions/transactions/transactionStateByStatus");
|
|
25
|
-
var import_accountSelectors = require("../../../store/selectors/accountSelectors");
|
|
26
|
-
var import_toastsSelectors = require("../../../store/selectors/toastsSelectors");
|
|
27
|
-
var import_transactionsSelector = require("../../../store/selectors/transactionsSelector");
|
|
28
|
-
var import_store = require("../../../store/store");
|
|
29
|
-
var import_helpers = require("../../../utils/transactions/getTransactionsHistory/helpers");
|
|
30
|
-
var import_createTransactionToast = require("./createTransactionToast");
|
|
31
|
-
const createToastsFromTransactions = async ({
|
|
32
|
-
existingCompletedTransactions = [],
|
|
33
|
-
skipFetchingTransactions = false,
|
|
34
|
-
store = (0, import_store.getState)()
|
|
35
|
-
}) => {
|
|
36
|
-
const pendingTransactionToasts = [];
|
|
37
|
-
const completedTransactionToasts = [
|
|
38
|
-
...existingCompletedTransactions
|
|
39
|
-
];
|
|
40
|
-
const toastList = (0, import_toastsSelectors.toastsSliceSelector)(store);
|
|
41
|
-
const transactionsSessions = (0, import_transactionsSelector.transactionsSliceSelector)(store);
|
|
42
|
-
const address = (0, import_accountSelectors.addressSelector)(store);
|
|
43
|
-
for (const toast of toastList.transactionToasts) {
|
|
44
|
-
const transactionSession = transactionsSessions[toast.toastId];
|
|
45
|
-
if (!transactionSession?.status) {
|
|
46
|
-
continue;
|
|
47
|
-
}
|
|
48
|
-
const { status, transactions, transactionsDisplayInfo } = transactionSession;
|
|
49
|
-
const interprettedTransactions = await (0, import_helpers.mapServerTransactionsToListItems)({
|
|
50
|
-
transactions,
|
|
51
|
-
skipFetchingTransactions,
|
|
52
|
-
store
|
|
53
|
-
});
|
|
54
|
-
const isTimedOut = (0, import_transactionStateByStatus.getIsTransactionTimedOut)(status);
|
|
55
|
-
const isFailed = (0, import_transactionStateByStatus.getIsTransactionFailed)(status);
|
|
56
|
-
const isSuccessful = (0, import_transactionStateByStatus.getIsTransactionSuccessful)(status);
|
|
57
|
-
const isCompleted = isTimedOut || isFailed || isSuccessful;
|
|
58
|
-
const isPending = (0, import_transactionStateByStatus.getIsTransactionPending)(status);
|
|
59
|
-
const { startTime, endTime } = toast;
|
|
60
|
-
if (isCompleted && completedTransactionToasts.some((t) => t.toastId === toast.toastId)) {
|
|
61
|
-
continue;
|
|
62
|
-
}
|
|
63
|
-
const transactionToast = (0, import_createTransactionToast.createTransactionToast)({
|
|
64
|
-
toastId: toast.toastId,
|
|
65
|
-
address,
|
|
66
|
-
status,
|
|
67
|
-
transactions: interprettedTransactions,
|
|
68
|
-
transactionsDisplayInfo,
|
|
69
|
-
startTime,
|
|
70
|
-
endTime
|
|
71
|
-
});
|
|
72
|
-
if (isCompleted) {
|
|
73
|
-
completedTransactionToasts.push(transactionToast);
|
|
74
|
-
}
|
|
75
|
-
if (isPending) {
|
|
76
|
-
pendingTransactionToasts.push(transactionToast);
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
return {
|
|
80
|
-
pendingTransactionToasts,
|
|
81
|
-
completedTransactionToasts
|
|
82
|
-
};
|
|
83
|
-
};
|
|
84
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
85
|
-
0 && (module.exports = {
|
|
86
|
-
createToastsFromTransactions
|
|
87
|
-
});
|
|
1
|
+
"use strict";var T=Object.defineProperty;var D=Object.getOwnPropertyDescriptor;var j=Object.getOwnPropertyNames;var q=Object.prototype.hasOwnProperty;var z=(s,t)=>{for(var r in t)T(s,r,{get:t[r],enumerable:!0})},A=(s,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of j(t))!q.call(s,o)&&o!==r&&T(s,o,{get:()=>t[o],enumerable:!(n=D(t,o))||n.enumerable});return s};var B=s=>A(T({},"__esModule",{value:!0}),s);var G={};z(G,{createToastsFromTransactions:()=>E});module.exports=B(G);var a=require("../../../store/actions/transactions/transactionStateByStatus"),f=require("../../../store/selectors/accountSelectors"),I=require("../../../store/selectors/toastsSelectors"),l=require("../../../store/selectors/transactionsSelector"),u=require("../../../store/store"),S=require("../../../utils/transactions/getTransactionsHistory/helpers"),g=require("./createTransactionToast");async function E({existingCompletedTransactions:s=[],skipFetchingTransactions:t=!1,...r}){const n=r.store??(0,u.getState)(),o=[],c=[...s],y=(0,I.toastsSliceSelector)(n),F=(0,l.transactionsSliceSelector)(n),C=(0,f.addressSelector)(n);for(const i of y.transactionToasts){const m=F[i.toastId];if(!m?.status)continue;const{status:e,transactions:P,transactionsDisplayInfo:h}=m,x=await(0,S.mapServerTransactionsToListItems)({transactions:P,skipFetchingTransactions:t,store:n}),L=(0,a.getIsTransactionTimedOut)(e),O=(0,a.getIsTransactionFailed)(e),R=(0,a.getIsTransactionSuccessful)(e),p=L||O||R,b=(0,a.getIsTransactionPending)(e),{startTime:k,endTime:v}=i;if(p&&c.some(w=>w.toastId===i.toastId))continue;const d=(0,g.createTransactionToast)({toastId:i.toastId,address:C,status:e,transactions:x,transactionsDisplayInfo:h,startTime:k,endTime:v});p&&c.push(d),b&&o.push(d)}return{pendingTransactionToasts:o,completedTransactionToasts:c}}0&&(module.exports={createToastsFromTransactions});
|
|
88
2
|
//# sourceMappingURL=createToastsFromTransactions.cjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../src/managers/ToastManager/helpers/createToastsFromTransactions.ts"],
|
|
4
|
-
"sourcesContent": ["import {\n getIsTransactionFailed,\n getIsTransactionPending,\n getIsTransactionSuccessful,\n getIsTransactionTimedOut\n} from 'store/actions/transactions/transactionStateByStatus';\nimport { addressSelector } from 'store/selectors/accountSelectors';\nimport { toastsSliceSelector } from 'store/selectors/toastsSelectors';\nimport { transactionsSliceSelector } from 'store/selectors/transactionsSelector';\nimport { getState } from 'store/store';\nimport { StoreType } from 'store/store.types';\nimport { mapServerTransactionsToListItems } from 'utils/transactions/getTransactionsHistory/helpers';\nimport { createTransactionToast } from './createTransactionToast';\nimport { ITransactionToast } from '../types/toast.types';\ninterface CreateToastsFromTransactionsReturnType {\n pendingTransactionToasts: ITransactionToast[];\n completedTransactionToasts: ITransactionToast[];\n}\n\ninterface CreateToastsFromTransactionsParamsType {\n existingCompletedTransactions?: ITransactionToast[];\n skipFetchingTransactions?: boolean;\n store?: StoreType;\n}\n\nexport
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": []
|
|
4
|
+
"sourcesContent": ["import {\n getIsTransactionFailed,\n getIsTransactionPending,\n getIsTransactionSuccessful,\n getIsTransactionTimedOut\n} from 'store/actions/transactions/transactionStateByStatus';\nimport { addressSelector } from 'store/selectors/accountSelectors';\nimport { toastsSliceSelector } from 'store/selectors/toastsSelectors';\nimport { transactionsSliceSelector } from 'store/selectors/transactionsSelector';\nimport { getState } from 'store/store';\nimport { StoreType } from 'store/store.types';\nimport { mapServerTransactionsToListItems } from 'utils/transactions/getTransactionsHistory/helpers';\nimport { createTransactionToast } from './createTransactionToast';\nimport { ITransactionToast } from '../types/toast.types';\ninterface CreateToastsFromTransactionsReturnType {\n pendingTransactionToasts: ITransactionToast[];\n completedTransactionToasts: ITransactionToast[];\n}\n\ninterface CreateToastsFromTransactionsParamsType {\n existingCompletedTransactions?: ITransactionToast[];\n skipFetchingTransactions?: boolean;\n store?: StoreType;\n}\n\nexport async function createToastsFromTransactions({\n existingCompletedTransactions = [],\n skipFetchingTransactions = false,\n ...props\n}: CreateToastsFromTransactionsParamsType): Promise<CreateToastsFromTransactionsReturnType> {\n const store = props.store ?? getState();\n const pendingTransactionToasts: ITransactionToast[] = [];\n const completedTransactionToasts: ITransactionToast[] = [\n ...existingCompletedTransactions\n ];\n const toastList = toastsSliceSelector(store);\n const transactionsSessions = transactionsSliceSelector(store);\n const address = addressSelector(store);\n\n for (const toast of toastList.transactionToasts) {\n const transactionSession = transactionsSessions[toast.toastId];\n if (!transactionSession?.status) {\n continue;\n }\n\n const { status, transactions, transactionsDisplayInfo } =\n transactionSession;\n\n const interprettedTransactions = await mapServerTransactionsToListItems({\n transactions,\n skipFetchingTransactions,\n store\n });\n\n const isTimedOut = getIsTransactionTimedOut(status);\n const isFailed = getIsTransactionFailed(status);\n const isSuccessful = getIsTransactionSuccessful(status);\n const isCompleted = isTimedOut || isFailed || isSuccessful;\n const isPending = getIsTransactionPending(status);\n const { startTime, endTime } = toast;\n\n if (\n isCompleted &&\n completedTransactionToasts.some((t) => t.toastId === toast.toastId)\n ) {\n continue;\n }\n\n const transactionToast = createTransactionToast({\n toastId: toast.toastId,\n address,\n status,\n transactions: interprettedTransactions,\n transactionsDisplayInfo,\n startTime,\n endTime\n });\n\n if (isCompleted) {\n completedTransactionToasts.push(transactionToast);\n }\n\n if (isPending) {\n pendingTransactionToasts.push(transactionToast);\n }\n }\n\n return {\n pendingTransactionToasts,\n completedTransactionToasts\n };\n}\n"],
|
|
5
|
+
"mappings": "yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,kCAAAE,IAAA,eAAAC,EAAAH,GAAA,IAAAI,EAKO,+DACPC,EAAgC,4CAChCC,EAAoC,2CACpCC,EAA0C,gDAC1CC,EAAyB,uBAEzBC,EAAiD,6DACjDC,EAAuC,oCAavC,eAAsBR,EAA6B,CACjD,8BAAAS,EAAgC,CAAC,EACjC,yBAAAC,EAA2B,GAC3B,GAAGC,CACL,EAA4F,CAC1F,MAAMC,EAAQD,EAAM,UAAS,YAAS,EAChCE,EAAgD,CAAC,EACjDC,EAAkD,CACtD,GAAGL,CACL,EACMM,KAAY,uBAAoBH,CAAK,EACrCI,KAAuB,6BAA0BJ,CAAK,EACtDK,KAAU,mBAAgBL,CAAK,EAErC,UAAWM,KAASH,EAAU,kBAAmB,CAC/C,MAAMI,EAAqBH,EAAqBE,EAAM,OAAO,EAC7D,GAAI,CAACC,GAAoB,OACvB,SAGF,KAAM,CAAE,OAAAC,EAAQ,aAAAC,EAAc,wBAAAC,CAAwB,EACpDH,EAEII,EAA2B,QAAM,oCAAiC,CACtE,aAAAF,EACA,yBAAAX,EACA,MAAAE,CACF,CAAC,EAEKY,KAAa,4BAAyBJ,CAAM,EAC5CK,KAAW,0BAAuBL,CAAM,EACxCM,KAAe,8BAA2BN,CAAM,EAChDO,EAAcH,GAAcC,GAAYC,EACxCE,KAAY,2BAAwBR,CAAM,EAC1C,CAAE,UAAAS,EAAW,QAAAC,CAAQ,EAAIZ,EAE/B,GACES,GACAb,EAA2B,KAAMiB,GAAMA,EAAE,UAAYb,EAAM,OAAO,EAElE,SAGF,MAAMc,KAAmB,0BAAuB,CAC9C,QAASd,EAAM,QACf,QAAAD,EACA,OAAAG,EACA,aAAcG,EACd,wBAAAD,EACA,UAAAO,EACA,QAAAC,CACF,CAAC,EAEGH,GACFb,EAA2B,KAAKkB,CAAgB,EAG9CJ,GACFf,EAAyB,KAAKmB,CAAgB,CAElD,CAEA,MAAO,CACL,yBAAAnB,EACA,2BAAAC,CACF,CACF",
|
|
6
|
+
"names": ["createToastsFromTransactions_exports", "__export", "createToastsFromTransactions", "__toCommonJS", "import_transactionStateByStatus", "import_accountSelectors", "import_toastsSelectors", "import_transactionsSelector", "import_store", "import_helpers", "import_createTransactionToast", "existingCompletedTransactions", "skipFetchingTransactions", "props", "store", "pendingTransactionToasts", "completedTransactionToasts", "toastList", "transactionsSessions", "address", "toast", "transactionSession", "status", "transactions", "transactionsDisplayInfo", "interprettedTransactions", "isTimedOut", "isFailed", "isSuccessful", "isCompleted", "isPending", "startTime", "endTime", "t", "transactionToast"]
|
|
7
7
|
}
|
|
@@ -9,5 +9,5 @@ interface CreateToastsFromTransactionsParamsType {
|
|
|
9
9
|
skipFetchingTransactions?: boolean;
|
|
10
10
|
store?: StoreType;
|
|
11
11
|
}
|
|
12
|
-
export declare
|
|
12
|
+
export declare function createToastsFromTransactions({ existingCompletedTransactions, skipFetchingTransactions, ...props }: CreateToastsFromTransactionsParamsType): Promise<CreateToastsFromTransactionsReturnType>;
|
|
13
13
|
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../../__chunks__/chunk-
|
|
1
|
+
import{a}from"../../../__chunks__/chunk-KHK7HHMR.mjs";import"../../../__chunks__/chunk-UZTMRUVT.mjs";import"../../../__chunks__/chunk-U3MIDVR7.mjs";import"../../../__chunks__/chunk-DGMI66QS.mjs";import"../../../__chunks__/chunk-PKD3AEXI.mjs";import"../../../__chunks__/chunk-CLUVDWX6.mjs";import"../../../__chunks__/chunk-E2GGD7D4.mjs";import"../../../__chunks__/chunk-XXV6KGR4.mjs";import"../../../__chunks__/chunk-NGM3AVCY.mjs";import"../../../__chunks__/chunk-VCAWVAO5.mjs";import"../../../__chunks__/chunk-55W25Q35.mjs";import"../../../__chunks__/chunk-BZRPJAII.mjs";import"../../../__chunks__/chunk-KKC3NMW2.mjs";import"../../../__chunks__/chunk-RVYA3BJD.mjs";import"../../../__chunks__/chunk-UYRCLUET.mjs";import"../../../__chunks__/chunk-4MWQKLVG.mjs";import"../../../__chunks__/chunk-5OMQOYP7.mjs";import"../../../__chunks__/chunk-UCNS6KD5.mjs";import"../../../__chunks__/chunk-35MNP3LA.mjs";import"../../../__chunks__/chunk-TX7PTLVP.mjs";import"../../../__chunks__/chunk-WZ2DNB3R.mjs";import"../../../__chunks__/chunk-DFSBS3PX.mjs";import"../../../__chunks__/chunk-GFR6K4DR.mjs";import"../../../__chunks__/chunk-6D53LH5J.mjs";import"../../../__chunks__/chunk-H33OUO77.mjs";import"../../../__chunks__/chunk-HQQMSHTW.mjs";import"../../../__chunks__/chunk-UQU2VWPJ.mjs";import"../../../__chunks__/chunk-NK5Y3RLY.mjs";import"../../../__chunks__/chunk-6UMOECOW.mjs";import"../../../__chunks__/chunk-54B3EIZC.mjs";import"../../../__chunks__/chunk-QJ7MRSGB.mjs";import"../../../__chunks__/chunk-VDDXFGB2.mjs";import"../../../__chunks__/chunk-BRJNX4JF.mjs";import"../../../__chunks__/chunk-5PNQWHBP.mjs";import"../../../__chunks__/chunk-T4FRQ4JG.mjs";import"../../../__chunks__/chunk-UTWIKUIK.mjs";import"../../../__chunks__/chunk-UERJ6AKK.mjs";import"../../../__chunks__/chunk-KPK72MOE.mjs";import"../../../__chunks__/chunk-7VHTZYM2.mjs";import"../../../__chunks__/chunk-VNLGNNIL.mjs";import"../../../__chunks__/chunk-6JM4DPOH.mjs";import"../../../__chunks__/chunk-ZODTYAYF.mjs";import"../../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../../__chunks__/chunk-DKX6JUT6.mjs";import"../../../__chunks__/chunk-FGO6JGLQ.mjs";import"../../../__chunks__/chunk-KRWR77QE.mjs";import"../../../__chunks__/chunk-B7YCKWDU.mjs";import"../../../__chunks__/chunk-HDJOER66.mjs";import"../../../__chunks__/chunk-A7FTKX2A.mjs";import"../../../__chunks__/chunk-XKU5QBXG.mjs";import"../../../__chunks__/chunk-WZGG2YKQ.mjs";import"../../../__chunks__/chunk-JMC7CMTU.mjs";import"../../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../../__chunks__/chunk-T2YPFNVM.mjs";import"../../../__chunks__/chunk-M7BM6QPB.mjs";import"../../../__chunks__/chunk-5N4F5T5L.mjs";import"../../../__chunks__/chunk-CYCS3K6Q.mjs";import"../../../__chunks__/chunk-YMPZDHKF.mjs";import"../../../__chunks__/chunk-VKEESSBI.mjs";import"../../../__chunks__/chunk-2DNGCNYM.mjs";import"../../../__chunks__/chunk-SQVKVA7X.mjs";import"../../../__chunks__/chunk-I24YBVHK.mjs";import"../../../__chunks__/chunk-NB7A4C7L.mjs";import"../../../__chunks__/chunk-PJWJZHIS.mjs";import"../../../__chunks__/chunk-DBIIY2TX.mjs";import"../../../__chunks__/chunk-KD2IQ32V.mjs";import"../../../__chunks__/chunk-7CELSV4S.mjs";import"../../../__chunks__/chunk-YUITECZ5.mjs";import"../../../__chunks__/chunk-TVELGQIH.mjs";import"../../../__chunks__/chunk-2BSPSW6X.mjs";import"../../../__chunks__/chunk-OVXVICF7.mjs";import"../../../__chunks__/chunk-BTJWNUM6.mjs";import"../../../__chunks__/chunk-TRMQFQOQ.mjs";import"../../../__chunks__/chunk-WZI2I6NX.mjs";import"../../../__chunks__/chunk-TI37DKBT.mjs";import"../../../__chunks__/chunk-NTEMINYA.mjs";import"../../../__chunks__/chunk-WRLZ5ICK.mjs";import"../../../__chunks__/chunk-I3MK6KZJ.mjs";import"../../../__chunks__/chunk-MGFIOCA4.mjs";import"../../../__chunks__/chunk-GGBMHKR4.mjs";import"../../../__chunks__/chunk-GLXG5BES.mjs";import"../../../__chunks__/chunk-6XHXG7HB.mjs";export{a as createToastsFromTransactions};
|
|
2
2
|
//# sourceMappingURL=createToastsFromTransactions.mjs.map
|
|
@@ -1,67 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
var createTransactionToast_exports = {};
|
|
20
|
-
__export(createTransactionToast_exports, {
|
|
21
|
-
createTransactionToast: () => createTransactionToast
|
|
22
|
-
});
|
|
23
|
-
module.exports = __toCommonJS(createTransactionToast_exports);
|
|
24
|
-
var import_transactionStateByStatus = require("../../../store/actions/transactions/transactionStateByStatus");
|
|
25
|
-
var import_getToastDataStateByStatus = require("./getToastDataStateByStatus");
|
|
26
|
-
var import_getToastTransactionsStatus = require("./getToastTransactionsStatus");
|
|
27
|
-
const createTransactionToast = ({
|
|
28
|
-
toastId,
|
|
29
|
-
address,
|
|
30
|
-
status,
|
|
31
|
-
transactions,
|
|
32
|
-
transactionsDisplayInfo,
|
|
33
|
-
startTime,
|
|
34
|
-
endTime
|
|
35
|
-
}) => {
|
|
36
|
-
const hasPendingTransaction = transactions.some(
|
|
37
|
-
(tx) => (0, import_transactionStateByStatus.getIsTransactionPending)(
|
|
38
|
-
tx.status
|
|
39
|
-
)
|
|
40
|
-
);
|
|
41
|
-
const txActionName = transactions[0]?.action?.name;
|
|
42
|
-
const toastDataState = (0, import_getToastDataStateByStatus.getToastDataStateByStatus)({
|
|
43
|
-
address,
|
|
44
|
-
sender: transactions[0]?.interactor ?? "",
|
|
45
|
-
toastId,
|
|
46
|
-
status,
|
|
47
|
-
transactionsDisplayInfo,
|
|
48
|
-
txActionName
|
|
49
|
-
});
|
|
50
|
-
const processedTransactionsStatus = (0, import_getToastTransactionsStatus.getToastTransactionsStatus)(transactions);
|
|
51
|
-
const transactionProgressState = hasPendingTransaction ? {
|
|
52
|
-
endTime,
|
|
53
|
-
startTime
|
|
54
|
-
} : null;
|
|
55
|
-
return {
|
|
56
|
-
toastDataState,
|
|
57
|
-
processedTransactionsStatus,
|
|
58
|
-
transactionProgressState,
|
|
59
|
-
toastId,
|
|
60
|
-
transactions
|
|
61
|
-
};
|
|
62
|
-
};
|
|
63
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
64
|
-
0 && (module.exports = {
|
|
65
|
-
createTransactionToast
|
|
66
|
-
});
|
|
1
|
+
"use strict";var o=Object.defineProperty;var I=Object.getOwnPropertyDescriptor;var g=Object.getOwnPropertyNames;var d=Object.prototype.hasOwnProperty;var P=(a,t)=>{for(var r in t)o(a,r,{get:t[r],enumerable:!0})},l=(a,t,r,s)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of g(t))!d.call(a,n)&&n!==r&&o(a,n,{get:()=>t[n],enumerable:!(s=I(t,n))||s.enumerable});return a};var D=a=>l(o({},"__esModule",{value:!0}),a);var E={};P(E,{createTransactionToast:()=>v});module.exports=D(E);var e=require("../../../store/actions/transactions/transactionStateByStatus"),i=require("./getToastDataStateByStatus"),T=require("./getToastTransactionsStatus");const v=({toastId:a,address:t,status:r,transactions:s,transactionsDisplayInfo:n,startTime:c,endTime:m})=>{const p=s.some(y=>(0,e.getIsTransactionPending)(y.status)),u=s[0]?.action?.name,S=(0,i.getToastDataStateByStatus)({address:t,sender:s[0]?.interactor??"",toastId:a,status:r,transactionsDisplayInfo:n,txActionName:u}),f=(0,T.getToastTransactionsStatus)(s);return{toastDataState:S,processedTransactionsStatus:f,transactionProgressState:p?{endTime:m,startTime:c}:null,toastId:a,transactions:s}};0&&(module.exports={createTransactionToast});
|
|
67
2
|
//# sourceMappingURL=createTransactionToast.cjs.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../src/managers/ToastManager/helpers/createTransactionToast.ts"],
|
|
4
4
|
"sourcesContent": ["import { ITransactionListItem } from 'lib/sdkDappUi';\nimport { getIsTransactionPending } from 'store/actions/transactions/transactionStateByStatus';\nimport {\n TransactionBatchStatusesEnum,\n TransactionServerStatusesEnum\n} from 'types/enums.types';\nimport { ServerTransactionType } from 'types/serverTransactions.types';\nimport { TransactionsDisplayInfoType } from 'types/transactions.types';\nimport { getToastDataStateByStatus } from './getToastDataStateByStatus';\nimport { getToastTransactionsStatus } from './getToastTransactionsStatus';\nimport { ITransactionToast } from '../types/toast.types';\ninterface CreateTransactionToastParamsType {\n toastId: string;\n address: string;\n status: ServerTransactionType['status'];\n transactions: ITransactionListItem[];\n transactionsDisplayInfo?: TransactionsDisplayInfoType;\n startTime: number;\n endTime: number;\n}\n\nexport const createTransactionToast = ({\n toastId,\n address,\n status,\n transactions,\n transactionsDisplayInfo,\n startTime,\n endTime\n}: CreateTransactionToastParamsType): ITransactionToast => {\n const hasPendingTransaction = transactions.some((tx) =>\n getIsTransactionPending(\n tx.status as TransactionServerStatusesEnum | TransactionBatchStatusesEnum\n )\n );\n // Extracts action name from the first transaction\n const txActionName = transactions[0]?.action?.name;\n\n const toastDataState = getToastDataStateByStatus({\n address,\n sender: transactions[0]?.interactor ?? '',\n toastId,\n status,\n transactionsDisplayInfo,\n txActionName\n });\n\n const processedTransactionsStatus = getToastTransactionsStatus(transactions);\n\n const transactionProgressState = hasPendingTransaction\n ? {\n endTime,\n startTime\n }\n : null;\n\n return {\n toastDataState,\n processedTransactionsStatus,\n transactionProgressState,\n toastId,\n transactions\n };\n};\n"],
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": []
|
|
5
|
+
"mappings": "yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,4BAAAE,IAAA,eAAAC,EAAAH,GACA,IAAAI,EAAwC,+DAOxCC,EAA0C,uCAC1CC,EAA2C,wCAYpC,MAAMJ,EAAyB,CAAC,CACrC,QAAAK,EACA,QAAAC,EACA,OAAAC,EACA,aAAAC,EACA,wBAAAC,EACA,UAAAC,EACA,QAAAC,CACF,IAA2D,CACzD,MAAMC,EAAwBJ,EAAa,KAAMK,MAC/C,2BACEA,EAAG,MACL,CACF,EAEMC,EAAeN,EAAa,CAAC,GAAG,QAAQ,KAExCO,KAAiB,6BAA0B,CAC/C,QAAAT,EACA,OAAQE,EAAa,CAAC,GAAG,YAAc,GACvC,QAAAH,EACA,OAAAE,EACA,wBAAAE,EACA,aAAAK,CACF,CAAC,EAEKE,KAA8B,8BAA2BR,CAAY,EAS3E,MAAO,CACL,eAAAO,EACA,4BAAAC,EACA,yBAV+BJ,EAC7B,CACE,QAAAD,EACA,UAAAD,CACF,EACA,KAMF,QAAAL,EACA,aAAAG,CACF,CACF",
|
|
6
|
+
"names": ["createTransactionToast_exports", "__export", "createTransactionToast", "__toCommonJS", "import_transactionStateByStatus", "import_getToastDataStateByStatus", "import_getToastTransactionsStatus", "toastId", "address", "status", "transactions", "transactionsDisplayInfo", "startTime", "endTime", "hasPendingTransaction", "tx", "txActionName", "toastDataState", "processedTransactionsStatus"]
|
|
7
7
|
}
|
|
@@ -1,105 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
var getToastDataStateByStatus_exports = {};
|
|
20
|
-
__export(getToastDataStateByStatus_exports, {
|
|
21
|
-
ToastIconsEnum: () => ToastIconsEnum,
|
|
22
|
-
getToastDataStateByStatus: () => getToastDataStateByStatus
|
|
23
|
-
});
|
|
24
|
-
module.exports = __toCommonJS(getToastDataStateByStatus_exports);
|
|
25
|
-
var import_types = require("../../../types");
|
|
26
|
-
var import_types2 = require("../types");
|
|
27
|
-
var ToastIconsEnum = /* @__PURE__ */ ((ToastIconsEnum2) => {
|
|
28
|
-
ToastIconsEnum2["check"] = "check";
|
|
29
|
-
ToastIconsEnum2["hourglass"] = "hourglass";
|
|
30
|
-
ToastIconsEnum2["times"] = "times";
|
|
31
|
-
ToastIconsEnum2["ban"] = "ban";
|
|
32
|
-
return ToastIconsEnum2;
|
|
33
|
-
})(ToastIconsEnum || {});
|
|
34
|
-
const getToastDataStateByStatus = ({
|
|
35
|
-
address,
|
|
36
|
-
sender,
|
|
37
|
-
status,
|
|
38
|
-
toastId,
|
|
39
|
-
transactionsDisplayInfo,
|
|
40
|
-
txActionName
|
|
41
|
-
}) => {
|
|
42
|
-
const successToastData = {
|
|
43
|
-
id: toastId,
|
|
44
|
-
icon: "check" /* check */,
|
|
45
|
-
hasCloseButton: true,
|
|
46
|
-
title: transactionsDisplayInfo?.successMessage ?? txActionName ?? import_types2.TransactionsDefaultTitles.success,
|
|
47
|
-
iconClassName: "success"
|
|
48
|
-
};
|
|
49
|
-
const receivedToastData = {
|
|
50
|
-
id: toastId,
|
|
51
|
-
icon: "check" /* check */,
|
|
52
|
-
hasCloseButton: true,
|
|
53
|
-
title: transactionsDisplayInfo?.receivedMessage ?? transactionsDisplayInfo?.successMessage ?? txActionName ?? import_types2.TransactionsDefaultTitles.received,
|
|
54
|
-
iconClassName: "success"
|
|
55
|
-
};
|
|
56
|
-
const pendingToastData = {
|
|
57
|
-
id: toastId,
|
|
58
|
-
icon: "hourglass" /* hourglass */,
|
|
59
|
-
hasCloseButton: false,
|
|
60
|
-
title: transactionsDisplayInfo?.processingMessage ?? txActionName ?? import_types2.TransactionsDefaultTitles.pending,
|
|
61
|
-
iconClassName: "warning"
|
|
62
|
-
};
|
|
63
|
-
const failToastData = {
|
|
64
|
-
id: toastId,
|
|
65
|
-
icon: "times" /* times */,
|
|
66
|
-
title: transactionsDisplayInfo?.errorMessage ?? txActionName ?? import_types2.TransactionsDefaultTitles.failed,
|
|
67
|
-
hasCloseButton: true,
|
|
68
|
-
iconClassName: "danger"
|
|
69
|
-
};
|
|
70
|
-
const invalidToastData = {
|
|
71
|
-
id: toastId,
|
|
72
|
-
icon: "ban" /* ban */,
|
|
73
|
-
title: transactionsDisplayInfo?.invalidMessage ?? txActionName ?? import_types2.TransactionsDefaultTitles.invalid,
|
|
74
|
-
hasCloseButton: true,
|
|
75
|
-
iconClassName: "warning"
|
|
76
|
-
};
|
|
77
|
-
const timedOutToastData = {
|
|
78
|
-
id: toastId,
|
|
79
|
-
icon: "times" /* times */,
|
|
80
|
-
title: transactionsDisplayInfo?.timedOutMessage ?? txActionName ?? import_types2.TransactionsDefaultTitles.timedOut,
|
|
81
|
-
hasCloseButton: true,
|
|
82
|
-
iconClassName: "warning"
|
|
83
|
-
};
|
|
84
|
-
switch (status) {
|
|
85
|
-
case import_types.TransactionBatchStatusesEnum.success:
|
|
86
|
-
return sender !== address ? receivedToastData : successToastData;
|
|
87
|
-
case import_types.TransactionBatchStatusesEnum.cancelled:
|
|
88
|
-
case import_types.TransactionBatchStatusesEnum.fail:
|
|
89
|
-
return failToastData;
|
|
90
|
-
case import_types.TransactionBatchStatusesEnum.timedOut:
|
|
91
|
-
return timedOutToastData;
|
|
92
|
-
case import_types.TransactionBatchStatusesEnum.invalid:
|
|
93
|
-
return invalidToastData;
|
|
94
|
-
case import_types.TransactionBatchStatusesEnum.signed:
|
|
95
|
-
case import_types.TransactionBatchStatusesEnum.sent:
|
|
96
|
-
default:
|
|
97
|
-
return pendingToastData;
|
|
98
|
-
}
|
|
99
|
-
};
|
|
100
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
101
|
-
0 && (module.exports = {
|
|
102
|
-
ToastIconsEnum,
|
|
103
|
-
getToastDataStateByStatus
|
|
104
|
-
});
|
|
1
|
+
"use strict";var u=Object.defineProperty;var C=Object.getOwnPropertyDescriptor;var D=Object.getOwnPropertyNames;var S=Object.prototype.hasOwnProperty;var B=(t,s)=>{for(var i in s)u(t,i,{get:s[i],enumerable:!0})},p=(t,s,i,a)=>{if(s&&typeof s=="object"||typeof s=="function")for(let e of D(s))!S.call(t,e)&&e!==i&&u(t,e,{get:()=>s[e],enumerable:!(a=C(s,e))||a.enumerable});return t};var v=t=>p(u({},"__esModule",{value:!0}),t);var O={};B(O,{ToastIconsEnum:()=>r,getToastDataStateByStatus:()=>M});module.exports=v(O);var c=require("../../../types"),o=require("../types"),r=(e=>(e.check="check",e.hourglass="hourglass",e.times="times",e.ban="ban",e))(r||{});const M=({address:t,sender:s,status:i,toastId:a,transactionsDisplayInfo:e,txActionName:n})=>{const l={id:a,icon:"check",hasCloseButton:!0,title:e?.successMessage??n??o.TransactionsDefaultTitles.success,iconClassName:"success"},T={id:a,icon:"check",hasCloseButton:!0,title:e?.receivedMessage??e?.successMessage??n??o.TransactionsDefaultTitles.received,iconClassName:"success"},d={id:a,icon:"hourglass",hasCloseButton:!1,title:e?.processingMessage??n??o.TransactionsDefaultTitles.pending,iconClassName:"warning"},g={id:a,icon:"times",title:e?.errorMessage??n??o.TransactionsDefaultTitles.failed,hasCloseButton:!0,iconClassName:"danger"},m={id:a,icon:"ban",title:e?.invalidMessage??n??o.TransactionsDefaultTitles.invalid,hasCloseButton:!0,iconClassName:"warning"},h={id:a,icon:"times",title:e?.timedOutMessage??n??o.TransactionsDefaultTitles.timedOut,hasCloseButton:!0,iconClassName:"warning"};switch(i){case c.TransactionBatchStatusesEnum.success:return s!==t?T:l;case c.TransactionBatchStatusesEnum.cancelled:case c.TransactionBatchStatusesEnum.fail:return g;case c.TransactionBatchStatusesEnum.timedOut:return h;case c.TransactionBatchStatusesEnum.invalid:return m;case c.TransactionBatchStatusesEnum.signed:case c.TransactionBatchStatusesEnum.sent:default:return d}};0&&(module.exports={ToastIconsEnum,getToastDataStateByStatus});
|
|
105
2
|
//# sourceMappingURL=getToastDataStateByStatus.cjs.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../src/managers/ToastManager/helpers/getToastDataStateByStatus.ts"],
|
|
4
4
|
"sourcesContent": ["import { TransactionBatchStatusesEnum } from 'types';\nimport {\n GetToastsOptionsDataPropsType,\n IToastDataState,\n TransactionsDefaultTitles\n} from '../types';\n\nexport enum ToastIconsEnum {\n check = 'check',\n hourglass = 'hourglass',\n times = 'times',\n ban = 'ban'\n}\n\nexport const getToastDataStateByStatus = ({\n address,\n sender,\n status,\n toastId,\n transactionsDisplayInfo,\n txActionName\n}: GetToastsOptionsDataPropsType) => {\n const successToastData: IToastDataState = {\n id: toastId,\n icon: ToastIconsEnum.check,\n hasCloseButton: true,\n title:\n transactionsDisplayInfo?.successMessage ??\n txActionName ??\n TransactionsDefaultTitles.success,\n iconClassName: 'success'\n };\n\n const receivedToastData: IToastDataState = {\n id: toastId,\n icon: ToastIconsEnum.check,\n hasCloseButton: true,\n title:\n transactionsDisplayInfo?.receivedMessage ??\n transactionsDisplayInfo?.successMessage ??\n txActionName ??\n TransactionsDefaultTitles.received,\n iconClassName: 'success'\n };\n\n const pendingToastData: IToastDataState = {\n id: toastId,\n icon: ToastIconsEnum.hourglass,\n hasCloseButton: false,\n title:\n transactionsDisplayInfo?.processingMessage ??\n txActionName ??\n TransactionsDefaultTitles.pending,\n iconClassName: 'warning'\n };\n\n const failToastData: IToastDataState = {\n id: toastId,\n icon: ToastIconsEnum.times,\n title:\n transactionsDisplayInfo?.errorMessage ??\n txActionName ??\n TransactionsDefaultTitles.failed,\n hasCloseButton: true,\n iconClassName: 'danger'\n };\n\n const invalidToastData: IToastDataState = {\n id: toastId,\n icon: ToastIconsEnum.ban,\n title:\n transactionsDisplayInfo?.invalidMessage ??\n txActionName ??\n TransactionsDefaultTitles.invalid,\n hasCloseButton: true,\n iconClassName: 'warning'\n };\n\n const timedOutToastData = {\n id: toastId,\n icon: ToastIconsEnum.times,\n title:\n transactionsDisplayInfo?.timedOutMessage ??\n txActionName ??\n TransactionsDefaultTitles.timedOut,\n hasCloseButton: true,\n iconClassName: 'warning'\n };\n\n switch (status) {\n case TransactionBatchStatusesEnum.success:\n return sender !== address ? receivedToastData : successToastData;\n case TransactionBatchStatusesEnum.cancelled:\n case TransactionBatchStatusesEnum.fail:\n return failToastData;\n case TransactionBatchStatusesEnum.timedOut:\n return timedOutToastData;\n case TransactionBatchStatusesEnum.invalid:\n return invalidToastData;\n\n case TransactionBatchStatusesEnum.signed:\n case TransactionBatchStatusesEnum.sent:\n default:\n return pendingToastData;\n }\n};\n"],
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": ["
|
|
5
|
+
"mappings": "yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,oBAAAE,EAAA,8BAAAC,IAAA,eAAAC,EAAAJ,GAAA,IAAAK,EAA6C,iBAC7CA,EAIO,oBAEKH,OACVA,EAAA,MAAQ,QACRA,EAAA,UAAY,YACZA,EAAA,MAAQ,QACRA,EAAA,IAAM,MAJIA,OAAA,IAOL,MAAMC,EAA4B,CAAC,CACxC,QAAAG,EACA,OAAAC,EACA,OAAAC,EACA,QAAAC,EACA,wBAAAC,EACA,aAAAC,CACF,IAAqC,CACnC,MAAMC,EAAoC,CACxC,GAAIH,EACJ,KAAM,QACN,eAAgB,GAChB,MACEC,GAAyB,gBACzBC,GACA,4BAA0B,QAC5B,cAAe,SACjB,EAEME,EAAqC,CACzC,GAAIJ,EACJ,KAAM,QACN,eAAgB,GAChB,MACEC,GAAyB,iBACzBA,GAAyB,gBACzBC,GACA,4BAA0B,SAC5B,cAAe,SACjB,EAEMG,EAAoC,CACxC,GAAIL,EACJ,KAAM,YACN,eAAgB,GAChB,MACEC,GAAyB,mBACzBC,GACA,4BAA0B,QAC5B,cAAe,SACjB,EAEMI,EAAiC,CACrC,GAAIN,EACJ,KAAM,QACN,MACEC,GAAyB,cACzBC,GACA,4BAA0B,OAC5B,eAAgB,GAChB,cAAe,QACjB,EAEMK,EAAoC,CACxC,GAAIP,EACJ,KAAM,MACN,MACEC,GAAyB,gBACzBC,GACA,4BAA0B,QAC5B,eAAgB,GAChB,cAAe,SACjB,EAEMM,EAAoB,CACxB,GAAIR,EACJ,KAAM,QACN,MACEC,GAAyB,iBACzBC,GACA,4BAA0B,SAC5B,eAAgB,GAChB,cAAe,SACjB,EAEA,OAAQH,EAAQ,CACd,KAAK,+BAA6B,QAChC,OAAOD,IAAWD,EAAUO,EAAoBD,EAClD,KAAK,+BAA6B,UAClC,KAAK,+BAA6B,KAChC,OAAOG,EACT,KAAK,+BAA6B,SAChC,OAAOE,EACT,KAAK,+BAA6B,QAChC,OAAOD,EAET,KAAK,+BAA6B,OAClC,KAAK,+BAA6B,KAClC,QACE,OAAOF,CACX,CACF",
|
|
6
|
+
"names": ["getToastDataStateByStatus_exports", "__export", "ToastIconsEnum", "getToastDataStateByStatus", "__toCommonJS", "import_types", "address", "sender", "status", "toastId", "transactionsDisplayInfo", "txActionName", "successToastData", "receivedToastData", "pendingToastData", "failToastData", "invalidToastData", "timedOutToastData"]
|
|
7
7
|
}
|
|
@@ -1,41 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
var getToastTransactionsStatus_exports = {};
|
|
20
|
-
__export(getToastTransactionsStatus_exports, {
|
|
21
|
-
getToastTransactionsStatus: () => getToastTransactionsStatus
|
|
22
|
-
});
|
|
23
|
-
module.exports = __toCommonJS(getToastTransactionsStatus_exports);
|
|
24
|
-
var import_transactionStateByStatus = require("../../../store/actions/transactions/transactionStateByStatus");
|
|
25
|
-
const getToastTransactionsStatus = (transactions) => {
|
|
26
|
-
const processedTransactions = transactions.filter(
|
|
27
|
-
(tx) => !(0, import_transactionStateByStatus.isServerTransactionPending)(tx.status)
|
|
28
|
-
).length;
|
|
29
|
-
const totalTransactions = transactions.length;
|
|
30
|
-
if (totalTransactions === 1 && processedTransactions === 1) {
|
|
31
|
-
return (0, import_transactionStateByStatus.isServerTransactionPending)(
|
|
32
|
-
transactions[0].status
|
|
33
|
-
) ? "Processing transaction" : "Transaction processed";
|
|
34
|
-
}
|
|
35
|
-
return `${processedTransactions} / ${totalTransactions} transactions processed`;
|
|
36
|
-
};
|
|
37
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
38
|
-
0 && (module.exports = {
|
|
39
|
-
getToastTransactionsStatus
|
|
40
|
-
});
|
|
1
|
+
"use strict";var e=Object.defineProperty;var i=Object.getOwnPropertyDescriptor;var c=Object.getOwnPropertyNames;var m=Object.prototype.hasOwnProperty;var u=(s,t)=>{for(var r in t)e(s,r,{get:t[r],enumerable:!0})},T=(s,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of c(t))!m.call(s,n)&&n!==r&&e(s,n,{get:()=>t[n],enumerable:!(a=i(t,n))||a.enumerable});return s};var S=s=>T(e({},"__esModule",{value:!0}),s);var f={};u(f,{getToastTransactionsStatus:()=>p});module.exports=S(f);var o=require("../../../store/actions/transactions/transactionStateByStatus");const p=s=>{const t=s.filter(a=>!(0,o.isServerTransactionPending)(a.status)).length,r=s.length;return r===1&&t===1?(0,o.isServerTransactionPending)(s[0].status)?"Processing transaction":"Transaction processed":`${t} / ${r} transactions processed`};0&&(module.exports={getToastTransactionsStatus});
|
|
41
2
|
//# sourceMappingURL=getToastTransactionsStatus.cjs.map
|