@multiversx/sdk-dapp 5.3.0-alpha.6 → 5.3.0
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-22ELCCFJ.mjs +2 -0
- package/out/__chunks__/chunk-22ELCCFJ.mjs.map +7 -0
- package/out/__chunks__/{chunk-PSBUVISO.mjs → chunk-2JTLNZM3.mjs} +2 -2
- package/out/__chunks__/chunk-2JTLNZM3.mjs.map +7 -0
- package/out/__chunks__/{chunk-72VXBZOB.mjs → chunk-33MSDZAP.mjs} +2 -2
- package/out/__chunks__/{chunk-C3MV4DC2.mjs → chunk-3KFEBW7N.mjs} +2 -2
- package/out/__chunks__/chunk-3PAZABVI.mjs +2 -0
- package/out/__chunks__/chunk-3PAZABVI.mjs.map +7 -0
- package/out/__chunks__/chunk-3XTYIGW5.mjs +2 -0
- package/out/__chunks__/chunk-3XTYIGW5.mjs.map +7 -0
- package/out/__chunks__/{chunk-LE4PGU3R.mjs → chunk-4BOXOL6P.mjs} +2 -2
- package/out/__chunks__/{chunk-EA57OVAS.mjs → chunk-4POCTP6S.mjs} +2 -2
- package/out/__chunks__/{chunk-OLPFN3HZ.mjs → chunk-4SS6EY66.mjs} +2 -2
- package/out/__chunks__/{chunk-VQH3HUNE.mjs → chunk-4YLN3MHG.mjs} +2 -2
- package/out/__chunks__/{chunk-3E7GMJ7S.mjs → chunk-5JQ3V6QZ.mjs} +2 -2
- package/out/__chunks__/chunk-5JQ3V6QZ.mjs.map +7 -0
- package/out/__chunks__/{chunk-URJQWHBM.mjs → chunk-5KCP7UJT.mjs} +2 -2
- package/out/__chunks__/chunk-6MNQSWGO.mjs +2 -0
- package/out/__chunks__/chunk-6MNQSWGO.mjs.map +7 -0
- package/out/__chunks__/chunk-6SC2DWV6.mjs +2 -0
- package/out/__chunks__/{chunk-XQYCJNJJ.mjs → chunk-6WUHHOG2.mjs} +2 -2
- package/out/__chunks__/{chunk-NRXYSTRW.mjs → chunk-7B7XIPV2.mjs} +1 -1
- package/out/__chunks__/{chunk-NRXYSTRW.mjs.map → chunk-7B7XIPV2.mjs.map} +1 -1
- package/out/__chunks__/chunk-7EWMP5BY.mjs +2 -0
- package/out/__chunks__/{chunk-WTNH3ZF5.mjs.map → chunk-7EWMP5BY.mjs.map} +1 -1
- package/out/__chunks__/{chunk-NTOY6GTP.mjs → chunk-7JDTQFLQ.mjs} +2 -2
- package/out/__chunks__/{chunk-OAIHKC7S.mjs → chunk-7MOSAB64.mjs} +2 -2
- package/out/__chunks__/chunk-7UA7QAEF.mjs +2 -0
- package/out/__chunks__/chunk-7UA7QAEF.mjs.map +7 -0
- package/out/__chunks__/{chunk-OPBOGE6P.mjs → chunk-7ZIJXDPY.mjs} +2 -2
- package/out/__chunks__/{chunk-5HG4I6E4.mjs → chunk-AAQCK4UU.mjs} +2 -2
- package/out/__chunks__/{chunk-VRLS225Q.mjs → chunk-ABBDCZHP.mjs} +1 -1
- package/out/__chunks__/{chunk-VRLS225Q.mjs.map → chunk-ABBDCZHP.mjs.map} +1 -1
- package/out/__chunks__/chunk-ABNK74B7.mjs +2 -0
- package/out/__chunks__/{chunk-2GLDWT4B.mjs → chunk-AGO2Z4FM.mjs} +2 -2
- package/out/__chunks__/{chunk-2GLDWT4B.mjs.map → chunk-AGO2Z4FM.mjs.map} +1 -1
- package/out/__chunks__/chunk-AQNUGUG3.mjs +2 -0
- package/out/__chunks__/{chunk-IOAFE53I.mjs.map → chunk-AQNUGUG3.mjs.map} +2 -2
- package/out/__chunks__/chunk-AVXL7ZQK.mjs +2 -0
- package/out/__chunks__/{chunk-A3UPWVXW.mjs → chunk-AWQZ56BT.mjs} +2 -2
- package/out/__chunks__/chunk-B2RHOOA6.mjs +2 -0
- package/out/__chunks__/chunk-B6VRKK6A.mjs +2 -0
- package/out/__chunks__/chunk-B6VRKK6A.mjs.map +7 -0
- package/out/__chunks__/chunk-BENZKRAG.mjs +2 -0
- package/out/__chunks__/{chunk-OWT7X3WX.mjs.map → chunk-BENZKRAG.mjs.map} +2 -2
- package/out/__chunks__/{chunk-L77W75SG.mjs → chunk-BJOEWWLZ.mjs} +2 -2
- package/out/__chunks__/{chunk-USPDSDTM.mjs → chunk-BSFYNH6O.mjs} +2 -2
- package/out/__chunks__/{chunk-QFA5L2H2.mjs → chunk-BT2J2GH4.mjs} +2 -2
- package/out/__chunks__/{chunk-Y35Y44IS.mjs → chunk-C2FLFZOO.mjs} +2 -2
- package/out/__chunks__/chunk-CDWODCD7.mjs +2 -0
- package/out/__chunks__/chunk-CDWODCD7.mjs.map +7 -0
- package/out/__chunks__/chunk-CJTGYQ5L.mjs +2 -0
- package/out/__chunks__/{chunk-YA65N5RU.mjs → chunk-CUQBPPWE.mjs} +2 -2
- package/out/__chunks__/chunk-CZEUFCPN.mjs +2 -0
- package/out/__chunks__/chunk-CZEUFCPN.mjs.map +7 -0
- package/out/__chunks__/chunk-DBNPRNJV.mjs +2 -0
- package/out/__chunks__/chunk-DM3C2PPR.mjs +2 -0
- package/out/__chunks__/{chunk-TCDMXBPB.mjs → chunk-DRPJ3IFU.mjs} +2 -2
- package/out/__chunks__/chunk-DRPJ3IFU.mjs.map +7 -0
- package/out/__chunks__/{chunk-3AM6IIKL.mjs → chunk-EG5H4QZV.mjs} +2 -2
- package/out/__chunks__/{chunk-XVCV7RBO.mjs → chunk-EGO5R7IZ.mjs} +2 -2
- package/out/__chunks__/chunk-F33ERG33.mjs +2 -0
- package/out/__chunks__/chunk-F33ERG33.mjs.map +7 -0
- package/out/__chunks__/{chunk-DRYIE3UL.mjs → chunk-FPKFAJNW.mjs} +2 -2
- package/out/__chunks__/chunk-FTJF3Q3P.mjs +2 -0
- package/out/__chunks__/chunk-FTJF3Q3P.mjs.map +7 -0
- package/out/__chunks__/{chunk-QRHZMPWE.mjs → chunk-G5MRPRWI.mjs} +2 -2
- package/out/__chunks__/{chunk-OKMJPNMX.mjs → chunk-GMQMFRLW.mjs} +2 -2
- package/out/__chunks__/{chunk-4MWQKLVG.mjs → chunk-GNHD56P3.mjs} +2 -2
- package/out/__chunks__/{chunk-ANKD2C6B.mjs → chunk-H24QGHAH.mjs} +2 -2
- package/out/__chunks__/{chunk-6ACLOUQ3.mjs → chunk-H5NVCCUR.mjs} +2 -2
- package/out/__chunks__/{chunk-EAXWH64Z.mjs → chunk-IS3TZ43F.mjs} +2 -2
- package/out/__chunks__/{chunk-RFQXJRMS.mjs → chunk-ITZJPUDG.mjs} +2 -2
- package/out/__chunks__/chunk-J62UCITY.mjs +2 -0
- package/out/__chunks__/chunk-J62UCITY.mjs.map +7 -0
- package/out/__chunks__/{chunk-KGYBKVR3.mjs → chunk-J76GINM5.mjs} +2 -2
- package/out/__chunks__/chunk-J7LJM36W.mjs +2 -0
- package/out/__chunks__/chunk-J7LJM36W.mjs.map +7 -0
- package/out/__chunks__/{chunk-FCNBXWBC.mjs → chunk-JBZR35CW.mjs} +2 -2
- package/out/__chunks__/chunk-JFP2BITI.mjs +2 -0
- package/out/__chunks__/chunk-JFP2BITI.mjs.map +7 -0
- package/out/__chunks__/chunk-JLDDNS5Y.mjs +2 -0
- package/out/__chunks__/{chunk-CO23VS2O.mjs → chunk-KDMYDO7R.mjs} +2 -2
- package/out/__chunks__/{chunk-M6GCNWI7.mjs → chunk-KQV57RV3.mjs} +2 -2
- package/out/__chunks__/{chunk-7FEQBPHA.mjs → chunk-LNXZQGLV.mjs} +2 -2
- package/out/__chunks__/{chunk-UIMGXUAR.mjs → chunk-LS425JKB.mjs} +2 -2
- package/out/__chunks__/{chunk-XM6YSGYU.mjs → chunk-MBNRIXNQ.mjs} +2 -2
- package/out/__chunks__/{chunk-XWNIFFEU.mjs → chunk-MCXQTDAK.mjs} +2 -2
- package/out/__chunks__/{chunk-B2RDSGON.mjs → chunk-MH3RDOC5.mjs} +2 -2
- package/out/__chunks__/{chunk-VKDH4PYW.mjs → chunk-MODSKR2X.mjs} +2 -2
- package/out/__chunks__/{chunk-LR5LMK7M.mjs → chunk-MQJQMAW3.mjs} +2 -2
- package/out/__chunks__/{chunk-XSVEDMAO.mjs → chunk-MRIKSX32.mjs} +2 -2
- package/out/__chunks__/chunk-NI7XCWV5.mjs +2 -0
- package/out/__chunks__/{chunk-GLXG5BES.mjs → chunk-NWJYEKI2.mjs} +2 -2
- package/out/__chunks__/{chunk-GLXG5BES.mjs.map → chunk-NWJYEKI2.mjs.map} +3 -3
- package/out/__chunks__/chunk-NZFUM3VC.mjs +2 -0
- package/out/__chunks__/chunk-O5MS2L3D.mjs +2 -0
- package/out/__chunks__/chunk-OCTCR7WH.mjs +2 -0
- package/out/__chunks__/{chunk-XHNCG7X2.mjs → chunk-OEXP5D2Q.mjs} +2 -2
- package/out/__chunks__/{chunk-JSSRK6RP.mjs → chunk-OFVUWY2K.mjs} +2 -2
- package/out/__chunks__/chunk-OILJUNFX.mjs +2 -0
- package/out/__chunks__/chunk-OILJUNFX.mjs.map +7 -0
- package/out/__chunks__/{chunk-CM76HFF3.mjs → chunk-ONSO75O2.mjs} +2 -2
- package/out/__chunks__/{chunk-EEM4GSQH.mjs → chunk-P6HDK262.mjs} +2 -2
- package/out/__chunks__/{chunk-7NNMFFHI.mjs → chunk-PBXNAY2B.mjs} +2 -2
- package/out/__chunks__/chunk-PBXNAY2B.mjs.map +7 -0
- package/out/__chunks__/chunk-PDMEOQYV.mjs +2 -0
- package/out/__chunks__/{chunk-MJQ6VPEP.mjs → chunk-PGAJUAPG.mjs} +2 -2
- package/out/__chunks__/{chunk-WE7YOBO7.mjs → chunk-PMATTOPD.mjs} +2 -2
- package/out/__chunks__/{chunk-KDWLSBQB.mjs → chunk-PMHRZ5Y7.mjs} +1 -1
- package/out/__chunks__/{chunk-KDWLSBQB.mjs.map → chunk-PMHRZ5Y7.mjs.map} +1 -1
- package/out/__chunks__/chunk-PNSB4HHK.mjs +2 -0
- package/out/__chunks__/{chunk-ELQR4QMU.mjs → chunk-PQVNWTWJ.mjs} +2 -2
- package/out/__chunks__/chunk-PSJELFEY.mjs +2 -0
- package/out/__chunks__/chunk-PSJELFEY.mjs.map +7 -0
- package/out/__chunks__/chunk-QA23TRYO.mjs +2 -0
- package/out/__chunks__/chunk-QBLEV36D.mjs +2 -0
- package/out/__chunks__/chunk-QBLEV36D.mjs.map +7 -0
- package/out/__chunks__/{chunk-CSHDEYWB.mjs → chunk-QDX2JCQH.mjs} +2 -2
- package/out/__chunks__/chunk-QHXZ354C.mjs +2 -0
- package/out/__chunks__/chunk-QHXZ354C.mjs.map +7 -0
- package/out/__chunks__/chunk-RSAYFMIM.mjs +2 -0
- package/out/__chunks__/chunk-RUE5QYSG.mjs +2 -0
- package/out/__chunks__/{chunk-GFIRL35A.mjs.map → chunk-RUE5QYSG.mjs.map} +3 -3
- package/out/__chunks__/chunk-S2PZQQCM.mjs +2 -0
- package/out/__chunks__/chunk-SHNAULDW.mjs +2 -0
- package/out/__chunks__/{chunk-KUYGZRX5.mjs → chunk-SKBL5PDX.mjs} +2 -2
- package/out/__chunks__/{chunk-MO574AMT.mjs → chunk-SR7TVATV.mjs} +2 -2
- package/out/__chunks__/{chunk-AQFEJ73K.mjs → chunk-STBF3KTB.mjs} +2 -2
- package/out/__chunks__/chunk-SVR3TUOY.mjs +1 -0
- package/out/__chunks__/chunk-TKTDGTN7.mjs +2 -0
- package/out/__chunks__/chunk-TKTDGTN7.mjs.map +7 -0
- package/out/__chunks__/chunk-TZTP57OK.mjs +2 -0
- package/out/__chunks__/{chunk-HUKNZQWM.mjs.map → chunk-TZTP57OK.mjs.map} +3 -3
- package/out/__chunks__/{chunk-JL3RLYAR.mjs → chunk-U24DHQDI.mjs} +2 -2
- package/out/__chunks__/{chunk-PLVWSVIH.mjs → chunk-UCI2LZF5.mjs} +2 -2
- package/out/__chunks__/{chunk-O7LCTC4K.mjs → chunk-UFDELD3B.mjs} +1 -1
- package/out/__chunks__/chunk-UFDELD3B.mjs.map +7 -0
- package/out/__chunks__/chunk-VGO3VD5N.mjs +2 -0
- package/out/__chunks__/chunk-VGO3VD5N.mjs.map +7 -0
- package/out/__chunks__/{chunk-JYHSZ26T.mjs → chunk-W4QMH63P.mjs} +2 -2
- package/out/__chunks__/{chunk-SW5MQMBX.mjs → chunk-W6M5WJ3V.mjs} +2 -2
- package/out/__chunks__/{chunk-D2HBK3TS.mjs → chunk-WBF6D374.mjs} +2 -2
- package/out/__chunks__/chunk-WC6DHH2B.mjs +2 -0
- package/out/__chunks__/chunk-WC6DHH2B.mjs.map +7 -0
- package/out/__chunks__/{chunk-3QWTD55I.mjs → chunk-WG5ONYK4.mjs} +2 -2
- package/out/__chunks__/{chunk-K373M2BG.mjs → chunk-WS2MTQIC.mjs} +2 -2
- package/out/__chunks__/chunk-WWYX7L4I.mjs +2 -0
- package/out/__chunks__/chunk-WWYX7L4I.mjs.map +7 -0
- package/out/__chunks__/{chunk-ES6J6GSR.mjs → chunk-WXC5EE2F.mjs} +2 -2
- package/out/__chunks__/{chunk-QTKK6OSJ.mjs → chunk-XDBKPKTG.mjs} +2 -2
- package/out/__chunks__/{chunk-6PEHFWTT.mjs → chunk-XG6DEDBU.mjs} +2 -2
- package/out/__chunks__/chunk-YJCTRUJT.mjs +2 -0
- package/out/__chunks__/{chunk-BRJNX4JF.mjs.map → chunk-YJCTRUJT.mjs.map} +2 -2
- package/out/__chunks__/{chunk-53S7ZWAH.mjs → chunk-YLD26I5H.mjs} +2 -2
- package/out/__chunks__/chunk-YPV63DYG.mjs +2 -0
- package/out/__chunks__/chunk-YPV63DYG.mjs.map +7 -0
- package/out/__chunks__/chunk-YQDEE6WP.mjs +2 -0
- package/out/__chunks__/chunk-YQDEE6WP.mjs.map +7 -0
- package/out/__chunks__/{chunk-UZTMRUVT.mjs → chunk-ZATPIKZ2.mjs} +2 -2
- package/out/__chunks__/{chunk-RIVS6HJ6.mjs → chunk-ZGMF4QYV.mjs} +2 -2
- package/out/__chunks__/chunk-ZGMF4QYV.mjs.map +7 -0
- package/out/__chunks__/chunk-ZKBKYLAP.mjs +2 -0
- package/out/__chunks__/chunk-ZKBKYLAP.mjs.map +7 -0
- package/out/__chunks__/chunk-ZNPHUPAP.mjs +2 -0
- package/out/__chunks__/chunk-ZNYD34VT.mjs +2 -0
- package/out/__chunks__/chunk-ZZ6Z3QEX.mjs +2 -0
- package/out/apiCalls/account/getAccountFromApi.cjs +1 -59
- package/out/apiCalls/account/getAccountFromApi.cjs.map +2 -2
- package/out/apiCalls/account/getAccountFromApi.mjs +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/account/index.mjs +1 -1
- 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/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/getPersistedToken.mjs +1 -1
- 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.mjs +1 -1
- package/out/apiCalls/transactions/getTransactions.cjs +1 -76
- package/out/apiCalls/transactions/getTransactions.cjs.map +2 -2
- package/out/apiCalls/transactions/getTransactionsByHashes.cjs +1 -47
- package/out/apiCalls/transactions/getTransactionsByHashes.cjs.map +3 -3
- 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/axiosFetcher.mjs +1 -1
- package/out/apiCalls/utils/axiosInstance.cjs +1 -105
- package/out/apiCalls/utils/axiosInstance.cjs.map +3 -3
- package/out/apiCalls/utils/axiosInstance.mjs +1 -1
- 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/utils/index.mjs +1 -1
- 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/network.constants.mjs +1 -1
- 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 +3 -3
- 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.components.cjs +2 -0
- package/out/lib/sdkDappUI.components.cjs.map +7 -0
- package/out/lib/sdkDappUI.components.d.ts +1 -0
- package/out/lib/sdkDappUI.components.mjs +2 -0
- package/out/lib/sdkDappUI.components.mjs.map +7 -0
- package/out/lib/sdkDappUi.cjs +1 -53
- package/out/lib/sdkDappUi.cjs.map +3 -3
- package/out/lib/sdkDappUi.d.ts +0 -1
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 -88
- package/out/managers/ToastManager/helpers/createToastsFromTransactions.cjs.map +3 -3
- package/out/managers/ToastManager/helpers/createToastsFromTransactions.d.ts +1 -3
- 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/createTransactionToast.mjs +1 -1
- package/out/managers/ToastManager/helpers/getToastDataStateByStatus.cjs +1 -104
- package/out/managers/ToastManager/helpers/getToastDataStateByStatus.cjs.map +3 -3
- package/out/managers/ToastManager/helpers/getToastDataStateByStatus.d.ts +0 -6
- package/out/managers/ToastManager/helpers/getToastDataStateByStatus.mjs +1 -1
- package/out/managers/ToastManager/helpers/getToastTransactionsStatus.cjs +1 -40
- package/out/managers/ToastManager/helpers/getToastTransactionsStatus.cjs.map +2 -2
- package/out/managers/ToastManager/helpers/getToastTransactionsStatus.mjs +1 -1
- package/out/managers/ToastManager/helpers/tests/mocks/transactions.d.ts +0 -20
- 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/tests/helpers/createStoreStub.d.ts +2 -0
- 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/getTransactionsStatus.mjs +1 -1
- 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 +3 -3
- package/out/managers/UnlockPanelManager/UnlockPanelManager.d.ts +0 -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/helpers/getIsSimpleLoginCallback.cjs +2 -0
- package/out/managers/UnlockPanelManager/helpers/getIsSimpleLoginCallback.cjs.map +7 -0
- package/out/managers/UnlockPanelManager/helpers/getIsSimpleLoginCallback.d.ts +7 -0
- package/out/managers/UnlockPanelManager/helpers/getIsSimpleLoginCallback.mjs +2 -0
- package/out/managers/UnlockPanelManager/helpers/getProviderList.cjs +2 -0
- package/out/managers/UnlockPanelManager/helpers/getProviderList.cjs.map +7 -0
- package/out/managers/UnlockPanelManager/helpers/getProviderList.d.ts +2 -0
- package/out/managers/UnlockPanelManager/helpers/getProviderList.mjs +2 -0
- 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 +3 -3
- package/out/managers/internal/LedgerConnectStateManager/LedgerConnectStateManager.d.ts +1 -1
- 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 +3 -3
- 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 +3 -3
- package/out/managers/internal/SignTransactionsStateManager/SignTransactionsStateManager.d.ts +5 -5
- 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/index.mjs +1 -1
- package/out/managers/internal/SignTransactionsStateManager/types/signTransactionsPanel.types.cjs +1 -36
- package/out/managers/internal/SignTransactionsStateManager/types/signTransactionsPanel.types.cjs.map +3 -3
- package/out/managers/internal/SignTransactionsStateManager/types/signTransactionsPanel.types.d.ts +4 -8
- package/out/managers/internal/SignTransactionsStateManager/types/signTransactionsPanel.types.mjs +1 -1
- 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 +3 -3
- package/out/methods/initApp/initApp.types.d.ts +1 -1
- package/out/methods/initApp/websocket/initializeWebsocketConnection.cjs +1 -126
- package/out/methods/initApp/websocket/initializeWebsocketConnection.cjs.map +3 -3
- 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/checkTransactionStatus.cjs +1 -43
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkTransactionStatus.cjs.map +3 -3
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkTransactionStatus.mjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/checkBatch.cjs +2 -0
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/checkBatch.cjs.map +7 -0
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/{checkBatch.d.ts → helpers/checkBatch/checkBatch.d.ts} +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/checkBatch.mjs +2 -0
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/helpers/runSessionCallbacks.cjs +2 -0
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/{runSessionCallbacks.cjs.map → helpers/checkBatch/helpers/runSessionCallbacks.cjs.map} +3 -3
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/{runSessionCallbacks.d.ts → helpers/checkBatch/helpers/runSessionCallbacks.d.ts} +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/helpers/runSessionCallbacks.mjs +2 -0
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/helpers/runTransactionFailure.cjs +2 -0
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/helpers/runTransactionFailure.cjs.map +7 -0
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/helpers/runTransactionFailure.d.ts +5 -0
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/helpers/runTransactionFailure.mjs +2 -0
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/helpers/runTransactionStatusUpdate.cjs +2 -0
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/helpers/runTransactionStatusUpdate.cjs.map +7 -0
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/helpers/runTransactionStatusUpdate.d.ts +13 -0
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/helpers/runTransactionStatusUpdate.mjs +2 -0
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/helpers/updateTransactionAndSessionStatus.cjs +2 -0
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/helpers/updateTransactionAndSessionStatus.cjs.map +7 -0
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/helpers/updateTransactionAndSessionStatus.d.ts +3 -0
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/helpers/updateTransactionAndSessionStatus.mjs +2 -0
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/helpers/updateTransactionAndSessionStatus.mjs.map +7 -0
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/index.cjs +2 -0
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/index.cjs.map +7 -0
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/index.d.ts +1 -0
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/index.mjs +2 -0
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/index.mjs.map +7 -0
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/getPendingTransactions.cjs +2 -0
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/{getPendingTransactions.cjs.map → helpers/getPendingTransactions.cjs.map} +3 -3
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/{getPendingTransactions.d.ts → helpers/getPendingTransactions.d.ts} +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/getPendingTransactions.mjs +2 -0
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/getPendingTransactions.mjs.map +7 -0
- 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/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 +3 -3
- 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/helpers/getMultisigLoginToken.cjs +2 -0
- package/out/providers/DappProvider/helpers/login/helpers/getMultisigLoginToken.cjs.map +7 -0
- package/out/providers/DappProvider/helpers/login/helpers/getMultisigLoginToken.d.ts +7 -0
- package/out/providers/DappProvider/helpers/login/helpers/getMultisigLoginToken.mjs +2 -0
- package/out/providers/DappProvider/helpers/login/helpers/getMultisigLoginToken.mjs.map +7 -0
- package/out/providers/DappProvider/helpers/login/helpers/loginWithNativeToken.cjs +2 -0
- package/out/providers/DappProvider/helpers/login/helpers/loginWithNativeToken.cjs.map +7 -0
- package/out/providers/DappProvider/helpers/login/helpers/loginWithNativeToken.d.ts +10 -0
- package/out/providers/DappProvider/helpers/login/helpers/loginWithNativeToken.mjs +2 -0
- package/out/providers/DappProvider/helpers/login/helpers/loginWithNativeToken.mjs.map +7 -0
- package/out/providers/DappProvider/helpers/login/helpers/loginWithoutNativeToken.cjs +2 -0
- package/out/providers/DappProvider/helpers/login/helpers/loginWithoutNativeToken.cjs.map +7 -0
- package/out/providers/DappProvider/helpers/login/helpers/loginWithoutNativeToken.d.ts +4 -0
- package/out/providers/DappProvider/helpers/login/helpers/loginWithoutNativeToken.mjs +2 -0
- package/out/providers/DappProvider/helpers/login/helpers/loginWithoutNativeToken.mjs.map +7 -0
- package/out/providers/DappProvider/helpers/login/login.cjs +1 -121
- package/out/providers/DappProvider/helpers/login/login.cjs.map +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 -187
- 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 +3 -3
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/getCommonData.d.ts +1 -1
- 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/decodeDataField.mjs +1 -1
- 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/getGasPriceOptions.cjs +2 -0
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getGasPriceOptions.cjs.map +7 -0
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/{getPpuOptions.d.ts → getGasPriceOptions.d.ts} +2 -2
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getGasPriceOptions.mjs +2 -0
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getGasPriceOptions.mjs.map +7 -0
- 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/getRecommendedGasPrice.cjs +1 -43
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getRecommendedGasPrice.cjs.map +3 -3
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getRecommendedGasPrice.d.ts +1 -2
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getRecommendedGasPrice.mjs +1 -1
- 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/getCommonData/tests/mockGetCommonDataInput.d.ts +6 -3
- 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/getMultiEsdtTransferData.mjs +1 -1
- 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/getTokenFromData.mjs +1 -1
- 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/parseMultiEsdtTransferData.mjs +1 -1
- 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/getMultiEsdtTransferData/helpers/parseMultiEsdtTransferDataForMultipleTransactions.mjs +1 -1
- 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 +3 -3
- 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/decodeLoginToken.mjs +1 -1
- package/out/services/nativeAuth/helpers/decodeNativeAuthToken.cjs +1 -72
- package/out/services/nativeAuth/helpers/decodeNativeAuthToken.cjs.map +2 -2
- package/out/services/nativeAuth/helpers/decodeNativeAuthToken.mjs +1 -1
- 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/helpers/index.mjs +1 -1
- 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/getTokenExpiration.mjs +1 -1
- 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 -130
- package/out/store/actions/account/accountActions.cjs.map +2 -2
- 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 -73
- package/out/store/actions/cache/cacheActions.cjs.map +2 -2
- 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 -78
- package/out/store/actions/config/configActions.cjs.map +2 -2
- 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 -169
- package/out/store/actions/loginInfo/loginInfoActions.cjs.map +2 -2
- 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 -47
- package/out/store/actions/network/networkActions.cjs.map +2 -2
- 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 -55
- package/out/store/actions/sharedActions/sharedActions.cjs.map +2 -2
- 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 -195
- package/out/store/actions/toasts/toastsActions.cjs.map +2 -2
- 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/transactionStateByStatus.mjs +1 -1
- package/out/store/actions/transactions/transactionsActions.cjs +1 -158
- package/out/store/actions/transactions/transactionsActions.cjs.map +2 -2
- 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 -41
- package/out/store/actions/ui/uiActions.cjs.map +2 -2
- 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/transactionsSelector.mjs +1 -1
- 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 +3 -3
- package/out/store/slices/toast/toastSlice.types.d.ts +1 -1
- 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 -85
- package/out/store/store.cjs.map +2 -2
- 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 +3 -3
- package/out/types/enums.types.d.ts +7 -0
- package/out/types/enums.types.mjs +1 -1
- package/out/types/index.cjs +1 -34
- package/out/types/index.cjs.map +2 -2
- package/out/types/index.mjs +1 -1
- 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 +3 -3
- package/out/types/serverTransactions.types.d.ts +2 -2
- package/out/types/serverTransactions.types.mjs +1 -1
- 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 +3 -3
- package/out/types/transactions.types.d.ts +1 -0
- package/out/types/transactions.types.mjs.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/fetchAccount.mjs +1 -1
- 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 +3 -3
- package/out/utils/decoders/base64Utils.d.ts +1 -1
- package/out/utils/decoders/base64Utils.mjs +1 -1
- 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/index.mjs +1 -1
- 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/getDecodedDataField.mjs +1 -1
- 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/decodeByMethod.mjs +1 -1
- 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/decodeHighlight.mjs +1 -1
- 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/getDecodedParts.mjs +1 -1
- 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/getDisplayValueAndValidationWarnings.mjs +1 -1
- 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/getSmartDecodedParts.mjs +1 -1
- 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/helpers/index.mjs +1 -1
- package/out/utils/transactions/getDecodedDataField/index.cjs +1 -24
- package/out/utils/transactions/getDecodedDataField/index.cjs.map +2 -2
- package/out/utils/transactions/getDecodedDataField/index.mjs +1 -1
- package/out/utils/transactions/getExplorerLink.cjs +1 -49
- package/out/utils/transactions/getExplorerLink.cjs.map +3 -3
- package/out/utils/transactions/getExplorerLink.mjs +1 -1
- 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/constants.mjs +1 -1
- 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/getTransactionValue.mjs +1 -1
- 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/getValueFromDataField.mjs +1 -1
- 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/getValueFromOperations.mjs +1 -1
- 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/getVisibleOperations.mjs +1 -1
- 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/helpers/index.mjs +1 -1
- 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/index.mjs +1 -1
- 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 +3 -3
- 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/getTokenFromData.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionIconInfo.cjs +1 -46
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionIconInfo.cjs.map +3 -3
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionIconInfo.d.ts +2 -1
- 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/getTransactionMethod.mjs +1 -1
- 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/getTransactionStatus.mjs +1 -1
- 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/getTransactionTransferType.mjs +1 -1
- 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/getIsTransactionInvalidOrFailed.mjs +1 -1
- 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 +3 -3
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAsset.mjs +1 -1
- 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 +3 -3
- package/out/utils/transactions/getTransactionsHistory/helpers/mapServerTransactionsToListItems.d.ts +1 -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/helpers/mapTransactionToListItem.mjs +1 -1
- 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/transactions/isGuardianTx.mjs +1 -1
- 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/index.mjs +1 -1
- package/out/utils/validation/isContract.cjs +1 -95
- package/out/utils/validation/isContract.cjs.map +3 -3
- package/out/utils/validation/isContract.mjs +1 -1
- 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 +3 -3
- package/out/utils/walletconnect/__sdkWalletconnectProvider.d.ts +1 -1
- package/out/utils/walletconnect/__sdkWalletconnectProvider.mjs +1 -1
- 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 +4 -4
- package/out/__chunks__/chunk-2VKH6PVD.mjs +0 -2
- package/out/__chunks__/chunk-3E7GMJ7S.mjs.map +0 -7
- package/out/__chunks__/chunk-5TZDBT33.mjs +0 -2
- package/out/__chunks__/chunk-7CELSV4S.mjs +0 -2
- package/out/__chunks__/chunk-7CELSV4S.mjs.map +0 -7
- package/out/__chunks__/chunk-7NNMFFHI.mjs.map +0 -7
- package/out/__chunks__/chunk-7PTSMKMZ.mjs +0 -2
- package/out/__chunks__/chunk-BRJ6NMRW.mjs +0 -2
- package/out/__chunks__/chunk-BRJNX4JF.mjs +0 -2
- package/out/__chunks__/chunk-BYZPMZZS.mjs +0 -2
- package/out/__chunks__/chunk-D2JYGLAC.mjs +0 -2
- package/out/__chunks__/chunk-D5MAPHRK.mjs +0 -2
- package/out/__chunks__/chunk-D5MAPHRK.mjs.map +0 -7
- package/out/__chunks__/chunk-DGMI66QS.mjs +0 -2
- package/out/__chunks__/chunk-DGMI66QS.mjs.map +0 -7
- package/out/__chunks__/chunk-FD3HLEX7.mjs +0 -2
- package/out/__chunks__/chunk-FD3HLEX7.mjs.map +0 -7
- package/out/__chunks__/chunk-FGFCIIYV.mjs +0 -2
- package/out/__chunks__/chunk-FINV2KVP.mjs +0 -2
- package/out/__chunks__/chunk-FINV2KVP.mjs.map +0 -7
- package/out/__chunks__/chunk-FO4U4FCJ.mjs +0 -1
- package/out/__chunks__/chunk-G7GU37XI.mjs +0 -2
- package/out/__chunks__/chunk-GFIRL35A.mjs +0 -2
- package/out/__chunks__/chunk-GZFPCYQ3.mjs +0 -2
- package/out/__chunks__/chunk-GZFPCYQ3.mjs.map +0 -7
- package/out/__chunks__/chunk-HIDKYPJS.mjs +0 -2
- package/out/__chunks__/chunk-HIDKYPJS.mjs.map +0 -7
- package/out/__chunks__/chunk-HUKNZQWM.mjs +0 -2
- package/out/__chunks__/chunk-I4X3MUEG.mjs +0 -2
- package/out/__chunks__/chunk-I4X3MUEG.mjs.map +0 -7
- package/out/__chunks__/chunk-IIGV3WGH.mjs +0 -2
- package/out/__chunks__/chunk-IOAFE53I.mjs +0 -2
- package/out/__chunks__/chunk-IQSRNUGI.mjs +0 -2
- package/out/__chunks__/chunk-IVIMZBL3.mjs +0 -2
- package/out/__chunks__/chunk-IVIMZBL3.mjs.map +0 -7
- package/out/__chunks__/chunk-K3XKXXVY.mjs +0 -2
- package/out/__chunks__/chunk-K3XKXXVY.mjs.map +0 -7
- package/out/__chunks__/chunk-KD2DREQH.mjs +0 -2
- package/out/__chunks__/chunk-KD2DREQH.mjs.map +0 -7
- package/out/__chunks__/chunk-KFBY5KJV.mjs +0 -2
- package/out/__chunks__/chunk-LN5UXO64.mjs +0 -2
- package/out/__chunks__/chunk-LN5UXO64.mjs.map +0 -7
- package/out/__chunks__/chunk-NK5Y3RLY.mjs +0 -2
- package/out/__chunks__/chunk-NK5Y3RLY.mjs.map +0 -7
- package/out/__chunks__/chunk-O7LCTC4K.mjs.map +0 -7
- package/out/__chunks__/chunk-OLOCTHIE.mjs +0 -2
- package/out/__chunks__/chunk-OLOCTHIE.mjs.map +0 -7
- package/out/__chunks__/chunk-OWT7X3WX.mjs +0 -2
- package/out/__chunks__/chunk-PHOF3Z5D.mjs +0 -2
- package/out/__chunks__/chunk-PHOF3Z5D.mjs.map +0 -7
- package/out/__chunks__/chunk-PSBUVISO.mjs.map +0 -7
- package/out/__chunks__/chunk-PYA4FNSG.mjs +0 -2
- package/out/__chunks__/chunk-PYA4FNSG.mjs.map +0 -7
- package/out/__chunks__/chunk-RIVS6HJ6.mjs.map +0 -7
- package/out/__chunks__/chunk-TCDMXBPB.mjs.map +0 -7
- package/out/__chunks__/chunk-TD7DMFGX.mjs +0 -2
- package/out/__chunks__/chunk-TD7DMFGX.mjs.map +0 -7
- package/out/__chunks__/chunk-TI37DKBT.mjs +0 -2
- package/out/__chunks__/chunk-TI37DKBT.mjs.map +0 -7
- package/out/__chunks__/chunk-UIWCJ3CV.mjs +0 -2
- package/out/__chunks__/chunk-UYAU6WUT.mjs +0 -2
- package/out/__chunks__/chunk-V34ACW7K.mjs +0 -2
- package/out/__chunks__/chunk-VJ6JOIYZ.mjs +0 -2
- package/out/__chunks__/chunk-VOCTKXHT.mjs +0 -2
- package/out/__chunks__/chunk-WCENKLIK.mjs +0 -2
- package/out/__chunks__/chunk-WCENKLIK.mjs.map +0 -7
- package/out/__chunks__/chunk-WTNH3ZF5.mjs +0 -2
- package/out/__chunks__/chunk-X4E5DX5G.mjs +0 -2
- package/out/__chunks__/chunk-XJPXTYIE.mjs +0 -2
- package/out/__chunks__/chunk-Y3BNMQFP.mjs +0 -2
- package/out/__chunks__/chunk-YCRNNRMV.mjs +0 -2
- package/out/__chunks__/chunk-Z4UTQKBX.mjs +0 -2
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkBatch.cjs +0 -160
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkBatch.cjs.map +0 -7
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkBatch.mjs +0 -2
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/getPendingTransactions.cjs +0 -41
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/getPendingTransactions.mjs +0 -2
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/manageFailedTransactions.cjs +0 -68
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/manageFailedTransactions.cjs.map +0 -7
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/manageFailedTransactions.d.ts +0 -6
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/manageFailedTransactions.mjs +0 -2
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/runSessionCallbacks.cjs +0 -50
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/runSessionCallbacks.mjs +0 -2
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/updateTransactionAndSessionStatus.cjs +0 -50
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/updateTransactionAndSessionStatus.cjs.map +0 -7
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/updateTransactionAndSessionStatus.d.ts +0 -3
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/updateTransactionAndSessionStatus.mjs +0 -2
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getPpuOptions.cjs +0 -93
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getPpuOptions.cjs.map +0 -7
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getPpuOptions.mjs +0 -2
- /package/out/__chunks__/{chunk-72VXBZOB.mjs.map → chunk-33MSDZAP.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-C3MV4DC2.mjs.map → chunk-3KFEBW7N.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-LE4PGU3R.mjs.map → chunk-4BOXOL6P.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-EA57OVAS.mjs.map → chunk-4POCTP6S.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-OLPFN3HZ.mjs.map → chunk-4SS6EY66.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-VQH3HUNE.mjs.map → chunk-4YLN3MHG.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-URJQWHBM.mjs.map → chunk-5KCP7UJT.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-Z4UTQKBX.mjs.map → chunk-6SC2DWV6.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-XQYCJNJJ.mjs.map → chunk-6WUHHOG2.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-NTOY6GTP.mjs.map → chunk-7JDTQFLQ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-OAIHKC7S.mjs.map → chunk-7MOSAB64.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-OPBOGE6P.mjs.map → chunk-7ZIJXDPY.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-5HG4I6E4.mjs.map → chunk-AAQCK4UU.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-BYZPMZZS.mjs.map → chunk-ABNK74B7.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-VJ6JOIYZ.mjs.map → chunk-AVXL7ZQK.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-A3UPWVXW.mjs.map → chunk-AWQZ56BT.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-FGFCIIYV.mjs.map → chunk-B2RHOOA6.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-L77W75SG.mjs.map → chunk-BJOEWWLZ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-USPDSDTM.mjs.map → chunk-BSFYNH6O.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-QFA5L2H2.mjs.map → chunk-BT2J2GH4.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-Y35Y44IS.mjs.map → chunk-C2FLFZOO.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-5TZDBT33.mjs.map → chunk-CJTGYQ5L.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-YA65N5RU.mjs.map → chunk-CUQBPPWE.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-IQSRNUGI.mjs.map → chunk-DBNPRNJV.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-IIGV3WGH.mjs.map → chunk-DM3C2PPR.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-3AM6IIKL.mjs.map → chunk-EG5H4QZV.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-XVCV7RBO.mjs.map → chunk-EGO5R7IZ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-DRYIE3UL.mjs.map → chunk-FPKFAJNW.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-QRHZMPWE.mjs.map → chunk-G5MRPRWI.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-OKMJPNMX.mjs.map → chunk-GMQMFRLW.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-4MWQKLVG.mjs.map → chunk-GNHD56P3.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ANKD2C6B.mjs.map → chunk-H24QGHAH.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-6ACLOUQ3.mjs.map → chunk-H5NVCCUR.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-EAXWH64Z.mjs.map → chunk-IS3TZ43F.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-RFQXJRMS.mjs.map → chunk-ITZJPUDG.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-KGYBKVR3.mjs.map → chunk-J76GINM5.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-FCNBXWBC.mjs.map → chunk-JBZR35CW.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-XJPXTYIE.mjs.map → chunk-JLDDNS5Y.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-CO23VS2O.mjs.map → chunk-KDMYDO7R.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-M6GCNWI7.mjs.map → chunk-KQV57RV3.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-7FEQBPHA.mjs.map → chunk-LNXZQGLV.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-UIMGXUAR.mjs.map → chunk-LS425JKB.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-XM6YSGYU.mjs.map → chunk-MBNRIXNQ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-XWNIFFEU.mjs.map → chunk-MCXQTDAK.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-B2RDSGON.mjs.map → chunk-MH3RDOC5.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-VKDH4PYW.mjs.map → chunk-MODSKR2X.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-LR5LMK7M.mjs.map → chunk-MQJQMAW3.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-XSVEDMAO.mjs.map → chunk-MRIKSX32.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-Y3BNMQFP.mjs.map → chunk-NI7XCWV5.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-X4E5DX5G.mjs.map → chunk-NZFUM3VC.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-V34ACW7K.mjs.map → chunk-O5MS2L3D.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-KFBY5KJV.mjs.map → chunk-OCTCR7WH.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-XHNCG7X2.mjs.map → chunk-OEXP5D2Q.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-JSSRK6RP.mjs.map → chunk-OFVUWY2K.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-CM76HFF3.mjs.map → chunk-ONSO75O2.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-EEM4GSQH.mjs.map → chunk-P6HDK262.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-2VKH6PVD.mjs.map → chunk-PDMEOQYV.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-MJQ6VPEP.mjs.map → chunk-PGAJUAPG.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-WE7YOBO7.mjs.map → chunk-PMATTOPD.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-BRJ6NMRW.mjs.map → chunk-PNSB4HHK.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ELQR4QMU.mjs.map → chunk-PQVNWTWJ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-YCRNNRMV.mjs.map → chunk-QA23TRYO.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-CSHDEYWB.mjs.map → chunk-QDX2JCQH.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-UYAU6WUT.mjs.map → chunk-RSAYFMIM.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-D2JYGLAC.mjs.map → chunk-S2PZQQCM.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-7PTSMKMZ.mjs.map → chunk-SHNAULDW.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-KUYGZRX5.mjs.map → chunk-SKBL5PDX.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-MO574AMT.mjs.map → chunk-SR7TVATV.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-AQFEJ73K.mjs.map → chunk-STBF3KTB.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-FO4U4FCJ.mjs.map → chunk-SVR3TUOY.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-JL3RLYAR.mjs.map → chunk-U24DHQDI.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-PLVWSVIH.mjs.map → chunk-UCI2LZF5.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-JYHSZ26T.mjs.map → chunk-W4QMH63P.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-SW5MQMBX.mjs.map → chunk-W6M5WJ3V.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-D2HBK3TS.mjs.map → chunk-WBF6D374.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-3QWTD55I.mjs.map → chunk-WG5ONYK4.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-K373M2BG.mjs.map → chunk-WS2MTQIC.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ES6J6GSR.mjs.map → chunk-WXC5EE2F.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-QTKK6OSJ.mjs.map → chunk-XDBKPKTG.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-6PEHFWTT.mjs.map → chunk-XG6DEDBU.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-53S7ZWAH.mjs.map → chunk-YLD26I5H.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-UZTMRUVT.mjs.map → chunk-ZATPIKZ2.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-UIWCJ3CV.mjs.map → chunk-ZNPHUPAP.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-G7GU37XI.mjs.map → chunk-ZNYD34VT.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-VOCTKXHT.mjs.map → chunk-ZZ6Z3QEX.mjs.map} +0 -0
- /package/out/{methods/trackTransactions/helpers/checkTransactionStatus/checkBatch.mjs.map → managers/UnlockPanelManager/helpers/getIsSimpleLoginCallback.mjs.map} +0 -0
- /package/out/{methods/trackTransactions/helpers/checkTransactionStatus/getPendingTransactions.mjs.map → managers/UnlockPanelManager/helpers/getProviderList.mjs.map} +0 -0
- /package/out/methods/trackTransactions/helpers/checkTransactionStatus/{manageFailedTransactions.mjs.map → helpers/checkBatch/checkBatch.mjs.map} +0 -0
- /package/out/methods/trackTransactions/helpers/checkTransactionStatus/{runSessionCallbacks.mjs.map → helpers/checkBatch/helpers/runSessionCallbacks.mjs.map} +0 -0
- /package/out/methods/trackTransactions/helpers/checkTransactionStatus/{updateTransactionAndSessionStatus.mjs.map → helpers/checkBatch/helpers/runTransactionFailure.mjs.map} +0 -0
- /package/out/{providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getPpuOptions.mjs.map → methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/helpers/runTransactionStatusUpdate.mjs.map} +0 -0
|
@@ -1,41 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
var getToastTransactionsStatus_exports = {};
|
|
20
|
-
__export(getToastTransactionsStatus_exports, {
|
|
21
|
-
getToastTransactionsStatus: () => getToastTransactionsStatus
|
|
22
|
-
});
|
|
23
|
-
module.exports = __toCommonJS(getToastTransactionsStatus_exports);
|
|
24
|
-
var import_transactionStateByStatus = require("../../../store/actions/transactions/transactionStateByStatus");
|
|
25
|
-
const getToastTransactionsStatus = (transactions) => {
|
|
26
|
-
const processedTransactions = transactions.filter(
|
|
27
|
-
(tx) => !(0, import_transactionStateByStatus.isServerTransactionPending)(tx.status)
|
|
28
|
-
).length;
|
|
29
|
-
const totalTransactions = transactions.length;
|
|
30
|
-
if (totalTransactions === 1 && processedTransactions === 1) {
|
|
31
|
-
return (0, import_transactionStateByStatus.isServerTransactionPending)(
|
|
32
|
-
transactions[0].status
|
|
33
|
-
) ? "Processing transaction" : "Transaction processed";
|
|
34
|
-
}
|
|
35
|
-
return `${processedTransactions} / ${totalTransactions} transactions processed`;
|
|
36
|
-
};
|
|
37
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
38
|
-
0 && (module.exports = {
|
|
39
|
-
getToastTransactionsStatus
|
|
40
|
-
});
|
|
1
|
+
"use strict";var e=Object.defineProperty;var i=Object.getOwnPropertyDescriptor;var c=Object.getOwnPropertyNames;var m=Object.prototype.hasOwnProperty;var u=(s,t)=>{for(var r in t)e(s,r,{get:t[r],enumerable:!0})},T=(s,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of c(t))!m.call(s,n)&&n!==r&&e(s,n,{get:()=>t[n],enumerable:!(a=i(t,n))||a.enumerable});return s};var S=s=>T(e({},"__esModule",{value:!0}),s);var f={};u(f,{getToastTransactionsStatus:()=>p});module.exports=S(f);var o=require("../../../store/actions/transactions/transactionStateByStatus");const p=s=>{const t=s.filter(a=>!(0,o.isServerTransactionPending)(a.status)).length,r=s.length;return r===1&&t===1?(0,o.isServerTransactionPending)(s[0].status)?"Processing transaction":"Transaction processed":`${t} / ${r} transactions processed`};0&&(module.exports={getToastTransactionsStatus});
|
|
41
2
|
//# sourceMappingURL=getToastTransactionsStatus.cjs.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../src/managers/ToastManager/helpers/getToastTransactionsStatus.ts"],
|
|
4
4
|
"sourcesContent": ["import { ITransactionListItem } from 'lib/sdkDappUi';\nimport { isServerTransactionPending } from 'store/actions/transactions/transactionStateByStatus';\nimport { TransactionServerStatusesEnum } from 'types';\n\nexport const getToastTransactionsStatus = (\n transactions: ITransactionListItem[]\n) => {\n const processedTransactions = transactions.filter(\n (tx) =>\n !isServerTransactionPending(tx.status as TransactionServerStatusesEnum)\n ).length;\n\n const totalTransactions = transactions.length;\n\n if (totalTransactions === 1 && processedTransactions === 1) {\n return isServerTransactionPending(\n transactions[0].status as TransactionServerStatusesEnum\n )\n ? 'Processing transaction'\n : 'Transaction processed';\n }\n\n return `${processedTransactions} / ${totalTransactions} transactions processed`;\n};\n"],
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": []
|
|
5
|
+
"mappings": "yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,gCAAAE,IAAA,eAAAC,EAAAH,GACA,IAAAI,EAA2C,+DAGpC,MAAMF,EACXG,GACG,CACH,MAAMC,EAAwBD,EAAa,OACxCE,GACC,IAAC,8BAA2BA,EAAG,MAAuC,CAC1E,EAAE,OAEIC,EAAoBH,EAAa,OAEvC,OAAIG,IAAsB,GAAKF,IAA0B,KAChD,8BACLD,EAAa,CAAC,EAAE,MAClB,EACI,yBACA,wBAGC,GAAGC,CAAqB,MAAME,CAAiB,yBACxD",
|
|
6
|
+
"names": ["getToastTransactionsStatus_exports", "__export", "getToastTransactionsStatus", "__toCommonJS", "import_transactionStateByStatus", "transactions", "processedTransactions", "tx", "totalTransactions"]
|
|
7
7
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../../__chunks__/chunk-U3MIDVR7.mjs";import"../../../__chunks__/chunk-E2GGD7D4.mjs";import"../../../__chunks__/chunk-
|
|
1
|
+
import{a}from"../../../__chunks__/chunk-U3MIDVR7.mjs";import"../../../__chunks__/chunk-E2GGD7D4.mjs";import"../../../__chunks__/chunk-NWJYEKI2.mjs";export{a as getToastTransactionsStatus};
|
|
2
2
|
//# sourceMappingURL=getToastTransactionsStatus.mjs.map
|
|
@@ -1,25 +1,5 @@
|
|
|
1
1
|
import { TransactionServerStatusesEnum } from '../../../../../types/enums.types';
|
|
2
2
|
import { SessionTransactionType, SignedTransactionType } from '../../../../../types/transactions.types';
|
|
3
|
-
export declare const mockTransaction: {
|
|
4
|
-
nonce: number;
|
|
5
|
-
value: string;
|
|
6
|
-
receiver: string;
|
|
7
|
-
sender: string;
|
|
8
|
-
gasPrice: number;
|
|
9
|
-
gasLimit: number;
|
|
10
|
-
chainID: string;
|
|
11
|
-
version: number;
|
|
12
|
-
signature: string;
|
|
13
|
-
txHash: string;
|
|
14
|
-
receiverShard: number;
|
|
15
|
-
senderShard: number;
|
|
16
|
-
status: string;
|
|
17
|
-
hash: string;
|
|
18
|
-
invalidTransaction: boolean;
|
|
19
|
-
results: never[];
|
|
20
|
-
previousStatus: string;
|
|
21
|
-
hasStatusChanged: boolean;
|
|
22
|
-
};
|
|
23
3
|
export declare const mockTransactionSession: {
|
|
24
4
|
transactions: SignedTransactionType[];
|
|
25
5
|
status: TransactionServerStatusesEnum;
|
|
@@ -1,23 +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 __copyProps = (to, from, except, desc) => {
|
|
7
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
-
for (let key of __getOwnPropNames(from))
|
|
9
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
-
}
|
|
12
|
-
return to;
|
|
13
|
-
};
|
|
14
|
-
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
15
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
16
|
-
var ToastManager_exports = {};
|
|
17
|
-
module.exports = __toCommonJS(ToastManager_exports);
|
|
18
|
-
__reExport(ToastManager_exports, require("./ToastManager"), module.exports);
|
|
19
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
20
|
-
0 && (module.exports = {
|
|
21
|
-
...require("./ToastManager")
|
|
22
|
-
});
|
|
1
|
+
"use strict";var a=Object.defineProperty;var b=Object.getOwnPropertyDescriptor;var c=Object.getOwnPropertyNames;var d=Object.prototype.hasOwnProperty;var p=(r,o,f,x)=>{if(o&&typeof o=="object"||typeof o=="function")for(let e of c(o))!d.call(r,e)&&e!==f&&a(r,e,{get:()=>o[e],enumerable:!(x=b(o,e))||x.enumerable});return r},t=(r,o,f)=>(p(r,o,"default"),f&&p(f,o,"default"));var g=r=>p(a({},"__esModule",{value:!0}),r);var m={};module.exports=g(m);t(m,require("./ToastManager"),module.exports);0&&(module.exports={...require("./ToastManager")});
|
|
23
2
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/managers/ToastManager/index.ts"],
|
|
4
4
|
"sourcesContent": ["export * from './ToastManager';\n"],
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": []
|
|
5
|
+
"mappings": "iaAAA,IAAAA,EAAA,kBAAAC,EAAAD,GAAAE,EAAAF,EAAc,0BAAd",
|
|
6
|
+
"names": ["ToastManager_exports", "__toCommonJS", "__reExport"]
|
|
7
7
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{m as a}from"../../__chunks__/chunk-
|
|
1
|
+
import{m as a}from"../../__chunks__/chunk-6MNQSWGO.mjs";import"../../__chunks__/chunk-PBXNAY2B.mjs";import"../../__chunks__/chunk-7MOSAB64.mjs";import"../../__chunks__/chunk-RUBOJOJP.mjs";import"../../__chunks__/chunk-CJTGYQ5L.mjs";import"../../__chunks__/chunk-T7DVMF2K.mjs";import"../../__chunks__/chunk-JZZ3MOUU.mjs";import"../../__chunks__/chunk-6UZHM5LW.mjs";import"../../__chunks__/chunk-WWYX7L4I.mjs";import"../../__chunks__/chunk-ZATPIKZ2.mjs";import"../../__chunks__/chunk-U3MIDVR7.mjs";import"../../__chunks__/chunk-CDWODCD7.mjs";import"../../__chunks__/chunk-PKD3AEXI.mjs";import"../../__chunks__/chunk-CLUVDWX6.mjs";import"../../__chunks__/chunk-O5MS2L3D.mjs";import"../../__chunks__/chunk-PGAJUAPG.mjs";import"../../__chunks__/chunk-LS425JKB.mjs";import"../../__chunks__/chunk-KQV57RV3.mjs";import"../../__chunks__/chunk-ABBDCZHP.mjs";import"../../__chunks__/chunk-OILJUNFX.mjs";import"../../__chunks__/chunk-WC6DHH2B.mjs";import"../../__chunks__/chunk-RUE5QYSG.mjs";import"../../__chunks__/chunk-N55JEIM6.mjs";import"../../__chunks__/chunk-PMHRZ5Y7.mjs";import"../../__chunks__/chunk-2VG3V3VD.mjs";import"../../__chunks__/chunk-SHNAULDW.mjs";import"../../__chunks__/chunk-ZZ6Z3QEX.mjs";import"../../__chunks__/chunk-U24DHQDI.mjs";import"../../__chunks__/chunk-4ODPAHHA.mjs";import"../../__chunks__/chunk-ECEWPZGA.mjs";import"../../__chunks__/chunk-BENZKRAG.mjs";import"../../__chunks__/chunk-SR7TVATV.mjs";import"../../__chunks__/chunk-AGO2Z4FM.mjs";import"../../__chunks__/chunk-ZFXAT6MD.mjs";import"../../__chunks__/chunk-Q2Q4XN4M.mjs";import"../../__chunks__/chunk-VGO3VD5N.mjs";import"../../__chunks__/chunk-OEXP5D2Q.mjs";import"../../__chunks__/chunk-MDVI45IV.mjs";import"../../__chunks__/chunk-3C5GZ3BL.mjs";import"../../__chunks__/chunk-AWQZ56BT.mjs";import"../../__chunks__/chunk-PDMEOQYV.mjs";import"../../__chunks__/chunk-RSAYFMIM.mjs";import"../../__chunks__/chunk-SKBL5PDX.mjs";import"../../__chunks__/chunk-55SACSMS.mjs";import"../../__chunks__/chunk-EG5H4QZV.mjs";import"../../__chunks__/chunk-MQJQMAW3.mjs";import"../../__chunks__/chunk-J32T6OAP.mjs";import"../../__chunks__/chunk-4US7HVCR.mjs";import"../../__chunks__/chunk-W6M5WJ3V.mjs";import"../../__chunks__/chunk-4TBVQD27.mjs";import"../../__chunks__/chunk-M3GFSV3G.mjs";import"../../__chunks__/chunk-WV5X6BXA.mjs";import"../../__chunks__/chunk-YLD26I5H.mjs";import"../../__chunks__/chunk-JBZR35CW.mjs";import"../../__chunks__/chunk-E2GGD7D4.mjs";import"../../__chunks__/chunk-L3YPAYXZ.mjs";import"../../__chunks__/chunk-ONSO75O2.mjs";import"../../__chunks__/chunk-BSFYNH6O.mjs";import"../../__chunks__/chunk-YK7T6MBD.mjs";import"../../__chunks__/chunk-KMJMQEXI.mjs";import"../../__chunks__/chunk-G5DKGX73.mjs";import"../../__chunks__/chunk-NZFUM3VC.mjs";import"../../__chunks__/chunk-XXV6KGR4.mjs";import"../../__chunks__/chunk-HORSXVIV.mjs";import"../../__chunks__/chunk-P6HDK262.mjs";import"../../__chunks__/chunk-6SC2DWV6.mjs";import"../../__chunks__/chunk-NWEUIK3A.mjs";import"../../__chunks__/chunk-G5MRPRWI.mjs";import"../../__chunks__/chunk-3S57OP4Z.mjs";import"../../__chunks__/chunk-OJX2TSAZ.mjs";import"../../__chunks__/chunk-XDBKPKTG.mjs";import"../../__chunks__/chunk-H5NVCCUR.mjs";import"../../__chunks__/chunk-PMATTOPD.mjs";import"../../__chunks__/chunk-XG6DEDBU.mjs";import"../../__chunks__/chunk-ITZJPUDG.mjs";import"../../__chunks__/chunk-ZNYD34VT.mjs";import"../../__chunks__/chunk-33MSDZAP.mjs";import"../../__chunks__/chunk-3GGBXXXJ.mjs";import"../../__chunks__/chunk-RMW3YLGD.mjs";import"../../__chunks__/chunk-YSCND2MX.mjs";import"../../__chunks__/chunk-FPJ2PIFX.mjs";import"../../__chunks__/chunk-NJN53MJV.mjs";import"../../__chunks__/chunk-YJK5FPW4.mjs";import"../../__chunks__/chunk-36XFDUXN.mjs";import"../../__chunks__/chunk-UFDELD3B.mjs";import"../../__chunks__/chunk-TFZ46GCB.mjs";import"../../__chunks__/chunk-OL6LWUIJ.mjs";import"../../__chunks__/chunk-ZRSYQ3MT.mjs";import"../../__chunks__/chunk-M6MN4RXG.mjs";import"../../__chunks__/chunk-KIOUFP5Q.mjs";import"../../__chunks__/chunk-5DILKRFV.mjs";import"../../__chunks__/chunk-DZ2BIDRW.mjs";import"../../__chunks__/chunk-HZGRS7HG.mjs";import"../../__chunks__/chunk-NTPPBM7T.mjs";import"../../__chunks__/chunk-GUAXMODN.mjs";import"../../__chunks__/chunk-4VA2SULD.mjs";import"../../__chunks__/chunk-ZAPRDHIW.mjs";import"../../__chunks__/chunk-GIZSIYH4.mjs";import"../../__chunks__/chunk-WVAP3V3E.mjs";import"../../__chunks__/chunk-XVX7N3JK.mjs";import"../../__chunks__/chunk-HH5SA7BX.mjs";import"../../__chunks__/chunk-DRPJ3IFU.mjs";import"../../__chunks__/chunk-B3IKUIRK.mjs";import"../../__chunks__/chunk-GMQMFRLW.mjs";import"../../__chunks__/chunk-NGM3AVCY.mjs";import"../../__chunks__/chunk-IXBWD6BF.mjs";import"../../__chunks__/chunk-C2FLFZOO.mjs";import"../../__chunks__/chunk-VCAWVAO5.mjs";import"../../__chunks__/chunk-55W25Q35.mjs";import"../../__chunks__/chunk-F33ERG33.mjs";import"../../__chunks__/chunk-STBF3KTB.mjs";import"../../__chunks__/chunk-PNSB4HHK.mjs";import"../../__chunks__/chunk-GNHD56P3.mjs";import"../../__chunks__/chunk-5OMQOYP7.mjs";import"../../__chunks__/chunk-UCNS6KD5.mjs";import"../../__chunks__/chunk-35MNP3LA.mjs";import"../../__chunks__/chunk-TX7PTLVP.mjs";import"../../__chunks__/chunk-WZ2DNB3R.mjs";import"../../__chunks__/chunk-DFSBS3PX.mjs";import"../../__chunks__/chunk-GFR6K4DR.mjs";import"../../__chunks__/chunk-6D53LH5J.mjs";import"../../__chunks__/chunk-H33OUO77.mjs";import"../../__chunks__/chunk-HQQMSHTW.mjs";import"../../__chunks__/chunk-UQU2VWPJ.mjs";import"../../__chunks__/chunk-ZKBKYLAP.mjs";import"../../__chunks__/chunk-6UMOECOW.mjs";import"../../__chunks__/chunk-54B3EIZC.mjs";import"../../__chunks__/chunk-QJ7MRSGB.mjs";import"../../__chunks__/chunk-VDDXFGB2.mjs";import"../../__chunks__/chunk-YJCTRUJT.mjs";import"../../__chunks__/chunk-EGO5R7IZ.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-B2RHOOA6.mjs";import"../../__chunks__/chunk-KRWR77QE.mjs";import"../../__chunks__/chunk-B7YCKWDU.mjs";import"../../__chunks__/chunk-HDJOER66.mjs";import"../../__chunks__/chunk-A7FTKX2A.mjs";import"../../__chunks__/chunk-XKU5QBXG.mjs";import"../../__chunks__/chunk-WZGG2YKQ.mjs";import"../../__chunks__/chunk-JMC7CMTU.mjs";import"../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../__chunks__/chunk-T2YPFNVM.mjs";import"../../__chunks__/chunk-M7BM6QPB.mjs";import"../../__chunks__/chunk-5N4F5T5L.mjs";import"../../__chunks__/chunk-CYCS3K6Q.mjs";import"../../__chunks__/chunk-YMPZDHKF.mjs";import"../../__chunks__/chunk-VKEESSBI.mjs";import"../../__chunks__/chunk-2DNGCNYM.mjs";import"../../__chunks__/chunk-SQVKVA7X.mjs";import"../../__chunks__/chunk-I24YBVHK.mjs";import"../../__chunks__/chunk-NB7A4C7L.mjs";import"../../__chunks__/chunk-PJWJZHIS.mjs";import"../../__chunks__/chunk-DBIIY2TX.mjs";import"../../__chunks__/chunk-KD2IQ32V.mjs";import"../../__chunks__/chunk-WHEXX3BD.mjs";import"../../__chunks__/chunk-CDTYHGXZ.mjs";import"../../__chunks__/chunk-2RAULLHL.mjs";import"../../__chunks__/chunk-7UA7QAEF.mjs";import"../../__chunks__/chunk-FTJF3Q3P.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-NTEMINYA.mjs";import"../../__chunks__/chunk-WRLZ5ICK.mjs";import"../../__chunks__/chunk-3FXHIV6O.mjs";import"../../__chunks__/chunk-I3MK6KZJ.mjs";import"../../__chunks__/chunk-UCRVRBTA.mjs";import"../../__chunks__/chunk-CUQBPPWE.mjs";import"../../__chunks__/chunk-MGQ373AO.mjs";import"../../__chunks__/chunk-RPTH42EF.mjs";import"../../__chunks__/chunk-3UNGCOKO.mjs";import"../../__chunks__/chunk-BJOEWWLZ.mjs";import"../../__chunks__/chunk-5Y2ZDPP6.mjs";import"../../__chunks__/chunk-MRIKSX32.mjs";import"../../__chunks__/chunk-EJV4VNJG.mjs";import"../../__chunks__/chunk-6R2WFQ7U.mjs";import"../../__chunks__/chunk-H24QGHAH.mjs";import"../../__chunks__/chunk-FI444OX3.mjs";import"../../__chunks__/chunk-LHEH7L4L.mjs";import"../../__chunks__/chunk-PKDR5ERF.mjs";import"../../__chunks__/chunk-MGFIOCA4.mjs";import"../../__chunks__/chunk-GGBMHKR4.mjs";import"../../__chunks__/chunk-NWJYEKI2.mjs";import"../../__chunks__/chunk-LJX4MW7B.mjs";import"../../__chunks__/chunk-DTQL3IDP.mjs";import"../../__chunks__/chunk-CKTFPRJS.mjs";import"../../__chunks__/chunk-3KFEBW7N.mjs";import"../../__chunks__/chunk-MCXQTDAK.mjs";import"../../__chunks__/chunk-EHDGJUEU.mjs";import"../../__chunks__/chunk-HOCSCRJF.mjs";import"../../__chunks__/chunk-7EWMP5BY.mjs";import"../../__chunks__/chunk-UE3IBKCO.mjs";import"../../__chunks__/chunk-H6IZMTJK.mjs";import"../../__chunks__/chunk-B2UIPHJ3.mjs";export{a as ToastManager};
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1,23 +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 __copyProps = (to, from, except, desc) => {
|
|
7
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
-
for (let key of __getOwnPropNames(from))
|
|
9
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
-
}
|
|
12
|
-
return to;
|
|
13
|
-
};
|
|
14
|
-
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
15
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
16
|
-
var types_exports = {};
|
|
17
|
-
module.exports = __toCommonJS(types_exports);
|
|
18
|
-
__reExport(types_exports, require("./toast.types"), module.exports);
|
|
19
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
20
|
-
0 && (module.exports = {
|
|
21
|
-
...require("./toast.types")
|
|
22
|
-
});
|
|
1
|
+
"use strict";var a=Object.defineProperty;var b=Object.getOwnPropertyDescriptor;var c=Object.getOwnPropertyNames;var d=Object.prototype.hasOwnProperty;var p=(r,o,f,x)=>{if(o&&typeof o=="object"||typeof o=="function")for(let e of c(o))!d.call(r,e)&&e!==f&&a(r,e,{get:()=>o[e],enumerable:!(x=b(o,e))||x.enumerable});return r},t=(r,o,f)=>(p(r,o,"default"),f&&p(f,o,"default"));var g=r=>p(a({},"__esModule",{value:!0}),r);var m={};module.exports=g(m);t(m,require("./toast.types"),module.exports);0&&(module.exports={...require("./toast.types")});
|
|
23
2
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../src/managers/ToastManager/types/index.ts"],
|
|
4
4
|
"sourcesContent": ["export * from './toast.types';\n"],
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": []
|
|
5
|
+
"mappings": "iaAAA,IAAAA,EAAA,kBAAAC,EAAAD,GAAAE,EAAAF,EAAc,yBAAd",
|
|
6
|
+
"names": ["types_exports", "__toCommonJS", "__reExport"]
|
|
7
7
|
}
|
|
@@ -1,48 +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 toast_types_exports = {};
|
|
20
|
-
__export(toast_types_exports, {
|
|
21
|
-
ToastEventsEnum: () => ToastEventsEnum,
|
|
22
|
-
TransactionsDefaultTitles: () => TransactionsDefaultTitles
|
|
23
|
-
});
|
|
24
|
-
module.exports = __toCommonJS(toast_types_exports);
|
|
25
|
-
var TransactionsDefaultTitles = /* @__PURE__ */ ((TransactionsDefaultTitles2) => {
|
|
26
|
-
TransactionsDefaultTitles2["success"] = "Transaction successful";
|
|
27
|
-
TransactionsDefaultTitles2["received"] = "Transaction received";
|
|
28
|
-
TransactionsDefaultTitles2["failed"] = "Transaction failed";
|
|
29
|
-
TransactionsDefaultTitles2["pending"] = "Processing transaction";
|
|
30
|
-
TransactionsDefaultTitles2["timedOut"] = "Transaction timed out";
|
|
31
|
-
TransactionsDefaultTitles2["invalid"] = "Transaction invalid";
|
|
32
|
-
return TransactionsDefaultTitles2;
|
|
33
|
-
})(TransactionsDefaultTitles || {});
|
|
34
|
-
var ToastEventsEnum = /* @__PURE__ */ ((ToastEventsEnum2) => {
|
|
35
|
-
ToastEventsEnum2["OPEN_NOTIFICATIONS_FEED"] = "OPEN_NOTIFICATIONS_FEED";
|
|
36
|
-
ToastEventsEnum2["CLOSE"] = "CLOSE_TOAST";
|
|
37
|
-
ToastEventsEnum2["TRANSACTION_TOAST_DATA_UPDATE"] = "TRANSACTION_TOAST_DATA_UPDATE";
|
|
38
|
-
ToastEventsEnum2["CUSTOM_TOAST_DATA_UPDATE"] = "CUSTOM_TOAST_DATA_UPDATE";
|
|
39
|
-
ToastEventsEnum2["HIDE"] = "HIDE_TOAST_LIST";
|
|
40
|
-
ToastEventsEnum2["SHOW"] = "SHOW_TOAST_LIST";
|
|
41
|
-
return ToastEventsEnum2;
|
|
42
|
-
})(ToastEventsEnum || {});
|
|
43
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
44
|
-
0 && (module.exports = {
|
|
45
|
-
ToastEventsEnum,
|
|
46
|
-
TransactionsDefaultTitles
|
|
47
|
-
});
|
|
1
|
+
"use strict";var s=Object.defineProperty;var c=Object.getOwnPropertyDescriptor;var S=Object.getOwnPropertyNames;var I=Object.prototype.hasOwnProperty;var A=(a,r)=>{for(var i in r)s(a,i,{get:r[i],enumerable:!0})},O=(a,r,i,e)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of S(r))!I.call(a,n)&&n!==i&&s(a,n,{get:()=>r[n],enumerable:!(e=c(r,n))||e.enumerable});return a};var p=a=>O(s({},"__esModule",{value:!0}),a);var _={};A(_,{ToastEventsEnum:()=>T,TransactionsDefaultTitles:()=>o});module.exports=p(_);var o=(t=>(t.success="Transaction successful",t.received="Transaction received",t.failed="Transaction failed",t.pending="Processing transaction",t.timedOut="Transaction timed out",t.invalid="Transaction invalid",t))(o||{}),T=(t=>(t.OPEN_NOTIFICATIONS_FEED="OPEN_NOTIFICATIONS_FEED",t.CLOSE="CLOSE_TOAST",t.TRANSACTION_TOAST_DATA_UPDATE="TRANSACTION_TOAST_DATA_UPDATE",t.CUSTOM_TOAST_DATA_UPDATE="CUSTOM_TOAST_DATA_UPDATE",t.HIDE="HIDE_TOAST_LIST",t.SHOW="SHOW_TOAST_LIST",t))(T||{});0&&(module.exports={ToastEventsEnum,TransactionsDefaultTitles});
|
|
48
2
|
//# sourceMappingURL=toast.types.cjs.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../src/managers/ToastManager/types/toast.types.ts"],
|
|
4
4
|
"sourcesContent": ["import { ITransactionListItem } from 'lib/sdkDappUi';\n\nimport { ServerTransactionType } from 'types/serverTransactions.types';\nimport { TransactionsDisplayInfoType } from 'types/transactions.types';\n\nexport enum TransactionsDefaultTitles {\n success = 'Transaction successful',\n received = 'Transaction received',\n failed = 'Transaction failed',\n pending = 'Processing transaction',\n timedOut = 'Transaction timed out',\n invalid = 'Transaction invalid'\n}\n\nexport interface GetToastsOptionsDataPropsType {\n address: string;\n sender: string;\n status?: ServerTransactionType['status'];\n toastId: string;\n transactionsDisplayInfo?: TransactionsDisplayInfoType;\n txActionName?: string;\n}\n\nexport interface IToastDataState {\n id: string;\n icon: string;\n hasCloseButton: boolean;\n title: string;\n iconClassName: string;\n}\nexport interface ITransactionProgressState {\n startTime: number;\n endTime: number;\n}\nexport interface ITransaction {\n hash: string;\n status: string;\n link: string;\n}\nexport interface ITransactionToast {\n toastId: string;\n processedTransactionsStatus: string;\n transactions: ITransactionListItem[];\n toastDataState: IToastDataState;\n transactionProgressState?: ITransactionProgressState | null;\n}\n\nexport enum ToastEventsEnum {\n OPEN_NOTIFICATIONS_FEED = 'OPEN_NOTIFICATIONS_FEED',\n CLOSE = 'CLOSE_TOAST',\n // Event to update the transaction toast data\n TRANSACTION_TOAST_DATA_UPDATE = 'TRANSACTION_TOAST_DATA_UPDATE',\n // Event to update the custom toast data\n CUSTOM_TOAST_DATA_UPDATE = 'CUSTOM_TOAST_DATA_UPDATE',\n HIDE = 'HIDE_TOAST_LIST',\n SHOW = 'SHOW_TOAST_LIST'\n}\n"],
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": ["
|
|
5
|
+
"mappings": "yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,qBAAAE,EAAA,8BAAAC,IAAA,eAAAC,EAAAJ,GAKO,IAAKG,OACVA,EAAA,QAAU,yBACVA,EAAA,SAAW,uBACXA,EAAA,OAAS,qBACTA,EAAA,QAAU,yBACVA,EAAA,SAAW,wBACXA,EAAA,QAAU,sBANAA,OAAA,IA0CAD,OACVA,EAAA,wBAA0B,0BAC1BA,EAAA,MAAQ,cAERA,EAAA,8BAAgC,gCAEhCA,EAAA,yBAA2B,2BAC3BA,EAAA,KAAO,kBACPA,EAAA,KAAO,kBARGA,OAAA",
|
|
6
|
+
"names": ["toast_types_exports", "__export", "ToastEventsEnum", "TransactionsDefaultTitles", "__toCommonJS"]
|
|
7
7
|
}
|
|
@@ -1,230 +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 TransactionManager_exports = {};
|
|
30
|
-
__export(TransactionManager_exports, {
|
|
31
|
-
TransactionManager: () => TransactionManager
|
|
32
|
-
});
|
|
33
|
-
module.exports = __toCommonJS(TransactionManager_exports);
|
|
34
|
-
var import_axios = __toESM(require("axios"));
|
|
35
|
-
var import_transactions = require("../../constants/transactions.constants");
|
|
36
|
-
var import_getAccount = require("../../methods/account/getAccount");
|
|
37
|
-
var import_toastsActions = require("../../store/actions/toasts/toastsActions");
|
|
38
|
-
var import_transactionsActions = require("../../store/actions/transactions/transactionsActions");
|
|
39
|
-
var import_selectors = require("../../store/selectors");
|
|
40
|
-
var import_store = require("../../store/store");
|
|
41
|
-
var import_enums = require("../../types/enums.types");
|
|
42
|
-
var import_isGuardianTx = require("../../utils/transactions/isGuardianTx");
|
|
43
|
-
var import_getToastDuration = require("./helpers/getToastDuration");
|
|
44
|
-
var import_getTransactionsStatus = require("./helpers/getTransactionsStatus");
|
|
45
|
-
var import_isBatchTransaction = require("./helpers/isBatchTransaction");
|
|
46
|
-
var import_sessionCallbacks = require("./helpers/sessionCallbacks");
|
|
47
|
-
const _TransactionManager = class _TransactionManager {
|
|
48
|
-
constructor() {
|
|
49
|
-
/**
|
|
50
|
-
* Set callbacks to be executed when the transaction session is successful or fails.
|
|
51
|
-
* It is analogous to the `onSuccess` and `onFail` callbacks set in the `initApp` method,
|
|
52
|
-
* as a way to override the global callbacks
|
|
53
|
-
* @param onSuccess - The callback to run when the transaction session is successful.
|
|
54
|
-
* @param onFail - The callback to run when the transaction session fails.
|
|
55
|
-
* @example
|
|
56
|
-
* ```ts
|
|
57
|
-
* TransactionManager.setCallbacks({
|
|
58
|
-
* onSuccess: (sessionId) => {
|
|
59
|
-
* console.log('Transaction session successful', sessionId);
|
|
60
|
-
* },
|
|
61
|
-
* });
|
|
62
|
-
*/
|
|
63
|
-
this.setCallbacks = ({
|
|
64
|
-
onSuccess,
|
|
65
|
-
onFail
|
|
66
|
-
}) => {
|
|
67
|
-
(0, import_sessionCallbacks.registerCallbacks)({ onSuccess, onFail });
|
|
68
|
-
};
|
|
69
|
-
this.send = async (signedTransactions) => {
|
|
70
|
-
if (signedTransactions.length === 0) {
|
|
71
|
-
throw new Error("No transactions to send");
|
|
72
|
-
}
|
|
73
|
-
try {
|
|
74
|
-
if (!(0, import_isBatchTransaction.isBatchTransaction)(signedTransactions)) {
|
|
75
|
-
const flatTransactions = await this.sendSignedTransactions(signedTransactions);
|
|
76
|
-
return flatTransactions;
|
|
77
|
-
}
|
|
78
|
-
const sentTransactions = await this.sendSignedBatchTransactions(signedTransactions);
|
|
79
|
-
if (!sentTransactions.data || sentTransactions.data.error) {
|
|
80
|
-
throw new Error(
|
|
81
|
-
sentTransactions.data?.error ?? "Failed to send transactions"
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
const groupedTransactions = sentTransactions.data.transactions;
|
|
85
|
-
return groupedTransactions;
|
|
86
|
-
} catch (error) {
|
|
87
|
-
const responseData = error.response?.data;
|
|
88
|
-
throw responseData?.message ?? error.message;
|
|
89
|
-
}
|
|
90
|
-
};
|
|
91
|
-
/**
|
|
92
|
-
* Track the status of a transaction session.
|
|
93
|
-
* @param sentTransactions - The transactions to track.
|
|
94
|
-
* @param options - The options for the transaction session.
|
|
95
|
-
* @returns The session id.
|
|
96
|
-
* @example
|
|
97
|
-
* ```ts
|
|
98
|
-
* const sessionId = await txManager.track(sentTransactions, {
|
|
99
|
-
* transactionsDisplayInfo: {
|
|
100
|
-
* errorMessage: 'Failed adding stake',
|
|
101
|
-
* successMessage: 'Stake successfully added',
|
|
102
|
-
* processingMessage: 'Staking in progress'
|
|
103
|
-
* },
|
|
104
|
-
* onSuccess: async(sessionId) => {
|
|
105
|
-
* console.log('Session successful', sessionId);
|
|
106
|
-
* },
|
|
107
|
-
* onFail: async(sessionId) => {
|
|
108
|
-
* console.log('Session failed', sessionId);
|
|
109
|
-
* }
|
|
110
|
-
* sessionInformation: {
|
|
111
|
-
* stakeAmount: '1000000000000000000000000'
|
|
112
|
-
* }
|
|
113
|
-
* });
|
|
114
|
-
* ```
|
|
115
|
-
*/
|
|
116
|
-
this.track = async (sentTransactions, options = { disableToasts: false }) => {
|
|
117
|
-
const flatTransactions = this.sequentialToFlatArray(sentTransactions).map(
|
|
118
|
-
(transaction) => ({
|
|
119
|
-
...transaction,
|
|
120
|
-
status: transaction.status ?? import_enums.TransactionServerStatusesEnum.pending
|
|
121
|
-
})
|
|
122
|
-
);
|
|
123
|
-
const status = (0, import_getTransactionsStatus.getTransactionsSessionStatus)(flatTransactions);
|
|
124
|
-
const sessionId = (0, import_transactionsActions.createTransactionsSession)({
|
|
125
|
-
transactions: flatTransactions,
|
|
126
|
-
transactionsDisplayInfo: options.transactionsDisplayInfo,
|
|
127
|
-
status: status ?? import_enums.TransactionBatchStatusesEnum.sent,
|
|
128
|
-
sessionInformation: options.sessionInformation
|
|
129
|
-
});
|
|
130
|
-
if (options.disableToasts === true) {
|
|
131
|
-
return sessionId;
|
|
132
|
-
}
|
|
133
|
-
if (options.onSuccess) {
|
|
134
|
-
(0, import_sessionCallbacks.registerCallbacks)({ onSuccess: options.onSuccess, sessionId });
|
|
135
|
-
}
|
|
136
|
-
if (options.onFail) {
|
|
137
|
-
(0, import_sessionCallbacks.registerCallbacks)({ onFail: options.onFail, sessionId });
|
|
138
|
-
}
|
|
139
|
-
const totalDuration = (0, import_getToastDuration.getToastDuration)(sentTransactions);
|
|
140
|
-
(0, import_toastsActions.addTransactionToast)({
|
|
141
|
-
toastId: sessionId,
|
|
142
|
-
totalDuration
|
|
143
|
-
});
|
|
144
|
-
return sessionId;
|
|
145
|
-
};
|
|
146
|
-
this.sendSignedTransactions = async (signedTransactions) => {
|
|
147
|
-
const { apiAddress, apiTimeout } = (0, import_selectors.networkSelector)((0, import_store.getState)());
|
|
148
|
-
const mergedTransactions = await Promise.all(
|
|
149
|
-
signedTransactions.map(async (transaction) => {
|
|
150
|
-
const response = await import_axios.default.post(
|
|
151
|
-
`${apiAddress}/transactions`,
|
|
152
|
-
transaction.toPlainObject(),
|
|
153
|
-
{ timeout: Number(apiTimeout) }
|
|
154
|
-
);
|
|
155
|
-
const txHash = response.data.txHash;
|
|
156
|
-
return {
|
|
157
|
-
...transaction.toPlainObject(),
|
|
158
|
-
...response.data,
|
|
159
|
-
status: import_enums.TransactionServerStatusesEnum.pending,
|
|
160
|
-
hash: txHash
|
|
161
|
-
};
|
|
162
|
-
})
|
|
163
|
-
);
|
|
164
|
-
return mergedTransactions;
|
|
165
|
-
};
|
|
166
|
-
this.sendSignedBatchTransactions = async (signedTransactions) => {
|
|
167
|
-
const { address } = (0, import_getAccount.getAccount)();
|
|
168
|
-
const { apiAddress, apiTimeout } = (0, import_selectors.networkSelector)((0, import_store.getState)());
|
|
169
|
-
if (!address) {
|
|
170
|
-
return {
|
|
171
|
-
error: "Invalid address provided. You need to be logged in to send transactions"
|
|
172
|
-
};
|
|
173
|
-
}
|
|
174
|
-
const batchId = this.buildBatchId(address);
|
|
175
|
-
const plainTransactions = signedTransactions.map(
|
|
176
|
-
(group) => group.map((tx) => tx.toPlainObject())
|
|
177
|
-
);
|
|
178
|
-
const payload = {
|
|
179
|
-
transactions: plainTransactions,
|
|
180
|
-
id: batchId
|
|
181
|
-
};
|
|
182
|
-
const { data } = await import_axios.default.post(
|
|
183
|
-
`${apiAddress}/batch`,
|
|
184
|
-
payload,
|
|
185
|
-
{
|
|
186
|
-
timeout: Number(apiTimeout)
|
|
187
|
-
}
|
|
188
|
-
);
|
|
189
|
-
const parsedTransactions = data.transactions.map(
|
|
190
|
-
(group) => group.map((tx) => {
|
|
191
|
-
const parsedTx = {
|
|
192
|
-
...tx,
|
|
193
|
-
status: import_enums.TransactionServerStatusesEnum.pending,
|
|
194
|
-
hash: tx.hash
|
|
195
|
-
};
|
|
196
|
-
if ((0, import_isGuardianTx.isGuardianTx)({ data: parsedTx.data })) {
|
|
197
|
-
delete parsedTx.senderUsername;
|
|
198
|
-
delete parsedTx.receiverUsername;
|
|
199
|
-
}
|
|
200
|
-
return parsedTx;
|
|
201
|
-
})
|
|
202
|
-
);
|
|
203
|
-
return {
|
|
204
|
-
data: {
|
|
205
|
-
...data,
|
|
206
|
-
transactions: parsedTransactions
|
|
207
|
-
}
|
|
208
|
-
};
|
|
209
|
-
};
|
|
210
|
-
this.buildBatchId = (address) => {
|
|
211
|
-
const sessionId = Date.now().toString();
|
|
212
|
-
return `${sessionId}${import_transactions.BATCH_TRANSACTIONS_ID_SEPARATOR}${address}`;
|
|
213
|
-
};
|
|
214
|
-
this.sequentialToFlatArray = (transactions = []) => this.getIsSequential(transactions) ? transactions.flat() : transactions;
|
|
215
|
-
this.getIsSequential = (transactions) => transactions?.every((transaction) => Array.isArray(transaction));
|
|
216
|
-
}
|
|
217
|
-
static getInstance() {
|
|
218
|
-
if (!_TransactionManager.instance) {
|
|
219
|
-
_TransactionManager.instance = new _TransactionManager();
|
|
220
|
-
}
|
|
221
|
-
return _TransactionManager.instance;
|
|
222
|
-
}
|
|
223
|
-
};
|
|
224
|
-
_TransactionManager.instance = null;
|
|
225
|
-
let TransactionManager = _TransactionManager;
|
|
226
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
227
|
-
0 && (module.exports = {
|
|
228
|
-
TransactionManager
|
|
229
|
-
});
|
|
1
|
+
"use strict";var x=Object.create;var m=Object.defineProperty;var O=Object.getOwnPropertyDescriptor;var C=Object.getOwnPropertyNames;var F=Object.getPrototypeOf,N=Object.prototype.hasOwnProperty;var R=(n,t)=>{for(var a in t)m(n,a,{get:t[a],enumerable:!0})},b=(n,t,a,s)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of C(t))!N.call(n,r)&&r!==a&&m(n,r,{get:()=>t[r],enumerable:!(s=O(t,r))||s.enumerable});return n};var $=(n,t,a)=>(a=n!=null?x(F(n)):{},b(t||!n||!n.__esModule?m(a,"default",{value:n,enumerable:!0}):a,n)),q=n=>b(m({},"__esModule",{value:!0}),n);var j={};R(j,{TransactionManager:()=>S});module.exports=q(j);var g=$(require("axios")),I=require("../../constants/transactions.constants"),A=require("../../methods/account/getAccount"),w=require("../../store/actions/toasts/toastsActions"),v=require("../../store/actions/transactions/transactionsActions"),f=require("../../store/selectors"),y=require("../../store/store"),c=require("../../types/enums.types"),B=require("../../utils/transactions/isGuardianTx"),k=require("./helpers/getToastDuration"),D=require("./helpers/getTransactionsStatus"),E=require("./helpers/isBatchTransaction"),l=require("./helpers/sessionCallbacks");const o=class o{constructor(){this.setCallbacks=({onSuccess:t,onFail:a})=>{(0,l.registerCallbacks)({onSuccess:t,onFail:a})};this.send=async t=>{if(t.length===0)throw new Error("No transactions to send");try{if(!(0,E.isBatchTransaction)(t))return await this.sendSignedTransactions(t);const a=await this.sendSignedBatchTransactions(t);if(!a.data||a.data.error)throw new Error(a.data?.error??"Failed to send transactions");return a.data.transactions}catch(a){throw a.response?.data?.message??a.message}};this.track=async(t,a={disableToasts:!1})=>{const s=this.sequentialToFlatArray(t).map(i=>({...i,status:i.status??c.TransactionServerStatusesEnum.pending})),r=(0,D.getTransactionsSessionStatus)(s),e=(0,v.createTransactionsSession)({transactions:s,transactionsDisplayInfo:a.transactionsDisplayInfo,status:r??c.TransactionBatchStatusesEnum.sent,sessionInformation:a.sessionInformation});if(a.disableToasts===!0)return e;a.onSuccess&&(0,l.registerCallbacks)({onSuccess:a.onSuccess,sessionId:e}),a.onFail&&(0,l.registerCallbacks)({onFail:a.onFail,sessionId:e});const d=(0,k.getToastDuration)(t);return(0,w.addTransactionToast)({toastId:e,totalDuration:d}),e};this.sendSignedTransactions=async t=>{const{apiAddress:a,apiTimeout:s}=(0,f.networkSelector)((0,y.getState)());return await Promise.all(t.map(async e=>{const d=await g.default.post(`${a}/transactions`,e.toPlainObject(),{timeout:Number(s)}),i=d.data.txHash;return{...e.toPlainObject(),...d.data,status:c.TransactionServerStatusesEnum.pending,hash:i}}))};this.sendSignedBatchTransactions=async t=>{const{address:a}=(0,A.getAccount)(),{apiAddress:s,apiTimeout:r}=(0,f.networkSelector)((0,y.getState)());if(!a)return{error:"Invalid address provided. You need to be logged in to send transactions"};const e=this.buildBatchId(a),i={transactions:t.map(u=>u.map(T=>T.toPlainObject())),id:e},{data:h}=await g.default.post(`${s}/batch`,i,{timeout:Number(r)}),P=h.transactions.map(u=>u.map(T=>{const p={...T,status:c.TransactionServerStatusesEnum.pending,hash:T.hash};return(0,B.isGuardianTx)({data:p.data})&&(delete p.senderUsername,delete p.receiverUsername),p}));return{data:{...h,transactions:P}}};this.buildBatchId=t=>`${Date.now().toString()}${I.BATCH_TRANSACTIONS_ID_SEPARATOR}${t}`;this.sequentialToFlatArray=(t=[])=>this.getIsSequential(t)?t.flat():t;this.getIsSequential=t=>t?.every(a=>Array.isArray(a))}static getInstance(){return o.instance||(o.instance=new o),o.instance}};o.instance=null;let S=o;0&&(module.exports={TransactionManager});
|
|
230
2
|
//# sourceMappingURL=TransactionManager.cjs.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/managers/TransactionManager/TransactionManager.ts"],
|
|
4
4
|
"sourcesContent": ["import axios, { AxiosError } from 'axios';\nimport { BATCH_TRANSACTIONS_ID_SEPARATOR } from 'constants/transactions.constants';\nimport { Transaction } from 'lib/sdkCore';\nimport { getAccount } from 'methods/account/getAccount';\nimport { TransactionTrackingConfigType } from 'methods/initApp/initApp.types';\nimport { addTransactionToast } from 'store/actions/toasts/toastsActions';\nimport { createTransactionsSession } from 'store/actions/transactions/transactionsActions';\nimport { networkSelector } from 'store/selectors';\nimport { getState } from 'store/store';\nimport {\n TransactionBatchStatusesEnum,\n TransactionServerStatusesEnum\n} from 'types/enums.types';\nimport { BatchTransactionsResponseType } from 'types/serverTransactions.types';\nimport { SignedTransactionType } from 'types/transactions.types';\nimport { isGuardianTx } from 'utils/transactions/isGuardianTx';\nimport { getToastDuration } from './helpers/getToastDuration';\nimport { getTransactionsSessionStatus } from './helpers/getTransactionsStatus';\nimport { isBatchTransaction } from './helpers/isBatchTransaction';\nimport { registerCallbacks } from './helpers/sessionCallbacks';\nimport { TransactionManagerTrackOptionsType } from './TransactionManager.types';\n\nexport class TransactionManager {\n private static instance: TransactionManager | null = null;\n\n public static getInstance(): TransactionManager {\n if (!TransactionManager.instance) {\n TransactionManager.instance = new TransactionManager();\n }\n return TransactionManager.instance;\n }\n\n /**\n * Set callbacks to be executed when the transaction session is successful or fails.\n * It is analogous to the `onSuccess` and `onFail` callbacks set in the `initApp` method,\n * as a way to override the global callbacks\n * @param onSuccess - The callback to run when the transaction session is successful.\n * @param onFail - The callback to run when the transaction session fails.\n * @example\n * ```ts\n * TransactionManager.setCallbacks({\n * onSuccess: (sessionId) => {\n * console.log('Transaction session successful', sessionId);\n * },\n * });\n */\n public setCallbacks = ({\n onSuccess,\n onFail\n }: TransactionTrackingConfigType) => {\n registerCallbacks({ onSuccess, onFail });\n };\n\n public send = async (\n signedTransactions: Transaction[] | Transaction[][]\n ): Promise<SignedTransactionType[] | SignedTransactionType[][]> => {\n if (signedTransactions.length === 0) {\n throw new Error('No transactions to send');\n }\n\n try {\n if (!isBatchTransaction(signedTransactions)) {\n const flatTransactions =\n await this.sendSignedTransactions(signedTransactions);\n\n return flatTransactions;\n }\n\n const sentTransactions =\n await this.sendSignedBatchTransactions(signedTransactions);\n\n if (!sentTransactions.data || sentTransactions.data.error) {\n throw new Error(\n sentTransactions.data?.error ?? 'Failed to send transactions'\n );\n }\n\n const groupedTransactions = sentTransactions.data.transactions;\n\n return groupedTransactions;\n } catch (error) {\n const responseData = <{ message: string }>(\n (error as AxiosError).response?.data\n );\n throw responseData?.message ?? (error as Error).message;\n }\n };\n\n /**\n * Track the status of a transaction session.\n * @param sentTransactions - The transactions to track.\n * @param options - The options for the transaction session.\n * @returns The session id.\n * @example\n * ```ts\n * const sessionId = await txManager.track(sentTransactions, {\n * transactionsDisplayInfo: {\n * errorMessage: 'Failed adding stake',\n * successMessage: 'Stake successfully added',\n * processingMessage: 'Staking in progress'\n * },\n * onSuccess: async(sessionId) => {\n * console.log('Session successful', sessionId);\n * },\n * onFail: async(sessionId) => {\n * console.log('Session failed', sessionId);\n * }\n * sessionInformation: {\n * stakeAmount: '1000000000000000000000000'\n * }\n * });\n * ```\n */\n public track = async (\n sentTransactions: SignedTransactionType[] | SignedTransactionType[][],\n options: TransactionManagerTrackOptionsType = { disableToasts: false }\n ): Promise<string> => {\n const flatTransactions = this.sequentialToFlatArray(sentTransactions).map(\n (transaction) => ({\n ...transaction,\n status: transaction.status ?? TransactionServerStatusesEnum.pending\n })\n );\n\n const status = getTransactionsSessionStatus(flatTransactions);\n\n const sessionId = createTransactionsSession({\n transactions: flatTransactions,\n transactionsDisplayInfo: options.transactionsDisplayInfo,\n status: status ?? TransactionBatchStatusesEnum.sent,\n sessionInformation: options.sessionInformation\n });\n\n if (options.disableToasts === true) {\n return sessionId;\n }\n\n if (options.onSuccess) {\n registerCallbacks({ onSuccess: options.onSuccess, sessionId });\n }\n\n if (options.onFail) {\n registerCallbacks({ onFail: options.onFail, sessionId });\n }\n\n const totalDuration = getToastDuration(sentTransactions);\n addTransactionToast({\n toastId: sessionId,\n totalDuration\n });\n\n return sessionId;\n };\n\n private readonly sendSignedTransactions = async (\n signedTransactions: Transaction[]\n ): Promise<SignedTransactionType[]> => {\n const { apiAddress, apiTimeout } = networkSelector(getState());\n\n const mergedTransactions = await Promise.all(\n signedTransactions.map(async (transaction) => {\n const response = await axios.post(\n `${apiAddress}/transactions`,\n transaction.toPlainObject(),\n { timeout: Number(apiTimeout) }\n );\n\n const txHash = response.data.txHash;\n\n return {\n ...transaction.toPlainObject(),\n ...response.data,\n status: TransactionServerStatusesEnum.pending,\n hash: txHash\n };\n })\n );\n\n return mergedTransactions;\n };\n\n private readonly sendSignedBatchTransactions = async (\n signedTransactions: Transaction[][]\n ) => {\n const { address } = getAccount();\n const { apiAddress, apiTimeout } = networkSelector(getState());\n\n if (!address) {\n return {\n error:\n 'Invalid address provided. You need to be logged in to send transactions'\n };\n }\n\n const batchId = this.buildBatchId(address);\n\n const plainTransactions = signedTransactions.map((group) =>\n group.map((tx) => tx.toPlainObject())\n );\n\n const payload = {\n transactions: plainTransactions,\n id: batchId\n };\n\n const { data } = await axios.post<BatchTransactionsResponseType>(\n `${apiAddress}/batch`,\n payload,\n {\n timeout: Number(apiTimeout)\n }\n );\n\n const parsedTransactions = data.transactions.map((group) =>\n group.map((tx) => {\n const parsedTx: SignedTransactionType = {\n ...tx,\n status: TransactionServerStatusesEnum.pending,\n hash: tx.hash\n };\n\n // Remove when the protocol supports usernames for guardian transactions\n if (isGuardianTx({ data: parsedTx.data })) {\n delete parsedTx.senderUsername;\n delete parsedTx.receiverUsername;\n }\n\n return parsedTx;\n })\n );\n\n return {\n data: {\n ...data,\n transactions: parsedTransactions\n }\n };\n };\n\n private readonly buildBatchId = (address: string) => {\n const sessionId = Date.now().toString();\n return `${sessionId}${BATCH_TRANSACTIONS_ID_SEPARATOR}${address}`;\n };\n private readonly sequentialToFlatArray = (\n transactions: SignedTransactionType[] | SignedTransactionType[][] = []\n ) =>\n this.getIsSequential(transactions)\n ? transactions.flat()\n : (transactions as SignedTransactionType[]);\n\n private readonly getIsSequential = (\n transactions?: SignedTransactionType[] | SignedTransactionType[][]\n ) => transactions?.every((transaction) => Array.isArray(transaction));\n}\n"],
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": ["axios"]
|
|
5
|
+
"mappings": "0jBAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,wBAAAE,IAAA,eAAAC,EAAAH,GAAA,IAAAI,EAAkC,oBAClCC,EAAgD,4CAEhDC,EAA2B,sCAE3BC,EAAoC,8CACpCC,EAA0C,0DAC1CC,EAAgC,2BAChCC,EAAyB,uBACzBC,EAGO,6BAGPC,EAA6B,2CAC7BC,EAAiC,sCACjCC,EAA6C,2CAC7CC,EAAmC,wCACnCC,EAAkC,sCAG3B,MAAMC,EAAN,MAAMA,CAAmB,CAAzB,cAwBL,KAAO,aAAe,CAAC,CACrB,UAAAC,EACA,OAAAC,CACF,IAAqC,IACnC,qBAAkB,CAAE,UAAAD,EAAW,OAAAC,CAAO,CAAC,CACzC,EAEA,KAAO,KAAO,MACZC,GACiE,CACjE,GAAIA,EAAmB,SAAW,EAChC,MAAM,IAAI,MAAM,yBAAyB,EAG3C,GAAI,CACF,GAAI,IAAC,sBAAmBA,CAAkB,EAIxC,OAFE,MAAM,KAAK,uBAAuBA,CAAkB,EAKxD,MAAMC,EACJ,MAAM,KAAK,4BAA4BD,CAAkB,EAE3D,GAAI,CAACC,EAAiB,MAAQA,EAAiB,KAAK,MAClD,MAAM,IAAI,MACRA,EAAiB,MAAM,OAAS,6BAClC,EAKF,OAF4BA,EAAiB,KAAK,YAGpD,OAASC,EAAO,CAId,MAFGA,EAAqB,UAAU,MAEd,SAAYA,EAAgB,OAClD,CACF,EA2BA,KAAO,MAAQ,MACbD,EACAE,EAA8C,CAAE,cAAe,EAAM,IACjD,CACpB,MAAMC,EAAmB,KAAK,sBAAsBH,CAAgB,EAAE,IACnEI,IAAiB,CAChB,GAAGA,EACH,OAAQA,EAAY,QAAU,gCAA8B,OAC9D,EACF,EAEMC,KAAS,gCAA6BF,CAAgB,EAEtDG,KAAY,6BAA0B,CAC1C,aAAcH,EACd,wBAAyBD,EAAQ,wBACjC,OAAQG,GAAU,+BAA6B,KAC/C,mBAAoBH,EAAQ,kBAC9B,CAAC,EAED,GAAIA,EAAQ,gBAAkB,GAC5B,OAAOI,EAGLJ,EAAQ,cACV,qBAAkB,CAAE,UAAWA,EAAQ,UAAW,UAAAI,CAAU,CAAC,EAG3DJ,EAAQ,WACV,qBAAkB,CAAE,OAAQA,EAAQ,OAAQ,UAAAI,CAAU,CAAC,EAGzD,MAAMC,KAAgB,oBAAiBP,CAAgB,EACvD,gCAAoB,CAClB,QAASM,EACT,cAAAC,CACF,CAAC,EAEMD,CACT,EAEA,KAAiB,uBAAyB,MACxCP,GACqC,CACrC,KAAM,CAAE,WAAAS,EAAY,WAAAC,CAAW,KAAI,sBAAgB,YAAS,CAAC,EAqB7D,OAnB2B,MAAM,QAAQ,IACvCV,EAAmB,IAAI,MAAOK,GAAgB,CAC5C,MAAMM,EAAW,MAAM,EAAAC,QAAM,KAC3B,GAAGH,CAAU,gBACbJ,EAAY,cAAc,EAC1B,CAAE,QAAS,OAAOK,CAAU,CAAE,CAChC,EAEMG,EAASF,EAAS,KAAK,OAE7B,MAAO,CACL,GAAGN,EAAY,cAAc,EAC7B,GAAGM,EAAS,KACZ,OAAQ,gCAA8B,QACtC,KAAME,CACR,CACF,CAAC,CACH,CAGF,EAEA,KAAiB,4BAA8B,MAC7Cb,GACG,CACH,KAAM,CAAE,QAAAc,CAAQ,KAAI,cAAW,EACzB,CAAE,WAAAL,EAAY,WAAAC,CAAW,KAAI,sBAAgB,YAAS,CAAC,EAE7D,GAAI,CAACI,EACH,MAAO,CACL,MACE,yEACJ,EAGF,MAAMC,EAAU,KAAK,aAAaD,CAAO,EAMnCE,EAAU,CACd,aALwBhB,EAAmB,IAAKiB,GAChDA,EAAM,IAAKC,GAAOA,EAAG,cAAc,CAAC,CACtC,EAIE,GAAIH,CACN,EAEM,CAAE,KAAAI,CAAK,EAAI,MAAM,EAAAP,QAAM,KAC3B,GAAGH,CAAU,SACbO,EACA,CACE,QAAS,OAAON,CAAU,CAC5B,CACF,EAEMU,EAAqBD,EAAK,aAAa,IAAKF,GAChDA,EAAM,IAAKC,GAAO,CAChB,MAAMG,EAAkC,CACtC,GAAGH,EACH,OAAQ,gCAA8B,QACtC,KAAMA,EAAG,IACX,EAGA,SAAI,gBAAa,CAAE,KAAMG,EAAS,IAAK,CAAC,IACtC,OAAOA,EAAS,eAChB,OAAOA,EAAS,kBAGXA,CACT,CAAC,CACH,EAEA,MAAO,CACL,KAAM,CACJ,GAAGF,EACH,aAAcC,CAChB,CACF,CACF,EAEA,KAAiB,aAAgBN,GAExB,GADW,KAAK,IAAI,EAAE,SAAS,CACnB,GAAG,iCAA+B,GAAGA,CAAO,GAEjE,KAAiB,sBAAwB,CACvCQ,EAAoE,CAAC,IAErE,KAAK,gBAAgBA,CAAY,EAC7BA,EAAa,KAAK,EACjBA,EAEP,KAAiB,gBACfA,GACGA,GAAc,MAAOjB,GAAgB,MAAM,QAAQA,CAAW,CAAC,EAnOpE,OAAc,aAAkC,CAC9C,OAAKR,EAAmB,WACtBA,EAAmB,SAAW,IAAIA,GAE7BA,EAAmB,QAC5B,CA+NF,EAvOaA,EACI,SAAsC,KADhD,IAAMf,EAANe",
|
|
6
|
+
"names": ["TransactionManager_exports", "__export", "TransactionManager", "__toCommonJS", "import_axios", "import_transactions", "import_getAccount", "import_toastsActions", "import_transactionsActions", "import_selectors", "import_store", "import_enums", "import_isGuardianTx", "import_getToastDuration", "import_getTransactionsStatus", "import_isBatchTransaction", "import_sessionCallbacks", "_TransactionManager", "onSuccess", "onFail", "signedTransactions", "sentTransactions", "error", "options", "flatTransactions", "transaction", "status", "sessionId", "totalDuration", "apiAddress", "apiTimeout", "response", "axios", "txHash", "address", "batchId", "payload", "group", "tx", "data", "parsedTransactions", "parsedTx", "transactions"]
|
|
7
7
|
}
|