@multiversx/sdk-dapp 5.2.7 → 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-FNMAWOLC.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-TLW7RSAO.mjs → chunk-35AC7JEX.mjs} +2 -2
- package/out/__chunks__/chunk-3AT3N6U7.mjs +2 -0
- package/out/__chunks__/{chunk-Y5BESSJK.mjs → chunk-3EVBWJRB.mjs} +2 -2
- package/out/__chunks__/{chunk-A3D3GW7R.mjs → chunk-3H5GYTLV.mjs} +2 -2
- package/out/__chunks__/{chunk-HGQYSGTG.mjs → chunk-3IMTI6JQ.mjs} +2 -2
- package/out/__chunks__/{chunk-QUPXSKV4.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-K3VNFEPP.mjs → chunk-5SUCN4KU.mjs} +2 -2
- package/out/__chunks__/chunk-6BQWDKWC.mjs +2 -0
- package/out/__chunks__/{chunk-RXX3GSOM.mjs.map → chunk-6BQWDKWC.mjs.map} +2 -2
- package/out/__chunks__/chunk-6XHXG7HB.mjs +2 -0
- package/out/__chunks__/{chunk-QAOBZWSF.mjs.map → chunk-6XHXG7HB.mjs.map} +1 -1
- package/out/__chunks__/{chunk-RIB3PJIR.mjs → chunk-753KDZIR.mjs} +2 -2
- package/out/__chunks__/{chunk-J6WJ6ULQ.mjs → chunk-7LP6TRTV.mjs} +2 -2
- package/out/__chunks__/{chunk-5FZ5WUYZ.mjs → chunk-7NW5R435.mjs} +2 -2
- package/out/__chunks__/{chunk-CT235ZUB.mjs → chunk-7PIS2F7G.mjs} +2 -2
- package/out/__chunks__/chunk-AHRQWA37.mjs +2 -0
- package/out/__chunks__/{chunk-PCTCQEFY.mjs → chunk-AOYKAITD.mjs} +2 -2
- package/out/__chunks__/{chunk-DP53BNR6.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-B5ETDLE6.mjs → chunk-BMJVOKCD.mjs} +2 -2
- package/out/__chunks__/{chunk-UY57JRX7.mjs → chunk-BZRPJAII.mjs} +2 -2
- package/out/__chunks__/{chunk-5TNG3JR3.mjs → chunk-D4SYE2AU.mjs} +2 -2
- package/out/__chunks__/{chunk-ZRMZYVMR.mjs → chunk-DBMG6HQS.mjs} +2 -2
- package/out/__chunks__/chunk-DBTVIN4S.mjs +2 -0
- package/out/__chunks__/{chunk-XFBUY46Y.mjs.map → chunk-DBTVIN4S.mjs.map} +2 -2
- package/out/__chunks__/chunk-DK6T6BEY.mjs +2 -0
- package/out/__chunks__/{chunk-BAWWEDTL.mjs.map → chunk-DK6T6BEY.mjs.map} +3 -3
- package/out/__chunks__/{chunk-EEVAKQEF.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-4PQ3E6VH.mjs → chunk-EH3INPBE.mjs} +2 -2
- package/out/__chunks__/{chunk-LFBY6WV3.mjs → chunk-EJ3EBFAG.mjs} +2 -2
- package/out/__chunks__/{chunk-Q6RQNGJC.mjs → chunk-EJHFAT42.mjs} +2 -2
- package/out/__chunks__/{chunk-ZC6ENJP4.mjs → chunk-EMSDNE45.mjs} +2 -2
- package/out/__chunks__/chunk-FGO6JGLQ.mjs +2 -0
- package/out/__chunks__/{chunk-JQ57YAGP.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-VOJLXYJ3.mjs → chunk-GDTOANYH.mjs} +2 -2
- package/out/__chunks__/chunk-GKZ2BSWS.mjs +2 -0
- package/out/__chunks__/{chunk-C6D4JSK4.mjs.map → chunk-GKZ2BSWS.mjs.map} +2 -2
- package/out/__chunks__/chunk-GRUQO4NQ.mjs +2 -0
- package/out/__chunks__/{chunk-Y3OGRXWT.mjs → chunk-H3U7BN2F.mjs} +2 -2
- package/out/__chunks__/{chunk-3WS7UAIF.mjs → chunk-H6LOCVAD.mjs} +2 -2
- package/out/__chunks__/{chunk-PI3A4HAK.mjs → chunk-HZCXNBGJ.mjs} +2 -2
- package/out/__chunks__/{chunk-A4KEELZM.mjs → chunk-HZRV27MM.mjs} +2 -2
- package/out/__chunks__/{chunk-Z64FHGQ2.mjs → chunk-IGDWL5FF.mjs} +2 -2
- package/out/__chunks__/{chunk-4JCZWUDH.mjs → chunk-K23LCX54.mjs} +2 -2
- package/out/__chunks__/{chunk-JTIXXP4J.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-WGKDCYB7.mjs → chunk-KKC3NMW2.mjs} +2 -2
- package/out/__chunks__/chunk-L45XDEGL.mjs +2 -0
- package/out/__chunks__/{chunk-3Q5IOJ67.mjs → chunk-LAH3RNPH.mjs} +2 -2
- package/out/__chunks__/{chunk-XYPOYVRU.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-37O2ROE4.mjs → chunk-M44UOZ5O.mjs} +2 -2
- package/out/__chunks__/{chunk-G5VTJTDE.mjs → chunk-MBYIULNF.mjs} +2 -2
- package/out/__chunks__/chunk-NAEWTITL.mjs +2 -0
- package/out/__chunks__/{chunk-IGN5F3GN.mjs → chunk-NKAJB5TQ.mjs} +2 -2
- package/out/__chunks__/{chunk-XH2ZG7PU.mjs → chunk-NPF6FJT3.mjs} +2 -2
- package/out/__chunks__/{chunk-LUCBMBG7.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-K7X3YFJU.mjs → chunk-OHFXF2B5.mjs} +2 -2
- package/out/__chunks__/{chunk-SGNJ44D2.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-PBTBNQ25.mjs → chunk-U6N242A3.mjs} +2 -2
- package/out/__chunks__/chunk-UIWCJ3CV.mjs +2 -0
- package/out/__chunks__/{chunk-IF3IASJC.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-Z3NZ36LQ.mjs → chunk-UL35YJX4.mjs} +2 -2
- package/out/__chunks__/chunk-UYRCLUET.mjs +2 -0
- package/out/__chunks__/{chunk-THWK4TAG.mjs → chunk-W2TBID4H.mjs} +2 -2
- package/out/__chunks__/{chunk-EYNHHGCH.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-JIIULTH3.mjs → chunk-YIEM5DGL.mjs} +2 -2
- package/out/__chunks__/{chunk-JVRKUYW6.mjs → chunk-YIZAB63A.mjs} +2 -2
- package/out/__chunks__/{chunk-I47BE6ON.mjs → chunk-YLJC7ZKD.mjs} +2 -2
- package/out/__chunks__/{chunk-NOIBKBS3.mjs → chunk-YVAL3LZF.mjs} +2 -2
- package/out/__chunks__/{chunk-NUJ4VCBC.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-22IJ3QB4.mjs +0 -2
- package/out/__chunks__/chunk-34PFLOIB.mjs +0 -2
- package/out/__chunks__/chunk-4L2AXB2K.mjs +0 -2
- package/out/__chunks__/chunk-5MKXCLBG.mjs +0 -2
- package/out/__chunks__/chunk-5WVYRVED.mjs +0 -2
- package/out/__chunks__/chunk-63MIE6JF.mjs +0 -2
- package/out/__chunks__/chunk-6L7YQWGX.mjs +0 -2
- package/out/__chunks__/chunk-AORVRKD7.mjs +0 -2
- package/out/__chunks__/chunk-B4QT6VK6.mjs +0 -2
- package/out/__chunks__/chunk-BAWWEDTL.mjs +0 -2
- package/out/__chunks__/chunk-C6D4JSK4.mjs +0 -2
- package/out/__chunks__/chunk-EETNNBUP.mjs +0 -2
- package/out/__chunks__/chunk-EETNNBUP.mjs.map +0 -7
- package/out/__chunks__/chunk-EYGPOZGS.mjs +0 -2
- package/out/__chunks__/chunk-FUFPNXYS.mjs +0 -2
- package/out/__chunks__/chunk-FUFPNXYS.mjs.map +0 -7
- package/out/__chunks__/chunk-GFEDWIDV.mjs +0 -2
- package/out/__chunks__/chunk-GFEDWIDV.mjs.map +0 -7
- package/out/__chunks__/chunk-ICTG3GLU.mjs +0 -2
- package/out/__chunks__/chunk-ICTG3GLU.mjs.map +0 -7
- package/out/__chunks__/chunk-JRRBXKOK.mjs +0 -2
- package/out/__chunks__/chunk-KLDTJCML.mjs +0 -2
- package/out/__chunks__/chunk-KLDTJCML.mjs.map +0 -7
- package/out/__chunks__/chunk-KOLL3XGD.mjs +0 -2
- package/out/__chunks__/chunk-MSF6QQXH.mjs +0 -2
- package/out/__chunks__/chunk-O4I2ENO6.mjs +0 -2
- package/out/__chunks__/chunk-OPHTJKDE.mjs +0 -2
- package/out/__chunks__/chunk-QAOBZWSF.mjs +0 -2
- package/out/__chunks__/chunk-QSXHUZLS.mjs +0 -2
- package/out/__chunks__/chunk-QSXHUZLS.mjs.map +0 -7
- package/out/__chunks__/chunk-RXX3GSOM.mjs +0 -2
- package/out/__chunks__/chunk-TBCYELRO.mjs +0 -2
- package/out/__chunks__/chunk-TBCYELRO.mjs.map +0 -7
- package/out/__chunks__/chunk-TFCXKUX5.mjs +0 -2
- package/out/__chunks__/chunk-V7P525KM.mjs +0 -2
- package/out/__chunks__/chunk-V7P525KM.mjs.map +0 -7
- package/out/__chunks__/chunk-VW2RKDMX.mjs +0 -2
- package/out/__chunks__/chunk-VW2RKDMX.mjs.map +0 -7
- package/out/__chunks__/chunk-XFBUY46Y.mjs +0 -2
- /package/out/__chunks__/{chunk-FNMAWOLC.mjs.map → chunk-23KF5JXN.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-AORVRKD7.mjs.map → chunk-32UBROSW.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-EYGPOZGS.mjs.map → chunk-34SZ56FQ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-TLW7RSAO.mjs.map → chunk-35AC7JEX.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-JRRBXKOK.mjs.map → chunk-3AT3N6U7.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-Y5BESSJK.mjs.map → chunk-3EVBWJRB.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-A3D3GW7R.mjs.map → chunk-3H5GYTLV.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-HGQYSGTG.mjs.map → chunk-3IMTI6JQ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-QUPXSKV4.mjs.map → chunk-4D3ZQTRN.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-OPHTJKDE.mjs.map → chunk-4WBXT7UF.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-K3VNFEPP.mjs.map → chunk-5SUCN4KU.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-RIB3PJIR.mjs.map → chunk-753KDZIR.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-J6WJ6ULQ.mjs.map → chunk-7LP6TRTV.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-5FZ5WUYZ.mjs.map → chunk-7NW5R435.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-CT235ZUB.mjs.map → chunk-7PIS2F7G.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-MSF6QQXH.mjs.map → chunk-AHRQWA37.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-PCTCQEFY.mjs.map → chunk-AOYKAITD.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-DP53BNR6.mjs.map → chunk-ASPVUU7R.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-B5ETDLE6.mjs.map → chunk-BMJVOKCD.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-UY57JRX7.mjs.map → chunk-BZRPJAII.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-5TNG3JR3.mjs.map → chunk-D4SYE2AU.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ZRMZYVMR.mjs.map → chunk-DBMG6HQS.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-EEVAKQEF.mjs.map → chunk-DPWDWN6V.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-4PQ3E6VH.mjs.map → chunk-EH3INPBE.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-LFBY6WV3.mjs.map → chunk-EJ3EBFAG.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-Q6RQNGJC.mjs.map → chunk-EJHFAT42.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ZC6ENJP4.mjs.map → chunk-EMSDNE45.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-5MKXCLBG.mjs.map → chunk-FGO6JGLQ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-JQ57YAGP.mjs.map → chunk-FMNY4EIM.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-VOJLXYJ3.mjs.map → chunk-GDTOANYH.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-4L2AXB2K.mjs.map → chunk-GRUQO4NQ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-Y3OGRXWT.mjs.map → chunk-H3U7BN2F.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-3WS7UAIF.mjs.map → chunk-H6LOCVAD.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-PI3A4HAK.mjs.map → chunk-HZCXNBGJ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-A4KEELZM.mjs.map → chunk-HZRV27MM.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-Z64FHGQ2.mjs.map → chunk-IGDWL5FF.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-4JCZWUDH.mjs.map → chunk-K23LCX54.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-JTIXXP4J.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-WGKDCYB7.mjs.map → chunk-KKC3NMW2.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-22IJ3QB4.mjs.map → chunk-L45XDEGL.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-3Q5IOJ67.mjs.map → chunk-LAH3RNPH.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-XYPOYVRU.mjs.map → chunk-LCHJKRM5.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-34PFLOIB.mjs.map → chunk-LDFQUMVY.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-6L7YQWGX.mjs.map → chunk-LTXWZGXK.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-37O2ROE4.mjs.map → chunk-M44UOZ5O.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-G5VTJTDE.mjs.map → chunk-MBYIULNF.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-B4QT6VK6.mjs.map → chunk-NAEWTITL.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-IGN5F3GN.mjs.map → chunk-NKAJB5TQ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-XH2ZG7PU.mjs.map → chunk-NPF6FJT3.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-LUCBMBG7.mjs.map → chunk-NRBAAXUJ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-KOLL3XGD.mjs.map → chunk-O4IUATY4.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-K7X3YFJU.mjs.map → chunk-OHFXF2B5.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-SGNJ44D2.mjs.map → chunk-QWU5MHP3.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-PBTBNQ25.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-IF3IASJC.mjs.map → chunk-UJIIYWYI.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-Z3NZ36LQ.mjs.map → chunk-UL35YJX4.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-63MIE6JF.mjs.map → chunk-UYRCLUET.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-THWK4TAG.mjs.map → chunk-W2TBID4H.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-EYNHHGCH.mjs.map → chunk-W42RP7KL.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-O4I2ENO6.mjs.map → chunk-YGRMC52T.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-JIIULTH3.mjs.map → chunk-YIEM5DGL.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-JVRKUYW6.mjs.map → chunk-YIZAB63A.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-I47BE6ON.mjs.map → chunk-YLJC7ZKD.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-NOIBKBS3.mjs.map → chunk-YVAL3LZF.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-NUJ4VCBC.mjs.map → chunk-Z3ZWRORQ.mjs.map} +0 -0
|
@@ -1,88 +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 getScamFlag_exports = {};
|
|
30
|
-
__export(getScamFlag_exports, {
|
|
31
|
-
getScamFlag: () => getScamFlag,
|
|
32
|
-
getTextWithLinks: () => getTextWithLinks
|
|
33
|
-
});
|
|
34
|
-
module.exports = __toCommonJS(getScamFlag_exports);
|
|
35
|
-
var linkify = __toESM(require("linkifyjs"));
|
|
36
|
-
const getTextWithLinks = (text) => {
|
|
37
|
-
const links = linkify.find(text);
|
|
38
|
-
if (!links.length) {
|
|
39
|
-
return {
|
|
40
|
-
textWithLinks: text,
|
|
41
|
-
hasLinks: false
|
|
42
|
-
};
|
|
43
|
-
}
|
|
44
|
-
let textWithLinks = text;
|
|
45
|
-
for (const link of links) {
|
|
46
|
-
const previousLink = text.substring(link.start, link.end);
|
|
47
|
-
textWithLinks = textWithLinks.replace(previousLink, link.value);
|
|
48
|
-
}
|
|
49
|
-
return {
|
|
50
|
-
textWithLinks,
|
|
51
|
-
hasLinks: true
|
|
52
|
-
};
|
|
53
|
-
};
|
|
54
|
-
const getScamFlag = ({
|
|
55
|
-
message,
|
|
56
|
-
scamInfo,
|
|
57
|
-
isNsfw,
|
|
58
|
-
verified,
|
|
59
|
-
messagePrefix = "Message hidden due to suspicious content - "
|
|
60
|
-
}) => {
|
|
61
|
-
if (verified) {
|
|
62
|
-
return {
|
|
63
|
-
message: "",
|
|
64
|
-
textWithLinks: "",
|
|
65
|
-
isSuspicious: false
|
|
66
|
-
};
|
|
67
|
-
}
|
|
68
|
-
const outputMessage = `${messagePrefix}${scamInfo?.info ?? "suspicious content"}`;
|
|
69
|
-
const { textWithLinks, hasLinks } = getTextWithLinks(message);
|
|
70
|
-
if (hasLinks || isNsfw || scamInfo) {
|
|
71
|
-
return {
|
|
72
|
-
message: outputMessage,
|
|
73
|
-
textWithLinks,
|
|
74
|
-
isSuspicious: true
|
|
75
|
-
};
|
|
76
|
-
}
|
|
77
|
-
return {
|
|
78
|
-
message: "",
|
|
79
|
-
textWithLinks,
|
|
80
|
-
isSuspicious: false
|
|
81
|
-
};
|
|
82
|
-
};
|
|
83
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
84
|
-
0 && (module.exports = {
|
|
85
|
-
getScamFlag,
|
|
86
|
-
getTextWithLinks
|
|
87
|
-
});
|
|
1
|
+
"use strict";var a=Object.create;var o=Object.defineProperty;var L=Object.getOwnPropertyDescriptor;var f=Object.getOwnPropertyNames;var h=Object.getPrototypeOf,g=Object.prototype.hasOwnProperty;var l=(s,i)=>{for(var e in i)o(s,e,{get:i[e],enumerable:!0})},r=(s,i,e,n)=>{if(i&&typeof i=="object"||typeof i=="function")for(let t of f(i))!g.call(s,t)&&t!==e&&o(s,t,{get:()=>i[t],enumerable:!(n=L(i,t))||n.enumerable});return s};var T=(s,i,e)=>(e=s!=null?a(h(s)):{},r(i||!s||!s.__esModule?o(e,"default",{value:s,enumerable:!0}):e,s)),S=s=>r(o({},"__esModule",{value:!0}),s);var W={};l(W,{getScamFlag:()=>y,getTextWithLinks:()=>p});module.exports=S(W);var m=T(require("linkifyjs"));const p=s=>{const i=m.find(s);if(!i.length)return{textWithLinks:s,hasLinks:!1};let e=s;for(const n of i){const t=s.substring(n.start,n.end);e=e.replace(t,n.value)}return{textWithLinks:e,hasLinks:!0}},y=({message:s,scamInfo:i,isNsfw:e,verified:n,messagePrefix:t="Message hidden due to suspicious content - "})=>{if(n)return{message:"",textWithLinks:"",isSuspicious:!1};const c=`${t}${i?.info??"suspicious content"}`,{textWithLinks:u,hasLinks:k}=p(s);return k||e||i?{message:c,textWithLinks:u,isSuspicious:!0}:{message:"",textWithLinks:u,isSuspicious:!1}};0&&(module.exports={getScamFlag,getTextWithLinks});
|
|
88
2
|
//# sourceMappingURL=getScamFlag.cjs.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/utils/transactions/getScamFlag.ts"],
|
|
4
4
|
"sourcesContent": ["import * as linkify from 'linkifyjs';\nimport {\n SuspiciousLinkType,\n SuspiciousLinkPropsType,\n TextWithLinksType\n} from 'types';\n\nexport const getTextWithLinks = (text: string): TextWithLinksType => {\n const links = linkify.find(text);\n\n // If no links are present in the text, return the text unmodified\n if (!links.length) {\n return {\n textWithLinks: text,\n hasLinks: false\n };\n }\n\n let textWithLinks = text;\n\n // Replace the previous links in text with normalized links\n for (const link of links) {\n const previousLink = text.substring(link.start, link.end);\n textWithLinks = textWithLinks.replace(previousLink, link.value);\n }\n\n return {\n textWithLinks,\n hasLinks: true\n };\n};\n\n/**\n * @description It checks if an asset contains suspicious info\n * If it contains text with links inside, it contains scam info, or it is marked as NSFW,\n * then it has suspicious info and may be a scam\n */\nexport const getScamFlag = ({\n message,\n scamInfo,\n isNsfw,\n verified,\n messagePrefix = 'Message hidden due to suspicious content - '\n}: SuspiciousLinkPropsType): SuspiciousLinkType => {\n if (verified) {\n return {\n message: '',\n textWithLinks: '',\n isSuspicious: false\n };\n }\n\n const outputMessage = `${messagePrefix}${\n scamInfo?.info ?? 'suspicious content'\n }`;\n const { textWithLinks, hasLinks } = getTextWithLinks(message);\n\n if (hasLinks || isNsfw || scamInfo) {\n return {\n message: outputMessage,\n textWithLinks,\n isSuspicious: true\n };\n }\n\n return {\n message: '',\n textWithLinks,\n isSuspicious: false\n };\n};\n"],
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": []
|
|
5
|
+
"mappings": "0jBAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,iBAAAE,EAAA,qBAAAC,IAAA,eAAAC,EAAAJ,GAAA,IAAAK,EAAyB,wBAOlB,MAAMF,EAAoBG,GAAoC,CACnE,MAAMC,EAAQF,EAAQ,KAAKC,CAAI,EAG/B,GAAI,CAACC,EAAM,OACT,MAAO,CACL,cAAeD,EACf,SAAU,EACZ,EAGF,IAAIE,EAAgBF,EAGpB,UAAWG,KAAQF,EAAO,CACxB,MAAMG,EAAeJ,EAAK,UAAUG,EAAK,MAAOA,EAAK,GAAG,EACxDD,EAAgBA,EAAc,QAAQE,EAAcD,EAAK,KAAK,CAChE,CAEA,MAAO,CACL,cAAAD,EACA,SAAU,EACZ,CACF,EAOaN,EAAc,CAAC,CAC1B,QAAAS,EACA,SAAAC,EACA,OAAAC,EACA,SAAAC,EACA,cAAAC,EAAgB,6CAClB,IAAmD,CACjD,GAAID,EACF,MAAO,CACL,QAAS,GACT,cAAe,GACf,aAAc,EAChB,EAGF,MAAME,EAAgB,GAAGD,CAAa,GACpCH,GAAU,MAAQ,oBACpB,GACM,CAAE,cAAAJ,EAAe,SAAAS,CAAS,EAAId,EAAiBQ,CAAO,EAE5D,OAAIM,GAAYJ,GAAUD,EACjB,CACL,QAASI,EACT,cAAAR,EACA,aAAc,EAChB,EAGK,CACL,QAAS,GACT,cAAAA,EACA,aAAc,EAChB,CACF",
|
|
6
|
+
"names": ["getScamFlag_exports", "__export", "getScamFlag", "getTextWithLinks", "__toCommonJS", "linkify", "text", "links", "textWithLinks", "link", "previousLink", "message", "scamInfo", "isNsfw", "verified", "messagePrefix", "outputMessage", "hasLinks"]
|
|
7
7
|
}
|
|
@@ -1,51 +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 getTransactionsHistory_exports = {};
|
|
30
|
-
__export(getTransactionsHistory_exports, {
|
|
31
|
-
getTransactionsHistory: () => getTransactionsHistory
|
|
32
|
-
});
|
|
33
|
-
module.exports = __toCommonJS(getTransactionsHistory_exports);
|
|
34
|
-
var import_lodash = __toESM(require("lodash.isempty"));
|
|
35
|
-
var import_helpers = require("./helpers");
|
|
36
|
-
const getTransactionsHistory = async ({
|
|
37
|
-
transactionsSessions
|
|
38
|
-
}) => {
|
|
39
|
-
if ((0, import_lodash.default)(transactionsSessions)) {
|
|
40
|
-
return [];
|
|
41
|
-
}
|
|
42
|
-
const signedTransactions = (0, import_helpers.createTransactionsHistoryFromSessions)(transactionsSessions);
|
|
43
|
-
return (0, import_helpers.mapServerTransactionsToListItems)({
|
|
44
|
-
transactions: signedTransactions
|
|
45
|
-
});
|
|
46
|
-
};
|
|
47
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
48
|
-
0 && (module.exports = {
|
|
49
|
-
getTransactionsHistory
|
|
50
|
-
});
|
|
1
|
+
"use strict";var c=Object.create;var a=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var T=Object.getOwnPropertyNames;var y=Object.getPrototypeOf,I=Object.prototype.hasOwnProperty;var f=(t,s)=>{for(var r in s)a(t,r,{get:s[r],enumerable:!0})},e=(t,s,r,n)=>{if(s&&typeof s=="object"||typeof s=="function")for(let i of T(s))!I.call(t,i)&&i!==r&&a(t,i,{get:()=>s[i],enumerable:!(n=p(s,i))||n.enumerable});return t};var H=(t,s,r)=>(r=t!=null?c(y(t)):{},e(s||!t||!t.__esModule?a(r,"default",{value:t,enumerable:!0}):r,t)),l=t=>e(a({},"__esModule",{value:!0}),t);var P={};f(P,{getTransactionsHistory:()=>L});module.exports=l(P);var m=H(require("lodash.isempty")),o=require("./helpers");const L=async({transactionsSessions:t})=>{if((0,m.default)(t))return[];const s=(0,o.createTransactionsHistoryFromSessions)(t);return(0,o.mapServerTransactionsToListItems)({transactions:s})};0&&(module.exports={getTransactionsHistory});
|
|
51
2
|
//# sourceMappingURL=getTransactionsHistory.cjs.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../src/utils/transactions/getTransactionsHistory/getTransactionsHistory.ts"],
|
|
4
4
|
"sourcesContent": ["import isEmpty from 'lodash.isempty';\nimport { ITransactionListItem } from 'lib/sdkDappUi';\nimport type { IGetHistoricalTransactionsParams } from 'types/transaction-list-item.types';\nimport {\n createTransactionsHistoryFromSessions,\n mapServerTransactionsToListItems\n} from './helpers';\n\nexport const getTransactionsHistory = async ({\n transactionsSessions\n}: IGetHistoricalTransactionsParams): Promise<ITransactionListItem[]> => {\n if (isEmpty(transactionsSessions)) {\n return [];\n }\n\n const signedTransactions =\n createTransactionsHistoryFromSessions(transactionsSessions);\n\n return mapServerTransactionsToListItems({\n transactions: signedTransactions\n });\n};\n"],
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": ["isEmpty"]
|
|
5
|
+
"mappings": "0jBAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,4BAAAE,IAAA,eAAAC,EAAAH,GAAA,IAAAI,EAAoB,6BAGpBC,EAGO,qBAEA,MAAMH,EAAyB,MAAO,CAC3C,qBAAAI,CACF,IAAyE,CACvE,MAAI,EAAAC,SAAQD,CAAoB,EAC9B,MAAO,CAAC,EAGV,MAAME,KACJ,yCAAsCF,CAAoB,EAE5D,SAAO,oCAAiC,CACtC,aAAcE,CAChB,CAAC,CACH",
|
|
6
|
+
"names": ["getTransactionsHistory_exports", "__export", "getTransactionsHistory", "__toCommonJS", "import_lodash", "import_helpers", "transactionsSessions", "isEmpty", "signedTransactions"]
|
|
7
7
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../../__chunks__/chunk-
|
|
1
|
+
import{a}from"../../../__chunks__/chunk-BMJVOKCD.mjs";import"../../../__chunks__/chunk-VCAWVAO5.mjs";import"../../../__chunks__/chunk-55W25Q35.mjs";import"../../../__chunks__/chunk-BZRPJAII.mjs";import"../../../__chunks__/chunk-KKC3NMW2.mjs";import"../../../__chunks__/chunk-RVYA3BJD.mjs";import"../../../__chunks__/chunk-UYRCLUET.mjs";import"../../../__chunks__/chunk-4MWQKLVG.mjs";import"../../../__chunks__/chunk-5OMQOYP7.mjs";import"../../../__chunks__/chunk-UCNS6KD5.mjs";import"../../../__chunks__/chunk-35MNP3LA.mjs";import"../../../__chunks__/chunk-TX7PTLVP.mjs";import"../../../__chunks__/chunk-WZ2DNB3R.mjs";import"../../../__chunks__/chunk-DFSBS3PX.mjs";import"../../../__chunks__/chunk-GFR6K4DR.mjs";import"../../../__chunks__/chunk-6D53LH5J.mjs";import"../../../__chunks__/chunk-H33OUO77.mjs";import"../../../__chunks__/chunk-HQQMSHTW.mjs";import"../../../__chunks__/chunk-UQU2VWPJ.mjs";import"../../../__chunks__/chunk-NK5Y3RLY.mjs";import"../../../__chunks__/chunk-6UMOECOW.mjs";import"../../../__chunks__/chunk-54B3EIZC.mjs";import"../../../__chunks__/chunk-QJ7MRSGB.mjs";import"../../../__chunks__/chunk-VDDXFGB2.mjs";import"../../../__chunks__/chunk-BRJNX4JF.mjs";import"../../../__chunks__/chunk-5PNQWHBP.mjs";import"../../../__chunks__/chunk-T4FRQ4JG.mjs";import"../../../__chunks__/chunk-UTWIKUIK.mjs";import"../../../__chunks__/chunk-UERJ6AKK.mjs";import"../../../__chunks__/chunk-KPK72MOE.mjs";import"../../../__chunks__/chunk-7VHTZYM2.mjs";import"../../../__chunks__/chunk-VNLGNNIL.mjs";import"../../../__chunks__/chunk-6JM4DPOH.mjs";import"../../../__chunks__/chunk-ZODTYAYF.mjs";import"../../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../../__chunks__/chunk-DKX6JUT6.mjs";import"../../../__chunks__/chunk-FGO6JGLQ.mjs";import"../../../__chunks__/chunk-KRWR77QE.mjs";import"../../../__chunks__/chunk-B7YCKWDU.mjs";import"../../../__chunks__/chunk-HDJOER66.mjs";import"../../../__chunks__/chunk-A7FTKX2A.mjs";import"../../../__chunks__/chunk-XKU5QBXG.mjs";import"../../../__chunks__/chunk-WZGG2YKQ.mjs";import"../../../__chunks__/chunk-JMC7CMTU.mjs";import"../../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../../__chunks__/chunk-T2YPFNVM.mjs";import"../../../__chunks__/chunk-M7BM6QPB.mjs";import"../../../__chunks__/chunk-5N4F5T5L.mjs";import"../../../__chunks__/chunk-CYCS3K6Q.mjs";import"../../../__chunks__/chunk-YMPZDHKF.mjs";import"../../../__chunks__/chunk-VKEESSBI.mjs";import"../../../__chunks__/chunk-2DNGCNYM.mjs";import"../../../__chunks__/chunk-SQVKVA7X.mjs";import"../../../__chunks__/chunk-I24YBVHK.mjs";import"../../../__chunks__/chunk-NB7A4C7L.mjs";import"../../../__chunks__/chunk-PJWJZHIS.mjs";import"../../../__chunks__/chunk-DBIIY2TX.mjs";import"../../../__chunks__/chunk-KD2IQ32V.mjs";import"../../../__chunks__/chunk-7CELSV4S.mjs";import"../../../__chunks__/chunk-YUITECZ5.mjs";import"../../../__chunks__/chunk-TVELGQIH.mjs";import"../../../__chunks__/chunk-2BSPSW6X.mjs";import"../../../__chunks__/chunk-OVXVICF7.mjs";import"../../../__chunks__/chunk-BTJWNUM6.mjs";import"../../../__chunks__/chunk-TRMQFQOQ.mjs";import"../../../__chunks__/chunk-WZI2I6NX.mjs";import"../../../__chunks__/chunk-TI37DKBT.mjs";import"../../../__chunks__/chunk-NTEMINYA.mjs";import"../../../__chunks__/chunk-WRLZ5ICK.mjs";import"../../../__chunks__/chunk-I3MK6KZJ.mjs";import"../../../__chunks__/chunk-MGFIOCA4.mjs";import"../../../__chunks__/chunk-GGBMHKR4.mjs";import"../../../__chunks__/chunk-GLXG5BES.mjs";import"../../../__chunks__/chunk-6XHXG7HB.mjs";export{a as getTransactionsHistory};
|
|
2
2
|
//# sourceMappingURL=getTransactionsHistory.mjs.map
|
|
@@ -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 createTransactionsHistoryFromSessions_exports = {};
|
|
20
|
-
__export(createTransactionsHistoryFromSessions_exports, {
|
|
21
|
-
createTransactionsHistoryFromSessions: () => createTransactionsHistoryFromSessions
|
|
22
|
-
});
|
|
23
|
-
module.exports = __toCommonJS(createTransactionsHistoryFromSessions_exports);
|
|
24
|
-
const createTransactionsHistoryFromSessions = (sessions) => {
|
|
25
|
-
const sortedSessionKeys = Object.keys(sessions).sort(
|
|
26
|
-
(a, b) => Number(b) - Number(a)
|
|
27
|
-
);
|
|
28
|
-
return sortedSessionKeys.reduce(
|
|
29
|
-
(allTransactions, sessionKey) => {
|
|
30
|
-
const sessionTransactions = sessions[sessionKey]?.transactions || [];
|
|
31
|
-
return [...allTransactions, ...sessionTransactions];
|
|
32
|
-
},
|
|
33
|
-
[]
|
|
34
|
-
);
|
|
35
|
-
};
|
|
36
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
37
|
-
0 && (module.exports = {
|
|
38
|
-
createTransactionsHistoryFromSessions
|
|
39
|
-
});
|
|
1
|
+
"use strict";var t=Object.defineProperty;var i=Object.getOwnPropertyDescriptor;var a=Object.getOwnPropertyNames;var c=Object.prototype.hasOwnProperty;var T=(s,n)=>{for(var e in n)t(s,e,{get:n[e],enumerable:!0})},y=(s,n,e,o)=>{if(n&&typeof n=="object"||typeof n=="function")for(let r of a(n))!c.call(s,r)&&r!==e&&t(s,r,{get:()=>n[r],enumerable:!(o=i(n,r))||o.enumerable});return s};var S=s=>y(t({},"__esModule",{value:!0}),s);var p={};T(p,{createTransactionsHistoryFromSessions:()=>d});module.exports=S(p);const d=s=>Object.keys(s).sort((e,o)=>Number(o)-Number(e)).reduce((e,o)=>{const r=s[o]?.transactions||[];return[...e,...r]},[]);0&&(module.exports={createTransactionsHistoryFromSessions});
|
|
40
2
|
//# sourceMappingURL=createTransactionsHistoryFromSessions.cjs.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../src/utils/transactions/getTransactionsHistory/helpers/createTransactionsHistoryFromSessions.ts"],
|
|
4
4
|
"sourcesContent": ["import {\n SessionTransactionType,\n SignedTransactionType\n} from 'types/transactions.types';\n\nexport const createTransactionsHistoryFromSessions = (\n sessions: Record<string, SessionTransactionType>\n): SignedTransactionType[] => {\n const sortedSessionKeys = Object.keys(sessions).sort(\n (a, b) => Number(b) - Number(a)\n );\n\n return sortedSessionKeys.reduce<SignedTransactionType[]>(\n (allTransactions, sessionKey: string) => {\n const sessionTransactions = sessions[sessionKey]?.transactions || [];\n return [...allTransactions, ...sessionTransactions];\n },\n []\n );\n};\n"],
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": []
|
|
5
|
+
"mappings": "yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,2CAAAE,IAAA,eAAAC,EAAAH,GAKO,MAAME,EACXE,GAE0B,OAAO,KAAKA,CAAQ,EAAE,KAC9C,CAACC,EAAGC,IAAM,OAAOA,CAAC,EAAI,OAAOD,CAAC,CAChC,EAEyB,OACvB,CAACE,EAAiBC,IAAuB,CACvC,MAAMC,EAAsBL,EAASI,CAAU,GAAG,cAAgB,CAAC,EACnE,MAAO,CAAC,GAAGD,EAAiB,GAAGE,CAAmB,CACpD,EACA,CAAC,CACH",
|
|
6
|
+
"names": ["createTransactionsHistoryFromSessions_exports", "__export", "createTransactionsHistoryFromSessions", "__toCommonJS", "sessions", "a", "b", "allTransactions", "sessionKey", "sessionTransactions"]
|
|
7
7
|
}
|
|
@@ -1,64 +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 getAssetAmount_exports = {};
|
|
30
|
-
__export(getAssetAmount_exports, {
|
|
31
|
-
getAssetAmount: () => getAssetAmount
|
|
32
|
-
});
|
|
33
|
-
module.exports = __toCommonJS(getAssetAmount_exports);
|
|
34
|
-
var import_bignumber = __toESM(require("bignumber.js"));
|
|
35
|
-
var import_lodash = __toESM(require("lodash.trimend"));
|
|
36
|
-
var import_sdkDappUtils = require("../../../../lib/sdkDappUtils");
|
|
37
|
-
var import_trimAmountDecimals = require("../../../../utils/operations/trimAmountDecimals");
|
|
38
|
-
var import_isTransferNftOrSft = require("./isTransferNftOrSft");
|
|
39
|
-
const getAssetAmount = (transactionTransfer) => {
|
|
40
|
-
if ((0, import_isTransferNftOrSft.isTransferNftOrSft)(transactionTransfer)) {
|
|
41
|
-
return parseFloat(transactionTransfer.value).toLocaleString();
|
|
42
|
-
}
|
|
43
|
-
const formattedAmount = (0, import_sdkDappUtils.formatAmount)({
|
|
44
|
-
input: String(transactionTransfer.value ?? import_sdkDappUtils.ZERO),
|
|
45
|
-
decimals: Number(transactionTransfer.decimals ?? import_sdkDappUtils.DECIMALS),
|
|
46
|
-
showLastNonZeroDecimal: true,
|
|
47
|
-
addCommas: true
|
|
48
|
-
});
|
|
49
|
-
const trimmedAmount = (0, import_trimAmountDecimals.trimAmountDecimals)({
|
|
50
|
-
minimumPositiveDecimals: import_sdkDappUtils.DIGITS,
|
|
51
|
-
amount: formattedAmount
|
|
52
|
-
});
|
|
53
|
-
const [price, decimals] = trimmedAmount.split(".");
|
|
54
|
-
const trimmedDecimals = (0, import_lodash.default)(decimals, import_sdkDappUtils.ZERO);
|
|
55
|
-
if (decimals && new import_bignumber.default(decimals).isGreaterThan(import_sdkDappUtils.ZERO)) {
|
|
56
|
-
return `${price}.${trimmedDecimals}`;
|
|
57
|
-
}
|
|
58
|
-
return trimmedAmount;
|
|
59
|
-
};
|
|
60
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
61
|
-
0 && (module.exports = {
|
|
62
|
-
getAssetAmount
|
|
63
|
-
});
|
|
1
|
+
"use strict";var f=Object.create;var s=Object.defineProperty;var A=Object.getOwnPropertyDescriptor;var g=Object.getOwnPropertyNames;var D=Object.getPrototypeOf,S=Object.prototype.hasOwnProperty;var N=(m,t)=>{for(var r in t)s(m,r,{get:t[r],enumerable:!0})},u=(m,t,r,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let e of g(t))!S.call(m,e)&&e!==r&&s(m,e,{get:()=>t[e],enumerable:!(i=A(t,e))||i.enumerable});return m};var n=(m,t,r)=>(r=m!=null?f(D(m)):{},u(t||!m||!m.__esModule?s(r,"default",{value:m,enumerable:!0}):r,m)),v=m=>u(s({},"__esModule",{value:!0}),m);var I={};N(I,{getAssetAmount:()=>E});module.exports=v(I);var a=n(require("bignumber.js")),c=n(require("lodash.trimend")),o=require("../../../../lib/sdkDappUtils"),l=require("../../../../utils/operations/trimAmountDecimals"),d=require("./isTransferNftOrSft");const E=m=>{if((0,d.isTransferNftOrSft)(m))return parseFloat(m.value).toLocaleString();const t=(0,o.formatAmount)({input:String(m.value??o.ZERO),decimals:Number(m.decimals??o.DECIMALS),showLastNonZeroDecimal:!0,addCommas:!0}),r=(0,l.trimAmountDecimals)({minimumPositiveDecimals:o.DIGITS,amount:t}),[i,e]=r.split("."),p=(0,c.default)(e,o.ZERO);return e&&new a.default(e).isGreaterThan(o.ZERO)?`${i}.${p}`:r};0&&(module.exports={getAssetAmount});
|
|
64
2
|
//# sourceMappingURL=getAssetAmount.cjs.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../src/utils/transactions/getTransactionsHistory/helpers/getAssetAmount.ts"],
|
|
4
4
|
"sourcesContent": ["import BigNumber from 'bignumber.js';\nimport trimEnd from 'lodash.trimend';\nimport { formatAmount, DECIMALS, DIGITS, ZERO } from 'lib/sdkDappUtils';\n\nimport { trimAmountDecimals } from 'utils/operations/trimAmountDecimals';\nimport { isTransferNftOrSft } from './isTransferNftOrSft';\n\nexport const getAssetAmount = (transactionTransfer: Record<string, string>) => {\n if (isTransferNftOrSft(transactionTransfer)) {\n return parseFloat(transactionTransfer.value).toLocaleString();\n }\n\n const formattedAmount = formatAmount({\n input: String(transactionTransfer.value ?? ZERO),\n decimals: Number(transactionTransfer.decimals ?? DECIMALS),\n showLastNonZeroDecimal: true,\n addCommas: true\n });\n\n const trimmedAmount = trimAmountDecimals({\n minimumPositiveDecimals: DIGITS,\n amount: formattedAmount\n });\n\n const [price, decimals] = trimmedAmount.split('.');\n const trimmedDecimals = trimEnd(decimals, ZERO);\n\n if (decimals && new BigNumber(decimals).isGreaterThan(ZERO)) {\n return `${price}.${trimmedDecimals}`;\n }\n\n return trimmedAmount;\n};\n"],
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": ["trimEnd", "BigNumber"]
|
|
5
|
+
"mappings": "0jBAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,oBAAAE,IAAA,eAAAC,EAAAH,GAAA,IAAAI,EAAsB,2BACtBC,EAAoB,6BACpBC,EAAqD,4BAErDC,EAAmC,+CACnCC,EAAmC,gCAE5B,MAAMN,EAAkBO,GAAgD,CAC7E,MAAI,sBAAmBA,CAAmB,EACxC,OAAO,WAAWA,EAAoB,KAAK,EAAE,eAAe,EAG9D,MAAMC,KAAkB,gBAAa,CACnC,MAAO,OAAOD,EAAoB,OAAS,MAAI,EAC/C,SAAU,OAAOA,EAAoB,UAAY,UAAQ,EACzD,uBAAwB,GACxB,UAAW,EACb,CAAC,EAEKE,KAAgB,sBAAmB,CACvC,wBAAyB,SACzB,OAAQD,CACV,CAAC,EAEK,CAACE,EAAOC,CAAQ,EAAIF,EAAc,MAAM,GAAG,EAC3CG,KAAkB,EAAAC,SAAQF,EAAU,MAAI,EAE9C,OAAIA,GAAY,IAAI,EAAAG,QAAUH,CAAQ,EAAE,cAAc,MAAI,EACjD,GAAGD,CAAK,IAAIE,CAAe,GAG7BH,CACT",
|
|
6
|
+
"names": ["getAssetAmount_exports", "__export", "getAssetAmount", "__toCommonJS", "import_bignumber", "import_lodash", "import_sdkDappUtils", "import_trimAmountDecimals", "import_isTransferNftOrSft", "transactionTransfer", "formattedAmount", "trimmedAmount", "price", "decimals", "trimmedDecimals", "trimEnd", "BigNumber"]
|
|
7
7
|
}
|
|
@@ -1,53 +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 getAssetPrice_exports = {};
|
|
30
|
-
__export(getAssetPrice_exports, {
|
|
31
|
-
getAssetPrice: () => getAssetPrice
|
|
32
|
-
});
|
|
33
|
-
module.exports = __toCommonJS(getAssetPrice_exports);
|
|
34
|
-
var import_bignumber = __toESM(require("bignumber.js"));
|
|
35
|
-
var import_sdkDappUtils = require("../../../../lib/sdkDappUtils");
|
|
36
|
-
var import_isTransferNftOrSft = require("./isTransferNftOrSft");
|
|
37
|
-
const getAssetPrice = (transactionTransfer) => {
|
|
38
|
-
if ((0, import_isTransferNftOrSft.isTransferNftOrSft)(transactionTransfer)) {
|
|
39
|
-
return;
|
|
40
|
-
}
|
|
41
|
-
const formattedAmount = (0, import_sdkDappUtils.formatAmount)({
|
|
42
|
-
input: String(transactionTransfer.value ?? import_sdkDappUtils.ZERO),
|
|
43
|
-
decimals: Number(transactionTransfer.decimals ?? import_sdkDappUtils.DECIMALS),
|
|
44
|
-
showLastNonZeroDecimal: true
|
|
45
|
-
});
|
|
46
|
-
const assetPrice = new import_bignumber.default(transactionTransfer.usdPrice ?? "1").times(formattedAmount).toString();
|
|
47
|
-
return assetPrice;
|
|
48
|
-
};
|
|
49
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
50
|
-
0 && (module.exports = {
|
|
51
|
-
getAssetPrice
|
|
52
|
-
});
|
|
1
|
+
"use strict";var g=Object.create;var o=Object.defineProperty;var n=Object.getOwnPropertyDescriptor;var d=Object.getOwnPropertyNames;var p=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty;var A=(t,e)=>{for(var r in e)o(t,r,{get:e[r],enumerable:!0})},u=(t,e,r,s)=>{if(e&&typeof e=="object"||typeof e=="function")for(let m of d(e))!l.call(t,m)&&m!==r&&o(t,m,{get:()=>e[m],enumerable:!(s=n(e,m))||s.enumerable});return t};var N=(t,e,r)=>(r=t!=null?g(p(t)):{},u(e||!t||!t.__esModule?o(r,"default",{value:t,enumerable:!0}):r,t)),P=t=>u(o({},"__esModule",{value:!0}),t);var b={};A(b,{getAssetPrice:()=>S});module.exports=P(b);var c=N(require("bignumber.js")),i=require("../../../../lib/sdkDappUtils"),f=require("./isTransferNftOrSft");const S=t=>{if((0,f.isTransferNftOrSft)(t))return;const e=(0,i.formatAmount)({input:String(t.value??i.ZERO),decimals:Number(t.decimals??i.DECIMALS),showLastNonZeroDecimal:!0});return new c.default(t.usdPrice??"1").times(e).toString()};0&&(module.exports={getAssetPrice});
|
|
53
2
|
//# sourceMappingURL=getAssetPrice.cjs.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../src/utils/transactions/getTransactionsHistory/helpers/getAssetPrice.ts"],
|
|
4
4
|
"sourcesContent": ["import BigNumber from 'bignumber.js';\n\nimport { formatAmount, DECIMALS, ZERO } from 'lib/sdkDappUtils';\n\nimport { isTransferNftOrSft } from './isTransferNftOrSft';\n\nexport const getAssetPrice = (transactionTransfer: Record<string, string>) => {\n if (isTransferNftOrSft(transactionTransfer)) {\n return;\n }\n\n const formattedAmount = formatAmount({\n input: String(transactionTransfer.value ?? ZERO),\n decimals: Number(transactionTransfer.decimals ?? DECIMALS),\n showLastNonZeroDecimal: true\n });\n\n const assetPrice = new BigNumber(transactionTransfer.usdPrice ?? '1')\n .times(formattedAmount)\n .toString();\n\n return assetPrice;\n};\n"],
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": ["BigNumber"]
|
|
5
|
+
"mappings": "0jBAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,mBAAAE,IAAA,eAAAC,EAAAH,GAAA,IAAAI,EAAsB,2BAEtBC,EAA6C,4BAE7CC,EAAmC,gCAE5B,MAAMJ,EAAiBK,GAAgD,CAC5E,MAAI,sBAAmBA,CAAmB,EACxC,OAGF,MAAMC,KAAkB,gBAAa,CACnC,MAAO,OAAOD,EAAoB,OAAS,MAAI,EAC/C,SAAU,OAAOA,EAAoB,UAAY,UAAQ,EACzD,uBAAwB,EAC1B,CAAC,EAMD,OAJmB,IAAI,EAAAE,QAAUF,EAAoB,UAAY,GAAG,EACjE,MAAMC,CAAe,EACrB,SAAS,CAGd",
|
|
6
|
+
"names": ["getAssetPrice_exports", "__export", "getAssetPrice", "__toCommonJS", "import_bignumber", "import_sdkDappUtils", "import_isTransferNftOrSft", "transactionTransfer", "formattedAmount", "BigNumber"]
|
|
7
7
|
}
|
package/out/utils/transactions/getTransactionsHistory/helpers/getCachedTransactionListItem.cjs
CHANGED
|
@@ -1,36 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
var getCachedTransactionListItem_exports = {};
|
|
20
|
-
__export(getCachedTransactionListItem_exports, {
|
|
21
|
-
getCachedTransactionListItem: () => getCachedTransactionListItem
|
|
22
|
-
});
|
|
23
|
-
module.exports = __toCommonJS(getCachedTransactionListItem_exports);
|
|
24
|
-
var import_cacheSelector = require("../../../../store/selectors/cacheSelector");
|
|
25
|
-
var import_store = require("../../../../store/store");
|
|
26
|
-
const getCachedTransactionListItem = (hash, store) => {
|
|
27
|
-
const cachedTransaction = (0, import_cacheSelector.getCachedItemSelector)(
|
|
28
|
-
`transaction-${hash}`
|
|
29
|
-
)(store ?? (0, import_store.getState)());
|
|
30
|
-
return cachedTransaction ?? null;
|
|
31
|
-
};
|
|
32
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
33
|
-
0 && (module.exports = {
|
|
34
|
-
getCachedTransactionListItem
|
|
35
|
-
});
|
|
1
|
+
"use strict";var n=Object.defineProperty;var s=Object.getOwnPropertyDescriptor;var m=Object.getOwnPropertyNames;var I=Object.prototype.hasOwnProperty;var T=(r,t)=>{for(var e in t)n(r,e,{get:t[e],enumerable:!0})},p=(r,t,e,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of m(t))!I.call(r,o)&&o!==e&&n(r,o,{get:()=>t[o],enumerable:!(a=s(t,o))||a.enumerable});return r};var l=r=>p(n({},"__esModule",{value:!0}),r);var f={};T(f,{getCachedTransactionListItem:()=>d});module.exports=l(f);var c=require("../../../../store/selectors/cacheSelector"),i=require("../../../../store/store");const d=(r,t)=>(0,c.getCachedItemSelector)(`transaction-${r}`)(t??(0,i.getState)())??null;0&&(module.exports={getCachedTransactionListItem});
|
|
36
2
|
//# sourceMappingURL=getCachedTransactionListItem.cjs.map
|
package/out/utils/transactions/getTransactionsHistory/helpers/getCachedTransactionListItem.cjs.map
CHANGED
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../src/utils/transactions/getTransactionsHistory/helpers/getCachedTransactionListItem.ts"],
|
|
4
4
|
"sourcesContent": ["import { ITransactionListItem } from 'lib/sdkDappUi';\nimport { getCachedItemSelector } from 'store/selectors/cacheSelector';\nimport { getState } from 'store/store';\nimport { StoreType } from 'store/store.types';\n\nexport const getCachedTransactionListItem = (\n hash: string,\n store?: StoreType\n): ITransactionListItem | null => {\n const cachedTransaction = getCachedItemSelector<ITransactionListItem>(\n `transaction-${hash}`\n )(store ?? getState());\n\n return cachedTransaction ?? null;\n};\n"],
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": []
|
|
5
|
+
"mappings": "yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,kCAAAE,IAAA,eAAAC,EAAAH,GACA,IAAAI,EAAsC,yCACtCC,EAAyB,uBAGlB,MAAMH,EAA+B,CAC1CI,EACAC,OAE0B,yBACxB,eAAeD,CAAI,EACrB,EAAEC,MAAS,YAAS,CAAC,GAEO",
|
|
6
|
+
"names": ["getCachedTransactionListItem_exports", "__export", "getCachedTransactionListItem", "__toCommonJS", "import_cacheSelector", "import_store", "hash", "store"]
|
|
7
7
|
}
|
package/out/utils/transactions/getTransactionsHistory/helpers/getCachedTransactionListItem.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../../../__chunks__/chunk-
|
|
1
|
+
import{a}from"../../../../__chunks__/chunk-UYRCLUET.mjs";import"../../../../__chunks__/chunk-5PNQWHBP.mjs";import"../../../../__chunks__/chunk-T4FRQ4JG.mjs";import"../../../../__chunks__/chunk-UTWIKUIK.mjs";import"../../../../__chunks__/chunk-UERJ6AKK.mjs";import"../../../../__chunks__/chunk-KPK72MOE.mjs";import"../../../../__chunks__/chunk-7VHTZYM2.mjs";import"../../../../__chunks__/chunk-VNLGNNIL.mjs";import"../../../../__chunks__/chunk-6JM4DPOH.mjs";import"../../../../__chunks__/chunk-ZODTYAYF.mjs";import"../../../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../../../__chunks__/chunk-DKX6JUT6.mjs";import"../../../../__chunks__/chunk-FGO6JGLQ.mjs";import"../../../../__chunks__/chunk-KRWR77QE.mjs";import"../../../../__chunks__/chunk-B7YCKWDU.mjs";import"../../../../__chunks__/chunk-HDJOER66.mjs";import"../../../../__chunks__/chunk-A7FTKX2A.mjs";import"../../../../__chunks__/chunk-XKU5QBXG.mjs";import"../../../../__chunks__/chunk-WZGG2YKQ.mjs";import"../../../../__chunks__/chunk-JMC7CMTU.mjs";import"../../../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../../../__chunks__/chunk-T2YPFNVM.mjs";import"../../../../__chunks__/chunk-M7BM6QPB.mjs";import"../../../../__chunks__/chunk-5N4F5T5L.mjs";import"../../../../__chunks__/chunk-CYCS3K6Q.mjs";import"../../../../__chunks__/chunk-YMPZDHKF.mjs";import"../../../../__chunks__/chunk-VKEESSBI.mjs";import"../../../../__chunks__/chunk-2DNGCNYM.mjs";import"../../../../__chunks__/chunk-SQVKVA7X.mjs";import"../../../../__chunks__/chunk-I24YBVHK.mjs";import"../../../../__chunks__/chunk-NB7A4C7L.mjs";import"../../../../__chunks__/chunk-PJWJZHIS.mjs";import"../../../../__chunks__/chunk-NTEMINYA.mjs";import"../../../../__chunks__/chunk-MGFIOCA4.mjs";import"../../../../__chunks__/chunk-GGBMHKR4.mjs";import"../../../../__chunks__/chunk-6XHXG7HB.mjs";export{a as getCachedTransactionListItem};
|
|
2
2
|
//# sourceMappingURL=getCachedTransactionListItem.mjs.map
|
package/out/utils/transactions/getTransactionsHistory/helpers/getIsTransactionInvalidOrFailed.cjs
CHANGED
|
@@ -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 getIsTransactionInvalidOrFailed_exports = {};
|
|
20
|
-
__export(getIsTransactionInvalidOrFailed_exports, {
|
|
21
|
-
getIsTransactionInvalidOrFailed: () => getIsTransactionInvalidOrFailed
|
|
22
|
-
});
|
|
23
|
-
module.exports = __toCommonJS(getIsTransactionInvalidOrFailed_exports);
|
|
24
|
-
var import_enums = require("../../../../types/enums.types");
|
|
25
|
-
const getIsTransactionInvalidOrFailed = (status) => {
|
|
26
|
-
const failedOrInvalidTransactionStatuses = [
|
|
27
|
-
import_enums.TransactionServerStatusesEnum.fail,
|
|
28
|
-
import_enums.TransactionServerStatusesEnum.invalid
|
|
29
|
-
];
|
|
30
|
-
const isTransactionFailedOrInvalid = failedOrInvalidTransactionStatuses.includes(
|
|
31
|
-
status
|
|
32
|
-
);
|
|
33
|
-
return isTransactionFailedOrInvalid;
|
|
34
|
-
};
|
|
35
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
36
|
-
0 && (module.exports = {
|
|
37
|
-
getIsTransactionInvalidOrFailed
|
|
38
|
-
});
|
|
1
|
+
"use strict";var t=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var l=Object.getOwnPropertyNames;var c=Object.prototype.hasOwnProperty;var d=(n,a)=>{for(var s in a)t(n,s,{get:a[s],enumerable:!0})},u=(n,a,s,e)=>{if(a&&typeof a=="object"||typeof a=="function")for(let i of l(a))!c.call(n,i)&&i!==s&&t(n,i,{get:()=>a[i],enumerable:!(e=o(a,i))||e.enumerable});return n};var v=n=>u(t({},"__esModule",{value:!0}),n);var T={};d(T,{getIsTransactionInvalidOrFailed:()=>S});module.exports=v(T);var r=require("../../../../types/enums.types");const S=n=>[r.TransactionServerStatusesEnum.fail,r.TransactionServerStatusesEnum.invalid].includes(n);0&&(module.exports={getIsTransactionInvalidOrFailed});
|
|
39
2
|
//# sourceMappingURL=getIsTransactionInvalidOrFailed.cjs.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../src/utils/transactions/getTransactionsHistory/helpers/getIsTransactionInvalidOrFailed.ts"],
|
|
4
4
|
"sourcesContent": ["import { TransactionServerStatusesEnum } from 'types/enums.types';\n\nexport const getIsTransactionInvalidOrFailed = (\n status: TransactionServerStatusesEnum\n): boolean => {\n const failedOrInvalidTransactionStatuses = [\n TransactionServerStatusesEnum.fail,\n TransactionServerStatusesEnum.invalid\n ];\n\n const isTransactionFailedOrInvalid =\n failedOrInvalidTransactionStatuses.includes(\n status as TransactionServerStatusesEnum\n );\n\n return isTransactionFailedOrInvalid;\n};\n"],
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": []
|
|
5
|
+
"mappings": "yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,qCAAAE,IAAA,eAAAC,EAAAH,GAAA,IAAAI,EAA8C,6BAEvC,MAAMF,EACXG,GAE2C,CACzC,gCAA8B,KAC9B,gCAA8B,OAChC,EAGqC,SACjCA,CACF",
|
|
6
|
+
"names": ["getIsTransactionInvalidOrFailed_exports", "__export", "getIsTransactionInvalidOrFailed", "__toCommonJS", "import_enums", "status"]
|
|
7
7
|
}
|
|
@@ -1,37 +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 getReceiverData_exports = {};
|
|
20
|
-
__export(getReceiverData_exports, {
|
|
21
|
-
getReceiverData: () => getReceiverData
|
|
22
|
-
});
|
|
23
|
-
module.exports = __toCommonJS(getReceiverData_exports);
|
|
24
|
-
const getReceiverData = (transaction) => {
|
|
25
|
-
const receiverAddress = transaction.receiver;
|
|
26
|
-
const isSelfTransaction = receiverAddress === transaction.sender;
|
|
27
|
-
const transactionArguments = transaction.action && transaction.action.arguments;
|
|
28
|
-
const retrieveArgumentsReceiverData = isSelfTransaction && transactionArguments && transactionArguments.receiver && transactionArguments.receiver !== receiverAddress;
|
|
29
|
-
const receiver = retrieveArgumentsReceiverData ? transactionArguments.receiver : receiverAddress;
|
|
30
|
-
const receiverAssets = retrieveArgumentsReceiverData ? transactionArguments.receiverAssets : transaction.receiverAssets;
|
|
31
|
-
return { receiver, receiverAssets };
|
|
32
|
-
};
|
|
33
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
34
|
-
0 && (module.exports = {
|
|
35
|
-
getReceiverData
|
|
36
|
-
});
|
|
1
|
+
"use strict";var i=Object.defineProperty;var v=Object.getOwnPropertyDescriptor;var A=Object.getOwnPropertyNames;var a=Object.prototype.hasOwnProperty;var m=(e,r)=>{for(var c in r)i(e,c,{get:r[c],enumerable:!0})},p=(e,r,c,s)=>{if(r&&typeof r=="object"||typeof r=="function")for(let t of A(r))!a.call(e,t)&&t!==c&&i(e,t,{get:()=>r[t],enumerable:!(s=v(r,t))||s.enumerable});return e};var T=e=>p(i({},"__esModule",{value:!0}),e);var u={};m(u,{getReceiverData:()=>g});module.exports=T(u);const g=e=>{const r=e.receiver,c=r===e.sender,s=e.action&&e.action.arguments,t=c&&s&&s.receiver&&s.receiver!==r,n=t?s.receiver:r,o=t?s.receiverAssets:e.receiverAssets;return{receiver:n,receiverAssets:o}};0&&(module.exports={getReceiverData});
|
|
37
2
|
//# sourceMappingURL=getReceiverData.cjs.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../src/utils/transactions/getTransactionsHistory/helpers/getReceiverData.ts"],
|
|
4
4
|
"sourcesContent": ["import { AssetType } from 'types/account.types';\nimport { ServerTransactionType } from 'types/serverTransactions.types';\n\nexport const getReceiverData = (transaction: ServerTransactionType) => {\n const receiverAddress = transaction.receiver;\n const isSelfTransaction = receiverAddress === transaction.sender;\n\n const transactionArguments =\n transaction.action && transaction.action.arguments;\n\n const retrieveArgumentsReceiverData =\n isSelfTransaction &&\n transactionArguments &&\n transactionArguments.receiver &&\n transactionArguments.receiver !== receiverAddress;\n\n const receiver: string = retrieveArgumentsReceiverData\n ? transactionArguments.receiver\n : receiverAddress;\n\n const receiverAssets: AssetType = retrieveArgumentsReceiverData\n ? transactionArguments.receiverAssets\n : transaction.receiverAssets;\n\n return { receiver, receiverAssets };\n};\n"],
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": []
|
|
5
|
+
"mappings": "yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,qBAAAE,IAAA,eAAAC,EAAAH,GAGO,MAAME,EAAmBE,GAAuC,CACrE,MAAMC,EAAkBD,EAAY,SAC9BE,EAAoBD,IAAoBD,EAAY,OAEpDG,EACJH,EAAY,QAAUA,EAAY,OAAO,UAErCI,EACJF,GACAC,GACAA,EAAqB,UACrBA,EAAqB,WAAaF,EAE9BI,EAAmBD,EACrBD,EAAqB,SACrBF,EAEEK,EAA4BF,EAC9BD,EAAqB,eACrBH,EAAY,eAEhB,MAAO,CAAE,SAAAK,EAAU,eAAAC,CAAe,CACpC",
|
|
6
|
+
"names": ["getReceiverData_exports", "__export", "getReceiverData", "__toCommonJS", "transaction", "receiverAddress", "isSelfTransaction", "transactionArguments", "retrieveArgumentsReceiverData", "receiver", "receiverAssets"]
|
|
7
7
|
}
|