@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,94 +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 getExtractTransactionsInfo_exports = {};
|
|
20
|
-
__export(getExtractTransactionsInfo_exports, {
|
|
21
|
-
getExtractTransactionsInfo: () => getExtractTransactionsInfo
|
|
22
|
-
});
|
|
23
|
-
module.exports = __toCommonJS(getExtractTransactionsInfo_exports);
|
|
24
|
-
var import_account = require("../../../../../../../apiCalls/account");
|
|
25
|
-
var import_getScamAddressData = require("../../../../../../../apiCalls/account/getScamAddressData");
|
|
26
|
-
var import_enums = require("../../../../../../../types/enums.types");
|
|
27
|
-
var import_base64Utils = require("../../../../../../../utils/decoders/base64Utils");
|
|
28
|
-
var import_checkIsValidSender = require("./checkIsValidSender");
|
|
29
|
-
var import_getTxInfoByDataField = require("./getTxInfoByDataField");
|
|
30
|
-
var import_isTokenTransfer = require("../../isTokenTransfer");
|
|
31
|
-
let verifiedAddresses = {};
|
|
32
|
-
function getExtractTransactionsInfo({
|
|
33
|
-
egldLabel,
|
|
34
|
-
apiAddress,
|
|
35
|
-
sender,
|
|
36
|
-
address,
|
|
37
|
-
parsedTransactionsByDataField
|
|
38
|
-
}) {
|
|
39
|
-
const extractTransactionsInfo = async (currentTx) => {
|
|
40
|
-
if (currentTx == null) {
|
|
41
|
-
return;
|
|
42
|
-
}
|
|
43
|
-
const senderAccount = !sender || sender === address ? null : await (0, import_account.getAccountFromApi)({
|
|
44
|
-
address: sender,
|
|
45
|
-
baseURL: apiAddress
|
|
46
|
-
});
|
|
47
|
-
const { transaction, multiTxData, transactionIndex } = currentTx;
|
|
48
|
-
const dataField = (0, import_base64Utils.decodeBase64)(transaction.data.toString() ?? "");
|
|
49
|
-
const transactionTokenInfo = (0, import_getTxInfoByDataField.getTxInfoByDataField)({
|
|
50
|
-
data: dataField,
|
|
51
|
-
multiTransactionData: multiTxData,
|
|
52
|
-
parsedTransactionsByDataField
|
|
53
|
-
});
|
|
54
|
-
const { tokenId } = transactionTokenInfo;
|
|
55
|
-
const receiver = transaction.receiver.toBech32();
|
|
56
|
-
if (sender && sender !== address) {
|
|
57
|
-
const isValidSender = (0, import_checkIsValidSender.checkIsValidSender)(senderAccount, address);
|
|
58
|
-
if (!isValidSender) {
|
|
59
|
-
console.error(import_enums.SigningErrorsEnum.senderDifferentThanLoggedInAddress);
|
|
60
|
-
throw import_enums.SigningErrorsEnum.senderDifferentThanLoggedInAddress;
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
const notSender = address !== receiver;
|
|
64
|
-
const verified = receiver in verifiedAddresses;
|
|
65
|
-
if (receiver && notSender && !verified) {
|
|
66
|
-
const data = await (0, import_getScamAddressData.getScamAddressData)({
|
|
67
|
-
addressToVerify: receiver,
|
|
68
|
-
baseURL: apiAddress
|
|
69
|
-
});
|
|
70
|
-
verifiedAddresses = {
|
|
71
|
-
...verifiedAddresses,
|
|
72
|
-
...data?.scamInfo ? { [receiver]: data.scamInfo } : {}
|
|
73
|
-
};
|
|
74
|
-
}
|
|
75
|
-
const isTokenTransaction = Boolean(
|
|
76
|
-
tokenId && (0, import_isTokenTransfer.isTokenTransfer)({ tokenId, egldLabel })
|
|
77
|
-
);
|
|
78
|
-
return {
|
|
79
|
-
transaction,
|
|
80
|
-
receiverScamInfo: verifiedAddresses[receiver]?.info || null,
|
|
81
|
-
transactionTokenInfo,
|
|
82
|
-
isTokenTransaction,
|
|
83
|
-
dataField,
|
|
84
|
-
transactionIndex,
|
|
85
|
-
needsSigning: currentTx.needsSigning
|
|
86
|
-
};
|
|
87
|
-
};
|
|
88
|
-
return extractTransactionsInfo;
|
|
89
|
-
}
|
|
90
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
91
|
-
0 && (module.exports = {
|
|
92
|
-
getExtractTransactionsInfo
|
|
93
|
-
});
|
|
1
|
+
"use strict";var f=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var E=Object.getOwnPropertyNames;var L=Object.prototype.hasOwnProperty;var F=(e,n)=>{for(var t in n)f(e,t,{get:n[t],enumerable:!0})},b=(e,n,t,r)=>{if(n&&typeof n=="object"||typeof n=="function")for(let o of E(n))!L.call(e,o)&&o!==t&&f(e,o,{get:()=>n[o],enumerable:!(r=B(n,o))||r.enumerable});return e};var w=e=>b(f({},"__esModule",{value:!0}),e);var M={};F(M,{getExtractTransactionsInfo:()=>R});module.exports=w(M);var p=require("../../../../../../../apiCalls/account"),I=require("../../../../../../../apiCalls/account/getScamAddressData"),T=require("../../../../../../../types/enums.types"),y=require("../../../../../../../utils/decoders/base64Utils"),u=require("./checkIsValidSender"),S=require("./getTxInfoByDataField"),A=require("../../isTokenTransfer");let i={};function R({egldLabel:e,apiAddress:n,sender:t,address:r,parsedTransactionsByDataField:o}){return async s=>{if(s==null)return;const D=!t||t===r?null:await(0,p.getAccountFromApi)({address:t,baseURL:n}),{transaction:c,multiTxData:k,transactionIndex:x}=s,g=(0,y.decodeBase64)(c.data.toString()??""),m=(0,S.getTxInfoByDataField)({data:g,multiTransactionData:k,parsedTransactionsByDataField:o}),{tokenId:l}=m,a=c.receiver.toBech32();if(t&&t!==r&&!(0,u.checkIsValidSender)(D,r))throw console.error(T.SigningErrorsEnum.senderDifferentThanLoggedInAddress),T.SigningErrorsEnum.senderDifferentThanLoggedInAddress;const V=r!==a,h=a in i;if(a&&V&&!h){const d=await(0,I.getScamAddressData)({addressToVerify:a,baseURL:n});i={...i,...d?.scamInfo?{[a]:d.scamInfo}:{}}}const v=!!(l&&(0,A.isTokenTransfer)({tokenId:l,egldLabel:e}));return{transaction:c,receiverScamInfo:i[a]?.info||null,transactionTokenInfo:m,isTokenTransaction:v,dataField:g,transactionIndex:x,needsSigning:s.needsSigning}}}0&&(module.exports={getExtractTransactionsInfo});
|
|
94
2
|
//# sourceMappingURL=getExtractTransactionsInfo.cjs.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../../../../src/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getExtractTransactionsInfo.ts"],
|
|
4
4
|
"sourcesContent": ["import { getAccountFromApi } from 'apiCalls/account';\nimport { getScamAddressData } from 'apiCalls/account/getScamAddressData';\nimport { SigningErrorsEnum } from 'types/enums.types';\n\nimport {\n MultiSignTransactionType,\n TransactionDataTokenType\n} from 'types/transactions.types';\nimport { decodeBase64 } from 'utils/decoders/base64Utils';\nimport { checkIsValidSender } from './checkIsValidSender';\nimport { getTxInfoByDataField } from './getTxInfoByDataField';\nimport { isTokenTransfer } from '../../isTokenTransfer';\n\ninterface VerifiedAddressesType {\n [address: string]: { type: string; info: string };\n}\nlet verifiedAddresses: VerifiedAddressesType = {};\n\ntype ExtractTransactionsInfoType = {\n sender: string;\n address: string;\n apiAddress: string;\n egldLabel: string;\n parsedTransactionsByDataField: Record<string, TransactionDataTokenType>;\n};\n\nexport function getExtractTransactionsInfo({\n egldLabel,\n apiAddress,\n sender,\n address,\n parsedTransactionsByDataField\n}: ExtractTransactionsInfoType) {\n const extractTransactionsInfo = async (\n currentTx: MultiSignTransactionType\n ) => {\n if (currentTx == null) {\n return;\n }\n\n const senderAccount =\n !sender || sender === address\n ? null\n : await getAccountFromApi({\n address: sender,\n baseURL: apiAddress\n });\n\n const { transaction, multiTxData, transactionIndex } = currentTx;\n const dataField = decodeBase64(transaction.data.toString() ?? '');\n const transactionTokenInfo = getTxInfoByDataField({\n data: dataField,\n multiTransactionData: multiTxData,\n parsedTransactionsByDataField\n });\n\n const { tokenId } = transactionTokenInfo;\n const receiver = transaction.receiver.toBech32();\n\n if (sender && sender !== address) {\n const isValidSender = checkIsValidSender(senderAccount, address);\n\n if (!isValidSender) {\n console.error(SigningErrorsEnum.senderDifferentThanLoggedInAddress);\n throw SigningErrorsEnum.senderDifferentThanLoggedInAddress;\n }\n }\n\n const notSender = address !== receiver;\n const verified = receiver in verifiedAddresses;\n\n if (receiver && notSender && !verified) {\n const data = await getScamAddressData({\n addressToVerify: receiver,\n baseURL: apiAddress\n });\n verifiedAddresses = {\n ...verifiedAddresses,\n ...(data?.scamInfo ? { [receiver]: data.scamInfo } : {})\n };\n }\n\n const isTokenTransaction = Boolean(\n tokenId && isTokenTransfer({ tokenId, egldLabel })\n );\n\n return {\n transaction,\n receiverScamInfo: verifiedAddresses[receiver]?.info || null,\n transactionTokenInfo,\n isTokenTransaction,\n dataField,\n transactionIndex,\n needsSigning: currentTx.needsSigning\n };\n };\n return extractTransactionsInfo;\n}\n"],
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": []
|
|
5
|
+
"mappings": "yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,gCAAAE,IAAA,eAAAC,EAAAH,GAAA,IAAAI,EAAkC,4BAClCC,EAAmC,+CACnCC,EAAkC,6BAMlCC,EAA6B,sCAC7BC,EAAmC,gCACnCC,EAAqC,kCACrCC,EAAgC,iCAKhC,IAAIC,EAA2C,CAAC,EAUzC,SAAST,EAA2B,CACzC,UAAAU,EACA,WAAAC,EACA,OAAAC,EACA,QAAAC,EACA,8BAAAC,CACF,EAAgC,CAgE9B,MA/DgC,OAC9BC,GACG,CACH,GAAIA,GAAa,KACf,OAGF,MAAMC,EACJ,CAACJ,GAAUA,IAAWC,EAClB,KACA,QAAM,qBAAkB,CACtB,QAASD,EACT,QAASD,CACX,CAAC,EAED,CAAE,YAAAM,EAAa,YAAAC,EAAa,iBAAAC,CAAiB,EAAIJ,EACjDK,KAAY,gBAAaH,EAAY,KAAK,SAAS,GAAK,EAAE,EAC1DI,KAAuB,wBAAqB,CAChD,KAAMD,EACN,qBAAsBF,EACtB,8BAAAJ,CACF,CAAC,EAEK,CAAE,QAAAQ,CAAQ,EAAID,EACdE,EAAWN,EAAY,SAAS,SAAS,EAE/C,GAAIL,GAAUA,IAAWC,GAGnB,IAFkB,sBAAmBG,EAAeH,CAAO,EAG7D,cAAQ,MAAM,oBAAkB,kCAAkC,EAC5D,oBAAkB,mCAI5B,MAAMW,EAAYX,IAAYU,EACxBE,EAAWF,KAAYd,EAE7B,GAAIc,GAAYC,GAAa,CAACC,EAAU,CACtC,MAAMC,EAAO,QAAM,sBAAmB,CACpC,gBAAiBH,EACjB,QAASZ,CACX,CAAC,EACDF,EAAoB,CAClB,GAAGA,EACH,GAAIiB,GAAM,SAAW,CAAE,CAACH,CAAQ,EAAGG,EAAK,QAAS,EAAI,CAAC,CACxD,CACF,CAEA,MAAMC,EAAqB,GACzBL,MAAW,mBAAgB,CAAE,QAAAA,EAAS,UAAAZ,CAAU,CAAC,GAGnD,MAAO,CACL,YAAAO,EACA,iBAAkBR,EAAkBc,CAAQ,GAAG,MAAQ,KACvD,qBAAAF,EACA,mBAAAM,EACA,UAAAP,EACA,iBAAAD,EACA,aAAcJ,EAAU,YAC1B,CACF,CAEF",
|
|
6
|
+
"names": ["getExtractTransactionsInfo_exports", "__export", "getExtractTransactionsInfo", "__toCommonJS", "import_account", "import_getScamAddressData", "import_enums", "import_base64Utils", "import_checkIsValidSender", "import_getTxInfoByDataField", "import_isTokenTransfer", "verifiedAddresses", "egldLabel", "apiAddress", "sender", "address", "parsedTransactionsByDataField", "currentTx", "senderAccount", "transaction", "multiTxData", "transactionIndex", "dataField", "transactionTokenInfo", "tokenId", "receiver", "notSender", "verified", "data", "isTokenTransaction"]
|
|
7
7
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../../../../../../__chunks__/chunk-ELQR4QMU.mjs";import"../../../../../../../__chunks__/chunk-VJGOUAZ2.mjs";import"../../../../../../../__chunks__/chunk-3KUTPB2M.mjs";import"../../../../../../../__chunks__/chunk-OMT62YRR.mjs";import"../../../../../../../__chunks__/chunk-S5XV2COC.mjs";import"../../../../../../../__chunks__/chunk-INRKVOET.mjs";import"../../../../../../../__chunks__/chunk-6ET5BDZH.mjs";import"../../../../../../../__chunks__/chunk-D2JYGLAC.mjs";import"../../../../../../../__chunks__/chunk-72VXBZOB.mjs";import"../../../../../../../__chunks__/chunk-3GGBXXXJ.mjs";import"../../../../../../../__chunks__/chunk-O7LCTC4K.mjs";import"../../../../../../../__chunks__/chunk-KD2IQ32V.mjs";import"../../../../../../../__chunks__/chunk-TI37DKBT.mjs";import"../../../../../../../__chunks__/chunk-5Y2ZDPP6.mjs";import"../../../../../../../__chunks__/chunk-
|
|
1
|
+
import{a}from"../../../../../../../__chunks__/chunk-ELQR4QMU.mjs";import"../../../../../../../__chunks__/chunk-VJGOUAZ2.mjs";import"../../../../../../../__chunks__/chunk-3KUTPB2M.mjs";import"../../../../../../../__chunks__/chunk-OMT62YRR.mjs";import"../../../../../../../__chunks__/chunk-S5XV2COC.mjs";import"../../../../../../../__chunks__/chunk-INRKVOET.mjs";import"../../../../../../../__chunks__/chunk-6ET5BDZH.mjs";import"../../../../../../../__chunks__/chunk-D2JYGLAC.mjs";import"../../../../../../../__chunks__/chunk-72VXBZOB.mjs";import"../../../../../../../__chunks__/chunk-3GGBXXXJ.mjs";import"../../../../../../../__chunks__/chunk-O7LCTC4K.mjs";import"../../../../../../../__chunks__/chunk-KD2IQ32V.mjs";import"../../../../../../../__chunks__/chunk-TI37DKBT.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 getExtractTransactionsInfo};
|
|
2
2
|
//# sourceMappingURL=getExtractTransactionsInfo.mjs.map
|
|
@@ -1,34 +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 getHighlight_exports = {};
|
|
20
|
-
__export(getHighlight_exports, {
|
|
21
|
-
getHighlight: () => getHighlight
|
|
22
|
-
});
|
|
23
|
-
module.exports = __toCommonJS(getHighlight_exports);
|
|
24
|
-
const getHighlight = (txInfoToken) => {
|
|
25
|
-
if (!txInfoToken?.multiTxData) {
|
|
26
|
-
return null;
|
|
27
|
-
}
|
|
28
|
-
return txInfoToken.multiTxData;
|
|
29
|
-
};
|
|
30
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
31
|
-
0 && (module.exports = {
|
|
32
|
-
getHighlight
|
|
33
|
-
});
|
|
1
|
+
"use strict";var n=Object.defineProperty;var T=Object.getOwnPropertyDescriptor;var o=Object.getOwnPropertyNames;var l=Object.prototype.hasOwnProperty;var u=(t,a)=>{for(var i in a)n(t,i,{get:a[i],enumerable:!0})},m=(t,a,i,e)=>{if(a&&typeof a=="object"||typeof a=="function")for(let r of o(a))!l.call(t,r)&&r!==i&&n(t,r,{get:()=>a[r],enumerable:!(e=T(a,r))||e.enumerable});return t};var p=t=>m(n({},"__esModule",{value:!0}),t);var c={};u(c,{getHighlight:()=>D});module.exports=p(c);const D=t=>t?.multiTxData?t.multiTxData:null;0&&(module.exports={getHighlight});
|
|
34
2
|
//# sourceMappingURL=getHighlight.cjs.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../../../../src/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getHighlight.ts"],
|
|
4
4
|
"sourcesContent": ["import { TransactionDataTokenType } from 'types/transactions.types';\n\nexport const getHighlight = (txInfoToken?: TransactionDataTokenType) => {\n if (!txInfoToken?.multiTxData) {\n return null;\n }\n\n return txInfoToken.multiTxData;\n};\n"],
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": []
|
|
5
|
+
"mappings": "yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,kBAAAE,IAAA,eAAAC,EAAAH,GAEO,MAAME,EAAgBE,GACtBA,GAAa,YAIXA,EAAY,YAHV",
|
|
6
|
+
"names": ["getHighlight_exports", "__export", "getHighlight", "__toCommonJS", "txInfoToken"]
|
|
7
7
|
}
|
|
@@ -1,93 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __create = Object.create;
|
|
3
|
-
var __defProp = Object.defineProperty;
|
|
4
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
-
var __export = (target, all) => {
|
|
9
|
-
for (var name in all)
|
|
10
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
-
};
|
|
12
|
-
var __copyProps = (to, from, except, desc) => {
|
|
13
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
-
for (let key of __getOwnPropNames(from))
|
|
15
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
-
}
|
|
18
|
-
return to;
|
|
19
|
-
};
|
|
20
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
-
mod
|
|
27
|
-
));
|
|
28
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
-
var getPpuOptions_exports = {};
|
|
30
|
-
__export(getPpuOptions_exports, {
|
|
31
|
-
getPpuOptions: () => getPpuOptions
|
|
32
|
-
});
|
|
33
|
-
module.exports = __toCommonJS(getPpuOptions_exports);
|
|
34
|
-
var import_bignumber = __toESM(require("bignumber.js"));
|
|
35
|
-
var import_placeholders = require("../../../../../../../constants/placeholders.constants");
|
|
36
|
-
var import_getRecommendedGasPrice = require("./getRecommendedGasPrice");
|
|
37
|
-
const getPpuOptions = ({
|
|
38
|
-
shard,
|
|
39
|
-
gasStationMetadata,
|
|
40
|
-
transaction,
|
|
41
|
-
initialGasPrice = 0
|
|
42
|
-
}) => {
|
|
43
|
-
const fastPpu = gasStationMetadata ? gasStationMetadata[Number(shard)]?.fast : import_placeholders.EMPTY_PPU;
|
|
44
|
-
const fasterPpu = gasStationMetadata ? gasStationMetadata[Number(shard)]?.faster : import_placeholders.EMPTY_PPU;
|
|
45
|
-
const fastGasPrice = (0, import_getRecommendedGasPrice.getRecommendedGasPrice)({
|
|
46
|
-
transaction,
|
|
47
|
-
gasPriceData: {
|
|
48
|
-
initialGasPrice,
|
|
49
|
-
ppu: fastPpu
|
|
50
|
-
}
|
|
51
|
-
});
|
|
52
|
-
const fasterGasPrice = (0, import_getRecommendedGasPrice.getRecommendedGasPrice)({
|
|
53
|
-
transaction,
|
|
54
|
-
gasPriceData: {
|
|
55
|
-
initialGasPrice,
|
|
56
|
-
ppu: fasterPpu
|
|
57
|
-
}
|
|
58
|
-
});
|
|
59
|
-
const isFastGasPrice = new import_bignumber.default(fastGasPrice).isGreaterThan(
|
|
60
|
-
initialGasPrice || 0
|
|
61
|
-
);
|
|
62
|
-
const isFasterGasPrice = new import_bignumber.default(fasterGasPrice).isGreaterThan(
|
|
63
|
-
initialGasPrice || 0
|
|
64
|
-
);
|
|
65
|
-
const isEditingGasPriceEnabled = isFastGasPrice || isFasterGasPrice;
|
|
66
|
-
if (!isEditingGasPriceEnabled) {
|
|
67
|
-
return [];
|
|
68
|
-
}
|
|
69
|
-
const ppuOptions = [
|
|
70
|
-
{
|
|
71
|
-
label: "Standard",
|
|
72
|
-
value: import_placeholders.EMPTY_PPU
|
|
73
|
-
}
|
|
74
|
-
];
|
|
75
|
-
if (isFastGasPrice) {
|
|
76
|
-
ppuOptions.push({
|
|
77
|
-
label: "Fast",
|
|
78
|
-
value: fastPpu
|
|
79
|
-
});
|
|
80
|
-
}
|
|
81
|
-
if (isFasterGasPrice) {
|
|
82
|
-
ppuOptions.push({
|
|
83
|
-
label: "Faster",
|
|
84
|
-
value: fasterPpu
|
|
85
|
-
});
|
|
86
|
-
}
|
|
87
|
-
return ppuOptions;
|
|
88
|
-
};
|
|
89
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
90
|
-
0 && (module.exports = {
|
|
91
|
-
getPpuOptions
|
|
92
|
-
});
|
|
1
|
+
"use strict";var G=Object.create;var i=Object.defineProperty;var T=Object.getOwnPropertyDescriptor;var d=Object.getOwnPropertyNames;var g=Object.getPrototypeOf,y=Object.prototype.hasOwnProperty;var E=(e,r)=>{for(var s in r)i(e,s,{get:r[s],enumerable:!0})},f=(e,r,s,a)=>{if(r&&typeof r=="object"||typeof r=="function")for(let t of d(r))!y.call(e,t)&&t!==s&&i(e,t,{get:()=>r[t],enumerable:!(a=T(r,t))||a.enumerable});return e};var N=(e,r,s)=>(s=e!=null?G(g(e)):{},f(r||!e||!e.__esModule?i(s,"default",{value:e,enumerable:!0}):s,e)),h=e=>f(i({},"__esModule",{value:!0}),e);var D={};E(D,{getPpuOptions:()=>w});module.exports=h(D);var p=N(require("bignumber.js")),n=require("../../../../../../../constants/placeholders.constants"),c=require("./getRecommendedGasPrice");const w=({shard:e,gasStationMetadata:r,transaction:s,initialGasPrice:a=0})=>{const t=r?r[Number(e)]?.fast:n.EMPTY_PPU,m=r?r[Number(e)]?.faster:n.EMPTY_PPU,l=(0,c.getRecommendedGasPrice)({transaction:s,gasPriceData:{initialGasPrice:a,ppu:t}}),b=(0,c.getRecommendedGasPrice)({transaction:s,gasPriceData:{initialGasPrice:a,ppu:m}}),P=new p.default(l).isGreaterThan(a||0),u=new p.default(b).isGreaterThan(a||0);if(!(P||u))return[];const o=[{label:"Standard",value:n.EMPTY_PPU}];return P&&o.push({label:"Fast",value:t}),u&&o.push({label:"Faster",value:m}),o};0&&(module.exports={getPpuOptions});
|
|
93
2
|
//# sourceMappingURL=getPpuOptions.cjs.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../../../../src/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getPpuOptions.ts"],
|
|
4
4
|
"sourcesContent": ["import BigNumber from 'bignumber.js';\nimport { EMPTY_PPU } from 'constants/placeholders.constants';\nimport { IPlainTransactionObject } from 'lib/sdkCore';\nimport { NetworkType } from 'types/network.types';\nimport { getRecommendedGasPrice } from './getRecommendedGasPrice';\n\ntype GetGasPriceDetailsParamsType = {\n shard?: number;\n gasStationMetadata: NetworkType['gasStationMetadata'];\n transaction: IPlainTransactionObject;\n initialGasPrice?: number;\n};\n\nexport const getPpuOptions = ({\n shard,\n gasStationMetadata,\n transaction,\n initialGasPrice = 0\n}: GetGasPriceDetailsParamsType) => {\n const fastPpu = gasStationMetadata\n ? gasStationMetadata[Number(shard)]?.fast\n : EMPTY_PPU;\n\n const fasterPpu = gasStationMetadata\n ? gasStationMetadata[Number(shard)]?.faster\n : EMPTY_PPU;\n\n const fastGasPrice = getRecommendedGasPrice({\n transaction,\n gasPriceData: {\n initialGasPrice,\n ppu: fastPpu\n }\n });\n\n const fasterGasPrice = getRecommendedGasPrice({\n transaction,\n gasPriceData: {\n initialGasPrice,\n ppu: fasterPpu\n }\n });\n\n const isFastGasPrice = new BigNumber(fastGasPrice).isGreaterThan(\n initialGasPrice || 0\n );\n\n const isFasterGasPrice = new BigNumber(fasterGasPrice).isGreaterThan(\n initialGasPrice || 0\n );\n const isEditingGasPriceEnabled = isFastGasPrice || isFasterGasPrice;\n\n if (!isEditingGasPriceEnabled) {\n return [];\n }\n\n const ppuOptions = [\n {\n label: 'Standard',\n value: EMPTY_PPU\n }\n ];\n\n if (isFastGasPrice) {\n ppuOptions.push({\n label: 'Fast',\n value: fastPpu\n });\n }\n\n if (isFasterGasPrice) {\n ppuOptions.push({\n label: 'Faster',\n value: fasterPpu\n });\n }\n\n return ppuOptions;\n};\n"],
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": ["BigNumber"]
|
|
5
|
+
"mappings": "0jBAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,mBAAAE,IAAA,eAAAC,EAAAH,GAAA,IAAAI,EAAsB,2BACtBC,EAA0B,4CAG1BC,EAAuC,oCAShC,MAAMJ,EAAgB,CAAC,CAC5B,MAAAK,EACA,mBAAAC,EACA,YAAAC,EACA,gBAAAC,EAAkB,CACpB,IAAoC,CAClC,MAAMC,EAAUH,EACZA,EAAmB,OAAOD,CAAK,CAAC,GAAG,KACnC,YAEEK,EAAYJ,EACdA,EAAmB,OAAOD,CAAK,CAAC,GAAG,OACnC,YAEEM,KAAe,0BAAuB,CAC1C,YAAAJ,EACA,aAAc,CACZ,gBAAAC,EACA,IAAKC,CACP,CACF,CAAC,EAEKG,KAAiB,0BAAuB,CAC5C,YAAAL,EACA,aAAc,CACZ,gBAAAC,EACA,IAAKE,CACP,CACF,CAAC,EAEKG,EAAiB,IAAI,EAAAC,QAAUH,CAAY,EAAE,cACjDH,GAAmB,CACrB,EAEMO,EAAmB,IAAI,EAAAD,QAAUF,CAAc,EAAE,cACrDJ,GAAmB,CACrB,EAGA,GAAI,EAF6BK,GAAkBE,GAGjD,MAAO,CAAC,EAGV,MAAMC,EAAa,CACjB,CACE,MAAO,WACP,MAAO,WACT,CACF,EAEA,OAAIH,GACFG,EAAW,KAAK,CACd,MAAO,OACP,MAAOP,CACT,CAAC,EAGCM,GACFC,EAAW,KAAK,CACd,MAAO,SACP,MAAON,CACT,CAAC,EAGIM,CACT",
|
|
6
|
+
"names": ["getPpuOptions_exports", "__export", "getPpuOptions", "__toCommonJS", "import_bignumber", "import_placeholders", "import_getRecommendedGasPrice", "shard", "gasStationMetadata", "transaction", "initialGasPrice", "fastPpu", "fasterPpu", "fastGasPrice", "fasterGasPrice", "isFastGasPrice", "BigNumber", "isFasterGasPrice", "ppuOptions"]
|
|
7
7
|
}
|
|
@@ -1,44 +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 getRecommendedGasPrice_exports = {};
|
|
20
|
-
__export(getRecommendedGasPrice_exports, {
|
|
21
|
-
getRecommendedGasPrice: () => getRecommendedGasPrice
|
|
22
|
-
});
|
|
23
|
-
module.exports = __toCommonJS(getRecommendedGasPrice_exports);
|
|
24
|
-
var import_sdkDappUtils = require("../../../../../../../lib/sdkDappUtils");
|
|
25
|
-
function getRecommendedGasPrice({
|
|
26
|
-
transaction,
|
|
27
|
-
gasPriceData
|
|
28
|
-
}) {
|
|
29
|
-
if (!gasPriceData) {
|
|
30
|
-
throw new Error("Gas price not found for nonce: " + transaction.nonce);
|
|
31
|
-
}
|
|
32
|
-
const { initialGasPrice, ppu } = gasPriceData;
|
|
33
|
-
const newGasPrice = ppu ? (0, import_sdkDappUtils.recommendGasPrice)({
|
|
34
|
-
transactionDataLength: String(transaction?.data || "").length,
|
|
35
|
-
transactionGasLimit: transaction.gasLimit,
|
|
36
|
-
ppu
|
|
37
|
-
}) : initialGasPrice;
|
|
38
|
-
return newGasPrice;
|
|
39
|
-
}
|
|
40
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
41
|
-
0 && (module.exports = {
|
|
42
|
-
getRecommendedGasPrice
|
|
43
|
-
});
|
|
1
|
+
"use strict";var t=Object.defineProperty;var c=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var m=Object.prototype.hasOwnProperty;var p=(e,n)=>{for(var a in n)t(e,a,{get:n[a],enumerable:!0})},P=(e,n,a,r)=>{if(n&&typeof n=="object"||typeof n=="function")for(let i of s(n))!m.call(e,i)&&i!==a&&t(e,i,{get:()=>n[i],enumerable:!(r=c(n,i))||r.enumerable});return e};var G=e=>P(t({},"__esModule",{value:!0}),e);var f={};p(f,{getRecommendedGasPrice:()=>d});module.exports=G(f);var o=require("../../../../../../../lib/sdkDappUtils");function d({transaction:e,gasPriceData:n}){if(!n)throw new Error("Gas price not found for nonce: "+e.nonce);const{initialGasPrice:a,ppu:r}=n;return r?(0,o.recommendGasPrice)({transactionDataLength:String(e?.data||"").length,transactionGasLimit:e.gasLimit,ppu:r}):a}0&&(module.exports={getRecommendedGasPrice});
|
|
44
2
|
//# sourceMappingURL=getRecommendedGasPrice.cjs.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../../../../src/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getRecommendedGasPrice.ts"],
|
|
4
4
|
"sourcesContent": ["import { IPlainTransactionObject } from 'lib/sdkCore';\nimport { recommendGasPrice } from 'lib/sdkDappUtils';\nimport { ISignTransactionsPanelCommonData } from 'managers/internal/SignTransactionsStateManager/types/signTransactionsPanel.types';\n\ninterface GetRecommendedGasPricePropsType {\n transaction: IPlainTransactionObject;\n gasPriceData?: {\n initialGasPrice: number;\n ppu: ISignTransactionsPanelCommonData['ppu'];\n };\n}\n\nexport function getRecommendedGasPrice({\n transaction,\n gasPriceData\n}: GetRecommendedGasPricePropsType) {\n if (!gasPriceData) {\n throw new Error('Gas price not found for nonce: ' + transaction.nonce);\n }\n\n const { initialGasPrice, ppu } = gasPriceData;\n\n const newGasPrice = ppu\n ? recommendGasPrice({\n transactionDataLength: String(transaction?.data || '').length,\n transactionGasLimit: transaction.gasLimit,\n ppu\n })\n : initialGasPrice;\n\n return newGasPrice;\n}\n"],
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": []
|
|
5
|
+
"mappings": "yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,4BAAAE,IAAA,eAAAC,EAAAH,GACA,IAAAI,EAAkC,4BAW3B,SAASF,EAAuB,CACrC,YAAAG,EACA,aAAAC,CACF,EAAoC,CAClC,GAAI,CAACA,EACH,MAAM,IAAI,MAAM,kCAAoCD,EAAY,KAAK,EAGvE,KAAM,CAAE,gBAAAE,EAAiB,IAAAC,CAAI,EAAIF,EAUjC,OARoBE,KAChB,qBAAkB,CAChB,sBAAuB,OAAOH,GAAa,MAAQ,EAAE,EAAE,OACvD,oBAAqBA,EAAY,SACjC,IAAAG,CACF,CAAC,EACDD,CAGN",
|
|
6
|
+
"names": ["getRecommendedGasPrice_exports", "__export", "getRecommendedGasPrice", "__toCommonJS", "import_sdkDappUtils", "transaction", "gasPriceData", "initialGasPrice", "ppu"]
|
|
7
7
|
}
|
|
@@ -1,40 +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 getScCall_exports = {};
|
|
20
|
-
__export(getScCall_exports, {
|
|
21
|
-
getScCall: () => getScCall
|
|
22
|
-
});
|
|
23
|
-
module.exports = __toCommonJS(getScCall_exports);
|
|
24
|
-
var import_decodePart = require("../../../../../../../utils/decoders/decodePart");
|
|
25
|
-
const getScCall = (txInfoToken) => {
|
|
26
|
-
if (!txInfoToken?.multiTxData) {
|
|
27
|
-
return null;
|
|
28
|
-
}
|
|
29
|
-
const { multiTxData, tokenId } = txInfoToken;
|
|
30
|
-
if (tokenId) {
|
|
31
|
-
return null;
|
|
32
|
-
}
|
|
33
|
-
const scCall = (0, import_decodePart.decodePart)(multiTxData);
|
|
34
|
-
return scCall;
|
|
35
|
-
};
|
|
36
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
37
|
-
0 && (module.exports = {
|
|
38
|
-
getScCall
|
|
39
|
-
});
|
|
1
|
+
"use strict";var o=Object.defineProperty;var c=Object.getOwnPropertyDescriptor;var i=Object.getOwnPropertyNames;var s=Object.prototype.hasOwnProperty;var u=(a,t)=>{for(var r in t)o(a,r,{get:t[r],enumerable:!0})},T=(a,t,r,l)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of i(t))!s.call(a,n)&&n!==r&&o(a,n,{get:()=>t[n],enumerable:!(l=c(t,n))||l.enumerable});return a};var m=a=>T(o({},"__esModule",{value:!0}),a);var D={};u(D,{getScCall:()=>p});module.exports=m(D);var e=require("../../../../../../../utils/decoders/decodePart");const p=a=>{if(!a?.multiTxData)return null;const{multiTxData:t,tokenId:r}=a;return r?null:(0,e.decodePart)(t)};0&&(module.exports={getScCall});
|
|
40
2
|
//# sourceMappingURL=getScCall.cjs.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../../../../src/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getScCall.ts"],
|
|
4
4
|
"sourcesContent": ["import { TransactionDataTokenType } from 'types/transactions.types';\nimport { decodePart } from 'utils/decoders/decodePart';\n\nexport const getScCall = (txInfoToken?: TransactionDataTokenType) => {\n if (!txInfoToken?.multiTxData) {\n return null;\n }\n\n const { multiTxData, tokenId } = txInfoToken;\n\n if (tokenId) {\n return null;\n }\n\n const scCall = decodePart(multiTxData);\n return scCall;\n};\n"],
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": []
|
|
5
|
+
"mappings": "yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,eAAAE,IAAA,eAAAC,EAAAH,GACA,IAAAI,EAA2B,qCAEpB,MAAMF,EAAaG,GAA2C,CACnE,GAAI,CAACA,GAAa,YAChB,OAAO,KAGT,KAAM,CAAE,YAAAC,EAAa,QAAAC,CAAQ,EAAIF,EAEjC,OAAIE,EACK,QAGM,cAAWD,CAAW,CAEvC",
|
|
6
|
+
"names": ["getScCall_exports", "__export", "getScCall", "__toCommonJS", "import_decodePart", "txInfoToken", "multiTxData", "tokenId"]
|
|
7
7
|
}
|
|
@@ -1,39 +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 getTokenType_exports = {};
|
|
20
|
-
__export(getTokenType_exports, {
|
|
21
|
-
getTokenType: () => getTokenType
|
|
22
|
-
});
|
|
23
|
-
module.exports = __toCommonJS(getTokenType_exports);
|
|
24
|
-
var import_tokens = require("../../../../../../../types/tokens.types");
|
|
25
|
-
const getTokenType = (type) => {
|
|
26
|
-
switch (type) {
|
|
27
|
-
case import_tokens.NftEnumType.NonFungibleESDT:
|
|
28
|
-
case import_tokens.NftEnumType.SemiFungibleESDT:
|
|
29
|
-
case import_tokens.NftEnumType.MetaESDT:
|
|
30
|
-
return type;
|
|
31
|
-
default:
|
|
32
|
-
return import_tokens.EsdtEnumType.FungibleESDT;
|
|
33
|
-
}
|
|
34
|
-
};
|
|
35
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
36
|
-
0 && (module.exports = {
|
|
37
|
-
getTokenType
|
|
38
|
-
});
|
|
1
|
+
"use strict";var E=Object.defineProperty;var i=Object.getOwnPropertyDescriptor;var m=Object.getOwnPropertyNames;var o=Object.prototype.hasOwnProperty;var s=(e,n)=>{for(var T in n)E(e,T,{get:n[T],enumerable:!0})},a=(e,n,T,r)=>{if(n&&typeof n=="object"||typeof n=="function")for(let u of m(n))!o.call(e,u)&&u!==T&&E(e,u,{get:()=>n[u],enumerable:!(r=i(n,u))||r.enumerable});return e};var c=e=>a(E({},"__esModule",{value:!0}),e);var S={};s(S,{getTokenType:()=>p});module.exports=c(S);var t=require("../../../../../../../types/tokens.types");const p=e=>{switch(e){case t.NftEnumType.NonFungibleESDT:case t.NftEnumType.SemiFungibleESDT:case t.NftEnumType.MetaESDT:return e;default:return t.EsdtEnumType.FungibleESDT}};0&&(module.exports={getTokenType});
|
|
39
2
|
//# sourceMappingURL=getTokenType.cjs.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../../../../src/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getTokenType.ts"],
|
|
4
4
|
"sourcesContent": ["import { EsdtEnumType, NftEnumType } from 'types/tokens.types';\n\nexport const getTokenType = (type?: NftEnumType) => {\n switch (type) {\n case NftEnumType.NonFungibleESDT:\n case NftEnumType.SemiFungibleESDT:\n case NftEnumType.MetaESDT:\n return type;\n default:\n return EsdtEnumType.FungibleESDT;\n }\n};\n"],
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": []
|
|
5
|
+
"mappings": "yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,kBAAAE,IAAA,eAAAC,EAAAH,GAAA,IAAAI,EAA0C,8BAEnC,MAAMF,EAAgBG,GAAuB,CAClD,OAAQA,EAAM,CACZ,KAAK,cAAY,gBACjB,KAAK,cAAY,iBACjB,KAAK,cAAY,SACf,OAAOA,EACT,QACE,OAAO,eAAa,YACxB,CACF",
|
|
6
|
+
"names": ["getTokenType_exports", "__export", "getTokenType", "__toCommonJS", "import_tokens", "type"]
|
|
7
7
|
}
|
|
@@ -1,51 +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 getTxInfoByDataField_exports = {};
|
|
20
|
-
__export(getTxInfoByDataField_exports, {
|
|
21
|
-
getTxInfoByDataField: () => getTxInfoByDataField
|
|
22
|
-
});
|
|
23
|
-
module.exports = __toCommonJS(getTxInfoByDataField_exports);
|
|
24
|
-
const defaultTransactionInfo = {
|
|
25
|
-
tokenId: "",
|
|
26
|
-
amount: "",
|
|
27
|
-
type: "",
|
|
28
|
-
multiTxData: "",
|
|
29
|
-
receiver: ""
|
|
30
|
-
};
|
|
31
|
-
function getTxInfoByDataField({
|
|
32
|
-
data,
|
|
33
|
-
multiTransactionData,
|
|
34
|
-
parsedTransactionsByDataField
|
|
35
|
-
}) {
|
|
36
|
-
if (parsedTransactionsByDataField == null) {
|
|
37
|
-
return defaultTransactionInfo;
|
|
38
|
-
}
|
|
39
|
-
if (data in parsedTransactionsByDataField) {
|
|
40
|
-
return parsedTransactionsByDataField[data];
|
|
41
|
-
}
|
|
42
|
-
if (multiTransactionData != null && String(multiTransactionData) in parsedTransactionsByDataField) {
|
|
43
|
-
return parsedTransactionsByDataField[multiTransactionData];
|
|
44
|
-
}
|
|
45
|
-
return defaultTransactionInfo;
|
|
46
|
-
}
|
|
47
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
48
|
-
0 && (module.exports = {
|
|
49
|
-
getTxInfoByDataField
|
|
50
|
-
});
|
|
1
|
+
"use strict";var o=Object.defineProperty;var u=Object.getOwnPropertyDescriptor;var f=Object.getOwnPropertyNames;var a=Object.prototype.hasOwnProperty;var c=(t,n)=>{for(var e in n)o(t,e,{get:n[e],enumerable:!0})},g=(t,n,e,i)=>{if(n&&typeof n=="object"||typeof n=="function")for(let r of f(n))!a.call(t,r)&&r!==e&&o(t,r,{get:()=>n[r],enumerable:!(i=u(n,r))||i.enumerable});return t};var k=t=>g(o({},"__esModule",{value:!0}),t);var l={};c(l,{getTxInfoByDataField:()=>p});module.exports=k(l);const T={tokenId:"",amount:"",type:"",multiTxData:"",receiver:""};function p({data:t,multiTransactionData:n,parsedTransactionsByDataField:e}){return e==null?T:t in e?e[t]:n!=null&&String(n)in e?e[n]:T}0&&(module.exports={getTxInfoByDataField});
|
|
51
2
|
//# sourceMappingURL=getTxInfoByDataField.cjs.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../../../../src/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getTxInfoByDataField.ts"],
|
|
4
4
|
"sourcesContent": ["import { TransactionDataTokenType } from 'types/transactions.types';\nconst defaultTransactionInfo: TransactionDataTokenType = {\n tokenId: '',\n amount: '',\n type: '',\n multiTxData: '',\n receiver: ''\n};\n\nexport function getTxInfoByDataField({\n data,\n multiTransactionData,\n parsedTransactionsByDataField\n}: {\n data: string;\n multiTransactionData?: string;\n parsedTransactionsByDataField: Record<string, TransactionDataTokenType>;\n}): TransactionDataTokenType {\n if (parsedTransactionsByDataField == null) {\n return defaultTransactionInfo;\n }\n\n if (data in parsedTransactionsByDataField) {\n return parsedTransactionsByDataField[data];\n }\n\n if (\n multiTransactionData != null &&\n String(multiTransactionData) in parsedTransactionsByDataField\n ) {\n return parsedTransactionsByDataField[multiTransactionData];\n }\n\n return defaultTransactionInfo;\n}\n"],
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": []
|
|
5
|
+
"mappings": "yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,0BAAAE,IAAA,eAAAC,EAAAH,GACA,MAAMI,EAAmD,CACvD,QAAS,GACT,OAAQ,GACR,KAAM,GACN,YAAa,GACb,SAAU,EACZ,EAEO,SAASF,EAAqB,CACnC,KAAAG,EACA,qBAAAC,EACA,8BAAAC,CACF,EAI6B,CAC3B,OAAIA,GAAiC,KAC5BH,EAGLC,KAAQE,EACHA,EAA8BF,CAAI,EAIzCC,GAAwB,MACxB,OAAOA,CAAoB,IAAKC,EAEzBA,EAA8BD,CAAoB,EAGpDF,CACT",
|
|
6
|
+
"names": ["getTxInfoByDataField_exports", "__export", "getTxInfoByDataField", "__toCommonJS", "defaultTransactionInfo", "data", "multiTransactionData", "parsedTransactionsByDataField"]
|
|
7
7
|
}
|
|
@@ -1,57 +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 getFeeData_exports = {};
|
|
20
|
-
__export(getFeeData_exports, {
|
|
21
|
-
getFeeData: () => getFeeData
|
|
22
|
-
});
|
|
23
|
-
module.exports = __toCommonJS(getFeeData_exports);
|
|
24
|
-
var import_mvx = require("../../../../../constants/mvx.constants");
|
|
25
|
-
var import_sdkDappUtils = require("../../../../../lib/sdkDappUtils");
|
|
26
|
-
var import_calculateFeeInFiat = require("./calculateFeeInFiat");
|
|
27
|
-
var import_calculateFeeLimit = require("./calculateFeeLimit");
|
|
28
|
-
const getFeeData = ({
|
|
29
|
-
transaction,
|
|
30
|
-
price
|
|
31
|
-
}) => {
|
|
32
|
-
const feeLimit = (0, import_calculateFeeLimit.calculateFeeLimit)({
|
|
33
|
-
from: transaction.sender.toBech32(),
|
|
34
|
-
to: transaction.receiver.toBech32(),
|
|
35
|
-
gasPerDataByte: String(import_mvx.GAS_PER_DATA_BYTE),
|
|
36
|
-
gasPriceModifier: String(import_mvx.GAS_PRICE_MODIFIER),
|
|
37
|
-
gasLimit: transaction.gasLimit.valueOf().toString(),
|
|
38
|
-
gasPrice: transaction.gasPrice.valueOf().toString(),
|
|
39
|
-
data: transaction.data.toString(),
|
|
40
|
-
chainId: transaction.chainID.valueOf().toString()
|
|
41
|
-
});
|
|
42
|
-
const feeLimitFormatted = (0, import_sdkDappUtils.formatAmount)({
|
|
43
|
-
input: feeLimit,
|
|
44
|
-
showLastNonZeroDecimal: true
|
|
45
|
-
});
|
|
46
|
-
const feeInFiatLimit = price ? (0, import_calculateFeeInFiat.calculateFeeInFiat)({
|
|
47
|
-
feeLimit,
|
|
48
|
-
egldPriceInUsd: price,
|
|
49
|
-
hideEqualSign: true
|
|
50
|
-
}) : null;
|
|
51
|
-
return { feeLimitFormatted, feeInFiatLimit, feeLimit };
|
|
52
|
-
};
|
|
53
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
54
|
-
0 && (module.exports = {
|
|
55
|
-
getFeeData
|
|
56
|
-
});
|
|
1
|
+
"use strict";var m=Object.defineProperty;var f=Object.getOwnPropertyDescriptor;var u=Object.getOwnPropertyNames;var l=Object.prototype.hasOwnProperty;var s=(e,t)=>{for(var i in t)m(e,i,{get:t[i],enumerable:!0})},d=(e,t,i,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of u(t))!l.call(e,r)&&r!==i&&m(e,r,{get:()=>t[r],enumerable:!(o=f(t,r))||o.enumerable});return e};var S=e=>d(m({},"__esModule",{value:!0}),e);var p={};s(p,{getFeeData:()=>I});module.exports=S(p);var a=require("../../../../../constants/mvx.constants"),n=require("../../../../../lib/sdkDappUtils"),c=require("./calculateFeeInFiat"),g=require("./calculateFeeLimit");const I=({transaction:e,price:t})=>{const i=(0,g.calculateFeeLimit)({from:e.sender.toBech32(),to:e.receiver.toBech32(),gasPerDataByte:String(a.GAS_PER_DATA_BYTE),gasPriceModifier:String(a.GAS_PRICE_MODIFIER),gasLimit:e.gasLimit.valueOf().toString(),gasPrice:e.gasPrice.valueOf().toString(),data:e.data.toString(),chainId:e.chainID.valueOf().toString()}),o=(0,n.formatAmount)({input:i,showLastNonZeroDecimal:!0}),r=t?(0,c.calculateFeeInFiat)({feeLimit:i,egldPriceInUsd:t,hideEqualSign:!0}):null;return{feeLimitFormatted:o,feeInFiatLimit:r,feeLimit:i}};0&&(module.exports={getFeeData});
|
|
57
2
|
//# sourceMappingURL=getFeeData.cjs.map
|