@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,50 +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 getExplorerLink_exports = {};
|
|
20
|
-
__export(getExplorerLink_exports, {
|
|
21
|
-
getExplorerLink: () => getExplorerLink
|
|
22
|
-
});
|
|
23
|
-
module.exports = __toCommonJS(getExplorerLink_exports);
|
|
24
|
-
let errorMessageDisplayed = false;
|
|
25
|
-
function logError(error) {
|
|
26
|
-
if (!errorMessageDisplayed) {
|
|
27
|
-
console.error(error);
|
|
28
|
-
errorMessageDisplayed = true;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
function getExplorerLink({
|
|
32
|
-
explorerAddress,
|
|
33
|
-
to
|
|
34
|
-
}) {
|
|
35
|
-
try {
|
|
36
|
-
const url = new URL(to);
|
|
37
|
-
return url.href;
|
|
38
|
-
} catch {
|
|
39
|
-
if (!to.startsWith("/")) {
|
|
40
|
-
logError(`Link not prepended by / : ${to}`);
|
|
41
|
-
to = `/${to}`;
|
|
42
|
-
}
|
|
43
|
-
return explorerAddress ? `${explorerAddress}${to}` : to;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
47
|
-
0 && (module.exports = {
|
|
48
|
-
getExplorerLink
|
|
49
|
-
});
|
|
1
|
+
"use strict";var i=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var u=Object.getOwnPropertyNames;var c=Object.prototype.hasOwnProperty;var f=(e,r)=>{for(var n in r)i(e,n,{get:r[n],enumerable:!0})},g=(e,r,n,s)=>{if(r&&typeof r=="object"||typeof r=="function")for(let t of u(r))!c.call(e,t)&&t!==n&&i(e,t,{get:()=>r[t],enumerable:!(s=o(r,t))||s.enumerable});return e};var a=e=>g(i({},"__esModule",{value:!0}),e);var d={};f(d,{getExplorerLink:()=>$});module.exports=a(d);let l=!1;function p(e){l||(console.error(e),l=!0)}function $({explorerAddress:e,to:r}){try{return new URL(r).href}catch{return r.startsWith("/")||(p(`Link not prepended by / : ${r}`),r=`/${r}`),e?`${e}${r}`:r}}0&&(module.exports={getExplorerLink});
|
|
50
2
|
//# sourceMappingURL=getExplorerLink.cjs.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/utils/transactions/getExplorerLink.ts"],
|
|
4
4
|
"sourcesContent": ["let errorMessageDisplayed = false;\n\nfunction logError(error: string) {\n if (!errorMessageDisplayed) {\n console.error(error);\n errorMessageDisplayed = true;\n }\n}\n\nexport function getExplorerLink({\n explorerAddress,\n to\n}: {\n explorerAddress: string;\n to: string;\n}) {\n try {\n // if a valid url is sent, return the original url\n const url = new URL(to);\n return url.href;\n } catch {\n if (!to.startsWith('/')) {\n logError(`Link not prepended by / : ${to}`);\n to = `/${to}`;\n }\n return explorerAddress ? `${explorerAddress}${to}` : to;\n }\n}\n"],
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": []
|
|
5
|
+
"mappings": "yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,qBAAAE,IAAA,eAAAC,EAAAH,GAAA,IAAII,EAAwB,GAE5B,SAASC,EAASC,EAAe,CAC1BF,IACH,QAAQ,MAAME,CAAK,EACnBF,EAAwB,GAE5B,CAEO,SAASF,EAAgB,CAC9B,gBAAAK,EACA,GAAAC,CACF,EAGG,CACD,GAAI,CAGF,OADY,IAAI,IAAIA,CAAE,EACX,IACb,MAAQ,CACN,OAAKA,EAAG,WAAW,GAAG,IACpBH,EAAS,6BAA6BG,CAAE,EAAE,EAC1CA,EAAK,IAAIA,CAAE,IAEND,EAAkB,GAAGA,CAAe,GAAGC,CAAE,GAAKA,CACvD,CACF",
|
|
6
|
+
"names": ["getExplorerLink_exports", "__export", "getExplorerLink", "__toCommonJS", "errorMessageDisplayed", "logError", "error", "explorerAddress", "to"]
|
|
7
7
|
}
|
|
@@ -1,47 +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 getHumanReadableTimeFormat_exports = {};
|
|
20
|
-
__export(getHumanReadableTimeFormat_exports, {
|
|
21
|
-
getHumanReadableTimeFormat: () => getHumanReadableTimeFormat
|
|
22
|
-
});
|
|
23
|
-
module.exports = __toCommonJS(getHumanReadableTimeFormat_exports);
|
|
24
|
-
function getHumanReadableTimeFormat({
|
|
25
|
-
value,
|
|
26
|
-
noSeconds,
|
|
27
|
-
utc,
|
|
28
|
-
meridiem = true
|
|
29
|
-
}) {
|
|
30
|
-
const utcDate = new Date(value * 1e3);
|
|
31
|
-
const [, AmPm] = utcDate.toLocaleString("en-US", { hour: "numeric", hour12: meridiem }).split(" ");
|
|
32
|
-
const formatted = utcDate.toUTCString();
|
|
33
|
-
const [, date] = formatted.split(",");
|
|
34
|
-
const [day, month, year, time] = date.trim().split(" ");
|
|
35
|
-
const [hours, minutes, sec] = time.split(":");
|
|
36
|
-
const seconds = `:${sec}`;
|
|
37
|
-
const timeFormatted = `${hours}:${minutes}${noSeconds ? "" : seconds}`;
|
|
38
|
-
const utcSuffix = utc ? "UTC" : "";
|
|
39
|
-
const meridiemSuffix = meridiem ? AmPm : "";
|
|
40
|
-
const suffix = `${meridiemSuffix} ${utcSuffix}`.trim();
|
|
41
|
-
return `${month} ${day}, ${year} ${timeFormatted} ${suffix}`.trim();
|
|
42
|
-
}
|
|
43
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
44
|
-
0 && (module.exports = {
|
|
45
|
-
getHumanReadableTimeFormat
|
|
46
|
-
});
|
|
1
|
+
"use strict";var m=Object.defineProperty;var T=Object.getOwnPropertyDescriptor;var h=Object.getOwnPropertyNames;var y=Object.prototype.hasOwnProperty;var F=(e,t)=>{for(var n in t)m(e,n,{get:t[n],enumerable:!0})},g=(e,t,n,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of h(t))!y.call(e,o)&&o!==n&&m(e,o,{get:()=>t[o],enumerable:!(i=T(t,o))||i.enumerable});return e};var H=e=>g(m({},"__esModule",{value:!0}),e);var U={};F(U,{getHumanReadableTimeFormat:()=>R});module.exports=H(U);function R({value:e,noSeconds:t,utc:n,meridiem:i=!0}){const o=new Date(e*1e3),[,a]=o.toLocaleString("en-US",{hour:"numeric",hour12:i}).split(" "),r=o.toUTCString(),[,c]=r.split(","),[s,u,f,l]=c.trim().split(" "),[d,$,p]=l.split(":"),S=`:${p}`,b=`${d}:${$}${t?"":S}`,x=`${i?a:""} ${n?"UTC":""}`.trim();return`${u} ${s}, ${f} ${b} ${x}`.trim()}0&&(module.exports={getHumanReadableTimeFormat});
|
|
47
2
|
//# sourceMappingURL=getHumanReadableTimeFormat.cjs.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/utils/transactions/getHumanReadableTimeFormat.ts"],
|
|
4
4
|
"sourcesContent": ["export interface GetHumanReadableTimeFormatType {\n value: number;\n noSeconds?: boolean;\n utc?: boolean;\n meridiem?: boolean;\n}\n\n/**\n * @param value - UNIX timestamp\n * */\nexport function getHumanReadableTimeFormat({\n value,\n noSeconds,\n utc,\n meridiem = true\n}: GetHumanReadableTimeFormatType) {\n const utcDate = new Date(value * 1000);\n const [, AmPm] = utcDate\n .toLocaleString('en-US', { hour: 'numeric', hour12: meridiem })\n .split(' ');\n const formatted = utcDate.toUTCString();\n const [, date] = formatted.split(',');\n const [day, month, year, time] = date.trim().split(' ');\n const [hours, minutes, sec] = time.split(':');\n const seconds = `:${sec}`;\n const timeFormatted = `${hours}:${minutes}${noSeconds ? '' : seconds}`;\n const utcSuffix = utc ? 'UTC' : '';\n const meridiemSuffix = meridiem ? AmPm : '';\n const suffix = `${meridiemSuffix} ${utcSuffix}`.trim();\n\n return `${month} ${day}, ${year} ${timeFormatted} ${suffix}`.trim();\n}\n"],
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": []
|
|
5
|
+
"mappings": "yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,gCAAAE,IAAA,eAAAC,EAAAH,GAUO,SAASE,EAA2B,CACzC,MAAAE,EACA,UAAAC,EACA,IAAAC,EACA,SAAAC,EAAW,EACb,EAAmC,CACjC,MAAMC,EAAU,IAAI,KAAKJ,EAAQ,GAAI,EAC/B,CAAC,CAAEK,CAAI,EAAID,EACd,eAAe,QAAS,CAAE,KAAM,UAAW,OAAQD,CAAS,CAAC,EAC7D,MAAM,GAAG,EACNG,EAAYF,EAAQ,YAAY,EAChC,CAAC,CAAEG,CAAI,EAAID,EAAU,MAAM,GAAG,EAC9B,CAACE,EAAKC,EAAOC,EAAMC,CAAI,EAAIJ,EAAK,KAAK,EAAE,MAAM,GAAG,EAChD,CAACK,EAAOC,EAASC,CAAG,EAAIH,EAAK,MAAM,GAAG,EACtCI,EAAU,IAAID,CAAG,GACjBE,EAAgB,GAAGJ,CAAK,IAAIC,CAAO,GAAGZ,EAAY,GAAKc,CAAO,GAG9DE,EAAS,GADQd,EAAWE,EAAO,EACT,IAFdH,EAAM,MAAQ,EAEa,GAAG,KAAK,EAErD,MAAO,GAAGO,CAAK,IAAID,CAAG,KAAKE,CAAI,IAAIM,CAAa,IAAIC,CAAM,GAAG,KAAK,CACpE",
|
|
6
|
+
"names": ["getHumanReadableTimeFormat_exports", "__export", "getHumanReadableTimeFormat", "__toCommonJS", "value", "noSeconds", "utc", "meridiem", "utcDate", "AmPm", "formatted", "date", "day", "month", "year", "time", "hours", "minutes", "sec", "seconds", "timeFormatted", "suffix"]
|
|
7
7
|
}
|
|
@@ -1,110 +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 getInterpretedTransaction_exports = {};
|
|
20
|
-
__export(getInterpretedTransaction_exports, {
|
|
21
|
-
getInterpretedTransaction: () => getInterpretedTransaction
|
|
22
|
-
});
|
|
23
|
-
module.exports = __toCommonJS(getInterpretedTransaction_exports);
|
|
24
|
-
var import_timeRemaining = require("../../../utils/operations/timeRemaining");
|
|
25
|
-
var import_validation = require("../../../utils/validation");
|
|
26
|
-
var import_explorerUrlBuilder = require("../explorerUrlBuilder");
|
|
27
|
-
var import_getExplorerLink = require("../getExplorerLink");
|
|
28
|
-
var import_getHumanReadableTimeFormat = require("../getHumanReadableTimeFormat");
|
|
29
|
-
var import_getTokenFromData = require("./helpers/getTokenFromData");
|
|
30
|
-
var import_getTransactionIconInfo = require("./helpers/getTransactionIconInfo");
|
|
31
|
-
var import_getTransactionMethod = require("./helpers/getTransactionMethod");
|
|
32
|
-
var import_getTransactionReceiver = require("./helpers/getTransactionReceiver");
|
|
33
|
-
var import_getTransactionReceiverAssets = require("./helpers/getTransactionReceiverAssets");
|
|
34
|
-
var import_getTransactionTokens = require("./helpers/getTransactionTokens");
|
|
35
|
-
var import_getTransactionTransferType = require("./helpers/getTransactionTransferType");
|
|
36
|
-
function getInterpretedTransaction({
|
|
37
|
-
transaction,
|
|
38
|
-
address,
|
|
39
|
-
explorerAddress
|
|
40
|
-
}) {
|
|
41
|
-
const tokenIdentifier = transaction.tokenIdentifier ?? (0, import_getTokenFromData.getTokenFromData)(transaction.data).tokenId;
|
|
42
|
-
const receiver = (0, import_getTransactionReceiver.getTransactionReceiver)(transaction);
|
|
43
|
-
const receiverAssets = (0, import_getTransactionReceiverAssets.getTransactionReceiverAssets)(transaction);
|
|
44
|
-
const age = {
|
|
45
|
-
timeAgo: (0, import_timeRemaining.timeAgo)(transaction.timestamp * 1e3, true),
|
|
46
|
-
tooltip: (0, import_getHumanReadableTimeFormat.getHumanReadableTimeFormat)({
|
|
47
|
-
value: transaction.timestamp,
|
|
48
|
-
noSeconds: false,
|
|
49
|
-
utc: true
|
|
50
|
-
})
|
|
51
|
-
};
|
|
52
|
-
const direction = (0, import_getTransactionTransferType.getTransactionTransferType)({
|
|
53
|
-
address,
|
|
54
|
-
transaction,
|
|
55
|
-
receiver
|
|
56
|
-
});
|
|
57
|
-
const method = {
|
|
58
|
-
actionDescription: transaction.action?.description,
|
|
59
|
-
name: (0, import_getTransactionMethod.getTransactionMethod)(transaction)
|
|
60
|
-
};
|
|
61
|
-
const transactionTokens = (0, import_getTransactionTokens.getTransactionTokens)(transaction);
|
|
62
|
-
const senderLink = (0, import_getExplorerLink.getExplorerLink)({
|
|
63
|
-
explorerAddress,
|
|
64
|
-
to: import_explorerUrlBuilder.explorerUrlBuilder.accountDetails(transaction.sender)
|
|
65
|
-
});
|
|
66
|
-
const receiverLink = (0, import_getExplorerLink.getExplorerLink)({
|
|
67
|
-
explorerAddress,
|
|
68
|
-
to: import_explorerUrlBuilder.explorerUrlBuilder.accountDetails(receiver)
|
|
69
|
-
});
|
|
70
|
-
const senderShardLink = (0, import_getExplorerLink.getExplorerLink)({
|
|
71
|
-
explorerAddress,
|
|
72
|
-
to: import_explorerUrlBuilder.explorerUrlBuilder.senderShard(transaction.senderShard)
|
|
73
|
-
});
|
|
74
|
-
const receiverShardLink = (0, import_getExplorerLink.getExplorerLink)({
|
|
75
|
-
explorerAddress,
|
|
76
|
-
to: import_explorerUrlBuilder.explorerUrlBuilder.receiverShard(transaction.receiverShard)
|
|
77
|
-
});
|
|
78
|
-
const transactionHash = transaction.originalTxHash || transaction.txHash;
|
|
79
|
-
const transactionLink = (0, import_getExplorerLink.getExplorerLink)({
|
|
80
|
-
explorerAddress,
|
|
81
|
-
to: import_explorerUrlBuilder.explorerUrlBuilder.transactionDetails(transactionHash)
|
|
82
|
-
});
|
|
83
|
-
return {
|
|
84
|
-
...transaction,
|
|
85
|
-
txHash: transactionHash,
|
|
86
|
-
tokenIdentifier,
|
|
87
|
-
receiver,
|
|
88
|
-
receiverAssets,
|
|
89
|
-
transactionDetails: {
|
|
90
|
-
age,
|
|
91
|
-
direction,
|
|
92
|
-
method,
|
|
93
|
-
iconInfo: (0, import_getTransactionIconInfo.getTransactionIconInfo)(transaction),
|
|
94
|
-
transactionTokens,
|
|
95
|
-
isContract: (0, import_validation.isContract)(transaction.sender)
|
|
96
|
-
},
|
|
97
|
-
links: {
|
|
98
|
-
senderLink,
|
|
99
|
-
receiverLink,
|
|
100
|
-
senderShardLink,
|
|
101
|
-
receiverShardLink,
|
|
102
|
-
transactionLink
|
|
103
|
-
}
|
|
104
|
-
};
|
|
105
|
-
}
|
|
106
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
107
|
-
0 && (module.exports = {
|
|
108
|
-
getInterpretedTransaction
|
|
109
|
-
});
|
|
1
|
+
"use strict";var s=Object.defineProperty;var R=Object.getOwnPropertyDescriptor;var C=Object.getOwnPropertyNames;var F=Object.prototype.hasOwnProperty;var G=(e,t)=>{for(var r in t)s(e,r,{get:t[r],enumerable:!0})},b=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of C(t))!F.call(e,o)&&o!==r&&s(e,o,{get:()=>t[o],enumerable:!(a=R(t,o))||a.enumerable});return e};var B=e=>b(s({},"__esModule",{value:!0}),e);var U={};G(U,{getInterpretedTransaction:()=>E});module.exports=B(U);var m=require("../../../utils/operations/timeRemaining"),p=require("../../../utils/validation"),n=require("../explorerUrlBuilder"),i=require("../getExplorerLink"),T=require("../getHumanReadableTimeFormat"),d=require("./helpers/getTokenFromData"),f=require("./helpers/getTransactionIconInfo"),g=require("./helpers/getTransactionMethod"),k=require("./helpers/getTransactionReceiver"),h=require("./helpers/getTransactionReceiverAssets"),y=require("./helpers/getTransactionTokens"),u=require("./helpers/getTransactionTransferType");function E({transaction:e,address:t,explorerAddress:r}){const a=e.tokenIdentifier??(0,d.getTokenFromData)(e.data).tokenId,o=(0,k.getTransactionReceiver)(e),l=(0,h.getTransactionReceiverAssets)(e),v={timeAgo:(0,m.timeAgo)(e.timestamp*1e3,!0),tooltip:(0,T.getHumanReadableTimeFormat)({value:e.timestamp,noSeconds:!1,utc:!0})},I=(0,u.getTransactionTransferType)({address:t,transaction:e,receiver:o}),S={actionDescription:e.action?.description,name:(0,g.getTransactionMethod)(e)},D=(0,y.getTransactionTokens)(e),L=(0,i.getExplorerLink)({explorerAddress:r,to:n.explorerUrlBuilder.accountDetails(e.sender)}),A=(0,i.getExplorerLink)({explorerAddress:r,to:n.explorerUrlBuilder.accountDetails(o)}),H=(0,i.getExplorerLink)({explorerAddress:r,to:n.explorerUrlBuilder.senderShard(e.senderShard)}),x=(0,i.getExplorerLink)({explorerAddress:r,to:n.explorerUrlBuilder.receiverShard(e.receiverShard)}),c=e.originalTxHash||e.txHash,M=(0,i.getExplorerLink)({explorerAddress:r,to:n.explorerUrlBuilder.transactionDetails(c)});return{...e,txHash:c,tokenIdentifier:a,receiver:o,receiverAssets:l,transactionDetails:{age:v,direction:I,method:S,iconInfo:(0,f.getTransactionIconInfo)(e),transactionTokens:D,isContract:(0,p.isContract)(e.sender)},links:{senderLink:L,receiverLink:A,senderShardLink:H,receiverShardLink:x,transactionLink:M}}}0&&(module.exports={getInterpretedTransaction});
|
|
110
2
|
//# sourceMappingURL=getInterpretedTransaction.cjs.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../src/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.ts"],
|
|
4
4
|
"sourcesContent": ["import {\n InterpretedTransactionType,\n ServerTransactionType,\n TransactionAgeType,\n TransactionMethodType\n} from 'types/serverTransactions.types';\nimport { TokenArgumentType } from 'types/serverTransactions.types';\nimport { timeAgo } from 'utils/operations/timeRemaining';\nimport { isContract } from 'utils/validation';\nimport { explorerUrlBuilder } from '../explorerUrlBuilder';\nimport { getExplorerLink } from '../getExplorerLink';\nimport { getHumanReadableTimeFormat } from '../getHumanReadableTimeFormat';\nimport { getTokenFromData } from './helpers/getTokenFromData';\nimport { getTransactionIconInfo } from './helpers/getTransactionIconInfo';\nimport { getTransactionMethod } from './helpers/getTransactionMethod';\nimport { getTransactionReceiver } from './helpers/getTransactionReceiver';\nimport { getTransactionReceiverAssets } from './helpers/getTransactionReceiverAssets';\nimport { getTransactionTokens } from './helpers/getTransactionTokens';\nimport { getTransactionTransferType } from './helpers/getTransactionTransferType';\n\nexport interface GetInterpretedTransactionType {\n address: string;\n explorerAddress: string;\n transaction: ServerTransactionType;\n}\n\nexport function getInterpretedTransaction({\n transaction,\n address,\n explorerAddress\n}: GetInterpretedTransactionType): InterpretedTransactionType {\n const tokenIdentifier =\n transaction.tokenIdentifier ?? getTokenFromData(transaction.data).tokenId;\n\n const receiver = getTransactionReceiver(transaction);\n const receiverAssets = getTransactionReceiverAssets(transaction);\n const age: TransactionAgeType = {\n timeAgo: timeAgo(transaction.timestamp * 1000, true),\n tooltip: getHumanReadableTimeFormat({\n value: transaction.timestamp,\n noSeconds: false,\n utc: true\n })\n };\n\n const direction = getTransactionTransferType({\n address,\n transaction,\n receiver\n });\n\n const method: TransactionMethodType = {\n actionDescription: transaction.action?.description,\n name: getTransactionMethod(transaction)\n };\n\n const transactionTokens: TokenArgumentType[] =\n getTransactionTokens(transaction);\n\n const senderLink = getExplorerLink({\n explorerAddress,\n to: explorerUrlBuilder.accountDetails(transaction.sender)\n });\n\n const receiverLink = getExplorerLink({\n explorerAddress,\n to: explorerUrlBuilder.accountDetails(receiver)\n });\n\n const senderShardLink = getExplorerLink({\n explorerAddress,\n to: explorerUrlBuilder.senderShard(transaction.senderShard)\n });\n\n const receiverShardLink = getExplorerLink({\n explorerAddress,\n to: explorerUrlBuilder.receiverShard(transaction.receiverShard)\n });\n\n const transactionHash = transaction.originalTxHash || transaction.txHash;\n\n const transactionLink = getExplorerLink({\n explorerAddress,\n to: explorerUrlBuilder.transactionDetails(transactionHash)\n });\n\n return {\n ...transaction,\n txHash: transactionHash,\n tokenIdentifier,\n receiver,\n receiverAssets,\n transactionDetails: {\n age,\n direction,\n method,\n iconInfo: getTransactionIconInfo(transaction),\n transactionTokens,\n isContract: isContract(transaction.sender)\n },\n links: {\n senderLink,\n receiverLink,\n senderShardLink,\n receiverShardLink,\n transactionLink\n }\n };\n}\n"],
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": []
|
|
5
|
+
"mappings": "yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,+BAAAE,IAAA,eAAAC,EAAAH,GAOA,IAAAI,EAAwB,0CACxBC,EAA2B,4BAC3BC,EAAmC,iCACnCC,EAAgC,8BAChCC,EAA2C,yCAC3CC,EAAiC,sCACjCC,EAAuC,4CACvCC,EAAqC,0CACrCC,EAAuC,4CACvCC,EAA6C,kDAC7CC,EAAqC,0CACrCC,EAA2C,gDAQpC,SAASb,EAA0B,CACxC,YAAAc,EACA,QAAAC,EACA,gBAAAC,CACF,EAA8D,CAC5D,MAAMC,EACJH,EAAY,oBAAmB,oBAAiBA,EAAY,IAAI,EAAE,QAE9DI,KAAW,0BAAuBJ,CAAW,EAC7CK,KAAiB,gCAA6BL,CAAW,EACzDM,EAA0B,CAC9B,WAAS,WAAQN,EAAY,UAAY,IAAM,EAAI,EACnD,WAAS,8BAA2B,CAClC,MAAOA,EAAY,UACnB,UAAW,GACX,IAAK,EACP,CAAC,CACH,EAEMO,KAAY,8BAA2B,CAC3C,QAAAN,EACA,YAAAD,EACA,SAAAI,CACF,CAAC,EAEKI,EAAgC,CACpC,kBAAmBR,EAAY,QAAQ,YACvC,QAAM,wBAAqBA,CAAW,CACxC,EAEMS,KACJ,wBAAqBT,CAAW,EAE5BU,KAAa,mBAAgB,CACjC,gBAAAR,EACA,GAAI,qBAAmB,eAAeF,EAAY,MAAM,CAC1D,CAAC,EAEKW,KAAe,mBAAgB,CACnC,gBAAAT,EACA,GAAI,qBAAmB,eAAeE,CAAQ,CAChD,CAAC,EAEKQ,KAAkB,mBAAgB,CACtC,gBAAAV,EACA,GAAI,qBAAmB,YAAYF,EAAY,WAAW,CAC5D,CAAC,EAEKa,KAAoB,mBAAgB,CACxC,gBAAAX,EACA,GAAI,qBAAmB,cAAcF,EAAY,aAAa,CAChE,CAAC,EAEKc,EAAkBd,EAAY,gBAAkBA,EAAY,OAE5De,KAAkB,mBAAgB,CACtC,gBAAAb,EACA,GAAI,qBAAmB,mBAAmBY,CAAe,CAC3D,CAAC,EAED,MAAO,CACL,GAAGd,EACH,OAAQc,EACR,gBAAAX,EACA,SAAAC,EACA,eAAAC,EACA,mBAAoB,CAClB,IAAAC,EACA,UAAAC,EACA,OAAAC,EACA,YAAU,0BAAuBR,CAAW,EAC5C,kBAAAS,EACA,cAAY,cAAWT,EAAY,MAAM,CAC3C,EACA,MAAO,CACL,WAAAU,EACA,aAAAC,EACA,gBAAAC,EACA,kBAAAC,EACA,gBAAAE,CACF,CACF,CACF",
|
|
6
|
+
"names": ["getInterpretedTransaction_exports", "__export", "getInterpretedTransaction", "__toCommonJS", "import_timeRemaining", "import_validation", "import_explorerUrlBuilder", "import_getExplorerLink", "import_getHumanReadableTimeFormat", "import_getTokenFromData", "import_getTransactionIconInfo", "import_getTransactionMethod", "import_getTransactionReceiver", "import_getTransactionReceiverAssets", "import_getTransactionTokens", "import_getTransactionTransferType", "transaction", "address", "explorerAddress", "tokenIdentifier", "receiver", "receiverAssets", "age", "direction", "method", "transactionTokens", "senderLink", "receiverLink", "senderShardLink", "receiverShardLink", "transactionHash", "transactionLink"]
|
|
7
7
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../../__chunks__/chunk-JSSRK6RP.mjs";import"../../../__chunks__/chunk-L7L56ZTG.mjs";import"../../../__chunks__/chunk-V4YC4AKQ.mjs";import"../../../__chunks__/chunk-OLOCTHIE.mjs";import"../../../__chunks__/chunk-RYIJWGFA.mjs";import"../../../__chunks__/chunk-D2ULWBRR.mjs";import"../../../__chunks__/chunk-XKOORMTN.mjs";import"../../../__chunks__/chunk-ZS4EBCWC.mjs";import"../../../__chunks__/chunk-GMBSZ4AZ.mjs";import"../../../__chunks__/chunk-5E32AO3E.mjs";import"../../../__chunks__/chunk-B72JAXSF.mjs";import"../../../__chunks__/chunk-6GREKTLP.mjs";import"../../../__chunks__/chunk-HWJQUOPL.mjs";import"../../../__chunks__/chunk-ZJ2WPN2K.mjs";import"../../../__chunks__/chunk-HS34AFHY.mjs";import"../../../__chunks__/chunk-XVX7N3JK.mjs";import"../../../__chunks__/chunk-HH5SA7BX.mjs";import"../../../__chunks__/chunk-TCDMXBPB.mjs";import"../../../__chunks__/chunk-B3IKUIRK.mjs";import"../../../__chunks__/chunk-BRJNX4JF.mjs";import"../../../__chunks__/chunk-PJWJZHIS.mjs";import"../../../__chunks__/chunk-DBIIY2TX.mjs";import"../../../__chunks__/chunk-KD2IQ32V.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-5Y2ZDPP6.mjs";import"../../../__chunks__/chunk-
|
|
1
|
+
import{a}from"../../../__chunks__/chunk-JSSRK6RP.mjs";import"../../../__chunks__/chunk-L7L56ZTG.mjs";import"../../../__chunks__/chunk-V4YC4AKQ.mjs";import"../../../__chunks__/chunk-OLOCTHIE.mjs";import"../../../__chunks__/chunk-RYIJWGFA.mjs";import"../../../__chunks__/chunk-D2ULWBRR.mjs";import"../../../__chunks__/chunk-XKOORMTN.mjs";import"../../../__chunks__/chunk-ZS4EBCWC.mjs";import"../../../__chunks__/chunk-GMBSZ4AZ.mjs";import"../../../__chunks__/chunk-5E32AO3E.mjs";import"../../../__chunks__/chunk-B72JAXSF.mjs";import"../../../__chunks__/chunk-6GREKTLP.mjs";import"../../../__chunks__/chunk-HWJQUOPL.mjs";import"../../../__chunks__/chunk-ZJ2WPN2K.mjs";import"../../../__chunks__/chunk-HS34AFHY.mjs";import"../../../__chunks__/chunk-XVX7N3JK.mjs";import"../../../__chunks__/chunk-HH5SA7BX.mjs";import"../../../__chunks__/chunk-TCDMXBPB.mjs";import"../../../__chunks__/chunk-B3IKUIRK.mjs";import"../../../__chunks__/chunk-BRJNX4JF.mjs";import"../../../__chunks__/chunk-PJWJZHIS.mjs";import"../../../__chunks__/chunk-DBIIY2TX.mjs";import"../../../__chunks__/chunk-KD2IQ32V.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-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-6XHXG7HB.mjs";export{a as getInterpretedTransaction};
|
|
2
2
|
//# sourceMappingURL=getInterpretedTransaction.mjs.map
|
|
@@ -1,50 +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 constants_exports = {};
|
|
20
|
-
__export(constants_exports, {
|
|
21
|
-
ACTIONS_WITH_EGLD_VALUE: () => ACTIONS_WITH_EGLD_VALUE,
|
|
22
|
-
ACTIONS_WITH_MANDATORY_OPERATIONS: () => ACTIONS_WITH_MANDATORY_OPERATIONS,
|
|
23
|
-
ACTIONS_WITH_VALUE_IN_ACTION_FIELD: () => ACTIONS_WITH_VALUE_IN_ACTION_FIELD,
|
|
24
|
-
ACTIONS_WITH_VALUE_IN_DATA_FIELD: () => ACTIONS_WITH_VALUE_IN_DATA_FIELD
|
|
25
|
-
});
|
|
26
|
-
module.exports = __toCommonJS(constants_exports);
|
|
27
|
-
var import_serverTransactions = require("../../../../types/serverTransactions.types");
|
|
28
|
-
const ACTIONS_WITH_MANDATORY_OPERATIONS = [
|
|
29
|
-
import_serverTransactions.TransactionActionsEnum.reDelegateRewards,
|
|
30
|
-
import_serverTransactions.TransactionActionsEnum.claimRewards,
|
|
31
|
-
import_serverTransactions.TransactionActionsEnum.unBond
|
|
32
|
-
];
|
|
33
|
-
const ACTIONS_WITH_EGLD_VALUE = [
|
|
34
|
-
import_serverTransactions.TransactionActionsEnum.wrapEgld,
|
|
35
|
-
import_serverTransactions.TransactionActionsEnum.unwrapEgld
|
|
36
|
-
];
|
|
37
|
-
const ACTIONS_WITH_VALUE_IN_DATA_FIELD = [
|
|
38
|
-
import_serverTransactions.TransactionActionsEnum.unStake
|
|
39
|
-
];
|
|
40
|
-
const ACTIONS_WITH_VALUE_IN_ACTION_FIELD = [
|
|
41
|
-
import_serverTransactions.TransactionActionsEnum.unDelegate
|
|
42
|
-
];
|
|
43
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
44
|
-
0 && (module.exports = {
|
|
45
|
-
ACTIONS_WITH_EGLD_VALUE,
|
|
46
|
-
ACTIONS_WITH_MANDATORY_OPERATIONS,
|
|
47
|
-
ACTIONS_WITH_VALUE_IN_ACTION_FIELD,
|
|
48
|
-
ACTIONS_WITH_VALUE_IN_DATA_FIELD
|
|
49
|
-
});
|
|
1
|
+
"use strict";var n=Object.defineProperty;var T=Object.getOwnPropertyDescriptor;var r=Object.getOwnPropertyNames;var a=Object.prototype.hasOwnProperty;var E=(t,_)=>{for(var I in _)n(t,I,{get:_[I],enumerable:!0})},N=(t,_,I,o)=>{if(_&&typeof _=="object"||typeof _=="function")for(let A of r(_))!a.call(t,A)&&A!==I&&n(t,A,{get:()=>_[A],enumerable:!(o=T(_,A))||o.enumerable});return t};var s=t=>N(n({},"__esModule",{value:!0}),t);var L={};E(L,{ACTIONS_WITH_EGLD_VALUE:()=>c,ACTIONS_WITH_MANDATORY_OPERATIONS:()=>O,ACTIONS_WITH_VALUE_IN_ACTION_FIELD:()=>D,ACTIONS_WITH_VALUE_IN_DATA_FIELD:()=>p});module.exports=s(L);var e=require("../../../../types/serverTransactions.types");const O=[e.TransactionActionsEnum.reDelegateRewards,e.TransactionActionsEnum.claimRewards,e.TransactionActionsEnum.unBond],c=[e.TransactionActionsEnum.wrapEgld,e.TransactionActionsEnum.unwrapEgld],p=[e.TransactionActionsEnum.unStake],D=[e.TransactionActionsEnum.unDelegate];0&&(module.exports={ACTIONS_WITH_EGLD_VALUE,ACTIONS_WITH_MANDATORY_OPERATIONS,ACTIONS_WITH_VALUE_IN_ACTION_FIELD,ACTIONS_WITH_VALUE_IN_DATA_FIELD});
|
|
50
2
|
//# sourceMappingURL=constants.cjs.map
|
package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/constants.cjs.map
CHANGED
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../src/utils/transactions/getInterpretedTransaction/getTransactionValue/constants.ts"],
|
|
4
4
|
"sourcesContent": ["import { TransactionActionsEnum } from 'types/serverTransactions.types';\n\n/**\n * If `action.name` or `function` is in `ACTIONS_WITH_MANDATORY_OPERATIONS[]`, transaction value will be computed based `operations` field\n */\nexport const ACTIONS_WITH_MANDATORY_OPERATIONS = [\n TransactionActionsEnum.reDelegateRewards,\n TransactionActionsEnum.claimRewards,\n TransactionActionsEnum.unBond\n];\n\n/**\n * If `action.name` is in `ACTIONS_WITH_EGLD_VALUE[]`, transaction value will be returned directly\n */\nexport const ACTIONS_WITH_EGLD_VALUE = [\n TransactionActionsEnum.wrapEgld,\n TransactionActionsEnum.unwrapEgld\n];\n\n/**\n * If `action.name` is in `ACTIONS_WITH_VALUE_IN_DATA_FIELD[]`, transaction value will be computed based `data` field\n */\nexport const ACTIONS_WITH_VALUE_IN_DATA_FIELD = [\n TransactionActionsEnum.unStake\n];\n\n/**\n * If `action.name` is in `ACTIONS_WITH_VALUE_IN_ACTION_FIELD[]`, transaction value will be computed based `action` field\n */\nexport const ACTIONS_WITH_VALUE_IN_ACTION_FIELD = [\n TransactionActionsEnum.unDelegate\n];\n"],
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": []
|
|
5
|
+
"mappings": "yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,6BAAAE,EAAA,sCAAAC,EAAA,uCAAAC,EAAA,qCAAAC,IAAA,eAAAC,EAAAN,GAAA,IAAAO,EAAuC,0CAKhC,MAAMJ,EAAoC,CAC/C,yBAAuB,kBACvB,yBAAuB,aACvB,yBAAuB,MACzB,EAKaD,EAA0B,CACrC,yBAAuB,SACvB,yBAAuB,UACzB,EAKaG,EAAmC,CAC9C,yBAAuB,OACzB,EAKaD,EAAqC,CAChD,yBAAuB,UACzB",
|
|
6
|
+
"names": ["constants_exports", "__export", "ACTIONS_WITH_EGLD_VALUE", "ACTIONS_WITH_MANDATORY_OPERATIONS", "ACTIONS_WITH_VALUE_IN_ACTION_FIELD", "ACTIONS_WITH_VALUE_IN_DATA_FIELD", "__toCommonJS", "import_serverTransactions"]
|
|
7
7
|
}
|
package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/getTransactionValue.cjs
CHANGED
|
@@ -1,107 +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 getTransactionValue_exports = {};
|
|
20
|
-
__export(getTransactionValue_exports, {
|
|
21
|
-
getTransactionValue: () => getTransactionValue
|
|
22
|
-
});
|
|
23
|
-
module.exports = __toCommonJS(getTransactionValue_exports);
|
|
24
|
-
var import_sdkDappUtils = require("../../../../lib/sdkDappUtils");
|
|
25
|
-
var import_tokens = require("../../../../types/tokens.types");
|
|
26
|
-
var import_constants = require("./constants");
|
|
27
|
-
var import_helpers = require("./helpers");
|
|
28
|
-
var import_getTransactionActionNftText = require("./helpers/getTransactionActionNftText");
|
|
29
|
-
var import_getTransactionTokens = require("./helpers/getTransactionTokens");
|
|
30
|
-
var import_explorerUrlBuilder = require("../../explorerUrlBuilder");
|
|
31
|
-
const getTransactionValue = ({
|
|
32
|
-
transaction,
|
|
33
|
-
hideMultipleBadge
|
|
34
|
-
}) => {
|
|
35
|
-
if (transaction.action) {
|
|
36
|
-
if (import_constants.ACTIONS_WITH_EGLD_VALUE.includes(transaction.action.name)) {
|
|
37
|
-
return (0, import_helpers.getEgldValueData)(transaction.value);
|
|
38
|
-
}
|
|
39
|
-
if (import_constants.ACTIONS_WITH_VALUE_IN_DATA_FIELD.includes(transaction.action.name)) {
|
|
40
|
-
return (0, import_helpers.getValueFromDataField)(transaction);
|
|
41
|
-
}
|
|
42
|
-
if (import_constants.ACTIONS_WITH_MANDATORY_OPERATIONS.includes(transaction.action.name)) {
|
|
43
|
-
return (0, import_helpers.getValueFromOperations)(transaction);
|
|
44
|
-
}
|
|
45
|
-
if (import_constants.ACTIONS_WITH_VALUE_IN_ACTION_FIELD.includes(transaction.action.name)) {
|
|
46
|
-
return (0, import_helpers.getValueFromActions)(transaction);
|
|
47
|
-
}
|
|
48
|
-
const transactionTokens = (0, import_getTransactionTokens.getTransactionTokens)(transaction);
|
|
49
|
-
if (transactionTokens.length) {
|
|
50
|
-
const txToken = transactionTokens[0];
|
|
51
|
-
const isNft = Object.values(import_tokens.NftEnumType).includes(
|
|
52
|
-
txToken.type
|
|
53
|
-
);
|
|
54
|
-
const hasTitleText = !hideMultipleBadge && transactionTokens.length > 1;
|
|
55
|
-
const titleText = hasTitleText ? (0, import_helpers.getTitleText)(transactionTokens) : "";
|
|
56
|
-
if (isNft) {
|
|
57
|
-
const {
|
|
58
|
-
badgeText,
|
|
59
|
-
tokenFormattedAmount: tokenFormattedAmount2,
|
|
60
|
-
tokenExplorerLink: tokenExplorerLink2,
|
|
61
|
-
tokenLinkText
|
|
62
|
-
} = (0, import_getTransactionActionNftText.getTransactionActionNftText)({ token: txToken });
|
|
63
|
-
return {
|
|
64
|
-
nftValueData: {
|
|
65
|
-
badgeText,
|
|
66
|
-
tokenFormattedAmount: tokenFormattedAmount2,
|
|
67
|
-
tokenExplorerLink: tokenExplorerLink2,
|
|
68
|
-
tokenLinkText,
|
|
69
|
-
transactionTokens,
|
|
70
|
-
token: txToken,
|
|
71
|
-
value: tokenFormattedAmount2 != null ? txToken.value : null,
|
|
72
|
-
decimals: tokenFormattedAmount2 != null ? txToken.decimals : null,
|
|
73
|
-
titleText
|
|
74
|
-
}
|
|
75
|
-
};
|
|
76
|
-
}
|
|
77
|
-
const tokenFormattedAmount = txToken.value ? (0, import_sdkDappUtils.formatAmount)({
|
|
78
|
-
input: txToken.value,
|
|
79
|
-
decimals: txToken.decimals ?? import_sdkDappUtils.DECIMALS,
|
|
80
|
-
digits: 2,
|
|
81
|
-
addCommas: true
|
|
82
|
-
}) : null;
|
|
83
|
-
const tokenExplorerLink = import_explorerUrlBuilder.explorerUrlBuilder.tokenDetails(
|
|
84
|
-
String(txToken.token)
|
|
85
|
-
);
|
|
86
|
-
return {
|
|
87
|
-
tokenValueData: {
|
|
88
|
-
tokenExplorerLink,
|
|
89
|
-
showFormattedAmount: false,
|
|
90
|
-
tokenFormattedAmount,
|
|
91
|
-
tokenLinkText: txToken.ticker,
|
|
92
|
-
transactionTokens,
|
|
93
|
-
token: txToken,
|
|
94
|
-
value: txToken.value,
|
|
95
|
-
decimals: txToken.decimals ?? import_sdkDappUtils.DECIMALS,
|
|
96
|
-
titleText
|
|
97
|
-
}
|
|
98
|
-
};
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
return (0, import_helpers.getEgldValueData)(transaction.value);
|
|
102
|
-
};
|
|
103
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
104
|
-
0 && (module.exports = {
|
|
105
|
-
getTransactionValue
|
|
106
|
-
});
|
|
1
|
+
"use strict";var T=Object.defineProperty;var D=Object.getOwnPropertyDescriptor;var g=Object.getOwnPropertyNames;var I=Object.prototype.hasOwnProperty;var x=(e,a)=>{for(var n in a)T(e,n,{get:a[n],enumerable:!0})},E=(e,a,n,t)=>{if(a&&typeof a=="object"||typeof a=="function")for(let r of g(a))!I.call(e,r)&&r!==n&&T(e,r,{get:()=>a[r],enumerable:!(t=D(a,r))||t.enumerable});return e};var _=e=>E(T({},"__esModule",{value:!0}),e);var N={};x(N,{getTransactionValue:()=>y});module.exports=_(N);var i=require("../../../../lib/sdkDappUtils"),p=require("../../../../types/tokens.types"),l=require("./constants"),o=require("./helpers"),s=require("./helpers/getTransactionActionNftText"),c=require("./helpers/getTransactionTokens"),d=require("../../explorerUrlBuilder");const y=({transaction:e,hideMultipleBadge:a})=>{if(e.action){if(l.ACTIONS_WITH_EGLD_VALUE.includes(e.action.name))return(0,o.getEgldValueData)(e.value);if(l.ACTIONS_WITH_VALUE_IN_DATA_FIELD.includes(e.action.name))return(0,o.getValueFromDataField)(e);if(l.ACTIONS_WITH_MANDATORY_OPERATIONS.includes(e.action.name))return(0,o.getValueFromOperations)(e);if(l.ACTIONS_WITH_VALUE_IN_ACTION_FIELD.includes(e.action.name))return(0,o.getValueFromActions)(e);const n=(0,c.getTransactionTokens)(e);if(n.length){const t=n[0],r=Object.values(p.NftEnumType).includes(t.type),m=!a&&n.length>1?(0,o.getTitleText)(n):"";if(r){const{badgeText:k,tokenFormattedAmount:u,tokenExplorerLink:V,tokenLinkText:A}=(0,s.getTransactionActionNftText)({token:t});return{nftValueData:{badgeText:k,tokenFormattedAmount:u,tokenExplorerLink:V,tokenLinkText:A,transactionTokens:n,token:t,value:u!=null?t.value:null,decimals:u!=null?t.decimals:null,titleText:m}}}const f=t.value?(0,i.formatAmount)({input:t.value,decimals:t.decimals??i.DECIMALS,digits:2,addCommas:!0}):null;return{tokenValueData:{tokenExplorerLink:d.explorerUrlBuilder.tokenDetails(String(t.token)),showFormattedAmount:!1,tokenFormattedAmount:f,tokenLinkText:t.ticker,transactionTokens:n,token:t,value:t.value,decimals:t.decimals??i.DECIMALS,titleText:m}}}}return(0,o.getEgldValueData)(e.value)};0&&(module.exports={getTransactionValue});
|
|
107
2
|
//# sourceMappingURL=getTransactionValue.cjs.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../src/utils/transactions/getInterpretedTransaction/getTransactionValue/getTransactionValue.ts"],
|
|
4
4
|
"sourcesContent": ["import { DECIMALS, formatAmount } from 'lib/sdkDappUtils';\nimport { InterpretedTransactionType } from 'types/serverTransactions.types';\nimport { NftEnumType } from 'types/tokens.types';\n\nimport {\n ACTIONS_WITH_EGLD_VALUE,\n ACTIONS_WITH_MANDATORY_OPERATIONS,\n ACTIONS_WITH_VALUE_IN_ACTION_FIELD,\n ACTIONS_WITH_VALUE_IN_DATA_FIELD\n} from './constants';\n\nimport {\n getEgldValueData,\n getTitleText,\n getValueFromActions,\n getValueFromDataField,\n getValueFromOperations\n} from './helpers';\nimport { getTransactionActionNftText } from './helpers/getTransactionActionNftText';\nimport { getTransactionTokens } from './helpers/getTransactionTokens';\nimport {\n EgldValueDataType,\n NFTValueDataType,\n TokenValueDataType\n} from './types';\nimport { explorerUrlBuilder } from '../../explorerUrlBuilder';\n\nexport interface GetTransactionValueReturnType {\n egldValueData?: EgldValueDataType;\n tokenValueData?: TokenValueDataType;\n nftValueData?: NFTValueDataType;\n}\n\nexport interface GetTransactionValueType {\n hideMultipleBadge?: boolean;\n transaction: InterpretedTransactionType;\n}\n\nexport const getTransactionValue = ({\n transaction,\n hideMultipleBadge\n}: GetTransactionValueType): GetTransactionValueReturnType => {\n if (transaction.action) {\n if (ACTIONS_WITH_EGLD_VALUE.includes(transaction.action.name)) {\n return getEgldValueData(transaction.value);\n }\n\n if (ACTIONS_WITH_VALUE_IN_DATA_FIELD.includes(transaction.action.name)) {\n return getValueFromDataField(transaction);\n }\n\n if (ACTIONS_WITH_MANDATORY_OPERATIONS.includes(transaction.action.name)) {\n return getValueFromOperations(transaction);\n }\n\n if (ACTIONS_WITH_VALUE_IN_ACTION_FIELD.includes(transaction.action.name)) {\n return getValueFromActions(transaction);\n }\n\n const transactionTokens = getTransactionTokens(transaction);\n\n if (transactionTokens.length) {\n const txToken = transactionTokens[0];\n const isNft = Object.values(NftEnumType).includes(\n txToken.type as NftEnumType\n );\n\n const hasTitleText = !hideMultipleBadge && transactionTokens.length > 1;\n const titleText = hasTitleText ? getTitleText(transactionTokens) : '';\n\n if (isNft) {\n const {\n badgeText,\n tokenFormattedAmount,\n tokenExplorerLink,\n tokenLinkText\n } = getTransactionActionNftText({ token: txToken });\n\n return {\n nftValueData: {\n badgeText,\n tokenFormattedAmount,\n tokenExplorerLink,\n tokenLinkText,\n transactionTokens,\n token: txToken,\n value: tokenFormattedAmount != null ? txToken.value : null,\n decimals: tokenFormattedAmount != null ? txToken.decimals : null,\n titleText\n }\n };\n }\n\n const tokenFormattedAmount = txToken.value\n ? formatAmount({\n input: txToken.value,\n decimals: txToken.decimals ?? DECIMALS,\n digits: 2,\n addCommas: true\n })\n : null;\n\n const tokenExplorerLink = explorerUrlBuilder.tokenDetails(\n String(txToken.token)\n );\n\n return {\n tokenValueData: {\n tokenExplorerLink,\n showFormattedAmount: false,\n tokenFormattedAmount,\n tokenLinkText: txToken.ticker,\n transactionTokens,\n token: txToken,\n value: txToken.value,\n decimals: txToken.decimals ?? DECIMALS,\n titleText\n }\n };\n }\n }\n\n return getEgldValueData(transaction.value);\n};\n"],
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": ["tokenFormattedAmount", "tokenExplorerLink"]
|
|
5
|
+
"mappings": "yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,yBAAAE,IAAA,eAAAC,EAAAH,GAAA,IAAAI,EAAuC,4BAEvCC,EAA4B,8BAE5BC,EAKO,uBAEPC,EAMO,qBACPC,EAA4C,iDAC5CC,EAAqC,0CAMrCC,EAAmC,oCAa5B,MAAMR,EAAsB,CAAC,CAClC,YAAAS,EACA,kBAAAC,CACF,IAA8D,CAC5D,GAAID,EAAY,OAAQ,CACtB,GAAI,0BAAwB,SAASA,EAAY,OAAO,IAAI,EAC1D,SAAO,oBAAiBA,EAAY,KAAK,EAG3C,GAAI,mCAAiC,SAASA,EAAY,OAAO,IAAI,EACnE,SAAO,yBAAsBA,CAAW,EAG1C,GAAI,oCAAkC,SAASA,EAAY,OAAO,IAAI,EACpE,SAAO,0BAAuBA,CAAW,EAG3C,GAAI,qCAAmC,SAASA,EAAY,OAAO,IAAI,EACrE,SAAO,uBAAoBA,CAAW,EAGxC,MAAME,KAAoB,wBAAqBF,CAAW,EAE1D,GAAIE,EAAkB,OAAQ,CAC5B,MAAMC,EAAUD,EAAkB,CAAC,EAC7BE,EAAQ,OAAO,OAAO,aAAW,EAAE,SACvCD,EAAQ,IACV,EAGME,EADe,CAACJ,GAAqBC,EAAkB,OAAS,KACrC,gBAAaA,CAAiB,EAAI,GAEnE,GAAIE,EAAO,CACT,KAAM,CACJ,UAAAE,EACA,qBAAAC,EACA,kBAAAC,EACA,cAAAC,CACF,KAAI,+BAA4B,CAAE,MAAON,CAAQ,CAAC,EAElD,MAAO,CACL,aAAc,CACZ,UAAAG,EACA,qBAAAC,EACA,kBAAAC,EACA,cAAAC,EACA,kBAAAP,EACA,MAAOC,EACP,MAAOI,GAAwB,KAAOJ,EAAQ,MAAQ,KACtD,SAAUI,GAAwB,KAAOJ,EAAQ,SAAW,KAC5D,UAAAE,CACF,CACF,CACF,CAEA,MAAME,EAAuBJ,EAAQ,SACjC,gBAAa,CACX,MAAOA,EAAQ,MACf,SAAUA,EAAQ,UAAY,WAC9B,OAAQ,EACR,UAAW,EACb,CAAC,EACD,KAMJ,MAAO,CACL,eAAgB,CACd,kBANsB,qBAAmB,aAC3C,OAAOA,EAAQ,KAAK,CACtB,EAKI,oBAAqB,GACrB,qBAAAI,EACA,cAAeJ,EAAQ,OACvB,kBAAAD,EACA,MAAOC,EACP,MAAOA,EAAQ,MACf,SAAUA,EAAQ,UAAY,WAC9B,UAAAE,CACF,CACF,CACF,CACF,CAEA,SAAO,oBAAiBL,EAAY,KAAK,CAC3C",
|
|
6
|
+
"names": ["getTransactionValue_exports", "__export", "getTransactionValue", "__toCommonJS", "import_sdkDappUtils", "import_tokens", "import_constants", "import_helpers", "import_getTransactionActionNftText", "import_getTransactionTokens", "import_explorerUrlBuilder", "transaction", "hideMultipleBadge", "transactionTokens", "txToken", "isNft", "titleText", "badgeText", "tokenFormattedAmount", "tokenExplorerLink", "tokenLinkText"]
|
|
7
7
|
}
|
|
@@ -1,36 +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 getEgldValueData_exports = {};
|
|
20
|
-
__export(getEgldValueData_exports, {
|
|
21
|
-
getEgldValueData: () => getEgldValueData
|
|
22
|
-
});
|
|
23
|
-
module.exports = __toCommonJS(getEgldValueData_exports);
|
|
24
|
-
var import_sdkDappUtils = require("../../../../../lib/sdkDappUtils");
|
|
25
|
-
const getEgldValueData = (value) => ({
|
|
26
|
-
egldValueData: {
|
|
27
|
-
value,
|
|
28
|
-
formattedValue: (0, import_sdkDappUtils.formatAmount)({ input: value }),
|
|
29
|
-
decimals: import_sdkDappUtils.DECIMALS
|
|
30
|
-
}
|
|
31
|
-
});
|
|
32
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
33
|
-
0 && (module.exports = {
|
|
34
|
-
getEgldValueData
|
|
35
|
-
});
|
|
1
|
+
"use strict";var r=Object.defineProperty;var d=Object.getOwnPropertyDescriptor;var g=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var n=(t,a)=>{for(var o in a)r(t,o,{get:a[o],enumerable:!0})},u=(t,a,o,l)=>{if(a&&typeof a=="object"||typeof a=="function")for(let e of g(a))!i.call(t,e)&&e!==o&&r(t,e,{get:()=>a[e],enumerable:!(l=d(a,e))||l.enumerable});return t};var f=t=>u(r({},"__esModule",{value:!0}),t);var s={};n(s,{getEgldValueData:()=>p});module.exports=f(s);var m=require("../../../../../lib/sdkDappUtils");const p=t=>({egldValueData:{value:t,formattedValue:(0,m.formatAmount)({input:t}),decimals:m.DECIMALS}});0&&(module.exports={getEgldValueData});
|
|
36
2
|
//# sourceMappingURL=getEgldValueData.cjs.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../../src/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getEgldValueData.ts"],
|
|
4
4
|
"sourcesContent": ["import { DECIMALS, formatAmount } from 'lib/sdkDappUtils';\n\nexport const getEgldValueData = (value: string) => ({\n egldValueData: {\n value,\n formattedValue: formatAmount({ input: value }),\n decimals: DECIMALS\n }\n});\n"],
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": []
|
|
5
|
+
"mappings": "yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,sBAAAE,IAAA,eAAAC,EAAAH,GAAA,IAAAI,EAAuC,4BAEhC,MAAMF,EAAoBG,IAAmB,CAClD,cAAe,CACb,MAAAA,EACA,kBAAgB,gBAAa,CAAE,MAAOA,CAAM,CAAC,EAC7C,SAAU,UACZ,CACF",
|
|
6
|
+
"names": ["getEgldValueData_exports", "__export", "getEgldValueData", "__toCommonJS", "import_sdkDappUtils", "value"]
|
|
7
7
|
}
|
|
@@ -1,55 +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 getTitleText_exports = {};
|
|
20
|
-
__export(getTitleText_exports, {
|
|
21
|
-
getTitleText: () => getTitleText
|
|
22
|
-
});
|
|
23
|
-
module.exports = __toCommonJS(getTitleText_exports);
|
|
24
|
-
var import_sdkDappUtils = require("../../../../../lib/sdkDappUtils");
|
|
25
|
-
var import_getIdentifierType = require("../../../../../utils/validation/getIdentifierType");
|
|
26
|
-
var import_getTransactionActionNftText = require("./getTransactionActionNftText");
|
|
27
|
-
const getTitleText = (transactionTokens) => {
|
|
28
|
-
const tokensArray = transactionTokens.map((transactionToken) => {
|
|
29
|
-
const { isNft } = (0, import_getIdentifierType.getIdentifierType)(transactionToken.type);
|
|
30
|
-
if (isNft) {
|
|
31
|
-
const { badgeText, tokenFormattedAmount: tokenFormattedAmount2, tokenLinkText } = (0, import_getTransactionActionNftText.getTransactionActionNftText)({
|
|
32
|
-
token: transactionToken
|
|
33
|
-
});
|
|
34
|
-
const badge = badgeText != null ? `(${badgeText}) ` : "";
|
|
35
|
-
const value2 = `${badge}${tokenFormattedAmount2} ${tokenLinkText}`;
|
|
36
|
-
return value2;
|
|
37
|
-
}
|
|
38
|
-
const tokenFormattedAmount = transactionToken.value ? (0, import_sdkDappUtils.formatAmount)({
|
|
39
|
-
input: transactionToken.value,
|
|
40
|
-
decimals: transactionToken.decimals ?? import_sdkDappUtils.DECIMALS,
|
|
41
|
-
digits: 2,
|
|
42
|
-
addCommas: true
|
|
43
|
-
}) : null;
|
|
44
|
-
const identifier = transactionToken.collection ? transactionToken.identifier : transactionToken.token;
|
|
45
|
-
const value = `${tokenFormattedAmount} ${transactionToken.ticker} (${identifier})`;
|
|
46
|
-
return value;
|
|
47
|
-
});
|
|
48
|
-
const joinedTokensWithLineBreak = decodeURI(tokensArray.join("%0A"));
|
|
49
|
-
return joinedTokensWithLineBreak;
|
|
50
|
-
};
|
|
51
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
52
|
-
0 && (module.exports = {
|
|
53
|
-
getTitleText
|
|
54
|
-
});
|
|
1
|
+
"use strict";var u=Object.defineProperty;var g=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var c=Object.prototype.hasOwnProperty;var y=(a,t)=>{for(var n in t)u(a,n,{get:t[n],enumerable:!0})},D=(a,t,n,e)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of s(t))!c.call(a,o)&&o!==n&&u(a,o,{get:()=>t[o],enumerable:!(e=g(t,o))||e.enumerable});return a};var V=a=>D(u({},"__esModule",{value:!0}),a);var A={};y(A,{getTitleText:()=>k});module.exports=V(A);var r=require("../../../../../lib/sdkDappUtils"),l=require("../../../../../utils/validation/getIdentifierType"),m=require("./getTransactionActionNftText");const k=a=>{const t=a.map(e=>{const{isNft:o}=(0,l.getIdentifierType)(e.type);if(o){const{badgeText:i,tokenFormattedAmount:T,tokenLinkText:f}=(0,m.getTransactionActionNftText)({token:e});return`${i!=null?`(${i}) `:""}${T} ${f}`}const d=e.value?(0,r.formatAmount)({input:e.value,decimals:e.decimals??r.DECIMALS,digits:2,addCommas:!0}):null,p=e.collection?e.identifier:e.token;return`${d} ${e.ticker} (${p})`});return decodeURI(t.join("%0A"))};0&&(module.exports={getTitleText});
|
|
55
2
|
//# sourceMappingURL=getTitleText.cjs.map
|