@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,83 +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 getLockedAccountName_exports = {};
|
|
20
|
-
__export(getLockedAccountName_exports, {
|
|
21
|
-
getLockedAccountName: () => getLockedAccountName
|
|
22
|
-
});
|
|
23
|
-
module.exports = __toCommonJS(getLockedAccountName_exports);
|
|
24
|
-
var import_getPersistedTokenDetails = require("../../../../apiCalls/tokens/getPersistedTokenDetails");
|
|
25
|
-
var import_validation = require("../../../validation");
|
|
26
|
-
const getLockedAccountName = async ({
|
|
27
|
-
receiver,
|
|
28
|
-
sender,
|
|
29
|
-
tokenId
|
|
30
|
-
}) => {
|
|
31
|
-
let senderLockedAccount = null, receiverLockedAccount = null;
|
|
32
|
-
if (!tokenId) {
|
|
33
|
-
return {
|
|
34
|
-
senderLockedAccount,
|
|
35
|
-
receiverLockedAccount
|
|
36
|
-
};
|
|
37
|
-
}
|
|
38
|
-
try {
|
|
39
|
-
const tokenDetails = await (0, import_getPersistedTokenDetails.getPersistedTokenDetails)({ tokenId });
|
|
40
|
-
const lockedAccounts = tokenDetails?.assets?.lockedAccounts;
|
|
41
|
-
if (!lockedAccounts) {
|
|
42
|
-
return {
|
|
43
|
-
senderLockedAccount,
|
|
44
|
-
receiverLockedAccount
|
|
45
|
-
};
|
|
46
|
-
}
|
|
47
|
-
for (let account in lockedAccounts) {
|
|
48
|
-
if ((0, import_validation.addressIsValid)(account)) {
|
|
49
|
-
if (sender === account) {
|
|
50
|
-
senderLockedAccount = account;
|
|
51
|
-
}
|
|
52
|
-
if (receiver === account) {
|
|
53
|
-
receiverLockedAccount = account;
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
if ((0, import_validation.addressIsValid)(lockedAccounts[account])) {
|
|
57
|
-
if (sender === lockedAccounts[account]) {
|
|
58
|
-
senderLockedAccount = lockedAccounts[account];
|
|
59
|
-
}
|
|
60
|
-
if (receiver === lockedAccounts[account]) {
|
|
61
|
-
receiverLockedAccount = lockedAccounts[account];
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
if (senderLockedAccount && receiverLockedAccount) {
|
|
65
|
-
return {
|
|
66
|
-
senderLockedAccount,
|
|
67
|
-
receiverLockedAccount
|
|
68
|
-
};
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
} catch (error) {
|
|
72
|
-
console.error("Error getting token details", error);
|
|
73
|
-
}
|
|
74
|
-
return {
|
|
75
|
-
senderLockedAccount,
|
|
76
|
-
receiverLockedAccount
|
|
77
|
-
};
|
|
78
|
-
};
|
|
79
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
80
|
-
0 && (module.exports = {
|
|
81
|
-
getLockedAccountName
|
|
82
|
-
});
|
|
1
|
+
"use strict";var s=Object.defineProperty;var d=Object.getOwnPropertyDescriptor;var f=Object.getOwnPropertyNames;var k=Object.prototype.hasOwnProperty;var m=(r,t)=>{for(var n in t)s(r,n,{get:t[n],enumerable:!0})},g=(r,t,n,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let e of f(t))!k.call(r,e)&&e!==n&&s(r,e,{get:()=>t[e],enumerable:!(o=d(t,e))||o.enumerable});return r};var A=r=>g(s({},"__esModule",{value:!0}),r);var p={};m(p,{getLockedAccountName:()=>L});module.exports=A(p);var u=require("../../../../apiCalls/tokens/getPersistedTokenDetails"),a=require("../../../validation");const L=async({receiver:r,sender:t,tokenId:n})=>{let o=null,e=null;if(!n)return{senderLockedAccount:o,receiverLockedAccount:e};try{const i=(await(0,u.getPersistedTokenDetails)({tokenId:n}))?.assets?.lockedAccounts;if(!i)return{senderLockedAccount:o,receiverLockedAccount:e};for(let c in i)if((0,a.addressIsValid)(c)&&(t===c&&(o=c),r===c&&(e=c)),(0,a.addressIsValid)(i[c])&&(t===i[c]&&(o=i[c]),r===i[c]&&(e=i[c])),o&&e)return{senderLockedAccount:o,receiverLockedAccount:e}}catch(l){console.error("Error getting token details",l)}return{senderLockedAccount:o,receiverLockedAccount:e}};0&&(module.exports={getLockedAccountName});
|
|
83
2
|
//# sourceMappingURL=getLockedAccountName.cjs.map
|
package/out/utils/transactions/getInterpretedTransaction/helpers/getLockedAccountName.cjs.map
CHANGED
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../src/utils/transactions/getInterpretedTransaction/helpers/getLockedAccountName.ts"],
|
|
4
4
|
"sourcesContent": ["import { getPersistedTokenDetails } from 'apiCalls/tokens/getPersistedTokenDetails';\nimport { addressIsValid } from '../../../validation';\n\ninterface IGetLockedAccountNameParams {\n receiver: string;\n sender: string;\n tokenId?: string;\n}\n\nexport const getLockedAccountName = async ({\n receiver,\n sender,\n tokenId\n}: IGetLockedAccountNameParams) => {\n let senderLockedAccount = null,\n receiverLockedAccount = null;\n\n if (!tokenId) {\n return {\n senderLockedAccount,\n receiverLockedAccount\n };\n }\n\n try {\n const tokenDetails = await getPersistedTokenDetails({ tokenId });\n const lockedAccounts = tokenDetails?.assets?.lockedAccounts;\n\n if (!lockedAccounts) {\n return {\n senderLockedAccount,\n receiverLockedAccount\n };\n }\n\n for (let account in lockedAccounts) {\n if (addressIsValid(account)) {\n if (sender === account) {\n senderLockedAccount = account;\n }\n\n if (receiver === account) {\n receiverLockedAccount = account;\n }\n }\n\n if (addressIsValid(lockedAccounts[account])) {\n if (sender === lockedAccounts[account]) {\n senderLockedAccount = lockedAccounts[account];\n }\n\n if (receiver === lockedAccounts[account]) {\n receiverLockedAccount = lockedAccounts[account];\n }\n }\n\n if (senderLockedAccount && receiverLockedAccount) {\n return {\n senderLockedAccount,\n receiverLockedAccount\n };\n }\n }\n } catch (error) {\n console.error('Error getting token details', error);\n }\n\n return {\n senderLockedAccount,\n receiverLockedAccount\n };\n};\n"],
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": []
|
|
5
|
+
"mappings": "yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,0BAAAE,IAAA,eAAAC,EAAAH,GAAA,IAAAI,EAAyC,oDACzCC,EAA+B,+BAQxB,MAAMH,EAAuB,MAAO,CACzC,SAAAI,EACA,OAAAC,EACA,QAAAC,CACF,IAAmC,CACjC,IAAIC,EAAsB,KACxBC,EAAwB,KAE1B,GAAI,CAACF,EACH,MAAO,CACL,oBAAAC,EACA,sBAAAC,CACF,EAGF,GAAI,CAEF,MAAMC,GADe,QAAM,4BAAyB,CAAE,QAAAH,CAAQ,CAAC,IAC1B,QAAQ,eAE7C,GAAI,CAACG,EACH,MAAO,CACL,oBAAAF,EACA,sBAAAC,CACF,EAGF,QAASE,KAAWD,EAqBlB,MApBI,kBAAeC,CAAO,IACpBL,IAAWK,IACbH,EAAsBG,GAGpBN,IAAaM,IACfF,EAAwBE,OAIxB,kBAAeD,EAAeC,CAAO,CAAC,IACpCL,IAAWI,EAAeC,CAAO,IACnCH,EAAsBE,EAAeC,CAAO,GAG1CN,IAAaK,EAAeC,CAAO,IACrCF,EAAwBC,EAAeC,CAAO,IAI9CH,GAAuBC,EACzB,MAAO,CACL,oBAAAD,EACA,sBAAAC,CACF,CAGN,OAASG,EAAO,CACd,QAAQ,MAAM,8BAA+BA,CAAK,CACpD,CAEA,MAAO,CACL,oBAAAJ,EACA,sBAAAC,CACF,CACF",
|
|
6
|
+
"names": ["getLockedAccountName_exports", "__export", "getLockedAccountName", "__toCommonJS", "import_getPersistedTokenDetails", "import_validation", "receiver", "sender", "tokenId", "senderLockedAccount", "receiverLockedAccount", "lockedAccounts", "account", "error"]
|
|
7
7
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../../../__chunks__/chunk-
|
|
1
|
+
import{a}from"../../../../__chunks__/chunk-EH3INPBE.mjs";import"../../../../__chunks__/chunk-LAH3RNPH.mjs";import"../../../../__chunks__/chunk-3QWTD55I.mjs";import"../../../../__chunks__/chunk-C4TBDJVT.mjs";import"../../../../__chunks__/chunk-O7LCTC4K.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-KD2IQ32V.mjs";import"../../../../__chunks__/chunk-CDTYHGXZ.mjs";import"../../../../__chunks__/chunk-2RAULLHL.mjs";import"../../../../__chunks__/chunk-7CELSV4S.mjs";import"../../../../__chunks__/chunk-YUITECZ5.mjs";import"../../../../__chunks__/chunk-TVELGQIH.mjs";import"../../../../__chunks__/chunk-2BSPSW6X.mjs";import"../../../../__chunks__/chunk-OVXVICF7.mjs";import"../../../../__chunks__/chunk-BTJWNUM6.mjs";import"../../../../__chunks__/chunk-TRMQFQOQ.mjs";import"../../../../__chunks__/chunk-WZI2I6NX.mjs";import"../../../../__chunks__/chunk-TI37DKBT.mjs";import"../../../../__chunks__/chunk-NTEMINYA.mjs";import"../../../../__chunks__/chunk-WRLZ5ICK.mjs";import"../../../../__chunks__/chunk-3FXHIV6O.mjs";import"../../../../__chunks__/chunk-I3MK6KZJ.mjs";import"../../../../__chunks__/chunk-PKDR5ERF.mjs";import"../../../../__chunks__/chunk-MGFIOCA4.mjs";import"../../../../__chunks__/chunk-GGBMHKR4.mjs";import"../../../../__chunks__/chunk-GLXG5BES.mjs";import"../../../../__chunks__/chunk-6XHXG7HB.mjs";export{a as getLockedAccountName};
|
|
2
2
|
//# sourceMappingURL=getLockedAccountName.mjs.map
|
|
@@ -1,31 +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 getOperationsMessages_exports = {};
|
|
20
|
-
__export(getOperationsMessages_exports, {
|
|
21
|
-
getOperationsMessages: () => getOperationsMessages
|
|
22
|
-
});
|
|
23
|
-
module.exports = __toCommonJS(getOperationsMessages_exports);
|
|
24
|
-
function getOperationsMessages(transaction) {
|
|
25
|
-
return transaction?.operations?.map((operation) => operation.message).filter((messages) => Boolean(messages)) ?? [];
|
|
26
|
-
}
|
|
27
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
28
|
-
0 && (module.exports = {
|
|
29
|
-
getOperationsMessages
|
|
30
|
-
});
|
|
1
|
+
"use strict";var n=Object.defineProperty;var t=Object.getOwnPropertyDescriptor;var i=Object.getOwnPropertyNames;var p=Object.prototype.hasOwnProperty;var g=(r,e)=>{for(var a in e)n(r,a,{get:e[a],enumerable:!0})},m=(r,e,a,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of i(e))!p.call(r,s)&&s!==a&&n(r,s,{get:()=>e[s],enumerable:!(o=t(e,s))||o.enumerable});return r};var T=r=>m(n({},"__esModule",{value:!0}),r);var f={};g(f,{getOperationsMessages:()=>c});module.exports=T(f);function c(r){return r?.operations?.map(e=>e.message).filter(e=>!!e)??[]}0&&(module.exports={getOperationsMessages});
|
|
31
2
|
//# sourceMappingURL=getOperationsMessages.cjs.map
|
package/out/utils/transactions/getInterpretedTransaction/helpers/getOperationsMessages.cjs.map
CHANGED
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../src/utils/transactions/getInterpretedTransaction/helpers/getOperationsMessages.ts"],
|
|
4
4
|
"sourcesContent": ["import { ServerTransactionType } from 'types/serverTransactions.types';\n\nexport function getOperationsMessages(transaction: ServerTransactionType) {\n return (\n transaction?.operations\n ?.map((operation) => operation.message)\n .filter((messages): messages is string => Boolean(messages)) ?? []\n );\n}\n"],
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": []
|
|
5
|
+
"mappings": "yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,2BAAAE,IAAA,eAAAC,EAAAH,GAEO,SAASE,EAAsBE,EAAoC,CACxE,OACEA,GAAa,YACT,IAAKC,GAAcA,EAAU,OAAO,EACrC,OAAQC,GAAiC,EAAQA,CAAS,GAAK,CAAC,CAEvE",
|
|
6
|
+
"names": ["getOperationsMessages_exports", "__export", "getOperationsMessages", "__toCommonJS", "transaction", "operation", "messages"]
|
|
7
7
|
}
|
|
@@ -1,66 +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 getReceiptMessage_exports = {};
|
|
30
|
-
__export(getReceiptMessage_exports, {
|
|
31
|
-
getReceiptMessage: () => getReceiptMessage
|
|
32
|
-
});
|
|
33
|
-
module.exports = __toCommonJS(getReceiptMessage_exports);
|
|
34
|
-
var import_bignumber = __toESM(require("bignumber.js"));
|
|
35
|
-
var import_constants = require("../../../../constants/index");
|
|
36
|
-
var import_sdkDappUtils = require("../../../../lib/sdkDappUtils");
|
|
37
|
-
const getReceiptValue = (transaction) => {
|
|
38
|
-
if (!transaction.receipt?.value) {
|
|
39
|
-
return "";
|
|
40
|
-
}
|
|
41
|
-
if (transaction.receipt?.data === import_constants.REFUNDED_GAS) {
|
|
42
|
-
const formattedGas = (0, import_sdkDappUtils.formatAmount)({
|
|
43
|
-
input: transaction.receipt.value,
|
|
44
|
-
decimals: import_sdkDappUtils.DECIMALS,
|
|
45
|
-
digits: import_sdkDappUtils.DIGITS,
|
|
46
|
-
showLastNonZeroDecimal: true
|
|
47
|
-
});
|
|
48
|
-
const gasRefunded = new import_bignumber.default(formattedGas).times(transaction.gasPrice).times(100);
|
|
49
|
-
return gasRefunded.toFixed();
|
|
50
|
-
}
|
|
51
|
-
return transaction.receipt.value;
|
|
52
|
-
};
|
|
53
|
-
function getReceiptMessage(transaction) {
|
|
54
|
-
const message = transaction.receipt?.data;
|
|
55
|
-
if (!message) {
|
|
56
|
-
return "";
|
|
57
|
-
}
|
|
58
|
-
const receiptValue = getReceiptValue(transaction);
|
|
59
|
-
const value = receiptValue ? `: ${receiptValue}` : "";
|
|
60
|
-
return `${message}${value}`;
|
|
61
|
-
}
|
|
62
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
63
|
-
0 && (module.exports = {
|
|
64
|
-
getReceiptMessage
|
|
65
|
-
});
|
|
1
|
+
"use strict";var c=Object.create;var u=Object.defineProperty;var n=Object.getOwnPropertyDescriptor;var f=Object.getOwnPropertyNames;var d=Object.getPrototypeOf,g=Object.prototype.hasOwnProperty;var l=(e,r)=>{for(var t in r)u(e,t,{get:r[t],enumerable:!0})},a=(e,r,t,s)=>{if(r&&typeof r=="object"||typeof r=="function")for(let o of f(r))!g.call(e,o)&&o!==t&&u(e,o,{get:()=>r[o],enumerable:!(s=n(r,o))||s.enumerable});return e};var v=(e,r,t)=>(t=e!=null?c(d(e)):{},a(r||!e||!e.__esModule?u(t,"default",{value:e,enumerable:!0}):t,e)),T=e=>a(u({},"__esModule",{value:!0}),e);var R={};l(R,{getReceiptMessage:()=>D});module.exports=T(R);var m=v(require("bignumber.js")),p=require("../../../../constants/index"),i=require("../../../../lib/sdkDappUtils");const S=e=>{if(!e.receipt?.value)return"";if(e.receipt?.data===p.REFUNDED_GAS){const r=(0,i.formatAmount)({input:e.receipt.value,decimals:i.DECIMALS,digits:i.DIGITS,showLastNonZeroDecimal:!0});return new m.default(r).times(e.gasPrice).times(100).toFixed()}return e.receipt.value};function D(e){const r=e.receipt?.data;if(!r)return"";const t=S(e),s=t?`: ${t}`:"";return`${r}${s}`}0&&(module.exports={getReceiptMessage});
|
|
66
2
|
//# sourceMappingURL=getReceiptMessage.cjs.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../src/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.ts"],
|
|
4
4
|
"sourcesContent": ["import BigNumber from 'bignumber.js';\nimport { REFUNDED_GAS } from 'constants/index';\nimport { DECIMALS, DIGITS, formatAmount } from 'lib/sdkDappUtils';\nimport { ServerTransactionType } from 'types/serverTransactions.types';\n\nconst getReceiptValue = (transaction: ServerTransactionType) => {\n if (!transaction.receipt?.value) {\n return '';\n }\n\n if (transaction.receipt?.data === REFUNDED_GAS) {\n const formattedGas = formatAmount({\n input: transaction.receipt.value,\n decimals: DECIMALS,\n digits: DIGITS,\n showLastNonZeroDecimal: true\n });\n\n const gasRefunded = new BigNumber(formattedGas)\n .times(transaction.gasPrice)\n .times(100);\n\n return gasRefunded.toFixed();\n }\n\n return transaction.receipt.value;\n};\n\nexport function getReceiptMessage(transaction: ServerTransactionType) {\n const message = transaction.receipt?.data;\n\n if (!message) {\n return '';\n }\n\n const receiptValue = getReceiptValue(transaction);\n const value = receiptValue ? `: ${receiptValue}` : '';\n\n return `${message}${value}`;\n}\n"],
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": ["BigNumber"]
|
|
5
|
+
"mappings": "0jBAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,uBAAAE,IAAA,eAAAC,EAAAH,GAAA,IAAAI,EAAsB,2BACtBC,EAA6B,2BAC7BC,EAA+C,4BAG/C,MAAMC,EAAmBC,GAAuC,CAC9D,GAAI,CAACA,EAAY,SAAS,MACxB,MAAO,GAGT,GAAIA,EAAY,SAAS,OAAS,eAAc,CAC9C,MAAMC,KAAe,gBAAa,CAChC,MAAOD,EAAY,QAAQ,MAC3B,SAAU,WACV,OAAQ,SACR,uBAAwB,EAC1B,CAAC,EAMD,OAJoB,IAAI,EAAAE,QAAUD,CAAY,EAC3C,MAAMD,EAAY,QAAQ,EAC1B,MAAM,GAAG,EAEO,QAAQ,CAC7B,CAEA,OAAOA,EAAY,QAAQ,KAC7B,EAEO,SAASN,EAAkBM,EAAoC,CACpE,MAAMG,EAAUH,EAAY,SAAS,KAErC,GAAI,CAACG,EACH,MAAO,GAGT,MAAMC,EAAeL,EAAgBC,CAAW,EAC1CK,EAAQD,EAAe,KAAKA,CAAY,GAAK,GAEnD,MAAO,GAAGD,CAAO,GAAGE,CAAK,EAC3B",
|
|
6
|
+
"names": ["getReceiptMessage_exports", "__export", "getReceiptMessage", "__toCommonJS", "import_bignumber", "import_constants", "import_sdkDappUtils", "getReceiptValue", "transaction", "formattedGas", "BigNumber", "message", "receiptValue", "value"]
|
|
7
7
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../../../__chunks__/chunk-5E32AO3E.mjs";import"../../../../__chunks__/chunk-PJWJZHIS.mjs";import"../../../../__chunks__/chunk-5Y2ZDPP6.mjs";import"../../../../__chunks__/chunk-
|
|
1
|
+
import{a}from"../../../../__chunks__/chunk-5E32AO3E.mjs";import"../../../../__chunks__/chunk-PJWJZHIS.mjs";import"../../../../__chunks__/chunk-5Y2ZDPP6.mjs";import"../../../../__chunks__/chunk-LHEH7L4L.mjs";import"../../../../__chunks__/chunk-FMNY4EIM.mjs";import"../../../../__chunks__/chunk-EJV4VNJG.mjs";import"../../../../__chunks__/chunk-6R2WFQ7U.mjs";import"../../../../__chunks__/chunk-3IMTI6JQ.mjs";import"../../../../__chunks__/chunk-FI444OX3.mjs";import"../../../../__chunks__/chunk-PKDR5ERF.mjs";import"../../../../__chunks__/chunk-MGFIOCA4.mjs";import"../../../../__chunks__/chunk-GGBMHKR4.mjs";import"../../../../__chunks__/chunk-GLXG5BES.mjs";import"../../../../__chunks__/chunk-LJX4MW7B.mjs";import"../../../../__chunks__/chunk-6XHXG7HB.mjs";export{a as getReceiptMessage};
|
|
2
2
|
//# sourceMappingURL=getReceiptMessage.mjs.map
|
|
@@ -1,31 +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 getScResultsMessages_exports = {};
|
|
20
|
-
__export(getScResultsMessages_exports, {
|
|
21
|
-
getScResultsMessages: () => getScResultsMessages
|
|
22
|
-
});
|
|
23
|
-
module.exports = __toCommonJS(getScResultsMessages_exports);
|
|
24
|
-
function getScResultsMessages(transaction) {
|
|
25
|
-
return transaction?.results?.map((result) => result.returnMessage).filter((messages) => Boolean(messages)) ?? [];
|
|
26
|
-
}
|
|
27
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
28
|
-
0 && (module.exports = {
|
|
29
|
-
getScResultsMessages
|
|
30
|
-
});
|
|
1
|
+
"use strict";var n=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var i=Object.getOwnPropertyNames;var g=Object.prototype.hasOwnProperty;var p=(r,e)=>{for(var t in e)n(r,t,{get:e[t],enumerable:!0})},u=(r,e,t,a)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of i(e))!g.call(r,s)&&s!==t&&n(r,s,{get:()=>e[s],enumerable:!(a=o(e,s))||a.enumerable});return r};var c=r=>u(n({},"__esModule",{value:!0}),r);var m={};p(m,{getScResultsMessages:()=>l});module.exports=c(m);function l(r){return r?.results?.map(e=>e.returnMessage).filter(e=>!!e)??[]}0&&(module.exports={getScResultsMessages});
|
|
31
2
|
//# sourceMappingURL=getScResultsMessages.cjs.map
|
package/out/utils/transactions/getInterpretedTransaction/helpers/getScResultsMessages.cjs.map
CHANGED
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../src/utils/transactions/getInterpretedTransaction/helpers/getScResultsMessages.ts"],
|
|
4
4
|
"sourcesContent": ["import { ServerTransactionType } from 'types/serverTransactions.types';\n\nexport function getScResultsMessages(transaction: ServerTransactionType) {\n return (\n transaction?.results\n ?.map((result) => result.returnMessage)\n .filter((messages): messages is string => Boolean(messages)) ?? []\n );\n}\n"],
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": []
|
|
5
|
+
"mappings": "yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,0BAAAE,IAAA,eAAAC,EAAAH,GAEO,SAASE,EAAqBE,EAAoC,CACvE,OACEA,GAAa,SACT,IAAKC,GAAWA,EAAO,aAAa,EACrC,OAAQC,GAAiC,EAAQA,CAAS,GAAK,CAAC,CAEvE",
|
|
6
|
+
"names": ["getScResultsMessages_exports", "__export", "getScResultsMessages", "__toCommonJS", "transaction", "result", "messages"]
|
|
7
7
|
}
|
|
@@ -1,44 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
var getShardText_exports = {};
|
|
20
|
-
__export(getShardText_exports, {
|
|
21
|
-
getShardText: () => getShardText
|
|
22
|
-
});
|
|
23
|
-
module.exports = __toCommonJS(getShardText_exports);
|
|
24
|
-
var import_constants = require("../../../../constants/index");
|
|
25
|
-
const getShardText = (shard) => {
|
|
26
|
-
let shardText = shard;
|
|
27
|
-
if (typeof shardText === "string" && shardText.includes("Shard")) {
|
|
28
|
-
shardText = shardText.replace("Shard", "").replace(" ", "");
|
|
29
|
-
}
|
|
30
|
-
const isMetachain = import_constants.METACHAIN_SHARD_ID.toString() === String(shardText).toString() || String(shardText) === "metachain";
|
|
31
|
-
const isAllShards = import_constants.ALL_SHARDS_SHARD_ID.toString() === String(shardText).toString();
|
|
32
|
-
if (isMetachain) {
|
|
33
|
-
return "Metachain";
|
|
34
|
-
}
|
|
35
|
-
if (isAllShards) {
|
|
36
|
-
return "All Shards";
|
|
37
|
-
}
|
|
38
|
-
return `Shard ${shardText}`;
|
|
39
|
-
};
|
|
40
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
41
|
-
0 && (module.exports = {
|
|
42
|
-
getShardText
|
|
43
|
-
});
|
|
1
|
+
"use strict";var a=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var g=Object.prototype.hasOwnProperty;var h=(r,t)=>{for(var n in t)a(r,n,{get:t[n],enumerable:!0})},c=(r,t,n,e)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of s(t))!g.call(r,i)&&i!==n&&a(r,i,{get:()=>t[i],enumerable:!(e=o(t,i))||e.enumerable});return r};var d=r=>c(a({},"__esModule",{value:!0}),r);var A={};h(A,{getShardText:()=>l});module.exports=d(A);var S=require("../../../../constants/index");const l=r=>{let t=r;typeof t=="string"&&t.includes("Shard")&&(t=t.replace("Shard","").replace(" ",""));const n=S.METACHAIN_SHARD_ID.toString()===String(t).toString()||String(t)==="metachain",e=S.ALL_SHARDS_SHARD_ID.toString()===String(t).toString();return n?"Metachain":e?"All Shards":`Shard ${t}`};0&&(module.exports={getShardText});
|
|
44
2
|
//# sourceMappingURL=getShardText.cjs.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../src/utils/transactions/getInterpretedTransaction/helpers/getShardText.ts"],
|
|
4
4
|
"sourcesContent": ["import { ALL_SHARDS_SHARD_ID, METACHAIN_SHARD_ID } from 'constants/index';\n\nexport const getShardText = (shard: number | string) => {\n let shardText = shard;\n\n if (typeof shardText === 'string' && shardText.includes('Shard')) {\n shardText = shardText.replace('Shard', '').replace(' ', '');\n }\n\n const isMetachain =\n METACHAIN_SHARD_ID.toString() === String(shardText).toString() ||\n String(shardText) === 'metachain';\n\n const isAllShards =\n ALL_SHARDS_SHARD_ID.toString() === String(shardText).toString();\n\n if (isMetachain) {\n return 'Metachain';\n }\n if (isAllShards) {\n return 'All Shards';\n }\n return `Shard ${shardText}`;\n};\n"],
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": []
|
|
5
|
+
"mappings": "yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,kBAAAE,IAAA,eAAAC,EAAAH,GAAA,IAAAI,EAAwD,2BAEjD,MAAMF,EAAgBG,GAA2B,CACtD,IAAIC,EAAYD,EAEZ,OAAOC,GAAc,UAAYA,EAAU,SAAS,OAAO,IAC7DA,EAAYA,EAAU,QAAQ,QAAS,EAAE,EAAE,QAAQ,IAAK,EAAE,GAG5D,MAAMC,EACJ,qBAAmB,SAAS,IAAM,OAAOD,CAAS,EAAE,SAAS,GAC7D,OAAOA,CAAS,IAAM,YAElBE,EACJ,sBAAoB,SAAS,IAAM,OAAOF,CAAS,EAAE,SAAS,EAEhE,OAAIC,EACK,YAELC,EACK,aAEF,SAASF,CAAS,EAC3B",
|
|
6
|
+
"names": ["getShardText_exports", "__export", "getShardText", "__toCommonJS", "import_constants", "shard", "shardText", "isMetachain", "isAllShards"]
|
|
7
7
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../../../__chunks__/chunk-W5MTQBQF.mjs";import"../../../../__chunks__/chunk-5Y2ZDPP6.mjs";import"../../../../__chunks__/chunk-
|
|
1
|
+
import{a}from"../../../../__chunks__/chunk-W5MTQBQF.mjs";import"../../../../__chunks__/chunk-5Y2ZDPP6.mjs";import"../../../../__chunks__/chunk-LHEH7L4L.mjs";import"../../../../__chunks__/chunk-FMNY4EIM.mjs";import"../../../../__chunks__/chunk-EJV4VNJG.mjs";import"../../../../__chunks__/chunk-6R2WFQ7U.mjs";import"../../../../__chunks__/chunk-3IMTI6JQ.mjs";import"../../../../__chunks__/chunk-FI444OX3.mjs";import"../../../../__chunks__/chunk-PKDR5ERF.mjs";import"../../../../__chunks__/chunk-MGFIOCA4.mjs";import"../../../../__chunks__/chunk-GGBMHKR4.mjs";import"../../../../__chunks__/chunk-GLXG5BES.mjs";import"../../../../__chunks__/chunk-LJX4MW7B.mjs";import"../../../../__chunks__/chunk-6XHXG7HB.mjs";export{a as getShardText};
|
|
2
2
|
//# sourceMappingURL=getShardText.mjs.map
|
|
@@ -1,122 +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 getTokenFromData_exports = {};
|
|
30
|
-
__export(getTokenFromData_exports, {
|
|
31
|
-
decodeData: () => decodeData,
|
|
32
|
-
getTokenFromData: () => getTokenFromData
|
|
33
|
-
});
|
|
34
|
-
module.exports = __toCommonJS(getTokenFromData_exports);
|
|
35
|
-
var import_sdk_core = require("@multiversx/sdk-core");
|
|
36
|
-
var import_bignumber = __toESM(require("bignumber.js"));
|
|
37
|
-
var import_enums = require("../../../../types/enums.types");
|
|
38
|
-
var import_decodePart = require("../../../../utils/decoders/decodePart");
|
|
39
|
-
var import_addressIsValid = require("../../../../utils/validation/addressIsValid");
|
|
40
|
-
const noData = {
|
|
41
|
-
tokenId: "",
|
|
42
|
-
amount: ""
|
|
43
|
-
};
|
|
44
|
-
const decodeData = (data) => {
|
|
45
|
-
const nonceIndex = 2;
|
|
46
|
-
const amountIndex = 3;
|
|
47
|
-
const parts = data.split("@");
|
|
48
|
-
const decodedParts = parts.map(
|
|
49
|
-
(part, i) => [nonceIndex, amountIndex].includes(i) ? part : (0, import_decodePart.decodePart)(part)
|
|
50
|
-
);
|
|
51
|
-
return decodedParts;
|
|
52
|
-
};
|
|
53
|
-
function getTokenFromData(data) {
|
|
54
|
-
if (!data) {
|
|
55
|
-
return noData;
|
|
56
|
-
}
|
|
57
|
-
const isTokenTransfer = data.startsWith(import_enums.TransactionTypesEnum.ESDTTransfer);
|
|
58
|
-
const isNftTransfer = data.startsWith(import_enums.TransactionTypesEnum.ESDTNFTTransfer) && data.includes("@");
|
|
59
|
-
const isNftBurn = data.startsWith(import_enums.TransactionTypesEnum.ESDTNFTBurn) && data.includes("@");
|
|
60
|
-
try {
|
|
61
|
-
if (isTokenTransfer) {
|
|
62
|
-
const [, encodedToken, encodedAmount] = data.split("@");
|
|
63
|
-
const tokenId = Buffer.from(encodedToken, "hex").toString("ascii");
|
|
64
|
-
if (!tokenId) {
|
|
65
|
-
return noData;
|
|
66
|
-
}
|
|
67
|
-
const amount = new import_bignumber.default(
|
|
68
|
-
"0x" + encodedAmount.replace("0x", "")
|
|
69
|
-
).toString(10);
|
|
70
|
-
return {
|
|
71
|
-
tokenId,
|
|
72
|
-
amount
|
|
73
|
-
};
|
|
74
|
-
}
|
|
75
|
-
const decodedData = decodeData(data);
|
|
76
|
-
if (isNftTransfer) {
|
|
77
|
-
const [
|
|
78
|
-
,
|
|
79
|
-
/*ESDTNFTTransfer*/
|
|
80
|
-
collection,
|
|
81
|
-
nonce,
|
|
82
|
-
quantity,
|
|
83
|
-
receiver
|
|
84
|
-
] = decodedData;
|
|
85
|
-
if ([collection, nonce, quantity, receiver].every((el) => Boolean(el)) && (0, import_addressIsValid.addressIsValid)(new import_sdk_core.Address(receiver).toBech32())) {
|
|
86
|
-
return {
|
|
87
|
-
tokenId: `${collection}-${nonce}`,
|
|
88
|
-
amount: new import_bignumber.default(quantity, 16).toString(10),
|
|
89
|
-
collection,
|
|
90
|
-
nonce,
|
|
91
|
-
receiver: new import_sdk_core.Address(receiver).toBech32()
|
|
92
|
-
};
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
if (isNftBurn) {
|
|
96
|
-
const [
|
|
97
|
-
,
|
|
98
|
-
/*ESDTNFTBurn*/
|
|
99
|
-
collection,
|
|
100
|
-
nonce,
|
|
101
|
-
quantity
|
|
102
|
-
] = decodedData;
|
|
103
|
-
if ([collection, nonce, quantity].every((el) => Boolean(el))) {
|
|
104
|
-
return {
|
|
105
|
-
tokenId: `${collection}-${nonce}`,
|
|
106
|
-
amount: new import_bignumber.default(quantity, 16).toString(10),
|
|
107
|
-
collection,
|
|
108
|
-
nonce
|
|
109
|
-
};
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
} catch {
|
|
113
|
-
return noData;
|
|
114
|
-
}
|
|
115
|
-
return noData;
|
|
116
|
-
}
|
|
117
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
118
|
-
0 && (module.exports = {
|
|
119
|
-
decodeData,
|
|
120
|
-
getTokenFromData
|
|
121
|
-
});
|
|
1
|
+
"use strict";var k=Object.create;var u=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var h=Object.getOwnPropertyNames;var D=Object.getPrototypeOf,S=Object.prototype.hasOwnProperty;var y=(n,t)=>{for(var o in t)u(n,o,{get:t[o],enumerable:!0})},T=(n,t,o,d)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of h(t))!S.call(n,s)&&s!==o&&u(n,s,{get:()=>t[s],enumerable:!(d=B(t,s))||d.enumerable});return n};var v=(n,t,o)=>(o=n!=null?k(D(n)):{},T(t||!n||!n.__esModule?u(o,"default",{value:n,enumerable:!0}):o,n)),w=n=>T(u({},"__esModule",{value:!0}),n);var E={};y(E,{decodeData:()=>I,getTokenFromData:()=>N});module.exports=w(E);var l=require("@multiversx/sdk-core"),m=v(require("bignumber.js")),f=require("../../../../types/enums.types"),g=require("../../../../utils/decoders/decodePart"),p=require("../../../../utils/validation/addressIsValid");const a={tokenId:"",amount:""},I=n=>n.split("@").map((e,r)=>[2,3].includes(r)?e:(0,g.decodePart)(e));function N(n){if(!n)return a;const t=n.startsWith(f.TransactionTypesEnum.ESDTTransfer),o=n.startsWith(f.TransactionTypesEnum.ESDTNFTTransfer)&&n.includes("@"),d=n.startsWith(f.TransactionTypesEnum.ESDTNFTBurn)&&n.includes("@");try{if(t){const[,e,r]=n.split("@"),i=Buffer.from(e,"hex").toString("ascii");if(!i)return a;const c=new m.default("0x"+r.replace("0x","")).toString(10);return{tokenId:i,amount:c}}const s=I(n);if(o){const[,e,r,i,c]=s;if([e,r,i,c].every(x=>!!x)&&(0,p.addressIsValid)(new l.Address(c).toBech32()))return{tokenId:`${e}-${r}`,amount:new m.default(i,16).toString(10),collection:e,nonce:r,receiver:new l.Address(c).toBech32()}}if(d){const[,e,r,i]=s;if([e,r,i].every(c=>!!c))return{tokenId:`${e}-${r}`,amount:new m.default(i,16).toString(10),collection:e,nonce:r}}}catch{return a}return a}0&&(module.exports={decodeData,getTokenFromData});
|
|
122
2
|
//# sourceMappingURL=getTokenFromData.cjs.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../src/utils/transactions/getInterpretedTransaction/helpers/getTokenFromData.ts"],
|
|
4
4
|
"sourcesContent": ["import { Address } from '@multiversx/sdk-core';\nimport BigNumber from 'bignumber.js';\nimport { TransactionTypesEnum } from 'types/enums.types';\nimport { decodePart } from 'utils/decoders/decodePart';\nimport { addressIsValid } from 'utils/validation/addressIsValid';\n\nconst noData = {\n tokenId: '',\n amount: ''\n};\n\nexport const decodeData = (data: string) => {\n const nonceIndex = 2;\n const amountIndex = 3;\n const parts = data.split('@');\n const decodedParts = parts.map((part, i) =>\n [nonceIndex, amountIndex].includes(i) ? part : decodePart(part)\n );\n return decodedParts;\n};\n\nexport function getTokenFromData(data?: string): {\n tokenId: string;\n amount: string;\n collection?: string;\n nonce?: string;\n receiver?: string;\n} {\n if (!data) {\n return noData;\n }\n\n const isTokenTransfer = data.startsWith(TransactionTypesEnum.ESDTTransfer);\n const isNftTransfer =\n data.startsWith(TransactionTypesEnum.ESDTNFTTransfer) && data.includes('@');\n const isNftBurn =\n data.startsWith(TransactionTypesEnum.ESDTNFTBurn) && data.includes('@');\n\n try {\n if (isTokenTransfer) {\n const [, encodedToken, encodedAmount] = data.split('@');\n const tokenId = Buffer.from(encodedToken, 'hex').toString('ascii');\n\n if (!tokenId) {\n return noData;\n }\n\n const amount = new BigNumber(\n '0x' + encodedAmount.replace('0x', '')\n ).toString(10);\n\n return {\n tokenId,\n amount\n };\n }\n\n const decodedData = decodeData(data);\n\n if (isNftTransfer) {\n const [, /*ESDTNFTTransfer*/ collection, nonce, quantity, receiver] =\n decodedData;\n\n if (\n [collection, nonce, quantity, receiver].every((el) => Boolean(el)) &&\n addressIsValid(new Address(receiver).toBech32())\n ) {\n return {\n tokenId: `${collection}-${nonce}`,\n amount: new BigNumber(quantity, 16).toString(10),\n collection,\n nonce,\n receiver: new Address(receiver).toBech32()\n };\n }\n }\n\n if (isNftBurn) {\n const [, /*ESDTNFTBurn*/ collection, nonce, quantity] = decodedData;\n\n if ([collection, nonce, quantity].every((el) => Boolean(el))) {\n return {\n tokenId: `${collection}-${nonce}`,\n amount: new BigNumber(quantity, 16).toString(10),\n collection,\n nonce\n };\n }\n }\n } catch {\n return noData;\n }\n\n return noData;\n}\n"],
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": ["BigNumber"]
|
|
5
|
+
"mappings": "0jBAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,gBAAAE,EAAA,qBAAAC,IAAA,eAAAC,EAAAJ,GAAA,IAAAK,EAAwB,gCACxBC,EAAsB,2BACtBC,EAAqC,6BACrCC,EAA2B,qCAC3BC,EAA+B,2CAE/B,MAAMC,EAAS,CACb,QAAS,GACT,OAAQ,EACV,EAEaR,EAAcS,GAGXA,EAAK,MAAM,GAAG,EACD,IAAI,CAACC,EAAMC,IACpC,CAAC,EAAY,CAAW,EAAE,SAASA,CAAC,EAAID,KAAO,cAAWA,CAAI,CAChE,EAIK,SAAST,EAAiBQ,EAM/B,CACA,GAAI,CAACA,EACH,OAAOD,EAGT,MAAMI,EAAkBH,EAAK,WAAW,uBAAqB,YAAY,EACnEI,EACJJ,EAAK,WAAW,uBAAqB,eAAe,GAAKA,EAAK,SAAS,GAAG,EACtEK,EACJL,EAAK,WAAW,uBAAqB,WAAW,GAAKA,EAAK,SAAS,GAAG,EAExE,GAAI,CACF,GAAIG,EAAiB,CACnB,KAAM,CAAC,CAAEG,EAAcC,CAAa,EAAIP,EAAK,MAAM,GAAG,EAChDQ,EAAU,OAAO,KAAKF,EAAc,KAAK,EAAE,SAAS,OAAO,EAEjE,GAAI,CAACE,EACH,OAAOT,EAGT,MAAMU,EAAS,IAAI,EAAAC,QACjB,KAAOH,EAAc,QAAQ,KAAM,EAAE,CACvC,EAAE,SAAS,EAAE,EAEb,MAAO,CACL,QAAAC,EACA,OAAAC,CACF,CACF,CAEA,MAAME,EAAcpB,EAAWS,CAAI,EAEnC,GAAII,EAAe,CACjB,KAAM,CAAC,CAAsBQ,EAAYC,EAAOC,EAAUC,CAAQ,EAChEJ,EAEF,GACE,CAACC,EAAYC,EAAOC,EAAUC,CAAQ,EAAE,MAAOC,GAAO,EAAQA,CAAG,MACjE,kBAAe,IAAI,UAAQD,CAAQ,EAAE,SAAS,CAAC,EAE/C,MAAO,CACL,QAAS,GAAGH,CAAU,IAAIC,CAAK,GAC/B,OAAQ,IAAI,EAAAH,QAAUI,EAAU,EAAE,EAAE,SAAS,EAAE,EAC/C,WAAAF,EACA,MAAAC,EACA,SAAU,IAAI,UAAQE,CAAQ,EAAE,SAAS,CAC3C,CAEJ,CAEA,GAAIV,EAAW,CACb,KAAM,CAAC,CAAkBO,EAAYC,EAAOC,CAAQ,EAAIH,EAExD,GAAI,CAACC,EAAYC,EAAOC,CAAQ,EAAE,MAAOE,GAAO,EAAQA,CAAG,EACzD,MAAO,CACL,QAAS,GAAGJ,CAAU,IAAIC,CAAK,GAC/B,OAAQ,IAAI,EAAAH,QAAUI,EAAU,EAAE,EAAE,SAAS,EAAE,EAC/C,WAAAF,EACA,MAAAC,CACF,CAEJ,CACF,MAAQ,CACN,OAAOd,CACT,CAEA,OAAOA,CACT",
|
|
6
|
+
"names": ["getTokenFromData_exports", "__export", "decodeData", "getTokenFromData", "__toCommonJS", "import_sdk_core", "import_bignumber", "import_enums", "import_decodePart", "import_addressIsValid", "noData", "data", "part", "i", "isTokenTransfer", "isNftTransfer", "isNftBurn", "encodedToken", "encodedAmount", "tokenId", "amount", "BigNumber", "decodedData", "collection", "nonce", "quantity", "receiver", "el"]
|
|
7
7
|
}
|
|
@@ -1,47 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
var getTransactionIconInfo_exports = {};
|
|
20
|
-
__export(getTransactionIconInfo_exports, {
|
|
21
|
-
getTransactionIconInfo: () => getTransactionIconInfo
|
|
22
|
-
});
|
|
23
|
-
module.exports = __toCommonJS(getTransactionIconInfo_exports);
|
|
24
|
-
var import_capitalize = require("../../../../utils/operations/capitalize");
|
|
25
|
-
var import_getTransactionMessages = require("./getTransactionMessages");
|
|
26
|
-
var import_getTransactionStatus = require("./getTransactionStatus");
|
|
27
|
-
const getTransactionIconInfo = (transaction) => {
|
|
28
|
-
const transactionMessages = (0, import_getTransactionMessages.getTransactionMessages)(transaction);
|
|
29
|
-
const { failed, invalid, pending } = (0, import_getTransactionStatus.getTransactionStatus)(transaction);
|
|
30
|
-
let icon = "";
|
|
31
|
-
if (failed) {
|
|
32
|
-
icon = "faTimes";
|
|
33
|
-
} else if (invalid) {
|
|
34
|
-
icon = "faBan";
|
|
35
|
-
} else if (pending) {
|
|
36
|
-
icon = "faHourglass";
|
|
37
|
-
}
|
|
38
|
-
const showErrorText = (failed || invalid) && transactionMessages.length > 0;
|
|
39
|
-
const errorText = showErrorText ? transactionMessages.join(",") : "";
|
|
40
|
-
const tooltip = `${(0, import_capitalize.capitalize)(transaction.status)} ${errorText}`;
|
|
41
|
-
return { icon, tooltip };
|
|
42
|
-
};
|
|
43
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
44
|
-
0 && (module.exports = {
|
|
45
|
-
getTransactionIconInfo
|
|
46
|
-
});
|
|
1
|
+
"use strict";var i=Object.defineProperty;var g=Object.getOwnPropertyDescriptor;var l=Object.getOwnPropertyNames;var m=Object.prototype.hasOwnProperty;var u=(t,o)=>{for(var r in o)i(t,r,{get:o[r],enumerable:!0})},x=(t,o,r,s)=>{if(o&&typeof o=="object"||typeof o=="function")for(let e of l(o))!m.call(t,e)&&e!==r&&i(t,e,{get:()=>o[e],enumerable:!(s=g(o,e))||s.enumerable});return t};var d=t=>x(i({},"__esModule",{value:!0}),t);var v={};u(v,{getTransactionIconInfo:()=>h});module.exports=d(v);var a=require("../../../../utils/operations/capitalize"),c=require("./getTransactionMessages"),f=require("./getTransactionStatus");const h=t=>{const o=(0,c.getTransactionMessages)(t),{failed:r,invalid:s,pending:e}=(0,f.getTransactionStatus)(t);let n="";r?n="faTimes":s?n="faBan":e&&(n="faHourglass");const T=(r||s)&&o.length>0?o.join(","):"",p=`${(0,a.capitalize)(t.status)} ${T}`;return{icon:n,tooltip:p}};0&&(module.exports={getTransactionIconInfo});
|
|
47
2
|
//# sourceMappingURL=getTransactionIconInfo.cjs.map
|
package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionIconInfo.cjs.map
CHANGED
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../src/utils/transactions/getInterpretedTransaction/helpers/getTransactionIconInfo.ts"],
|
|
4
4
|
"sourcesContent": ["import { ServerTransactionType } from 'types/serverTransactions.types';\nimport { capitalize } from 'utils/operations/capitalize';\nimport { getTransactionMessages } from './getTransactionMessages';\nimport { getTransactionStatus } from './getTransactionStatus';\n\nexport const getTransactionIconInfo = (transaction: ServerTransactionType) => {\n const transactionMessages = getTransactionMessages(transaction);\n\n const { failed, invalid, pending } = getTransactionStatus(transaction);\n\n let icon: string = '';\n\n if (failed) {\n icon = 'faTimes';\n } else if (invalid) {\n icon = 'faBan';\n } else if (pending) {\n icon = 'faHourglass';\n }\n\n const showErrorText = (failed || invalid) && transactionMessages.length > 0;\n const errorText = showErrorText ? transactionMessages.join(',') : '';\n\n const tooltip = `${capitalize(transaction.status)} ${errorText}`;\n\n return { icon, tooltip };\n};\n"],
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": []
|
|
5
|
+
"mappings": "yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,4BAAAE,IAAA,eAAAC,EAAAH,GACA,IAAAI,EAA2B,uCAC3BC,EAAuC,oCACvCC,EAAqC,kCAE9B,MAAMJ,EAA0BK,GAAuC,CAC5E,MAAMC,KAAsB,0BAAuBD,CAAW,EAExD,CAAE,OAAAE,EAAQ,QAAAC,EAAS,QAAAC,CAAQ,KAAI,wBAAqBJ,CAAW,EAErE,IAAIK,EAAe,GAEfH,EACFG,EAAO,UACEF,EACTE,EAAO,QACED,IACTC,EAAO,eAIT,MAAMC,GADiBJ,GAAUC,IAAYF,EAAoB,OAAS,EACxCA,EAAoB,KAAK,GAAG,EAAI,GAE5DM,EAAU,MAAG,cAAWP,EAAY,MAAM,CAAC,IAAIM,CAAS,GAE9D,MAAO,CAAE,KAAAD,EAAM,QAAAE,CAAQ,CACzB",
|
|
6
|
+
"names": ["getTransactionIconInfo_exports", "__export", "getTransactionIconInfo", "__toCommonJS", "import_capitalize", "import_getTransactionMessages", "import_getTransactionStatus", "transaction", "transactionMessages", "failed", "invalid", "pending", "icon", "errorText", "tooltip"]
|
|
7
7
|
}
|