@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
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/apiCalls/transactions/getTransactionsByHashes.ts"],
|
|
4
|
+
"sourcesContent": ["import {\n TransactionBatchStatusesEnum,\n TransactionServerStatusesEnum\n} from 'types/enums.types';\nimport { ServerTransactionType } from 'types/serverTransactions.types';\nimport {\n TrackedTransactionResultType,\n SignedTransactionType\n} from 'types/transactions.types';\nimport { getServerTransactionsByHashes } from './getServerTransactionsByHashes';\n\nexport const getTransactionsByHashes = async (\n pendingTransactions: SignedTransactionType[]\n): Promise<TrackedTransactionResultType[]> => {\n const hashes = pendingTransactions.map((tx) => tx.hash);\n\n const responseData = await getServerTransactionsByHashes(hashes);\n\n const pendingTxs = pendingTransactions.map((transaction) => {\n const txOnNetwork = responseData.find(\n (txResponse: ServerTransactionType) =>\n txResponse?.txHash === transaction.hash\n );\n\n return {\n ...transaction,\n status: txOnNetwork?.status as\n | TransactionServerStatusesEnum\n | TransactionBatchStatusesEnum,\n invalidTransaction: txOnNetwork == null,\n results: txOnNetwork?.results ?? [],\n previousStatus: transaction.status?.toString() || '',\n hasStatusChanged: Boolean(\n txOnNetwork && txOnNetwork.status !== transaction.status\n )\n };\n });\n\n return pendingTxs;\n};\n"],
|
|
5
|
+
"mappings": "yCAWO,IAAMA,EAA0B,MACrCC,GAC4C,CAC5C,IAAMC,EAASD,EAAoB,IAAKE,GAAOA,EAAG,IAAI,EAEhDC,EAAe,MAAMC,EAA8BH,CAAM,EAsB/D,OApBmBD,EAAoB,IAAKK,GAAgB,CAC1D,IAAMC,EAAcH,EAAa,KAC9BI,GACCA,GAAY,SAAWF,EAAY,IACvC,EAEA,MAAO,CACL,GAAGA,EACH,OAAQC,GAAa,OAGrB,mBAAoBA,GAAe,KACnC,QAASA,GAAa,SAAW,CAAC,EAClC,eAAgBD,EAAY,QAAQ,SAAS,GAAK,GAClD,iBAAkB,GAChBC,GAAeA,EAAY,SAAWD,EAAY,OAEtD,CACF,CAAC,CAGH",
|
|
6
|
+
"names": ["getTransactionsByHashes", "pendingTransactions", "hashes", "tx", "responseData", "getServerTransactionsByHashes", "transaction", "txOnNetwork", "txResponse"]
|
|
7
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as n}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as n}from"./chunk-LS425JKB.mjs";import{b as r}from"./chunk-BSFYNH6O.mjs";import{s as i}from"./chunk-EGO5R7IZ.mjs";import{b as o}from"./chunk-7VHTZYM2.mjs";async function M({shard:t,apiAddress:s}){if(t!=null)try{let a=await n(t,s);if(!a?.[t]?.lastBlock)return;let e=o(i());(!e.gasStationMetadata||!e.gasStationMetadata[t]||e.gasStationMetadata[t].lastBlock!==a[t].lastBlock)&&r({...e,gasStationMetadata:{...e.gasStationMetadata,...a}})}catch(a){console.error("Error fetching gas station metadata:",a)}}export{M as a};
|
|
2
|
+
//# sourceMappingURL=chunk-PGAJUAPG.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{c as e}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{c as e}from"./chunk-FTJF3Q3P.mjs";import l from"lodash.isstring";var u=r=>{if(!r||!l(r))return null;let n=r.split(".");if(n.length!==4)return null;try{let[t,o,i,s]=n,c=JSON.parse(e(s)),a=e(t);return{ttl:Number(i),extraInfo:c,origin:a,blockHash:o}}catch(t){return console.error(`Error trying to decode ${r}:`,t),null}};export{u as a};
|
|
2
|
+
//# sourceMappingURL=chunk-PMATTOPD.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import{a as n}from"./chunk-2VG3V3VD.mjs";async function i({sessionId:a,status:s}){let c=n(a);if(s!=null)switch(s){case"success":await c?.onSuccess?.(a);break;case"fail":case"cancelled":case"timedOut":case"invalid":await c?.onFail?.(a);break}}export{i as a};
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
2
|
+
//# sourceMappingURL=chunk-PMHRZ5Y7.mjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
|
-
"sources": ["../../src/methods/trackTransactions/helpers/checkTransactionStatus/runSessionCallbacks.ts"],
|
|
3
|
+
"sources": ["../../src/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/helpers/runSessionCallbacks.ts"],
|
|
4
4
|
"sourcesContent": ["import { getCallbacks } from 'managers/TransactionManager/helpers/sessionCallbacks';\nimport { TransactionBatchStatusesEnum } from 'types/enums.types';\n\ninterface RunSessionCallbacksPropsType {\n sessionId: string;\n status?: TransactionBatchStatusesEnum | null;\n}\n\nexport async function runSessionCallbacks({\n sessionId,\n status\n}: RunSessionCallbacksPropsType) {\n const callbacks = getCallbacks(sessionId);\n\n if (status == null) {\n return;\n }\n\n switch (status) {\n case TransactionBatchStatusesEnum.success:\n await callbacks?.onSuccess?.(sessionId);\n break;\n case TransactionBatchStatusesEnum.fail:\n case TransactionBatchStatusesEnum.cancelled:\n case TransactionBatchStatusesEnum.timedOut:\n case TransactionBatchStatusesEnum.invalid:\n await callbacks?.onFail?.(sessionId);\n break;\n }\n}\n"],
|
|
5
5
|
"mappings": "yCAQA,eAAsBA,EAAoB,CACxC,UAAAC,EACA,OAAAC,CACF,EAAiC,CAC/B,IAAMC,EAAYC,EAAaH,CAAS,EAExC,GAAIC,GAAU,KAId,OAAQA,EAAQ,CACd,cACE,MAAMC,GAAW,YAAYF,CAAS,EACtC,MACF,WACA,gBACA,eACA,cACE,MAAME,GAAW,SAASF,CAAS,EACnC,KACJ,CACF",
|
|
6
6
|
"names": ["runSessionCallbacks", "sessionId", "status", "callbacks", "getCallbacks"]
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as m}from"./chunk-VJGOUAZ2.mjs";import{a as l}from"./chunk-3KUTPB2M.mjs";import{a as p}from"./chunk-OMT62YRR.mjs";import{a as I}from"./chunk-S5XV2COC.mjs";import{b as T}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as m}from"./chunk-VJGOUAZ2.mjs";import{a as l}from"./chunk-3KUTPB2M.mjs";import{a as p}from"./chunk-OMT62YRR.mjs";import{a as I}from"./chunk-S5XV2COC.mjs";import{b as T}from"./chunk-33MSDZAP.mjs";import{c as g}from"./chunk-FTJF3Q3P.mjs";var r={};function M({egldLabel:y,apiAddress:s,sender:t,address:e,parsedTransactionsByDataField:u}){return async o=>{if(o==null)return;let S=!t||t===e?null:await T({address:t,baseURL:s}),{transaction:a,multiTxData:A,transactionIndex:D}=o,c=g(a.data.toString()??""),d=p({data:c,multiTransactionData:A,parsedTransactionsByDataField:u}),{tokenId:f}=d,n=a.receiver.toBech32();if(t&&t!==e&&!l(S,e))throw console.error("You cannot sign transactions from a different account"),"You cannot sign transactions from a different account";let k=e!==n,x=n in r;if(n&&k&&!x){let i=await m({addressToVerify:n,baseURL:s});r={...r,...i?.scamInfo?{[n]:i.scamInfo}:{}}}let V=!!(f&&I({tokenId:f,egldLabel:y}));return{transaction:a,receiverScamInfo:r[n]?.info||null,transactionTokenInfo:d,isTokenTransaction:V,dataField:c,transactionIndex:D,needsSigning:o.needsSigning}}}export{M as a};
|
|
2
|
+
//# sourceMappingURL=chunk-PQVNWTWJ.mjs.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{a as A}from"./chunk-ZGMF4QYV.mjs";import{a as s}from"./chunk-UCI2LZF5.mjs";import{a as h}from"./chunk-MH3RDOC5.mjs";import{a as b}from"./chunk-DM3C2PPR.mjs";import{b as L}from"./chunk-YLD26I5H.mjs";import{a as I}from"./chunk-YJCTRUJT.mjs";import{f as p}from"./chunk-EGO5R7IZ.mjs";import{a as f}from"./chunk-KD2IQ32V.mjs";import{a as x}from"./chunk-LJX4MW7B.mjs";import{BigNumber as C}from"bignumber.js";async function H({options:d,config:u,provider:a,login:m}){let e=A.getInstance(),k=b(),T=h({loginToken:d?.token,version:u.version}),o={manager:e,provider:a};await s(o);let t=await new Promise(async function(P,w){async function i(r){let n=e?e.addressesPerPage??1:1,l=new C(r-1).times(n);e?.updateStartIndex(Math.max(0,parseInt(l.toString()))),await s(o)}async function c(r){if(!(!a||!m)){e?.updateConfirmScreen({...T,selectedAddress:r.selectedAddress,explorerLink:I({to:`/${f}/${r.selectedAddress}`,explorerAddress:k})});try{let n=d?.token?await a.tokenLogin({token:Buffer.from(`${d?.token}{}`),addressIndex:r.addressIndex}):await m({addressIndex:r.addressIndex});e.unsubscribeFromAuthEvents({handleCancel:g,handleAccessWallet:c,handleGoToPage:i}),P({address:n.address,signature:n.signature?n.signature.toString("hex"):"",addressIndex:r.addressIndex})}catch(n){console.error("User rejected login:",n),!!e?.getConfirmScreenData()&&await s(o)}}}async function g(){await s(o),e.unsubscribeFromAuthEvents({handleCancel:g,handleAccessWallet:c,handleGoToPage:i}),w("User cancelled login")}e.subscribeToAuthEvents({handleCancel:g,handleAccessWallet:c,handleGoToPage:i})}),{version:v,dataEnabled:E}=u;return p({index:t.addressIndex,loginType:x.ledger}),L({address:t.address,index:t.addressIndex,version:v,hasContractDataEnabled:E}),{address:t.address,signature:t.signature}}export{H as a};
|
|
2
|
+
//# sourceMappingURL=chunk-PSJELFEY.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount.ts"],
|
|
4
|
+
"sourcesContent": ["import { HWProvider } from '@multiversx/sdk-hw-provider/out';\nimport { BigNumber } from 'bignumber.js';\n\nimport { ACCOUNTS_ENDPOINT } from 'apiCalls';\nimport { IEventBus } from 'lib/sdkDappUi';\nimport { LedgerConnectStateManager } from 'managers/internal/LedgerConnectStateManager/LedgerConnectStateManager';\nimport { getExplorerAddress } from 'methods/network/getExplorerAddress';\nimport { ProviderTypeEnum } from 'providers/types/providerFactory.types';\nimport { setLedgerAccount } from 'store/actions';\nimport { setLedgerLogin } from 'store/actions/loginInfo/loginInfoActions';\nimport { getExplorerLink } from 'utils/transactions/getExplorerLink';\n\nimport { getAuthTokenText } from './getAuthTokenText';\nimport { updateAccountsList } from './updateAccountsList';\nimport {\n LedgerConfigType,\n LedgerLoginType\n} from '../types/ledgerProvider.types';\n\ninterface IGetLedgerLogin {\n options?: {\n callbackUrl?: string;\n token?: string;\n };\n config: LedgerConfigType;\n provider: HWProvider | null;\n eventBus?: IEventBus | null;\n login: LedgerLoginType | null;\n}\n\ninterface ISelectedAccount {\n address: string;\n signature: string;\n addressIndex: number;\n}\n\nexport async function authenticateLedgerAccount({\n options,\n config,\n provider,\n login\n}: IGetLedgerLogin) {\n const manager = LedgerConnectStateManager.getInstance();\n\n const explorerAddress = getExplorerAddress();\n\n const authData = getAuthTokenText({\n loginToken: options?.token,\n version: config.version\n });\n\n const accountsListProps = {\n manager,\n provider\n };\n\n // refresh account list\n await updateAccountsList(accountsListProps);\n\n // cycle through accounts until user makes a choice\n const selectedAccount = await new Promise<ISelectedAccount>(async function (\n resolve,\n reject\n ) {\n async function handleGoToPage(page: number) {\n const addressesPerPage = manager ? manager.addressesPerPage ?? 1 : 1;\n const startIndex = new BigNumber(page - 1).times(addressesPerPage);\n\n manager?.updateStartIndex(Math.max(0, parseInt(startIndex.toString())));\n await updateAccountsList(accountsListProps);\n }\n\n async function handleAccessWallet(payload: {\n addressIndex: number;\n selectedAddress: string;\n }) {\n if (!provider || !login) {\n return;\n }\n\n manager?.updateConfirmScreen({\n ...authData,\n selectedAddress: payload.selectedAddress,\n explorerLink: getExplorerLink({\n to: `/${ACCOUNTS_ENDPOINT}/${payload.selectedAddress}`,\n explorerAddress\n })\n });\n\n try {\n const loginInfo = options?.token\n ? await provider.tokenLogin({\n token: Buffer.from(`${options?.token}{}`),\n addressIndex: payload.addressIndex\n })\n : await login({\n addressIndex: payload.addressIndex\n });\n\n manager.unsubscribeFromAuthEvents({\n handleCancel,\n handleAccessWallet,\n handleGoToPage\n });\n\n resolve({\n address: loginInfo.address,\n signature: loginInfo.signature\n ? loginInfo.signature.toString('hex')\n : '',\n addressIndex: payload.addressIndex\n });\n } catch (err) {\n console.error('User rejected login:', err);\n\n const shouldGoBack = Boolean(manager?.getConfirmScreenData());\n if (shouldGoBack) {\n await updateAccountsList(accountsListProps);\n }\n }\n }\n\n async function handleCancel() {\n await updateAccountsList(accountsListProps);\n manager.unsubscribeFromAuthEvents({\n handleCancel,\n handleAccessWallet,\n handleGoToPage\n });\n reject('User cancelled login');\n }\n\n manager.subscribeToAuthEvents({\n handleCancel,\n handleAccessWallet,\n handleGoToPage\n });\n });\n\n const { version, dataEnabled } = config;\n\n // login is finished, data can be persisted in the store\n setLedgerLogin({\n index: selectedAccount.addressIndex,\n loginType: ProviderTypeEnum.ledger\n });\n\n setLedgerAccount({\n address: selectedAccount.address,\n index: selectedAccount.addressIndex,\n version,\n hasContractDataEnabled: dataEnabled\n });\n\n return {\n address: selectedAccount.address,\n signature: selectedAccount.signature\n };\n}\n"],
|
|
5
|
+
"mappings": "iXACA,OAAS,aAAAA,MAAiB,eAmC1B,eAAsBC,EAA0B,CAC9C,QAAAC,EACA,OAAAC,EACA,SAAAC,EACA,MAAAC,CACF,EAAoB,CAClB,IAAMC,EAAUC,EAA0B,YAAY,EAEhDC,EAAkBC,EAAmB,EAErCC,EAAWC,EAAiB,CAChC,WAAYT,GAAS,MACrB,QAASC,EAAO,OAClB,CAAC,EAEKS,EAAoB,CACxB,QAAAN,EACA,SAAAF,CACF,EAGA,MAAMS,EAAmBD,CAAiB,EAG1C,IAAME,EAAkB,MAAM,IAAI,QAA0B,eAC1DC,EACAC,EACA,CACA,eAAeC,EAAeC,EAAc,CAC1C,IAAMC,EAAmBb,EAAUA,EAAQ,kBAAoB,EAAI,EAC7Dc,EAAa,IAAIC,EAAUH,EAAO,CAAC,EAAE,MAAMC,CAAgB,EAEjEb,GAAS,iBAAiB,KAAK,IAAI,EAAG,SAASc,EAAW,SAAS,CAAC,CAAC,CAAC,EACtE,MAAMP,EAAmBD,CAAiB,CAC5C,CAEA,eAAeU,EAAmBC,EAG/B,CACD,GAAI,GAACnB,GAAY,CAACC,GAIlB,CAAAC,GAAS,oBAAoB,CAC3B,GAAGI,EACH,gBAAiBa,EAAQ,gBACzB,aAAcC,EAAgB,CAC5B,GAAI,IAAIC,CAAiB,IAAIF,EAAQ,eAAe,GACpD,gBAAAf,CACF,CAAC,CACH,CAAC,EAED,GAAI,CACF,IAAMkB,EAAYxB,GAAS,MACvB,MAAME,EAAS,WAAW,CACxB,MAAO,OAAO,KAAK,GAAGF,GAAS,KAAK,IAAI,EACxC,aAAcqB,EAAQ,YACxB,CAAC,EACD,MAAMlB,EAAM,CACV,aAAckB,EAAQ,YACxB,CAAC,EAELjB,EAAQ,0BAA0B,CAChC,aAAAqB,EACA,mBAAAL,EACA,eAAAL,CACF,CAAC,EAEDF,EAAQ,CACN,QAASW,EAAU,QACnB,UAAWA,EAAU,UACjBA,EAAU,UAAU,SAAS,KAAK,EAClC,GACJ,aAAcH,EAAQ,YACxB,CAAC,CACH,OAASK,EAAK,CACZ,QAAQ,MAAM,uBAAwBA,CAAG,EAEpB,EAAQtB,GAAS,qBAAqB,GAEzD,MAAMO,EAAmBD,CAAiB,CAE9C,EACF,CAEA,eAAee,GAAe,CAC5B,MAAMd,EAAmBD,CAAiB,EAC1CN,EAAQ,0BAA0B,CAChC,aAAAqB,EACA,mBAAAL,EACA,eAAAL,CACF,CAAC,EACDD,EAAO,sBAAsB,CAC/B,CAEAV,EAAQ,sBAAsB,CAC5B,aAAAqB,EACA,mBAAAL,EACA,eAAAL,CACF,CAAC,CACH,CAAC,EAEK,CAAE,QAAAY,EAAS,YAAAC,CAAY,EAAI3B,EAGjC,OAAA4B,EAAe,CACb,MAAOjB,EAAgB,aACvB,UAAWkB,EAAiB,MAC9B,CAAC,EAEDC,EAAiB,CACf,QAASnB,EAAgB,QACzB,MAAOA,EAAgB,aACvB,QAAAe,EACA,uBAAwBC,CAC1B,CAAC,EAEM,CACL,QAAShB,EAAgB,QACzB,UAAWA,EAAgB,SAC7B,CACF",
|
|
6
|
+
"names": ["BigNumber", "authenticateLedgerAccount", "options", "config", "provider", "login", "manager", "LedgerConnectStateManager", "explorerAddress", "getExplorerAddress", "authData", "getAuthTokenText", "accountsListProps", "updateAccountsList", "selectedAccount", "resolve", "reject", "handleGoToPage", "page", "addressesPerPage", "startIndex", "BigNumber", "handleAccessWallet", "payload", "getExplorerLink", "ACCOUNTS_ENDPOINT", "loginInfo", "handleCancel", "err", "version", "dataEnabled", "setLedgerLogin", "ProviderTypeEnum", "setLedgerAccount"]
|
|
7
|
+
}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{g as i}from"./chunk-PJWJZHIS.mjs";function o({transaction:e,gasPriceData:n}){if(!n)throw new Error("Gas price not found for nonce: "+e.nonce);let{initialGasPrice:t,ppu:r}=n;return r?i({transactionDataLength:String(e?.data||"").length,transactionGasLimit:e.gasLimit,ppu:r}):t}export{o as a};
|
|
2
|
+
//# sourceMappingURL=chunk-QBLEV36D.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getRecommendedGasPrice.ts"],
|
|
4
|
+
"sourcesContent": ["import { IPlainTransactionObject } from 'lib/sdkCore';\nimport { recommendGasPrice } from 'lib/sdkDappUtils';\n\ninterface GetRecommendedGasPricePropsType {\n transaction: IPlainTransactionObject;\n gasPriceData?: {\n initialGasPrice: number;\n ppu: number;\n };\n}\n\nexport function getRecommendedGasPrice({\n transaction,\n gasPriceData\n}: GetRecommendedGasPricePropsType) {\n if (!gasPriceData) {\n throw new Error('Gas price not found for nonce: ' + transaction.nonce);\n }\n\n const { initialGasPrice, ppu } = gasPriceData;\n\n const newGasPrice = ppu\n ? recommendGasPrice({\n transactionDataLength: String(transaction?.data || '').length,\n transactionGasLimit: transaction.gasLimit,\n ppu\n })\n : initialGasPrice;\n\n return newGasPrice;\n}\n"],
|
|
5
|
+
"mappings": "yCAWO,SAASA,EAAuB,CACrC,YAAAC,EACA,aAAAC,CACF,EAAoC,CAClC,GAAI,CAACA,EACH,MAAM,IAAI,MAAM,kCAAoCD,EAAY,KAAK,EAGvE,GAAM,CAAE,gBAAAE,EAAiB,IAAAC,CAAI,EAAIF,EAUjC,OARoBE,EAChBC,EAAkB,CAChB,sBAAuB,OAAOJ,GAAa,MAAQ,EAAE,EAAE,OACvD,oBAAqBA,EAAY,SACjC,IAAAG,CACF,CAAC,EACDD,CAGN",
|
|
6
|
+
"names": ["getRecommendedGasPrice", "transaction", "gasPriceData", "initialGasPrice", "ppu", "recommendGasPrice"]
|
|
7
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as t}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as t}from"./chunk-SKBL5PDX.mjs";var e=class n extends t{constructor(){super({uiDataUpdateEvent:"DATA_UPDATE_PENDING_TRANSACTIONS",uiTag:"mvx-pending-transactions-panel"});this.initialData=null;this.data=this.initialData}static getInstance(){return n.instance||(n.instance=new n),n.instance}isPendingTransactionsOpen(){return this.isOpen}async setupEventListeners(){this.eventBus&&this.subscribeToEventBus("CLOSE_PENDING_TRANSACTIONS",this.closeUI.bind(this))}};export{e as a};
|
|
2
|
+
//# sourceMappingURL=chunk-QDX2JCQH.mjs.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{a as d}from"./chunk-CZEUFCPN.mjs";import{a as s}from"./chunk-JFP2BITI.mjs";import{d as t}from"./chunk-5JQ3V6QZ.mjs";import{a as l}from"./chunk-SKBL5PDX.mjs";import{s as r}from"./chunk-EGO5R7IZ.mjs";import{b as o}from"./chunk-7VHTZYM2.mjs";var e=class e extends l{constructor(){super({uiTag:"mvx-unlock-panel",uiDataUpdateEvent:"OPEN"});this.initialData={providers:null,walletAddress:null};this.openUnlockPanel=async()=>{let{walletAddress:n}=o(r()),i=d(t.customProviders,e.allowedProviders);this.data={providers:i,walletAddress:n},await this.openUI(),this.notifyDataUpdate()};this.setupEventListeners=async()=>{this.eventBus&&(this.subscribeToEventBus("LOGIN",this.handleLogin),this.subscribeToEventBus("CANCEL_LOGIN",this.handleCancelLogin),this.subscribeToEventBus("CLOSE",this.handleCloseUI))};this.handleCloseUI=async n=>{!n?.isLoginFinished&&e.onClose&&e.onClose(),this.closeUI()};this.handleLogin=async({type:n,anchor:i})=>{if(!e.loginHandler)throw new Error("Login callback not initialized. Please call `init()` first.");try{s(e.loginHandler)?(await(await t.create({type:n,anchor:i})).login(),e.loginHandler()):e.loginHandler({type:n,anchor:i}),await this.handleCloseUI({isLoginFinished:!0})}catch(a){console.error(a),this.eventBus?.publish("CANCEL_IN_PROVIDER",this.data)}};this.handleCancelLogin=async()=>{await t.destroy()};this.data=this.initialData}static getInstance(){return e.instance||(e.instance=new e),e.instance}static init(n){return this.loginHandler=n.loginHandler,this.allowedProviders=n.allowedProviders,n.onClose&&(this.onClose=n.onClose),this.getInstance()}};e.loginHandler=null,e.onClose=null,e.allowedProviders=null;var c=e;export{c as a};
|
|
2
|
+
//# sourceMappingURL=chunk-QHXZ354C.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/managers/UnlockPanelManager/UnlockPanelManager.ts"],
|
|
4
|
+
"sourcesContent": ["import { UITagsEnum } from 'constants/UITags.enum';\nimport { MvxUnlockPanel } from 'lib/sdkDappUi';\nimport { ProviderFactory } from 'providers/ProviderFactory';\nimport {\n IProviderBase,\n IProviderFactory,\n ProviderType\n} from 'providers/types/providerFactory.types';\nimport { networkSelector } from 'store/selectors';\nimport { getState } from 'store/store';\nimport {\n OnCloseUnlockPanelType,\n LoginHandlerType,\n UnlockPanelEventsEnum,\n UnlockPanelManagerInitParamsType\n} from './UnlockPanelManager.types';\nimport { SidePanelBaseManager } from '../internal/SidePanelBaseManager';\nimport { getIsSimpleLoginCallback } from './helpers/getIsSimpleLoginCallback';\nimport { getProvidersList } from './helpers/getProviderList';\n\ninterface IUnlockPanelManagerData {\n providers: IProviderBase[] | null;\n walletAddress: string | null;\n}\n\nexport class UnlockPanelManager extends SidePanelBaseManager<\n MvxUnlockPanel,\n IUnlockPanelManagerData,\n UnlockPanelEventsEnum\n> {\n protected initialData: IUnlockPanelManagerData = {\n providers: null,\n walletAddress: null\n };\n\n private static instance: UnlockPanelManager;\n private static loginHandler: LoginHandlerType | null = null;\n private static onClose: OnCloseUnlockPanelType | null = null;\n private static allowedProviders?: ProviderType[] | null = null;\n\n constructor() {\n super({\n uiTag: UITagsEnum.UNLOCK_PANEL,\n uiDataUpdateEvent: UnlockPanelEventsEnum.OPEN\n });\n\n this.data = this.initialData;\n }\n\n public static getInstance(): UnlockPanelManager {\n if (!UnlockPanelManager.instance) {\n UnlockPanelManager.instance = new UnlockPanelManager();\n }\n return UnlockPanelManager.instance;\n }\n\n public static init(params: UnlockPanelManagerInitParamsType) {\n this.loginHandler = params.loginHandler;\n this.allowedProviders = params.allowedProviders;\n\n if (params.onClose) {\n this.onClose = params.onClose;\n }\n\n return this.getInstance();\n }\n\n public openUnlockPanel = async () => {\n const { walletAddress } = networkSelector(getState());\n\n const providers = getProvidersList(\n ProviderFactory.customProviders,\n UnlockPanelManager.allowedProviders\n );\n\n this.data = {\n providers,\n walletAddress\n };\n\n await this.openUI();\n this.notifyDataUpdate();\n };\n\n protected setupEventListeners = async () => {\n if (!this.eventBus) {\n return;\n }\n\n this.subscribeToEventBus(UnlockPanelEventsEnum.LOGIN, this.handleLogin);\n this.subscribeToEventBus(\n UnlockPanelEventsEnum.CANCEL_LOGIN,\n this.handleCancelLogin\n );\n this.subscribeToEventBus(UnlockPanelEventsEnum.CLOSE, this.handleCloseUI);\n };\n\n private readonly handleCloseUI = async (options?: {\n isLoginFinished?: boolean;\n }) => {\n if (!options?.isLoginFinished && UnlockPanelManager.onClose) {\n UnlockPanelManager.onClose();\n }\n\n this.closeUI();\n };\n\n private readonly handleLogin = async ({ type, anchor }: IProviderFactory) => {\n if (!UnlockPanelManager.loginHandler) {\n throw new Error(\n 'Login callback not initialized. Please call `init()` first.'\n );\n }\n\n try {\n if (getIsSimpleLoginCallback(UnlockPanelManager.loginHandler)) {\n const provider = await ProviderFactory.create({ type, anchor });\n await provider.login();\n UnlockPanelManager.loginHandler();\n } else {\n UnlockPanelManager.loginHandler({ type, anchor });\n }\n await this.handleCloseUI({ isLoginFinished: true });\n } catch (error) {\n console.error(error);\n this.eventBus?.publish(\n UnlockPanelEventsEnum.CANCEL_IN_PROVIDER,\n this.data\n );\n }\n };\n\n private readonly handleCancelLogin = async () => {\n await ProviderFactory.destroy();\n };\n}\n"],
|
|
5
|
+
"mappings": "sPAyBO,IAAMA,EAAN,MAAMA,UAA2BC,CAItC,CAWA,aAAc,CACZ,MAAM,CACJ,yBACA,wBACF,CAAC,EAdH,KAAU,YAAuC,CAC/C,UAAW,KACX,cAAe,IACjB,EAkCA,KAAO,gBAAkB,SAAY,CACnC,GAAM,CAAE,cAAAC,CAAc,EAAIC,EAAgBC,EAAS,CAAC,EAE9CC,EAAYC,EAChBC,EAAgB,gBAChBP,EAAmB,gBACrB,EAEA,KAAK,KAAO,CACV,UAAAK,EACA,cAAAH,CACF,EAEA,MAAM,KAAK,OAAO,EAClB,KAAK,iBAAiB,CACxB,EAEA,KAAU,oBAAsB,SAAY,CACrC,KAAK,WAIV,KAAK,4BAAiD,KAAK,WAAW,EACtE,KAAK,mCAEH,KAAK,iBACP,EACA,KAAK,4BAAiD,KAAK,aAAa,EAC1E,EAEA,KAAiB,cAAgB,MAAOM,GAElC,CACA,CAACA,GAAS,iBAAmBR,EAAmB,SAClDA,EAAmB,QAAQ,EAG7B,KAAK,QAAQ,CACf,EAEA,KAAiB,YAAc,MAAO,CAAE,KAAAS,EAAM,OAAAC,CAAO,IAAwB,CAC3E,GAAI,CAACV,EAAmB,aACtB,MAAM,IAAI,MACR,6DACF,EAGF,GAAI,CACEW,EAAyBX,EAAmB,YAAY,GAE1D,MADiB,MAAMO,EAAgB,OAAO,CAAE,KAAAE,EAAM,OAAAC,CAAO,CAAC,GAC/C,MAAM,EACrBV,EAAmB,aAAa,GAEhCA,EAAmB,aAAa,CAAE,KAAAS,EAAM,OAAAC,CAAO,CAAC,EAElD,MAAM,KAAK,cAAc,CAAE,gBAAiB,EAAK,CAAC,CACpD,OAASE,EAAO,CACd,QAAQ,MAAMA,CAAK,EACnB,KAAK,UAAU,6BAEb,KAAK,IACP,CACF,CACF,EAEA,KAAiB,kBAAoB,SAAY,CAC/C,MAAML,EAAgB,QAAQ,CAChC,EAxFE,KAAK,KAAO,KAAK,WACnB,CAEA,OAAc,aAAkC,CAC9C,OAAKP,EAAmB,WACtBA,EAAmB,SAAW,IAAIA,GAE7BA,EAAmB,QAC5B,CAEA,OAAc,KAAKa,EAA0C,CAC3D,YAAK,aAAeA,EAAO,aAC3B,KAAK,iBAAmBA,EAAO,iBAE3BA,EAAO,UACT,KAAK,QAAUA,EAAO,SAGjB,KAAK,YAAY,CAC1B,CAsEF,EA9Gab,EAWI,aAAwC,KAX5CA,EAYI,QAAyC,KAZ7CA,EAaI,iBAA2C,KAbrD,IAAMc,EAANd",
|
|
6
|
+
"names": ["_UnlockPanelManager", "SidePanelBaseManager", "walletAddress", "networkSelector", "getState", "providers", "getProvidersList", "ProviderFactory", "options", "type", "anchor", "getIsSimpleLoginCallback", "error", "params", "UnlockPanelManager"]
|
|
7
|
+
}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{a as r}from"./chunk-N55JEIM6.mjs";import{b as n,c as o}from"./chunk-JBZR35CW.mjs";import{s}from"./chunk-EGO5R7IZ.mjs";function T({sessionId:t,transaction:e}){o({sessionId:t,transaction:e});let i=s().transactions?.[t].transactions,a=r(i);return a&&n({sessionId:t,status:a}),a}export{T as a};
|
|
2
|
+
//# sourceMappingURL=chunk-RUE5QYSG.mjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
|
-
"sources": ["../../src/methods/trackTransactions/helpers/checkTransactionStatus/updateTransactionAndSessionStatus.ts"],
|
|
4
|
-
"sourcesContent": ["import { getTransactionsSessionStatus } from 'managers/TransactionManager/helpers/getTransactionsStatus';\nimport {\n updateSessionStatus,\n updateTransactionStatus,\n UpdateTransactionStatusPropsType\n} from 'store/actions/transactions/transactionsActions';\nimport { getState } from 'store/store';\nimport { TransactionBatchStatusesEnum } from 'types/enums.types';\n\nexport function updateTransactionAndSessionStatus({\n sessionId,\n transaction\n}: UpdateTransactionStatusPropsType): TransactionBatchStatusesEnum | null {\n updateTransactionStatus({\n sessionId,\n transaction\n });\n\n const state = getState();\n const transactions = state.transactions[sessionId].transactions;\n\n const status = getTransactionsSessionStatus(transactions);\n\n if (status) {\n updateSessionStatus({\n sessionId,\n status\n });\n }\n\n return status;\n}\n"],
|
|
5
|
-
"mappings": "6HASO,SAASA,EAAkC,CAChD,UAAAC,EACA,YAAAC,CACF,EAA0E,CACxEC,EAAwB,CACtB,UAAAF,EACA,YAAAC,CACF,CAAC,EAGD,IAAME,EADQC,EAAS,EACI,
|
|
3
|
+
"sources": ["../../src/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/helpers/updateTransactionAndSessionStatus.ts"],
|
|
4
|
+
"sourcesContent": ["import { getTransactionsSessionStatus } from 'managers/TransactionManager/helpers/getTransactionsStatus';\nimport {\n updateSessionStatus,\n updateTransactionStatus,\n UpdateTransactionStatusPropsType\n} from 'store/actions/transactions/transactionsActions';\nimport { getState } from 'store/store';\nimport { TransactionBatchStatusesEnum } from 'types/enums.types';\n\nexport function updateTransactionAndSessionStatus({\n sessionId,\n transaction\n}: UpdateTransactionStatusPropsType): TransactionBatchStatusesEnum | null {\n updateTransactionStatus({\n sessionId,\n transaction\n });\n\n const state = getState();\n const transactions = state.transactions?.[sessionId].transactions;\n\n const status = getTransactionsSessionStatus(transactions);\n\n if (status) {\n updateSessionStatus({\n sessionId,\n status\n });\n }\n\n return status;\n}\n"],
|
|
5
|
+
"mappings": "6HASO,SAASA,EAAkC,CAChD,UAAAC,EACA,YAAAC,CACF,EAA0E,CACxEC,EAAwB,CACtB,UAAAF,EACA,YAAAC,CACF,CAAC,EAGD,IAAME,EADQC,EAAS,EACI,eAAeJ,CAAS,EAAE,aAE/CK,EAASC,EAA6BH,CAAY,EAExD,OAAIE,GACFE,EAAoB,CAClB,UAAAP,EACA,OAAAK,CACF,CAAC,EAGIA,CACT",
|
|
6
6
|
"names": ["updateTransactionAndSessionStatus", "sessionId", "transaction", "updateTransactionStatus", "transactions", "getState", "status", "getTransactionsSessionStatus", "updateSessionStatus"]
|
|
7
7
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as n}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as n}from"./chunk-EG5H4QZV.mjs";import{a as t}from"./chunk-NZFUM3VC.mjs";var i=class extends n{constructor({uiDataUpdateEvent:e,uiTag:s}){super({uiDataUpdateEvent:e,uiTag:s});this.isOpen=!1;this.data=this.getInitialData()}async openUI(){this.isOpen&&this.uiElement||(await super.init(),this.setIsSidePanelOpen(!0))}destroy(){if(this.setIsSidePanelOpen(!1),this.uiElement?.closeWithAnimation){this.uiElement?.closeWithAnimation?.().finally(()=>{super.destroy()});return}super.destroy()}closeUI(){this.resetData(),this.destroy()}setIsSidePanelOpen(e){this.isOpen=e,t(e)}};export{i as a};
|
|
2
|
+
//# sourceMappingURL=chunk-SKBL5PDX.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as e}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as e}from"./chunk-AGO2Z4FM.mjs";var t={closeConnectionRef:void 0};async function c(n){let{closeConnection:o}=await e(n);t.closeConnectionRef=o}export{t as a,c as b};
|
|
2
|
+
//# sourceMappingURL=chunk-SR7TVATV.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{q as t}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{q as t}from"./chunk-EGO5R7IZ.mjs";var r=({key:e,value:a})=>{t().setState(({cache:c})=>{c[e]=a},!1,{type:"saveToCache",payload:{value:a}})},s=e=>{t().setState(({cache:a})=>{delete a[e]},!1,{type:"removeFromCache",payload:{value:e}})},h=()=>{t().setState(({cache:e})=>{Object.keys(e).forEach(a=>{delete e[a]})},!1,"clearCache")};export{r as a,s as b,h as c};
|
|
2
|
+
//# sourceMappingURL=chunk-STBF3KTB.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=chunk-SVR3TUOY.mjs.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{a as t}from"./chunk-7EWMP5BY.mjs";async function i(n){if(!(typeof t.navigator<"u"&&t.navigator.product==="ReactNative"||!t))try{(await import("@multiversx/sdk-dapp-ui")).defineCustomElements(n)}catch(e){console.warn("@multiversx/sdk-dapp-ui not found"+e)}}export{i as a};
|
|
2
|
+
//# sourceMappingURL=chunk-TKTDGTN7.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/lib/sdkDappUi.ts"],
|
|
4
|
+
"sourcesContent": ["import { safeWindow } from '../constants/window.constants';\nexport type { MvxSignTransactionsPanel } from '@multiversx/sdk-dapp-ui/web-components/mvx-sign-transactions-panel';\nexport type { MvxWalletConnect } from '@multiversx/sdk-dapp-ui/web-components/mvx-wallet-connect';\nexport type { MvxPendingTransactionsPanel } from '@multiversx/sdk-dapp-ui/web-components/mvx-pending-transactions-panel';\nexport type { MvxNotificationsFeed } from '@multiversx/sdk-dapp-ui/web-components/mvx-notifications-feed';\nexport type { MvxToastList } from '@multiversx/sdk-dapp-ui/web-components/mvx-toast-list';\nexport type { MvxUnlockPanel } from '@multiversx/sdk-dapp-ui/web-components/mvx-unlock-panel';\n\nexport type { IEventBus } from '@multiversx/sdk-dapp-ui/types/utils/EventBus';\nexport type {\n ITransactionListItem,\n ITransactionListItemAsset,\n ITransactionListItemAction\n} from '@multiversx/sdk-dapp-ui/types/components/visual/transaction-list-item/transaction-list-item.types';\n\nexport async function defineCustomElements(opts?: any): Promise<void> {\n const isReactNative =\n typeof safeWindow.navigator !== 'undefined' &&\n safeWindow.navigator.product === 'ReactNative';\n\n if (isReactNative || !safeWindow) {\n return;\n }\n\n try {\n const loader = await import('@multiversx/sdk-dapp-ui');\n loader.defineCustomElements(opts);\n } catch (err) {\n console.warn('@multiversx/sdk-dapp-ui not found' + err);\n }\n}\n"],
|
|
5
|
+
"mappings": "yCAeA,eAAsBA,EAAqBC,EAA2B,CAKpE,GAAI,EAHF,OAAOC,EAAW,UAAc,KAChCA,EAAW,UAAU,UAAY,eAEd,CAACA,GAItB,GAAI,EACa,KAAM,QAAO,yBAAyB,GAC9C,qBAAqBD,CAAI,CAClC,OAASE,EAAK,CACZ,QAAQ,KAAK,oCAAsCA,CAAG,CACxD,CACF",
|
|
6
|
+
"names": ["defineCustomElements", "opts", "safeWindow", "err"]
|
|
7
|
+
}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{a as c}from"./chunk-DLWDO7M6.mjs";import{d as v}from"./chunk-5JQ3V6QZ.mjs";import{y as a}from"./chunk-6MNQSWGO.mjs";import{s as n}from"./chunk-EGO5R7IZ.mjs";import{d as s}from"./chunk-VNLGNNIL.mjs";import{a as i}from"./chunk-LJX4MW7B.mjs";import{a as d}from"./chunk-3KFEBW7N.mjs";async function S(){let t=c(),m=d(),e=s(n()),o=m||t?i.webview:e,p=Object.values(i).includes(e);if(e&&!p&&(o=e),!o)return;let r=await v.create({type:o});if(!r)throw new Error("Provider not found");if(t||o===i.webview&&r.isInitialized())try{await r.login()}catch(f){console.warn("Failed to login with provider",r.getType(),f)}a(r)}export{S as a};
|
|
2
|
+
//# sourceMappingURL=chunk-TZTP57OK.mjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/providers/helpers/restoreProvider.ts"],
|
|
4
|
-
"sourcesContent": ["import { isMobileWebview } from 'lib/sdkWebviewProvider';\nimport {\n ProviderBaseType,\n ProviderTypeEnum\n} from 'providers/types/providerFactory.types';\nimport { providerTypeSelector } from 'store/selectors';\nimport { getState } from 'store/store';\nimport { getIsInIframe } from 'utils/window/getIsInIframe';\nimport { setAccountProvider } from './accountProvider';\nimport { ProviderFactory } from '../ProviderFactory';\n\nexport async function restoreProvider() {\n const isMobileView = isMobileWebview();\n const isInIframe = getIsInIframe();\n const providerType = providerTypeSelector(getState());\n\n let type =\n isInIframe || isMobileView ? ProviderTypeEnum.webview : providerType;\n\n const isBaseProvider = Object.values(ProviderTypeEnum).includes(\n providerType as ProviderBaseType\n );\n // Check if provider exist and is not base\n const isCustomProvider = providerType && !isBaseProvider;\n\n // Prioritize customProvider if it serves as a provider inside an iframe\n if (isCustomProvider) {\n type = providerType;\n }\n\n if (!type) {\n return;\n }\n\n const provider = await ProviderFactory.create({\n type\n });\n\n if (!provider) {\n throw new Error('Provider not found');\n }\n\n /*\n Check if the app is running in webview and the provider is already initialized.\n - true: the app is embedded within another dApp (e.g., inside an iframe) and perform login using the provider.\n - false: the parent is not a dApp and proceed with initializing the current app as a standalone iframe.\n */\n
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": ["restoreProvider", "isMobileView", "isMobileWebview", "isInIframe", "getIsInIframe", "providerType", "providerTypeSelector", "getState", "type", "ProviderTypeEnum", "isBaseProvider", "provider", "ProviderFactory", "setAccountProvider"]
|
|
4
|
+
"sourcesContent": ["import { isMobileWebview } from 'lib/sdkWebviewProvider';\nimport {\n ProviderBaseType,\n ProviderTypeEnum\n} from 'providers/types/providerFactory.types';\nimport { providerTypeSelector } from 'store/selectors';\nimport { getState } from 'store/store';\nimport { getIsInIframe } from 'utils/window/getIsInIframe';\nimport { setAccountProvider } from './accountProvider';\nimport { ProviderFactory } from '../ProviderFactory';\n\nexport async function restoreProvider() {\n const isMobileView = isMobileWebview();\n const isInIframe = getIsInIframe();\n const providerType = providerTypeSelector(getState());\n\n let type =\n isInIframe || isMobileView ? ProviderTypeEnum.webview : providerType;\n\n const isBaseProvider = Object.values(ProviderTypeEnum).includes(\n providerType as ProviderBaseType\n );\n // Check if provider exist and is not base\n const isCustomProvider = providerType && !isBaseProvider;\n\n // Prioritize customProvider if it serves as a provider inside an iframe\n if (isCustomProvider) {\n type = providerType;\n }\n\n if (!type) {\n return;\n }\n\n const provider = await ProviderFactory.create({\n type\n });\n\n if (!provider) {\n throw new Error('Provider not found');\n }\n\n /*\n Check if the app is running in webview and the provider is already initialized.\n - true: the app is embedded within another dApp (e.g., inside an iframe) and perform login using the provider.\n - false: the parent is not a dApp and proceed with initializing the current app as a standalone iframe.\n */\n const shouldStartWebviewLogin =\n isMobileView ||\n (type === ProviderTypeEnum.webview && provider.isInitialized());\n\n if (shouldStartWebviewLogin) {\n try {\n await provider.login();\n } catch (error) {\n console.warn('Failed to login with provider', provider.getType(), error);\n }\n }\n\n setAccountProvider(provider);\n}\n"],
|
|
5
|
+
"mappings": "+RAWA,eAAsBA,GAAkB,CACtC,IAAMC,EAAeC,EAAgB,EAC/BC,EAAaC,EAAc,EAC3BC,EAAeC,EAAqBC,EAAS,CAAC,EAEhDC,EACFL,GAAcF,EAAeQ,EAAiB,QAAUJ,EAEpDK,EAAiB,OAAO,OAAOD,CAAgB,EAAE,SACrDJ,CACF,EASA,GAPyBA,GAAgB,CAACK,IAIxCF,EAAOH,GAGL,CAACG,EACH,OAGF,IAAMG,EAAW,MAAMC,EAAgB,OAAO,CAC5C,KAAAJ,CACF,CAAC,EAED,GAAI,CAACG,EACH,MAAM,IAAI,MAAM,oBAAoB,EAYtC,GAHEV,GACCO,IAASC,EAAiB,SAAWE,EAAS,cAAc,EAG7D,GAAI,CACF,MAAMA,EAAS,MAAM,CACvB,OAASE,EAAO,CACd,QAAQ,KAAK,gCAAiCF,EAAS,QAAQ,EAAGE,CAAK,CACzE,CAGFC,EAAmBH,CAAQ,CAC7B",
|
|
6
|
+
"names": ["restoreProvider", "isMobileView", "isMobileWebview", "isInIframe", "getIsInIframe", "providerType", "providerTypeSelector", "getState", "type", "ProviderTypeEnum", "isBaseProvider", "provider", "ProviderFactory", "error", "setAccountProvider"]
|
|
7
7
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as t}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as t}from"./chunk-OEXP5D2Q.mjs";async function g({originalLoginToken:i,extraInfoData:n,address:o}){let e=await t({loginToken:i,extraInfoData:n}),s=n.multisig||n.impersonate||o;return{address:e!=null?s:o,modifiedLoginToken:e}}export{g as a};
|
|
2
|
+
//# sourceMappingURL=chunk-U24DHQDI.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as w}from"./chunk-QXC4D3AC.mjs";import{a as g}from"./chunk-YGI3KXMZ.mjs";import{a as b}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as w}from"./chunk-QXC4D3AC.mjs";import{a as g}from"./chunk-YGI3KXMZ.mjs";import{a as b}from"./chunk-PDMEOQYV.mjs";import{a as m}from"./chunk-ZNYD34VT.mjs";import{f}from"./chunk-PJWJZHIS.mjs";import x from"bignumber.js";var F=async({manager:e,provider:d})=>{if(!e||!d)throw new Error("Provider is not initialized.");let{network:u}=b(),s=e.getAccountScreenData()?.startIndex||0,r=e.getAllAccounts(),a=await w({baseURL:u.apiAddress}),l=o=>o.index>=s&&o.index<s+e.addressesPerPage,I=r.reduce((o,n)=>Object.assign(o,{[n.index]:n}),{}),A=r.filter(l),y=!!I[s];if(e.updateAccountScreen({isLoading:!y}),A.length>0){e.updateAccountScreen({accounts:A});return}try{let o=Math.floor(s/e.addressesPerPage),n=await d.getAccounts(o,e.addressesPerPage),L=n.map((t,c)=>({address:t,balance:"...",index:c+s})),P=[...r,...L],h=n.map(t=>m({address:t,baseURL:u.apiAddress})),j=await Promise.all(h),i=P.reduce((t,c)=>Object.assign(t,{[c.address]:c}),{});j.forEach(t=>{if(!t||!a||!a.price)return;let c=new x(t.balance),S=c.dividedBy(x(10).pow(18)).toFormat(4).toString();if(c.isNaN())return;let U=g({amount:f({input:t.balance}),usd:a?.price});i[t.address].balance=S,i[t.address].usdValue=U});let p=Object.values(i).sort((t,c)=>t.index-c.index),O=p.filter(l);e.updateAllAccounts(p),e.updateAccountScreen({accounts:O,isLoading:!1})}catch(o){console.error("Failed to fetch accounts:",o)}};export{F as a};
|
|
2
|
+
//# sourceMappingURL=chunk-UCI2LZF5.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import{buildAxiosFetch as u}from"@lifeomic/axios-fetch";import i from"axios";var r=u(i),n=async(t,o)=>{if(!t.ok)throw new Error(`HTTP error! Status: ${t.status}`);let e=t.clone().json(),[c]=await Promise.all([e]);return{data:c,status:t.status,statusText:t.statusText,headers:t.headers,config:o}};async function d(t,o,s){try{let e=await r(t,{method:"POST",body:o?JSON.stringify(o):void 0,headers:{"Content-Type":"application/json",...s?.headers||{}},...s});return n(e,s)}catch(e){throw console.error("Fetch Error:",e),e}}async function h(t,o){try{let s=await r(t,o);if(!s.ok)throw new Error(`HTTP error! Status: ${s.status}`);return n(s,o)}catch(s){throw console.error("Fetch Error:",s),s}}async function R(t,o,s){try{let e=await r(t,{method:"PATCH",body:o?JSON.stringify(o):void 0,headers:s?.headers||{},...s});if(!e.ok)throw new Error(`HTTP error! Status: ${e.status}`);return n(e,s)}catch(e){throw console.error("Fetch Error:",e),e}}var a=i.create();a.get=h;a.post=d;a.patch=R;export{a};
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
2
|
+
//# sourceMappingURL=chunk-UFDELD3B.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/apiCalls/utils/axiosInstance.ts"],
|
|
4
|
+
"sourcesContent": ["import { buildAxiosFetch } from '@lifeomic/axios-fetch';\nimport axios, { AxiosRequestConfig, AxiosResponse } from 'axios';\n\ntype RequestInit = {\n method?: string;\n headers?: Record<string, string>;\n body?: string;\n [key: string]: any;\n};\n\n// Needs to be used because an async call made after cross-window user interaction makes the dapp unresponsive\n\nconst fetch = buildAxiosFetch(axios);\n\nconst getFormattedAxiosResponse = async <T>(response: Response, config?: T) => {\n if (!response.ok) {\n throw new Error(`HTTP error! Status: ${response.status}`);\n }\n\n // Clone the response to be able to read it twice (for status and data)\n const clonedResponse = response.clone();\n\n // Parse the JSON body asynchronously\n const jsonPromise = clonedResponse.json();\n\n // Return the standardized response object\n const [responseData] = await Promise.all([jsonPromise]);\n return {\n data: responseData,\n status: response.status,\n statusText: response.statusText,\n headers: response.headers,\n config\n };\n};\n\nasync function customPost<T = any, R = AxiosResponse<T, any>, D = any>(\n url: string,\n data?: D,\n config?: AxiosRequestConfig<D> | undefined\n): Promise<R> {\n try {\n const response = await fetch(url, {\n method: 'POST',\n body: data ? JSON.stringify(data) : undefined,\n headers: {\n 'Content-Type': 'application/json',\n ...(config?.headers || {})\n },\n ...config\n } as RequestInit);\n\n return getFormattedAxiosResponse(response, config) as unknown as Promise<R>;\n } catch (error) {\n console.error('Fetch Error:', error);\n throw error;\n }\n}\n\nasync function customGet<T = any, R = AxiosResponse<T, any>, D = any>(\n url: string,\n config?: AxiosRequestConfig<D> | undefined\n): Promise<R> {\n try {\n const response = await fetch(url, config as RequestInit);\n if (!response.ok) {\n throw new Error(`HTTP error! Status: ${response.status}`);\n }\n\n return getFormattedAxiosResponse(response, config) as unknown as Promise<R>;\n } catch (error) {\n console.error('Fetch Error:', error);\n throw error;\n }\n}\n\nasync function customPatch<T = any, R = AxiosResponse<T, any>, D = any>(\n url: string,\n data?: D,\n config?: AxiosRequestConfig<D> | undefined\n): Promise<R> {\n try {\n const response = await fetch(url, {\n method: 'PATCH',\n body: data ? JSON.stringify(data) : undefined,\n headers: config?.headers || {},\n ...config\n } as RequestInit);\n\n if (!response.ok) {\n throw new Error(`HTTP error! Status: ${response.status}`);\n }\n\n return getFormattedAxiosResponse(response, config) as unknown as Promise<R>;\n } catch (error) {\n console.error('Fetch Error:', error);\n throw error;\n }\n}\n\nconst axiosInstance = axios.create();\naxiosInstance.get = customGet;\naxiosInstance.post = customPost;\naxiosInstance.patch = customPatch;\n\nexport { axiosInstance };\n"],
|
|
5
|
+
"mappings": "AAAA,OAAS,mBAAAA,MAAuB,wBAChC,OAAOC,MAAkD,QAWzD,IAAMC,EAAQF,EAAgBC,CAAK,EAE7BE,EAA4B,MAAUC,EAAoBC,IAAe,CAC7E,GAAI,CAACD,EAAS,GACZ,MAAM,IAAI,MAAM,uBAAuBA,EAAS,MAAM,EAAE,EAO1D,IAAME,EAHiBF,EAAS,MAAM,EAGH,KAAK,EAGlC,CAACG,CAAY,EAAI,MAAM,QAAQ,IAAI,CAACD,CAAW,CAAC,EACtD,MAAO,CACL,KAAMC,EACN,OAAQH,EAAS,OACjB,WAAYA,EAAS,WACrB,QAASA,EAAS,QAClB,OAAAC,CACF,CACF,EAEA,eAAeG,EACbC,EACAC,EACAL,EACY,CACZ,GAAI,CACF,IAAMD,EAAW,MAAMF,EAAMO,EAAK,CAChC,OAAQ,OACR,KAAMC,EAAO,KAAK,UAAUA,CAAI,EAAI,OACpC,QAAS,CACP,eAAgB,mBAChB,GAAIL,GAAQ,SAAW,CAAC,CAC1B,EACA,GAAGA,CACL,CAAgB,EAEhB,OAAOF,EAA0BC,EAAUC,CAAM,CACnD,OAASM,EAAO,CACd,cAAQ,MAAM,eAAgBA,CAAK,EAC7BA,CACR,CACF,CAEA,eAAeC,EACbH,EACAJ,EACY,CACZ,GAAI,CACF,IAAMD,EAAW,MAAMF,EAAMO,EAAKJ,CAAqB,EACvD,GAAI,CAACD,EAAS,GACZ,MAAM,IAAI,MAAM,uBAAuBA,EAAS,MAAM,EAAE,EAG1D,OAAOD,EAA0BC,EAAUC,CAAM,CACnD,OAASM,EAAO,CACd,cAAQ,MAAM,eAAgBA,CAAK,EAC7BA,CACR,CACF,CAEA,eAAeE,EACbJ,EACAC,EACAL,EACY,CACZ,GAAI,CACF,IAAMD,EAAW,MAAMF,EAAMO,EAAK,CAChC,OAAQ,QACR,KAAMC,EAAO,KAAK,UAAUA,CAAI,EAAI,OACpC,QAASL,GAAQ,SAAW,CAAC,EAC7B,GAAGA,CACL,CAAgB,EAEhB,GAAI,CAACD,EAAS,GACZ,MAAM,IAAI,MAAM,uBAAuBA,EAAS,MAAM,EAAE,EAG1D,OAAOD,EAA0BC,EAAUC,CAAM,CACnD,OAASM,EAAO,CACd,cAAQ,MAAM,eAAgBA,CAAK,EAC7BA,CACR,CACF,CAEA,IAAMG,EAAgBb,EAAM,OAAO,EACnCa,EAAc,IAAMF,EACpBE,EAAc,KAAON,EACrBM,EAAc,MAAQD",
|
|
6
|
+
"names": ["buildAxiosFetch", "axios", "fetch", "getFormattedAxiosResponse", "response", "config", "jsonPromise", "responseData", "customPost", "url", "data", "error", "customGet", "customPatch", "axiosInstance"]
|
|
7
|
+
}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{a as u}from"./chunk-G5MRPRWI.mjs";import{a as g}from"./chunk-PMATTOPD.mjs";import l from"lodash.isequal";async function C({loginData:f,nativeAuthConfig:r,loginToken:s}){let{address:m,signature:d,...n}=f,a=Object.keys(n).reduce((i,t)=>{let o=["multisig","impersonate"].includes(t)&&n[t]!=null?String(n[t]):null;return o!=null&&(i[t]=o.toString()),i},{}),e={...r};if(Object.keys(a).length>0&&(e.extraInfo=a),!l(r,e)){let i=g(s);return await u(e).initialize({noCache:!0,latestBlockInfo:{hash:i?.blockHash??"",timestamp:i?.extraInfo?.timestamp??0}})}return s}export{C as a};
|
|
2
|
+
//# sourceMappingURL=chunk-VGO3VD5N.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/providers/DappProvider/helpers/login/helpers/getMultisigLoginToken.ts"],
|
|
4
|
+
"sourcesContent": ["import isEqual from 'lodash.isequal';\nimport { IProvider } from 'providers/types/providerFactory.types';\nimport { decodeLoginToken } from 'services/nativeAuth/helpers/decodeLoginToken';\nimport { nativeAuth } from 'services/nativeAuth/nativeAuth';\nimport { NativeAuthConfigType } from 'services/nativeAuth/nativeAuth.types';\n\nexport async function getMultisigLoginToken({\n loginData,\n nativeAuthConfig,\n loginToken\n}: {\n loginData: Awaited<ReturnType<IProvider['login']>>;\n nativeAuthConfig: NativeAuthConfigType;\n loginToken: string;\n}): Promise<string> {\n const {\n address: _address,\n signature: _signature,\n ...loginResult\n } = loginData;\n\n const extraInfo = Object.keys(loginResult).reduce(\n (acc, key) => {\n const value =\n ['multisig', 'impersonate'].includes(key) && loginResult[key] != null\n ? String(loginResult[key])\n : null;\n\n if (value != null) {\n acc[key] = value.toString();\n }\n return acc;\n },\n {} as { [key: string]: string }\n );\n\n const modifiedNativeAuthConfig: NativeAuthConfigType = {\n ...nativeAuthConfig\n };\n\n if (Object.keys(extraInfo).length > 0) {\n modifiedNativeAuthConfig.extraInfo = extraInfo;\n }\n\n const isSameConfig = isEqual(nativeAuthConfig, modifiedNativeAuthConfig);\n\n if (!isSameConfig) {\n const existingLoginToken = decodeLoginToken(loginToken);\n const nativeAuthClient = nativeAuth(modifiedNativeAuthConfig);\n const modifiedLoginToken = await nativeAuthClient.initialize({\n noCache: true,\n latestBlockInfo: {\n hash: existingLoginToken?.blockHash ?? '',\n timestamp: existingLoginToken?.extraInfo?.timestamp ?? 0\n }\n });\n return modifiedLoginToken;\n }\n\n return loginToken;\n}\n"],
|
|
5
|
+
"mappings": "kFAAA,OAAOA,MAAa,iBAMpB,eAAsBC,EAAsB,CAC1C,UAAAC,EACA,iBAAAC,EACA,WAAAC,CACF,EAIoB,CAClB,GAAM,CACJ,QAASC,EACT,UAAWC,EACX,GAAGC,CACL,EAAIL,EAEEM,EAAY,OAAO,KAAKD,CAAW,EAAE,OACzC,CAACE,EAAKC,IAAQ,CACZ,IAAMC,EACJ,CAAC,WAAY,aAAa,EAAE,SAASD,CAAG,GAAKH,EAAYG,CAAG,GAAK,KAC7D,OAAOH,EAAYG,CAAG,CAAC,EACvB,KAEN,OAAIC,GAAS,OACXF,EAAIC,CAAG,EAAIC,EAAM,SAAS,GAErBF,CACT,EACA,CAAC,CACH,EAEMG,EAAiD,CACrD,GAAGT,CACL,EAQA,GANI,OAAO,KAAKK,CAAS,EAAE,OAAS,IAClCI,EAAyB,UAAYJ,GAKnC,CAFiBK,EAAQV,EAAkBS,CAAwB,EAEpD,CACjB,IAAME,EAAqBC,EAAiBX,CAAU,EAStD,OAP2B,MADFY,EAAWJ,CAAwB,EACV,WAAW,CAC3D,QAAS,GACT,gBAAiB,CACf,KAAME,GAAoB,WAAa,GACvC,UAAWA,GAAoB,WAAW,WAAa,CACzD,CACF,CAAC,CAEH,CAEA,OAAOV,CACT",
|
|
6
|
+
"names": ["isEqual", "getMultisigLoginToken", "loginData", "nativeAuthConfig", "loginToken", "_address", "_signature", "loginResult", "extraInfo", "acc", "key", "value", "modifiedNativeAuthConfig", "isEqual", "existingLoginToken", "decodeLoginToken", "nativeAuth"]
|
|
7
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as e}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as e}from"./chunk-EG5H4QZV.mjs";var n=class t extends e{constructor(){super({uiDataUpdateEvent:"DATA_UPDATE",uiTag:"mvx-wallet-connect"});this.initialData={wcURI:"",walletConnectDeepLink:""};this.data={...this.initialData}}static getInstance(){return t.instance||(t.instance=new t),t.instance}handleClose(a){a?.isLoginFinished||(this.anchor?this.anchor.dispatchEvent(new CustomEvent("ANCHOR_CLOSE",{composed:!1,bubbles:!1})):this.destroy())}async setupEventListeners(){this.eventBus&&(this.eventBus.subscribe("CLOSE",this.handleClose.bind(this)),this.eventBus.subscribe("UI_DISCONNECTED",this.destroy.bind(this)))}};export{n as a};
|
|
2
|
+
//# sourceMappingURL=chunk-W4QMH63P.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as n}from"./chunk-4TBVQD27.mjs";import{q as o}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as n}from"./chunk-4TBVQD27.mjs";import{q as o}from"./chunk-EGO5R7IZ.mjs";var C=t=>o().setState(({config:e})=>{e.nativeAuthConfig=t},!1,{type:"setNativeAuthConfig",payload:{value:t}}),c=t=>o().setState(({config:e})=>{e.websocketStatus=t},!1,{type:"setWebsocketStatus",payload:{value:t}}),f=t=>o().setState(({config:e})=>{let a=t.walletConnectV2RelayAddress||n.walletConnectV2RelayAddress,l=t.walletConnectDeepLink||n.walletConnectDeepLink;e.walletConnectConfig={...t,walletConnectDeepLink:l,walletConnectV2RelayAddress:a}},!1,{type:"setWalletConnectConfig",payload:{value:t}});export{C as a,c as b,f as c};
|
|
2
|
+
//# sourceMappingURL=chunk-W6M5WJ3V.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as s}from"./chunk-SUBC3H4J.mjs";import{a as t}from"./chunk-U64LDJTG.mjs";import{a as n}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as s}from"./chunk-SUBC3H4J.mjs";import{a as t}from"./chunk-U64LDJTG.mjs";import{a as n}from"./chunk-6SC2DWV6.mjs";import{s as e}from"./chunk-EGO5R7IZ.mjs";import{b as o}from"./chunk-7VHTZYM2.mjs";var w=async r=>{let{isGuarded:i}=n();if(!s({isGuarded:i,transactions:r}))return r;let a=r[0].sender.toBech32(),{walletAddress:d}=o(e());return await(await t({address:a,walletUrl:d}))?.guardTransactions(r)||[]};export{w as a};
|
|
2
|
+
//# sourceMappingURL=chunk-WBF6D374.mjs.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{a as e}from"./chunk-RUE5QYSG.mjs";import{a as o}from"./chunk-PMHRZ5Y7.mjs";import{b as i}from"./chunk-JBZR35CW.mjs";import{j as r}from"./chunk-E2GGD7D4.mjs";import{s as n}from"./chunk-EGO5R7IZ.mjs";async function E({transaction:a,sessionId:s}){let c=a.results?.find(t=>t?.returnMessage!=="");e({sessionId:s,transaction:{...a,status:"fail",inTransit:!1}});let{transactions:m}=n();m?.[s]?.transactions?.some(t=>r(t.status))||(i({sessionId:s,status:"fail",errorMessage:c?.returnMessage}),await o({sessionId:s,status:"fail"}))}export{E as a};
|
|
2
|
+
//# sourceMappingURL=chunk-WC6DHH2B.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/helpers/runTransactionFailure.ts"],
|
|
4
|
+
"sourcesContent": ["import { updateSessionStatus } from 'store/actions/transactions/transactionsActions';\nimport { getIsTransactionPending } from 'store/actions/transactions/transactionStateByStatus';\nimport { getState } from 'store/store';\nimport {\n TransactionBatchStatusesEnum,\n TransactionServerStatusesEnum\n} from 'types/enums.types';\nimport { SignedTransactionType } from 'types/transactions.types';\nimport { runSessionCallbacks } from './runSessionCallbacks';\nimport { updateTransactionAndSessionStatus } from './updateTransactionAndSessionStatus';\n\nexport async function manageFailedTransactions({\n transaction,\n sessionId\n}: {\n transaction: SignedTransactionType;\n sessionId: string;\n}) {\n const resultWithError = transaction.results?.find(\n (result) => result?.returnMessage !== ''\n );\n\n updateTransactionAndSessionStatus({\n sessionId,\n transaction: {\n ...transaction,\n status: TransactionServerStatusesEnum.fail,\n inTransit: false\n }\n });\n\n const { transactions: sessions } = getState();\n const session = sessions?.[sessionId];\n\n const hasPendingTransactions = session?.transactions?.some((tx) =>\n getIsTransactionPending(tx.status)\n );\n\n if (!hasPendingTransactions) {\n updateSessionStatus({\n sessionId,\n status: TransactionBatchStatusesEnum.fail,\n errorMessage: resultWithError?.returnMessage\n });\n\n await runSessionCallbacks({\n sessionId,\n status: TransactionBatchStatusesEnum.fail\n });\n }\n}\n"],
|
|
5
|
+
"mappings": "6MAWA,eAAsBA,EAAyB,CAC7C,YAAAC,EACA,UAAAC,CACF,EAGG,CACD,IAAMC,EAAkBF,EAAY,SAAS,KAC1CG,GAAWA,GAAQ,gBAAkB,EACxC,EAEAC,EAAkC,CAChC,UAAAH,EACA,YAAa,CACX,GAAGD,EACH,cACA,UAAW,EACb,CACF,CAAC,EAED,GAAM,CAAE,aAAcK,CAAS,EAAIC,EAAS,EAC5BD,IAAWJ,CAAS,GAEI,cAAc,KAAMM,GAC1DC,EAAwBD,EAAG,MAAM,CACnC,IAGEE,EAAoB,CAClB,UAAAR,EACA,cACA,aAAcC,GAAiB,aACjC,CAAC,EAED,MAAMQ,EAAoB,CACxB,UAAAT,EACA,aACF,CAAC,EAEL",
|
|
6
|
+
"names": ["manageFailedTransactions", "transaction", "sessionId", "resultWithError", "result", "updateTransactionAndSessionStatus", "sessions", "getState", "tx", "getIsTransactionPending", "updateSessionStatus", "runSessionCallbacks"]
|
|
7
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as e}from"./chunk-C4TBDJVT.mjs";import{a as n}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as e}from"./chunk-C4TBDJVT.mjs";import{a as n}from"./chunk-UFDELD3B.mjs";import{k as i}from"./chunk-PKDR5ERF.mjs";async function T(t){let r={timeout:i},o=await e.getItem(t);if(o)return o;let a=await n.get(t,r);return await e.setItem(t,a.data),a.data}export{T as a};
|
|
2
|
+
//# sourceMappingURL=chunk-WG5ONYK4.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a}from"./chunk-KDMYDO7R.mjs";function e(t){let{allTransactions:n,parsedTransactionsByDataField:r}=a({transactions:t});return{parsedTransactionsByDataField:r,allTransactions:n}}export{e as a};
|
|
2
|
+
//# sourceMappingURL=chunk-WS2MTQIC.mjs.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{a as S}from"./chunk-ZATPIKZ2.mjs";import{j as p,k as d,l as f,n as u}from"./chunk-E2GGD7D4.mjs";import{a as I}from"./chunk-XXV6KGR4.mjs";import{a as m}from"./chunk-NGM3AVCY.mjs";import{a as l}from"./chunk-F33ERG33.mjs";import{s as T}from"./chunk-EGO5R7IZ.mjs";import{c}from"./chunk-UERJ6AKK.mjs";async function G(g){let s=g?.store??T(),n=[],a=[],y=I(s),F=m(s),C=c(s);for(let o of y.transactionToasts){let r=F[o.toastId];if(!r?.status)continue;let{status:t,transactions:P,transactionsDisplayInfo:h}=r,L=await l({transactions:P,store:s}),O=u(t),R=f(t),v=d(t),e=O||R||v,w=p(t),{startTime:x,endTime:D}=o;if(e&&a.some(b=>b.toastId===o.toastId))continue;let i=S({toastId:o.toastId,address:C,status:t,transactions:L,transactionsDisplayInfo:h,startTime:x,endTime:D});e&&a.push(i),w&&n.push(i)}return{pendingTransactionToasts:n,completedTransactionToasts:a}}export{G as a};
|
|
2
|
+
//# sourceMappingURL=chunk-WWYX7L4I.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/managers/ToastManager/helpers/createToastsFromTransactions.ts"],
|
|
4
|
+
"sourcesContent": ["import {\n getIsTransactionFailed,\n getIsTransactionPending,\n getIsTransactionSuccessful,\n getIsTransactionTimedOut\n} from 'store/actions/transactions/transactionStateByStatus';\nimport { addressSelector } from 'store/selectors/accountSelectors';\nimport { toastsSliceSelector } from 'store/selectors/toastsSelectors';\nimport { transactionsSliceSelector } from 'store/selectors/transactionsSelector';\nimport { getState } from 'store/store';\nimport { StoreType } from 'store/store.types';\nimport { mapServerTransactionsToListItems } from 'utils/transactions/getTransactionsHistory/helpers';\nimport { createTransactionToast } from './createTransactionToast';\nimport { ITransactionToast } from '../types/toast.types';\ninterface CreateToastsFromTransactionsReturnType {\n pendingTransactionToasts: ITransactionToast[];\n completedTransactionToasts: ITransactionToast[];\n}\n\ninterface CreateToastsFromTransactionsParamsType {\n store?: StoreType;\n}\n\nexport async function createToastsFromTransactions(\n props?: CreateToastsFromTransactionsParamsType\n): Promise<CreateToastsFromTransactionsReturnType> {\n const store = props?.store ?? getState();\n const pendingTransactionToasts: ITransactionToast[] = [];\n const completedTransactionToasts: ITransactionToast[] = [];\n const toastList = toastsSliceSelector(store);\n const transactionsSessions = transactionsSliceSelector(store);\n const address = addressSelector(store);\n\n for (const toast of toastList.transactionToasts) {\n const transactionSession = transactionsSessions[toast.toastId];\n if (!transactionSession?.status) {\n continue;\n }\n\n const { status, transactions, transactionsDisplayInfo } =\n transactionSession;\n\n const interprettedTransactions = await mapServerTransactionsToListItems({\n transactions,\n store\n });\n\n const isTimedOut = getIsTransactionTimedOut(status);\n const isFailed = getIsTransactionFailed(status);\n const isSuccessful = getIsTransactionSuccessful(status);\n const isCompleted = isTimedOut || isFailed || isSuccessful;\n const isPending = getIsTransactionPending(status);\n const { startTime, endTime } = toast;\n\n if (\n isCompleted &&\n completedTransactionToasts.some((t) => t.toastId === toast.toastId)\n ) {\n continue;\n }\n\n const transactionToast = createTransactionToast({\n toastId: toast.toastId,\n address,\n status,\n transactions: interprettedTransactions,\n transactionsDisplayInfo,\n startTime,\n endTime\n });\n\n if (isCompleted) {\n completedTransactionToasts.push(transactionToast);\n }\n\n if (isPending) {\n pendingTransactionToasts.push(transactionToast);\n }\n }\n\n return {\n pendingTransactionToasts,\n completedTransactionToasts\n };\n}\n"],
|
|
5
|
+
"mappings": "+SAuBA,eAAsBA,EACpBC,EACiD,CACjD,IAAMC,EAAQD,GAAO,OAASE,EAAS,EACjCC,EAAgD,CAAC,EACjDC,EAAkD,CAAC,EACnDC,EAAYC,EAAoBL,CAAK,EACrCM,EAAuBC,EAA0BP,CAAK,EACtDQ,EAAUC,EAAgBT,CAAK,EAErC,QAAWU,KAASN,EAAU,kBAAmB,CAC/C,IAAMO,EAAqBL,EAAqBI,EAAM,OAAO,EAC7D,GAAI,CAACC,GAAoB,OACvB,SAGF,GAAM,CAAE,OAAAC,EAAQ,aAAAC,EAAc,wBAAAC,CAAwB,EACpDH,EAEII,EAA2B,MAAMC,EAAiC,CACtE,aAAAH,EACA,MAAAb,CACF,CAAC,EAEKiB,EAAaC,EAAyBN,CAAM,EAC5CO,EAAWC,EAAuBR,CAAM,EACxCS,EAAeC,EAA2BV,CAAM,EAChDW,EAAcN,GAAcE,GAAYE,EACxCG,EAAYC,EAAwBb,CAAM,EAC1C,CAAE,UAAAc,EAAW,QAAAC,CAAQ,EAAIjB,EAE/B,GACEa,GACApB,EAA2B,KAAMyB,GAAMA,EAAE,UAAYlB,EAAM,OAAO,EAElE,SAGF,IAAMmB,EAAmBC,EAAuB,CAC9C,QAASpB,EAAM,QACf,QAAAF,EACA,OAAAI,EACA,aAAcG,EACd,wBAAAD,EACA,UAAAY,EACA,QAAAC,CACF,CAAC,EAEGJ,GACFpB,EAA2B,KAAK0B,CAAgB,EAG9CL,GACFtB,EAAyB,KAAK2B,CAAgB,CAElD,CAEA,MAAO,CACL,yBAAA3B,EACA,2BAAAC,CACF,CACF",
|
|
6
|
+
"names": ["createToastsFromTransactions", "props", "store", "getState", "pendingTransactionToasts", "completedTransactionToasts", "toastList", "toastsSliceSelector", "transactionsSessions", "transactionsSliceSelector", "address", "addressSelector", "toast", "transactionSession", "status", "transactions", "transactionsDisplayInfo", "interprettedTransactions", "mapServerTransactionsToListItems", "isTimedOut", "getIsTransactionTimedOut", "isFailed", "getIsTransactionFailed", "isSuccessful", "getIsTransactionSuccessful", "isCompleted", "isPending", "getIsTransactionPending", "startTime", "endTime", "t", "transactionToast", "createTransactionToast"]
|
|
7
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as l}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as l}from"./chunk-4YLN3MHG.mjs";import{a}from"./chunk-YUFPUG5O.mjs";import{a as c}from"./chunk-O5MS2L3D.mjs";var p="Check if the MultiversX App is open on Ledger";async function v({manager:e,resolve:n,reject:d,shouldInitProvider:s}){let i=!c(),t=()=>v({manager:e,resolve:n,reject:d,shouldInitProvider:s}),o=()=>d("Device unavailable");try{e?.updateAccountScreen({isLoading:!0}),e&&i&&e.subscribeToProviderInit({handleRetry:t,handleCancel:o});let r=await l({shouldInitProvider:s});e&&i&&e.unsubscribeFromProviderInit({handleRetry:t,handleCancel:o}),n(r)}catch(r){if(!i)throw r;let{errorMessage:u,defaultErrorMessage:g}=a(r);e?.updateConnectScreen({error:u??g??p}),e&&e.subscribeToProviderInit({handleRetry:t,handleCancel:o})}}export{v as a};
|
|
2
|
+
//# sourceMappingURL=chunk-WXC5EE2F.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as p}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as p}from"./chunk-H5NVCCUR.mjs";import{a as s}from"./chunk-YSCND2MX.mjs";var t={isExpired:!1},f=n=>{if(!n)return t;let o=p(n);if(!o)return t;let i=s(),{ttl:x,extraInfo:c}=o,r=c?.timestamp;if(!r)return t;let e=r+x,m=i>e,a=e-i;return{isExpired:m,expiresAt:e,secondsUntilExpires:a}};export{f as a};
|
|
2
|
+
//# sourceMappingURL=chunk-XDBKPKTG.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a}from"./chunk-ITZJPUDG.mjs";var i=e=>{let t=a();return{origin:e?.origin??t.origin,blockHashShard:e?.blockHashShard,expirySeconds:e?.expirySeconds??t.expirySeconds,apiAddress:e?.apiAddress??t.apiAddress,tokenExpirationToastWarningSeconds:e?.tokenExpirationToastWarningSeconds??t.tokenExpirationToastWarningSeconds,extraInfo:e?.extraInfo??{},gatewayUrl:e?.gatewayUrl,extraRequestHeaders:e?.extraRequestHeaders??{}}};export{i as a};
|
|
2
|
+
//# sourceMappingURL=chunk-XG6DEDBU.mjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/utils/transactions/getExplorerLink.ts"],
|
|
4
|
-
"sourcesContent": ["let errorMessageDisplayed = false;\n\nfunction logError(error: string) {\n if (!errorMessageDisplayed) {\n console.error(error);\n errorMessageDisplayed = true;\n }\n}\n\nexport function getExplorerLink({\n explorerAddress,\n to\n}: {\n explorerAddress: string;\n to: string;\n}) {\n try {\n // if a valid url is sent, return the original url\n const url = new URL(to);\n return url.href;\n } catch {\n if (!to.startsWith('/')) {\n logError(`Link not prepended by / : ${to}`);\n to = `/${to}`;\n }\n return explorerAddress ? `${explorerAddress}${to}` : to;\n }\n}\n"],
|
|
5
|
-
"mappings": "AAAA,IAAIA,EAAwB,GAE5B,SAASC,EAASC,EAAe,CAC1BF,IACH,QAAQ,MAAME,CAAK,EACnBF,EAAwB,GAE5B,CAEO,SAASG,EAAgB,CAC9B,gBAAAC,EACA,GAAAC,CACF,EAGG,CACD,GAAI,CAGF,OADY,IAAI,IAAIA,CAAE,EACX,IACb,MAAQ,CACN,
|
|
4
|
+
"sourcesContent": ["let errorMessageDisplayed = false;\n\nfunction logError(error: string) {\n if (!errorMessageDisplayed) {\n console.error(error);\n errorMessageDisplayed = true;\n }\n}\n\nexport function getExplorerLink({\n explorerAddress,\n to\n}: {\n explorerAddress: string;\n to: string;\n}) {\n try {\n // if a valid url is sent, return the original url\n const url = new URL(to);\n return url.href;\n } catch {\n if (to && !to.startsWith('/')) {\n logError(`Link not prepended by / : ${to}`);\n to = `/${to}`;\n }\n return explorerAddress ? `${explorerAddress}${to}` : to;\n }\n}\n"],
|
|
5
|
+
"mappings": "AAAA,IAAIA,EAAwB,GAE5B,SAASC,EAASC,EAAe,CAC1BF,IACH,QAAQ,MAAME,CAAK,EACnBF,EAAwB,GAE5B,CAEO,SAASG,EAAgB,CAC9B,gBAAAC,EACA,GAAAC,CACF,EAGG,CACD,GAAI,CAGF,OADY,IAAI,IAAIA,CAAE,EACX,IACb,MAAQ,CACN,OAAIA,GAAM,CAACA,EAAG,WAAW,GAAG,IAC1BJ,EAAS,6BAA6BI,CAAE,EAAE,EAC1CA,EAAK,IAAIA,CAAE,IAEND,EAAkB,GAAGA,CAAe,GAAGC,CAAE,GAAKA,CACvD,CACF",
|
|
6
6
|
"names": ["errorMessageDisplayed", "logError", "error", "getExplorerLink", "explorerAddress", "to"]
|
|
7
7
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{q as o}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{q as o}from"./chunk-EGO5R7IZ.mjs";import{a as c}from"./chunk-JMC7CMTU.mjs";var p=t=>{o().setState(({account:e})=>{let s=e.address===t.address;e.accounts={[e.address]:s?t:c}},!1,{type:"setAccount",payload:{value:t}})},r=t=>o().setState(({account:e})=>{e.ledgerAccount=t},!1,{type:"setLedgerAccount",payload:{value:t}}),u=t=>o().setState(({account:e})=>{e.walletConnectAccount=t},!1,{type:"setWalletConnectAccount",payload:{value:t}}),l=t=>o().setState(({account:e})=>{e.websocketEvent={timestamp:Date.now(),message:t}},!1,{type:"setWebsocketEvent",payload:{value:t}}),d=t=>o().setState(({account:e})=>{e.websocketBatchEvent={timestamp:Date.now(),data:t}},!1,{type:"setWebsocketBatchEvent",payload:{value:t}}),y=t=>{o().setState(({account:e})=>{e.accounts[e.address].nonce=t},!1,{type:"setAccountNonce",payload:{value:t}})};export{p as a,r as b,u as c,l as d,d as e,y as f};
|
|
2
|
+
//# sourceMappingURL=chunk-YLD26I5H.mjs.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{a as U}from"./chunk-DM3C2PPR.mjs";import{a as _}from"./chunk-4SS6EY66.mjs";import{a as j}from"./chunk-7Z7IX367.mjs";import{a as z}from"./chunk-VCQBYNNS.mjs";import{a as V}from"./chunk-RBZC4PEU.mjs";import{a as B}from"./chunk-3XTYIGW5.mjs";import{a as $}from"./chunk-PQVNWTWJ.mjs";import{a as R}from"./chunk-5KCP7UJT.mjs";import{a as M}from"./chunk-YGI3KXMZ.mjs";import{a as w}from"./chunk-MBNRIXNQ.mjs";import{a as v}from"./chunk-RYIJWGFA.mjs";import{z as x}from"./chunk-6MNQSWGO.mjs";import{a as O}from"./chunk-YJCTRUJT.mjs";import{a as F,c as A,f}from"./chunk-PJWJZHIS.mjs";import{a as C}from"./chunk-KD2IQ32V.mjs";import{c as G}from"./chunk-FTJF3Q3P.mjs";import{k as L}from"./chunk-LHEH7L4L.mjs";import{a as h}from"./chunk-7EWMP5BY.mjs";import{BigNumber as St}from"bignumber.js";async function qt({allTransactions:u,currentScreenIndex:s,egldLabel:o,network:n,gasPriceData:T,price:S,address:m,username:q,shard:H,signedIndexes:e,parsedTransactionsByDataField:K}){let c=u[s],W=c?.transaction?.sender.toString(),p=c?.transaction,i=p?.toPlainObject(),D=null,y=null,t=await $({egldLabel:o,sender:W,apiAddress:n.apiAddress,address:m,parsedTransactionsByDataField:K})(c),d=!t?.transactionTokenInfo?.tokenId,{tokenId:g,nonce:l,amount:I=""}=t?.transactionTokenInfo??{},Z=g&&l&&l.length>0?`${g}-${l}`:g,J=await w({tokenId:Z}),{esdtPrice:Q,tokenDecimals:X,type:r,identifier:a,tokenImageUrl:Y}=J;if(r==="SemiFungibleESDT"||r==="NonFungibleESDT")y={type:r,identifier:a,amount:I,imageURL:Y};else{let E=({addCommas:Tt})=>f({input:d?p.value.toString():I,decimals:d?Number(n.decimals):X,digits:Number(n.digits),showLastNonZeroDecimal:!1,addCommas:Tt}),gt=E({addCommas:!0}),lt=E({addCommas:!1}),ft=Number(d?S:Q),ut=M({amount:lt,usd:ft,addEqualSign:!0});D={identifier:(a===L?o:a)??o,amount:gt,usdValue:ut}}let{feeLimitFormatted:tt,feeInFiatLimit:ot}=R({transaction:p,price:S}),nt=B({shard:H,initialGasPrice:T.initialGasPrice,transaction:i,gasStationMetadata:n.gasStationMetadata}),{gasPriceOption:N}=T,et=x().getType(),it=v(et),k=u.length,rt=e.length>0?e[e.length-1]+1:0,P=G(i?.data??""),b=V(t?.transactionTokenInfo),at=_({data:P,identifier:a,highlight:b}),st=U(),mt=O({to:`/${C}/${m}`,explorerAddress:st}),ct=k===1||t?.needsSigning&&!e.includes(s),pt=f({input:N.toString(),decimals:A,addCommas:!0,digits:F}),dt=new St(i.gasLimit).toFormat({decimalSeparator:".",groupSeparator:",",groupSize:3});return{commonData:{receiver:i.receiver.toString(),data:P,decodedData:at,gasPrice:pt,gasLimit:dt,explorerLink:mt,gasPriceOption:N,gasPriceOptions:nt,egldLabel:o,tokenType:j(r),feeLimit:tt,feeInFiatLimit:ot,transactionsCount:k,currentIndex:s,currentIndexToSign:rt,highlight:b,scCall:z(t?.transactionTokenInfo),needsSigning:ct,isEditable:t?.needsSigning,providerName:it,address:m,username:q,origin:h.location?.origin},tokenTransaction:D,fungibleTransaction:y}}export{qt as a};
|
|
2
|
+
//# sourceMappingURL=chunk-YPV63DYG.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/providers/strategies/helpers/signTransactions/helpers/getCommonData/getCommonData.ts"],
|
|
4
|
+
"sourcesContent": ["import { BigNumber } from 'bignumber.js';\nimport { ACCOUNTS_ENDPOINT } from 'apiCalls';\nimport { getPersistedTokenDetails } from 'apiCalls/tokens/getPersistedTokenDetails';\nimport { MULTI_TRANSFER_EGLD_TOKEN } from 'constants/mvx.constants';\nimport { safeWindow } from 'constants/window.constants';\nimport { DECIMALS, DIGITS, formatAmount } from 'lib/sdkDappUtils';\nimport {\n FungibleTransactionType,\n ISignTransactionsPanelCommonData\n} from 'managers/internal/SignTransactionsStateManager/types';\nimport { getExplorerAddress } from 'methods/network/getExplorerAddress';\nimport { getAccountProvider } from 'providers/helpers/accountProvider';\nimport { NetworkType } from 'types/network.types';\nimport { NftEnumType } from 'types/tokens.types';\nimport {\n MultiSignTransactionType,\n TransactionDataTokenType\n} from 'types/transactions.types';\nimport { decodeBase64 } from 'utils/decoders/base64Utils';\nimport { capitalize } from 'utils/operations/capitalize';\nimport { getUsdValue } from 'utils/operations/getUsdValue';\nimport { getExplorerLink } from 'utils/transactions/getExplorerLink';\nimport { getFeeData } from '../getFeeData';\nimport { getAllDecodedFormats } from './helpers/decodeDataField';\nimport { getExtractTransactionsInfo } from './helpers/getExtractTransactionsInfo';\nimport { getGasPriceOptions } from './helpers/getGasPriceOptions';\nimport { getHighlight } from './helpers/getHighlight';\nimport { getScCall } from './helpers/getScCall';\nimport { getTokenType } from './helpers/getTokenType';\n\nexport type GetCommonDataPropsType = {\n allTransactions: MultiSignTransactionType[];\n currentScreenIndex: number;\n price?: number;\n network: NetworkType;\n signedIndexes: number[];\n egldLabel: string;\n address: string;\n shard?: number;\n username?: string;\n parsedTransactionsByDataField: Record<string, TransactionDataTokenType>;\n gasPriceData: {\n initialGasPrice: number;\n gasPriceOption: number;\n };\n};\n\nexport async function getCommonData({\n allTransactions,\n currentScreenIndex,\n egldLabel,\n network,\n gasPriceData,\n price,\n address,\n username,\n shard,\n signedIndexes,\n parsedTransactionsByDataField\n}: GetCommonDataPropsType) {\n const currentTransaction = allTransactions[currentScreenIndex];\n const sender = currentTransaction?.transaction?.sender.toString();\n const transaction = currentTransaction?.transaction;\n const plainTransaction = transaction?.toPlainObject();\n\n let tokenTransaction: {\n identifier?: string;\n amount: string;\n usdValue: string;\n } | null = null;\n\n let fungibleTransaction:\n | (FungibleTransactionType & {\n type: NftEnumType.NonFungibleESDT | NftEnumType.SemiFungibleESDT;\n })\n | null = null;\n\n const extractTransactionsInfo = getExtractTransactionsInfo({\n egldLabel,\n sender,\n apiAddress: network.apiAddress,\n address,\n parsedTransactionsByDataField\n });\n\n const txInfo = await extractTransactionsInfo(currentTransaction);\n\n const isEgld = !txInfo?.transactionTokenInfo?.tokenId;\n const { tokenId, nonce, amount = '' } = txInfo?.transactionTokenInfo ?? {};\n\n const isNftOrSft = tokenId && nonce && nonce.length > 0;\n const tokenIdForTokenDetails = isNftOrSft ? `${tokenId}-${nonce}` : tokenId;\n\n const tokenDetails = await getPersistedTokenDetails({\n tokenId: tokenIdForTokenDetails\n });\n\n const { esdtPrice, tokenDecimals, type, identifier, tokenImageUrl } =\n tokenDetails;\n\n const isNft =\n type === NftEnumType.SemiFungibleESDT ||\n type === NftEnumType.NonFungibleESDT;\n\n if (isNft) {\n fungibleTransaction = {\n type,\n identifier,\n amount,\n imageURL: tokenImageUrl\n };\n } else {\n const getFormattedAmount = ({ addCommas }: { addCommas: boolean }) =>\n formatAmount({\n input: isEgld ? transaction.value.toString() : amount,\n decimals: isEgld ? Number(network.decimals) : tokenDecimals,\n digits: Number(network.digits),\n showLastNonZeroDecimal: false,\n addCommas\n });\n\n const formattedAmount = getFormattedAmount({ addCommas: true });\n const rawAmount = getFormattedAmount({ addCommas: false });\n const tokenPrice = Number(isEgld ? price : esdtPrice);\n const usdValue = getUsdValue({\n amount: rawAmount,\n usd: tokenPrice,\n addEqualSign: true\n });\n\n const esdtIdentifier =\n identifier === MULTI_TRANSFER_EGLD_TOKEN ? egldLabel : identifier;\n tokenTransaction = {\n identifier: esdtIdentifier ?? egldLabel,\n amount: formattedAmount,\n usdValue\n };\n }\n\n const { feeLimitFormatted, feeInFiatLimit } = getFeeData({\n transaction,\n price\n });\n\n const gasPriceOptions = getGasPriceOptions({\n shard,\n initialGasPrice: gasPriceData.initialGasPrice,\n transaction: plainTransaction,\n gasStationMetadata: network.gasStationMetadata\n });\n\n const { gasPriceOption } = gasPriceData;\n const provider = getAccountProvider();\n const providerType = provider.getType();\n const providerName = capitalize(providerType as string);\n const transactionsCount = allTransactions.length;\n\n const currentIndexToSign =\n signedIndexes.length > 0 ? signedIndexes[signedIndexes.length - 1] + 1 : 0;\n\n const data = decodeBase64(plainTransaction?.data ?? '');\n const highlight = getHighlight(txInfo?.transactionTokenInfo);\n const decodedData = getAllDecodedFormats({ data, identifier, highlight });\n const explorerAddress = getExplorerAddress();\n const explorerLink = getExplorerLink({\n to: `/${ACCOUNTS_ENDPOINT}/${address}`,\n explorerAddress\n });\n\n const needsSigning =\n transactionsCount === 1 ||\n (txInfo?.needsSigning && !signedIndexes.includes(currentScreenIndex));\n\n const formattedGasPrice = formatAmount({\n input: gasPriceOption.toString(),\n decimals: DECIMALS,\n addCommas: true,\n digits: DIGITS\n });\n\n const formattedGasLimit = new BigNumber(plainTransaction.gasLimit).toFormat({\n decimalSeparator: '.',\n groupSeparator: ',',\n groupSize: 3\n });\n\n const commonData: ISignTransactionsPanelCommonData = {\n receiver: plainTransaction.receiver.toString(),\n data,\n decodedData,\n gasPrice: formattedGasPrice,\n gasLimit: formattedGasLimit,\n explorerLink,\n gasPriceOption,\n gasPriceOptions,\n egldLabel,\n tokenType: getTokenType(type),\n feeLimit: feeLimitFormatted,\n feeInFiatLimit,\n transactionsCount,\n currentIndex: currentScreenIndex,\n currentIndexToSign,\n highlight,\n scCall: getScCall(txInfo?.transactionTokenInfo),\n needsSigning,\n isEditable: txInfo?.needsSigning,\n providerName,\n address,\n username,\n origin: safeWindow.location?.origin\n };\n\n return { commonData, tokenTransaction, fungibleTransaction };\n}\n"],
|
|
5
|
+
"mappings": "2uBAAA,OAAS,aAAAA,OAAiB,eA+C1B,eAAsBC,GAAc,CAClC,gBAAAC,EACA,mBAAAC,EACA,UAAAC,EACA,QAAAC,EACA,aAAAC,EACA,MAAAC,EACA,QAAAC,EACA,SAAAC,EACA,MAAAC,EACA,cAAAC,EACA,8BAAAC,CACF,EAA2B,CACzB,IAAMC,EAAqBX,EAAgBC,CAAkB,EACvDW,EAASD,GAAoB,aAAa,OAAO,SAAS,EAC1DE,EAAcF,GAAoB,YAClCG,EAAmBD,GAAa,cAAc,EAEhDE,EAIO,KAEPC,EAIO,KAULC,EAAS,MARiBC,EAA2B,CACzD,UAAAhB,EACA,OAAAU,EACA,WAAYT,EAAQ,WACpB,QAAAG,EACA,8BAAAI,CACF,CAAC,EAE4CC,CAAkB,EAEzDQ,EAAS,CAACF,GAAQ,sBAAsB,QACxC,CAAE,QAAAG,EAAS,MAAAC,EAAO,OAAAC,EAAS,EAAG,EAAIL,GAAQ,sBAAwB,CAAC,EAGnEM,EADaH,GAAWC,GAASA,EAAM,OAAS,EACV,GAAGD,CAAO,IAAIC,CAAK,GAAKD,EAE9DI,EAAe,MAAMC,EAAyB,CAClD,QAASF,CACX,CAAC,EAEK,CAAE,UAAAG,EAAW,cAAAC,EAAe,KAAAC,EAAM,WAAAC,EAAY,cAAAC,CAAc,EAChEN,EAMF,GAHEI,wBACAA,sBAGAZ,EAAsB,CACpB,KAAAY,EACA,WAAAC,EACA,OAAAP,EACA,SAAUQ,CACZ,MACK,CACL,IAAMC,EAAqB,CAAC,CAAE,UAAAC,EAAU,IACtCC,EAAa,CACX,MAAOd,EAASN,EAAY,MAAM,SAAS,EAAIS,EAC/C,SAAUH,EAAS,OAAOhB,EAAQ,QAAQ,EAAIwB,EAC9C,OAAQ,OAAOxB,EAAQ,MAAM,EAC7B,uBAAwB,GACxB,UAAA6B,EACF,CAAC,EAEGE,GAAkBH,EAAmB,CAAE,UAAW,EAAK,CAAC,EACxDI,GAAYJ,EAAmB,CAAE,UAAW,EAAM,CAAC,EACnDK,GAAa,OAAOjB,EAASd,EAAQqB,CAAS,EAC9CW,GAAWC,EAAY,CAC3B,OAAQH,GACR,IAAKC,GACL,aAAc,EAChB,CAAC,EAIDrB,EAAmB,CACjB,YAFAc,IAAeU,EAA4BrC,EAAY2B,IAEzB3B,EAC9B,OAAQgC,GACR,SAAAG,EACF,CACF,CAEA,GAAM,CAAE,kBAAAG,GAAmB,eAAAC,EAAe,EAAIC,EAAW,CACvD,YAAA7B,EACA,MAAAR,CACF,CAAC,EAEKsC,GAAkBC,EAAmB,CACzC,MAAApC,EACA,gBAAiBJ,EAAa,gBAC9B,YAAaU,EACb,mBAAoBX,EAAQ,kBAC9B,CAAC,EAEK,CAAE,eAAA0C,CAAe,EAAIzC,EAErB0C,GADWC,EAAmB,EACN,QAAQ,EAChCC,GAAeC,EAAWH,EAAsB,EAChDI,EAAoBlD,EAAgB,OAEpCmD,GACJ1C,EAAc,OAAS,EAAIA,EAAcA,EAAc,OAAS,CAAC,EAAI,EAAI,EAErE2C,EAAOC,EAAavC,GAAkB,MAAQ,EAAE,EAChDwC,EAAYC,EAAatC,GAAQ,oBAAoB,EACrDuC,GAAcC,EAAqB,CAAE,KAAAL,EAAM,WAAAvB,EAAY,UAAAyB,CAAU,CAAC,EAClEI,GAAkBC,EAAmB,EACrCC,GAAeC,EAAgB,CACnC,GAAI,IAAIC,CAAiB,IAAIxD,CAAO,GACpC,gBAAAoD,EACF,CAAC,EAEKK,GACJb,IAAsB,GACrBjC,GAAQ,cAAgB,CAACR,EAAc,SAASR,CAAkB,EAE/D+D,GAAoB/B,EAAa,CACrC,MAAOY,EAAe,SAAS,EAC/B,SAAUoB,EACV,UAAW,GACX,OAAQC,CACV,CAAC,EAEKC,GAAoB,IAAIC,GAAUtD,EAAiB,QAAQ,EAAE,SAAS,CAC1E,iBAAkB,IAClB,eAAgB,IAChB,UAAW,CACb,CAAC,EA4BD,MAAO,CAAE,WA1B4C,CACnD,SAAUA,EAAiB,SAAS,SAAS,EAC7C,KAAAsC,EACA,YAAAI,GACA,SAAUQ,GACV,SAAUG,GACV,aAAAP,GACA,eAAAf,EACA,gBAAAF,GACA,UAAAzC,EACA,UAAWmE,EAAazC,CAAI,EAC5B,SAAUY,GACV,eAAAC,GACA,kBAAAS,EACA,aAAcjD,EACd,mBAAAkD,GACA,UAAAG,EACA,OAAQgB,EAAUrD,GAAQ,oBAAoB,EAC9C,aAAA8C,GACA,WAAY9C,GAAQ,aACpB,aAAA+B,GACA,QAAA1C,EACA,SAAAC,EACA,OAAQgE,EAAW,UAAU,MAC/B,EAEqB,iBAAAxD,EAAkB,oBAAAC,CAAoB,CAC7D",
|
|
6
|
+
"names": ["BigNumber", "getCommonData", "allTransactions", "currentScreenIndex", "egldLabel", "network", "gasPriceData", "price", "address", "username", "shard", "signedIndexes", "parsedTransactionsByDataField", "currentTransaction", "sender", "transaction", "plainTransaction", "tokenTransaction", "fungibleTransaction", "txInfo", "getExtractTransactionsInfo", "isEgld", "tokenId", "nonce", "amount", "tokenIdForTokenDetails", "tokenDetails", "getPersistedTokenDetails", "esdtPrice", "tokenDecimals", "type", "identifier", "tokenImageUrl", "getFormattedAmount", "addCommas", "formatAmount", "formattedAmount", "rawAmount", "tokenPrice", "usdValue", "getUsdValue", "MULTI_TRANSFER_EGLD_TOKEN", "feeLimitFormatted", "feeInFiatLimit", "getFeeData", "gasPriceOptions", "getGasPriceOptions", "gasPriceOption", "providerType", "getAccountProvider", "providerName", "capitalize", "transactionsCount", "currentIndexToSign", "data", "decodeBase64", "highlight", "getHighlight", "decodedData", "getAllDecodedFormats", "explorerAddress", "getExplorerAddress", "explorerLink", "getExplorerLink", "ACCOUNTS_ENDPOINT", "needsSigning", "formattedGasPrice", "DECIMALS", "DIGITS", "formattedGasLimit", "BigNumber", "getTokenType", "getScCall", "safeWindow"]
|
|
7
|
+
}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
var n=(e=>(e.CONFIRM="CONFIRM_SIGN_TRANSACTIONS",e.NEXT="NEXT_SIGN_TRANSACTIONS",e.BACK="BACK_SIGN_TRANSACTIONS",e.DATA_UPDATE="DATA_UPDATE_SIGN_TRANSACTIONS",e.SET_GAS_PRICE_OPTION="SET_GAS_PRICE_OPTION_SIGN_TRANSACTIONS",e.CLOSE="CLOSE_SIGN_TRANSACTIONS",e))(n||{});export{n as a};
|
|
2
|
+
//# sourceMappingURL=chunk-YQDEE6WP.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/managers/internal/SignTransactionsStateManager/types/signTransactionsPanel.types.ts"],
|
|
4
|
+
"sourcesContent": ["// types here need to be synced with the types in sdk-dapp-ui sign-transactions-modal.types.ts\nimport {\n DecodedDisplayType,\n DecodeMethodEnum\n} from 'types/serverTransactions.types';\nimport type { EsdtEnumType, NftEnumType } from 'types/tokens.types';\n\nexport interface ITransactionData {\n receiver?: string;\n data?: string;\n value?: string;\n}\n\nexport type FungibleTransactionType = {\n amount: string;\n identifier?: string;\n imageURL: string;\n};\n\nexport type TokenType = EsdtEnumType | NftEnumType;\n\nexport interface ISignTransactionsPanelCommonData {\n receiver?: string;\n receiverIcon?: string;\n data?: string;\n decodedData?: Partial<Record<DecodeMethodEnum, DecodedDisplayType>>;\n gasPrice?: string; // formatted gas price\n gasPriceOption?: number;\n gasPriceOptions: {\n label: string;\n value: number;\n }[];\n gasLimit?: string;\n transactionsCount: number;\n tokenType?: TokenType;\n egldLabel: string;\n feeLimit?: string;\n feeInFiatLimit?: string | null;\n currentIndex: number;\n currentIndexToSign: number;\n needsSigning?: boolean;\n isEditable?: boolean;\n highlight?: string | null;\n scCall?: string | null;\n nextUnsignedTxIndex?: number;\n providerName?: string;\n address?: string;\n username?: string;\n origin?: string;\n explorerLink?: string;\n}\n\nexport interface ISignTransactionsPanelData {\n shouldClose?: boolean;\n isLoading?: boolean;\n commonData: ISignTransactionsPanelCommonData;\n tokenTransaction: {\n identifier?: string;\n amount: string;\n usdValue: string;\n } | null;\n nftTransaction: FungibleTransactionType | null;\n sftTransaction: FungibleTransactionType | null;\n}\n\nexport enum SignEventsEnum {\n CONFIRM = 'CONFIRM_SIGN_TRANSACTIONS', // can be sign or next\n NEXT = 'NEXT_SIGN_TRANSACTIONS',\n BACK = 'BACK_SIGN_TRANSACTIONS',\n DATA_UPDATE = 'DATA_UPDATE_SIGN_TRANSACTIONS',\n SET_GAS_PRICE_OPTION = 'SET_GAS_PRICE_OPTION_SIGN_TRANSACTIONS',\n CLOSE = 'CLOSE_SIGN_TRANSACTIONS'\n}\n"],
|
|
5
|
+
"mappings": "AAiEO,IAAKA,OACVA,EAAA,QAAU,4BACVA,EAAA,KAAO,yBACPA,EAAA,KAAO,yBACPA,EAAA,YAAc,gCACdA,EAAA,qBAAuB,yCACvBA,EAAA,MAAQ,0BANEA,OAAA",
|
|
6
|
+
"names": ["SignEventsEnum"]
|
|
7
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as r}from"./chunk-U3MIDVR7.mjs";import{
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as r}from"./chunk-U3MIDVR7.mjs";import{a as n}from"./chunk-CDWODCD7.mjs";import{j as s}from"./chunk-E2GGD7D4.mjs";var P=({toastId:a,address:o,status:e,transactions:t,transactionsDisplayInfo:i,startTime:T,endTime:c})=>{let m=t.some(f=>s(f.status)),p=t[0]?.action?.name,u=n({address:o,sender:t[0]?.interactor??"",toastId:a,status:e,transactionsDisplayInfo:i,txActionName:p}),S=r(t);return{toastDataState:u,processedTransactionsStatus:S,transactionProgressState:m?{endTime:c,startTime:T}:null,toastId:a,transactions:t}};export{P as a};
|
|
2
|
+
//# sourceMappingURL=chunk-ZATPIKZ2.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as i}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as i}from"./chunk-EG5H4QZV.mjs";var c=class n extends i{constructor(){super({uiDataUpdateEvent:"DATA_UPDATE",uiTag:"mvx-ledger-connect"});this.addressesPerPage=10;this.allAccounts=[];this.initialConnectScreenData={};this.connectScreenData={...this.initialConnectScreenData};this.initialAccountScreenData={accounts:this.allAccounts,startIndex:0,addressesPerPage:this.addressesPerPage,isLoading:!0};this.accountScreenData={...this.initialAccountScreenData};this.initialConfirmScreenData={selectedAddress:"",explorerLink:""};this.confirmScreenData={...this.initialConfirmScreenData};this.initialData={connectScreenData:this.initialConnectScreenData,accountScreenData:this.initialAccountScreenData,confirmScreenData:this.initialConfirmScreenData};this.data=this.getInitialData()}static getInstance(){return n.instance||(n.instance=new n),n.instance}updateAllAccounts(e){this.allAccounts=e,this.accountScreenData.accounts=e}updateStartIndex(e){this.accountScreenData.startIndex=e}updateConnectScreen(e){this.connectScreenData={...this.connectScreenData,...e},this.data.confirmScreenData=null,this.data.accountScreenData=null,this.data.connectScreenData=this.connectScreenData,this.notifyDataUpdate()}updateAccountScreen(e){this.accountScreenData={...this.accountScreenData,...e},this.data.confirmScreenData=null,this.data.accountScreenData=this.accountScreenData,this.notifyDataUpdate()}updateConfirmScreen(e){this.confirmScreenData={...this.confirmScreenData,...e},this.data.accountScreenData=null,this.data.confirmScreenData=this.confirmScreenData,this.notifyDataUpdate()}getAccountScreenData(){return this.data.accountScreenData}getConfirmScreenData(){return this.data.confirmScreenData}getAllAccounts(){return this.allAccounts}subscribeToProviderInit({handleRetry:e,handleCancel:t}){this.eventBus&&(this.eventBus.subscribe("CONNECT_DEVICE",e),this.eventBus.subscribe("CLOSE",t),this.eventBus.subscribe("UI_DISCONNECTED",this.destroy.bind(this)))}unsubscribeFromProviderInit({handleRetry:e,handleCancel:t}){this.eventBus&&(this.eventBus.unsubscribe("CONNECT_DEVICE",e),this.eventBus.unsubscribe("CLOSE",t),this.eventBus.unsubscribe("UI_DISCONNECTED",this.destroy.bind(this)))}subscribeToAuthEvents({handleCancel:e,handleAccessWallet:t,handleGoToPage:a}){this.eventBus&&(this.eventBus.subscribe("CLOSE",e),this.eventBus.subscribe("ACCESS_WALLET",t),this.eventBus.subscribe("GO_TO_PAGE",a))}unsubscribeFromAuthEvents({handleCancel:e,handleAccessWallet:t,handleGoToPage:a}){this.eventBus&&(this.eventBus.unsubscribe("CLOSE",e),this.eventBus.unsubscribe("ACCESS_WALLET",t),this.eventBus.unsubscribe("GO_TO_PAGE",a),this.resetData())}handleClose(){this.anchor?this.anchor?.dispatchEvent(new CustomEvent("ANCHOR_CLOSE",{composed:!1,bubbles:!1})):this.destroy()}resetData(){this.accountScreenData={...this.initialAccountScreenData},this.confirmScreenData={...this.initialConfirmScreenData},this.connectScreenData={...this.initialConnectScreenData},this.allAccounts=[],super.resetData()}async setupEventListeners(){this.eventBus&&this.eventBus.subscribe("CLOSE",this.handleClose.bind(this))}};export{c as a};
|
|
2
|
+
//# sourceMappingURL=chunk-ZGMF4QYV.mjs.map
|