@multiversx/sdk-dapp 5.3.0-alpha.7 → 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-TYBKCGYF.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-45V5WRWO.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-AOHJYDXQ.mjs → chunk-4BOXOL6P.mjs} +2 -2
- package/out/__chunks__/{chunk-SAXE4RBZ.mjs → chunk-4POCTP6S.mjs} +2 -2
- package/out/__chunks__/{chunk-OLPFN3HZ.mjs → chunk-4SS6EY66.mjs} +2 -2
- package/out/__chunks__/{chunk-JKW4CYQC.mjs → chunk-4YLN3MHG.mjs} +2 -2
- package/out/__chunks__/{chunk-3BADGK4C.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-B5AOQ4V4.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-4LVDMQBA.mjs.map → chunk-7EWMP5BY.mjs.map} +1 -1
- package/out/__chunks__/{chunk-NTOY6GTP.mjs → chunk-7JDTQFLQ.mjs} +2 -2
- package/out/__chunks__/{chunk-Y3LIA6DS.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-OB46FDMD.mjs → chunk-7ZIJXDPY.mjs} +2 -2
- package/out/__chunks__/{chunk-K4NJKHIN.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-W5XVP57N.mjs → chunk-AGO2Z4FM.mjs} +2 -2
- package/out/__chunks__/{chunk-W5XVP57N.mjs.map → chunk-AGO2Z4FM.mjs.map} +1 -1
- package/out/__chunks__/chunk-AQNUGUG3.mjs +2 -0
- package/out/__chunks__/{chunk-AUNF6TMP.mjs.map → chunk-AQNUGUG3.mjs.map} +2 -2
- package/out/__chunks__/chunk-AVXL7ZQK.mjs +2 -0
- package/out/__chunks__/{chunk-AV6NWRZH.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-5XMM2J5S.mjs.map → chunk-BENZKRAG.mjs.map} +2 -2
- package/out/__chunks__/{chunk-AAYTAHS3.mjs → chunk-BJOEWWLZ.mjs} +2 -2
- package/out/__chunks__/{chunk-N6LTCPF5.mjs → chunk-BSFYNH6O.mjs} +2 -2
- package/out/__chunks__/{chunk-Z5NKN6NJ.mjs → chunk-BT2J2GH4.mjs} +2 -2
- package/out/__chunks__/{chunk-RG6UZSNC.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-JFA26WQX.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-3HT6SGGS.mjs → chunk-EG5H4QZV.mjs} +2 -2
- package/out/__chunks__/{chunk-3O5N2GP3.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-ZAQF2H2T.mjs → chunk-G5MRPRWI.mjs} +2 -2
- package/out/__chunks__/{chunk-XNJXXDT4.mjs → chunk-GMQMFRLW.mjs} +2 -2
- package/out/__chunks__/{chunk-4MWQKLVG.mjs → chunk-GNHD56P3.mjs} +2 -2
- package/out/__chunks__/{chunk-UGSHH7B7.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-C7MMVI2Q.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-K3HPUFDJ.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-LESXX4LL.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-6Q5KBWBX.mjs → chunk-KQV57RV3.mjs} +2 -2
- package/out/__chunks__/{chunk-7FEQBPHA.mjs → chunk-LNXZQGLV.mjs} +2 -2
- package/out/__chunks__/{chunk-4HS2X3DU.mjs → chunk-LS425JKB.mjs} +2 -2
- package/out/__chunks__/{chunk-DMQTB4GY.mjs → chunk-MBNRIXNQ.mjs} +2 -2
- package/out/__chunks__/{chunk-P7VRIJIA.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-NP2ORTQ5.mjs → chunk-MQJQMAW3.mjs} +2 -2
- package/out/__chunks__/{chunk-X6ODREO6.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-4XUFY6KL.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-VJXVUTL2.mjs → chunk-ONSO75O2.mjs} +2 -2
- package/out/__chunks__/{chunk-YER5STJ7.mjs → chunk-P6HDK262.mjs} +2 -2
- package/out/__chunks__/{chunk-VECZ4SAM.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-LCXUUCSG.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-O5UEF45G.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-HN5AQGRU.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-C3ZTN3MB.mjs → chunk-SKBL5PDX.mjs} +2 -2
- package/out/__chunks__/{chunk-ICN7C674.mjs → chunk-SR7TVATV.mjs} +2 -2
- package/out/__chunks__/{chunk-PUCZORTG.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-T4ISBQLE.mjs.map → chunk-TZTP57OK.mjs.map} +3 -3
- package/out/__chunks__/{chunk-AR2HTK4V.mjs → chunk-U24DHQDI.mjs} +2 -2
- package/out/__chunks__/{chunk-RT3VYYZ7.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-YYQIUPIH.mjs → chunk-W4QMH63P.mjs} +2 -2
- package/out/__chunks__/{chunk-LLL3P3ZK.mjs → chunk-W6M5WJ3V.mjs} +2 -2
- package/out/__chunks__/{chunk-LIYSDOCR.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-MBQJCCRF.mjs → chunk-WXC5EE2F.mjs} +2 -2
- package/out/__chunks__/{chunk-QTKK6OSJ.mjs → chunk-XDBKPKTG.mjs} +2 -2
- package/out/__chunks__/{chunk-GWPS4KA7.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-FNLCBKS6.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-ZHSSJKO4.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-3BADGK4C.mjs.map +0 -7
- package/out/__chunks__/chunk-3PZY5UGJ.mjs +0 -2
- package/out/__chunks__/chunk-45CRNG4I.mjs +0 -2
- package/out/__chunks__/chunk-45CRNG4I.mjs.map +0 -7
- package/out/__chunks__/chunk-4LVDMQBA.mjs +0 -2
- package/out/__chunks__/chunk-5XMM2J5S.mjs +0 -2
- package/out/__chunks__/chunk-6K5Z6QR7.mjs +0 -2
- package/out/__chunks__/chunk-7CELSV4S.mjs +0 -2
- package/out/__chunks__/chunk-7CELSV4S.mjs.map +0 -7
- package/out/__chunks__/chunk-7O6LZDI6.mjs +0 -2
- package/out/__chunks__/chunk-7O6LZDI6.mjs.map +0 -7
- package/out/__chunks__/chunk-AUNF6TMP.mjs +0 -2
- package/out/__chunks__/chunk-BD335BZR.mjs +0 -2
- package/out/__chunks__/chunk-BD335BZR.mjs.map +0 -7
- package/out/__chunks__/chunk-BRJNX4JF.mjs +0 -2
- package/out/__chunks__/chunk-D2JYGLAC.mjs +0 -2
- package/out/__chunks__/chunk-DGMI66QS.mjs +0 -2
- package/out/__chunks__/chunk-DGMI66QS.mjs.map +0 -7
- package/out/__chunks__/chunk-DXQW47X7.mjs +0 -2
- package/out/__chunks__/chunk-EPAAHUOX.mjs +0 -2
- package/out/__chunks__/chunk-EPAAHUOX.mjs.map +0 -7
- package/out/__chunks__/chunk-F2T26YLL.mjs +0 -2
- package/out/__chunks__/chunk-F2W66EX5.mjs +0 -2
- package/out/__chunks__/chunk-F2W66EX5.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-FO4U4FCJ.mjs +0 -1
- package/out/__chunks__/chunk-G7GU37XI.mjs +0 -2
- package/out/__chunks__/chunk-G7JP754F.mjs +0 -2
- package/out/__chunks__/chunk-G7JP754F.mjs.map +0 -7
- package/out/__chunks__/chunk-HN5AQGRU.mjs +0 -2
- package/out/__chunks__/chunk-HSCKLNCC.mjs +0 -2
- package/out/__chunks__/chunk-IIHMMHKX.mjs +0 -2
- package/out/__chunks__/chunk-JIQJLJV5.mjs +0 -2
- package/out/__chunks__/chunk-KFBY5KJV.mjs +0 -2
- package/out/__chunks__/chunk-KKE4JRPC.mjs +0 -2
- package/out/__chunks__/chunk-KKE4JRPC.mjs.map +0 -7
- package/out/__chunks__/chunk-KU4OIQ57.mjs +0 -2
- package/out/__chunks__/chunk-LN5UXO64.mjs +0 -2
- package/out/__chunks__/chunk-LN5UXO64.mjs.map +0 -7
- package/out/__chunks__/chunk-MOONBBFL.mjs +0 -2
- package/out/__chunks__/chunk-MOONBBFL.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-NZVIKI2U.mjs +0 -2
- 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-PHOF3Z5D.mjs +0 -2
- package/out/__chunks__/chunk-PHOF3Z5D.mjs.map +0 -7
- package/out/__chunks__/chunk-PO53TL6A.mjs +0 -2
- package/out/__chunks__/chunk-Q3W6TCPP.mjs +0 -2
- package/out/__chunks__/chunk-Q5YPN7F4.mjs +0 -2
- package/out/__chunks__/chunk-T4ISBQLE.mjs +0 -2
- package/out/__chunks__/chunk-TBETCLTW.mjs +0 -2
- package/out/__chunks__/chunk-TCDMXBPB.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-TYBKCGYF.mjs.map +0 -7
- package/out/__chunks__/chunk-UIWCJ3CV.mjs +0 -2
- package/out/__chunks__/chunk-UQ3LWIDK.mjs +0 -2
- package/out/__chunks__/chunk-VECZ4SAM.mjs.map +0 -7
- package/out/__chunks__/chunk-X62TWCNK.mjs +0 -2
- package/out/__chunks__/chunk-X62TWCNK.mjs.map +0 -7
- package/out/__chunks__/chunk-XJPXTYIE.mjs +0 -2
- package/out/__chunks__/chunk-Y3BNMQFP.mjs +0 -2
- package/out/__chunks__/chunk-YGBFIEHW.mjs +0 -2
- package/out/__chunks__/chunk-YGBFIEHW.mjs.map +0 -7
- package/out/__chunks__/chunk-ZBTYYGDC.mjs +0 -2
- package/out/__chunks__/chunk-ZHSSJKO4.mjs.map +0 -7
- package/out/__chunks__/chunk-ZNZS3URJ.mjs +0 -2
- package/out/__chunks__/chunk-ZNZS3URJ.mjs.map +0 -7
- 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-45V5WRWO.mjs.map → chunk-3KFEBW7N.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-AOHJYDXQ.mjs.map → chunk-4BOXOL6P.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-SAXE4RBZ.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-JKW4CYQC.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-6K5Z6QR7.mjs.map → chunk-6SC2DWV6.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-B5AOQ4V4.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-Y3LIA6DS.mjs.map → chunk-7MOSAB64.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-OB46FDMD.mjs.map → chunk-7ZIJXDPY.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-K4NJKHIN.mjs.map → chunk-AAQCK4UU.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-Q5YPN7F4.mjs.map → chunk-ABNK74B7.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-F2T26YLL.mjs.map → chunk-AVXL7ZQK.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-AV6NWRZH.mjs.map → chunk-AWQZ56BT.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ZBTYYGDC.mjs.map → chunk-B2RHOOA6.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-AAYTAHS3.mjs.map → chunk-BJOEWWLZ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-N6LTCPF5.mjs.map → chunk-BSFYNH6O.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-Z5NKN6NJ.mjs.map → chunk-BT2J2GH4.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-RG6UZSNC.mjs.map → chunk-C2FLFZOO.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-NZVIKI2U.mjs.map → chunk-CJTGYQ5L.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-JFA26WQX.mjs.map → chunk-CUQBPPWE.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-TBETCLTW.mjs.map → chunk-DBNPRNJV.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-KU4OIQ57.mjs.map → chunk-DM3C2PPR.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-3HT6SGGS.mjs.map → chunk-EG5H4QZV.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-3O5N2GP3.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-ZAQF2H2T.mjs.map → chunk-G5MRPRWI.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-XNJXXDT4.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-UGSHH7B7.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-C7MMVI2Q.mjs.map → chunk-ITZJPUDG.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-K3HPUFDJ.mjs.map → chunk-J76GINM5.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-LESXX4LL.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-6Q5KBWBX.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-4HS2X3DU.mjs.map → chunk-LS425JKB.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-DMQTB4GY.mjs.map → chunk-MBNRIXNQ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-P7VRIJIA.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-NP2ORTQ5.mjs.map → chunk-MQJQMAW3.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-X6ODREO6.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-UQ3LWIDK.mjs.map → chunk-NZFUM3VC.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-IIHMMHKX.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-4XUFY6KL.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-VJXVUTL2.mjs.map → chunk-ONSO75O2.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-YER5STJ7.mjs.map → chunk-P6HDK262.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-HSCKLNCC.mjs.map → chunk-PDMEOQYV.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-LCXUUCSG.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-Q3W6TCPP.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-JIQJLJV5.mjs.map → chunk-QA23TRYO.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-O5UEF45G.mjs.map → chunk-QDX2JCQH.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-PO53TL6A.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-DXQW47X7.mjs.map → chunk-SHNAULDW.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-C3ZTN3MB.mjs.map → chunk-SKBL5PDX.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ICN7C674.mjs.map → chunk-SR7TVATV.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-PUCZORTG.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-AR2HTK4V.mjs.map → chunk-U24DHQDI.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-RT3VYYZ7.mjs.map → chunk-UCI2LZF5.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-YYQIUPIH.mjs.map → chunk-W4QMH63P.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-LLL3P3ZK.mjs.map → chunk-W6M5WJ3V.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-LIYSDOCR.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-MBQJCCRF.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-GWPS4KA7.mjs.map → chunk-XG6DEDBU.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-FNLCBKS6.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-3PZY5UGJ.mjs.map → chunk-ZZ6Z3QEX.mjs.map} +0 -0
- /package/out/{methods/trackTransactions/helpers/checkTransactionStatus/checkBatch.mjs.map → managers/UnlockPanelManager/helpers/getIsSimpleLoginCallback.mjs.map} +0 -0
- /package/out/{methods/trackTransactions/helpers/checkTransactionStatus/getPendingTransactions.mjs.map → managers/UnlockPanelManager/helpers/getProviderList.mjs.map} +0 -0
- /package/out/methods/trackTransactions/helpers/checkTransactionStatus/{manageFailedTransactions.mjs.map → helpers/checkBatch/checkBatch.mjs.map} +0 -0
- /package/out/methods/trackTransactions/helpers/checkTransactionStatus/{runSessionCallbacks.mjs.map → helpers/checkBatch/helpers/runSessionCallbacks.mjs.map} +0 -0
- /package/out/methods/trackTransactions/helpers/checkTransactionStatus/{updateTransactionAndSessionStatus.mjs.map → helpers/checkBatch/helpers/runTransactionFailure.mjs.map} +0 -0
- /package/out/{providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getPpuOptions.mjs.map → methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/helpers/runTransactionStatusUpdate.mjs.map} +0 -0
|
@@ -1,67 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
var accountLogin_exports = {};
|
|
20
|
-
__export(accountLogin_exports, {
|
|
21
|
-
accountLogin: () => accountLogin
|
|
22
|
-
});
|
|
23
|
-
module.exports = __toCommonJS(accountLogin_exports);
|
|
24
|
-
var import_getLatestNonce = require("../../../../../methods/account/getLatestNonce");
|
|
25
|
-
var import_setGasStationMetadata = require("../../../../../methods/initApp/gastStationMetadata/setGasStationMetadata");
|
|
26
|
-
var import_registerWebsocket = require("../../../../../methods/initApp/websocket/registerWebsocket");
|
|
27
|
-
var import_trackTransactions = require("../../../../../methods/trackTransactions/trackTransactions");
|
|
28
|
-
var import_actions = require("../../../../../store/actions");
|
|
29
|
-
var import_account = require("../../../../../store/actions/account");
|
|
30
|
-
var import_fetchAccount = require("../../../../../utils/account/fetchAccount");
|
|
31
|
-
var import_trimUsernameDomain = require("../../../../../utils/account/trimUsernameDomain");
|
|
32
|
-
async function accountLogin({
|
|
33
|
-
address,
|
|
34
|
-
provider,
|
|
35
|
-
apiAddress
|
|
36
|
-
}) {
|
|
37
|
-
const account = await (0, import_fetchAccount.fetchAccount)({
|
|
38
|
-
address,
|
|
39
|
-
baseURL: apiAddress
|
|
40
|
-
});
|
|
41
|
-
if (!account) {
|
|
42
|
-
throw new Error("Account not found");
|
|
43
|
-
}
|
|
44
|
-
(0, import_actions.loginAction)({
|
|
45
|
-
address,
|
|
46
|
-
providerType: provider.getType()
|
|
47
|
-
});
|
|
48
|
-
const newAccount = {
|
|
49
|
-
...account,
|
|
50
|
-
username: (0, import_trimUsernameDomain.trimUsernameDomain)(account.username),
|
|
51
|
-
nonce: (0, import_getLatestNonce.getLatestNonce)(account)
|
|
52
|
-
};
|
|
53
|
-
(0, import_account.setAccount)(newAccount);
|
|
54
|
-
await (0, import_registerWebsocket.registerWebsocketListener)(address);
|
|
55
|
-
(0, import_trackTransactions.trackTransactions)();
|
|
56
|
-
if (account.shard != null) {
|
|
57
|
-
await (0, import_setGasStationMetadata.setGasStationMetadata)({
|
|
58
|
-
shard: Number(account.shard),
|
|
59
|
-
apiAddress
|
|
60
|
-
});
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
64
|
-
0 && (module.exports = {
|
|
65
|
-
accountLogin
|
|
66
|
-
});
|
|
1
|
+
"use strict";var i=Object.defineProperty;var A=Object.getOwnPropertyDescriptor;var d=Object.getOwnPropertyNames;var w=Object.prototype.hasOwnProperty;var L=(o,r)=>{for(var n in r)i(o,n,{get:r[n],enumerable:!0})},h=(o,r,n,t)=>{if(r&&typeof r=="object"||typeof r=="function")for(let e of d(r))!w.call(o,e)&&e!==n&&i(o,e,{get:()=>r[e],enumerable:!(t=A(r,e))||t.enumerable});return o};var y=o=>h(i({},"__esModule",{value:!0}),o);var v={};L(v,{accountLogin:()=>T});module.exports=y(v);var c=require("../../../../../methods/account/getLatestNonce"),a=require("../../../../../methods/initApp/gastStationMetadata/setGasStationMetadata"),m=require("../../../../../methods/initApp/websocket/registerWebsocket"),s=require("../../../../../methods/trackTransactions/trackTransactions"),p=require("../../../../../store/actions"),f=require("../../../../../store/actions/account"),u=require("../../../../../utils/account/fetchAccount"),g=require("../../../../../utils/account/trimUsernameDomain");async function T({address:o,provider:r,apiAddress:n}){const t=await(0,u.fetchAccount)({address:o,baseURL:n});if(!t)throw new Error("Account not found");(0,p.loginAction)({address:o,providerType:r.getType()});const e={...t,username:(0,g.trimUsernameDomain)(t.username),nonce:(0,c.getLatestNonce)(t)};(0,f.setAccount)(e),await(0,m.registerWebsocketListener)(o),(0,s.trackTransactions)(),t.shard!=null&&await(0,a.setGasStationMetadata)({shard:Number(t.shard),apiAddress:n})}0&&(module.exports={accountLogin});
|
|
67
2
|
//# sourceMappingURL=accountLogin.cjs.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../../src/providers/DappProvider/helpers/login/helpers/accountLogin.ts"],
|
|
4
4
|
"sourcesContent": ["import { getLatestNonce } from 'methods/account/getLatestNonce';\nimport { setGasStationMetadata } from 'methods/initApp/gastStationMetadata/setGasStationMetadata';\nimport { registerWebsocketListener } from 'methods/initApp/websocket/registerWebsocket';\nimport { trackTransactions } from 'methods/trackTransactions/trackTransactions';\nimport { IProvider } from 'providers/types/providerFactory.types';\nimport { loginAction } from 'store/actions';\nimport { setAccount } from 'store/actions/account';\nimport { AccountType } from 'types/account.types';\nimport { fetchAccount } from 'utils/account/fetchAccount';\nimport { trimUsernameDomain } from 'utils/account/trimUsernameDomain';\n\ninterface IAccountLoginProps {\n address: string;\n provider: IProvider;\n apiAddress: string;\n}\n\nexport async function accountLogin({\n address,\n provider,\n apiAddress\n}: IAccountLoginProps) {\n const account = await fetchAccount({\n address,\n baseURL: apiAddress\n });\n\n if (!account) {\n throw new Error('Account not found');\n }\n\n loginAction({\n address,\n providerType: provider.getType()\n });\n\n const newAccount: AccountType = {\n ...account,\n username: trimUsernameDomain(account.username),\n nonce: getLatestNonce(account)\n };\n\n setAccount(newAccount);\n\n await registerWebsocketListener(address);\n trackTransactions();\n\n if (account.shard != null) {\n await setGasStationMetadata({\n shard: Number(account.shard),\n apiAddress\n });\n }\n}\n"],
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": []
|
|
5
|
+
"mappings": "yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,kBAAAE,IAAA,eAAAC,EAAAH,GAAA,IAAAI,EAA+B,0CAC/BC,EAAsC,qEACtCC,EAA0C,uDAC1CC,EAAkC,uDAElCC,EAA4B,yBAC5BC,EAA2B,iCAE3BC,EAA6B,sCAC7BC,EAAmC,4CAQnC,eAAsBT,EAAa,CACjC,QAAAU,EACA,SAAAC,EACA,WAAAC,CACF,EAAuB,CACrB,MAAMC,EAAU,QAAM,gBAAa,CACjC,QAAAH,EACA,QAASE,CACX,CAAC,EAED,GAAI,CAACC,EACH,MAAM,IAAI,MAAM,mBAAmB,KAGrC,eAAY,CACV,QAAAH,EACA,aAAcC,EAAS,QAAQ,CACjC,CAAC,EAED,MAAMG,EAA0B,CAC9B,GAAGD,EACH,YAAU,sBAAmBA,EAAQ,QAAQ,EAC7C,SAAO,kBAAeA,CAAO,CAC/B,KAEA,cAAWC,CAAU,EAErB,QAAM,6BAA0BJ,CAAO,KACvC,qBAAkB,EAEdG,EAAQ,OAAS,MACnB,QAAM,yBAAsB,CAC1B,MAAO,OAAOA,EAAQ,KAAK,EAC3B,WAAAD,CACF,CAAC,CAEL",
|
|
6
|
+
"names": ["accountLogin_exports", "__export", "accountLogin", "__toCommonJS", "import_getLatestNonce", "import_setGasStationMetadata", "import_registerWebsocket", "import_trackTransactions", "import_actions", "import_account", "import_fetchAccount", "import_trimUsernameDomain", "address", "provider", "apiAddress", "account", "newAccount"]
|
|
7
7
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r as a}from"../../../../../__chunks__/chunk-YGBFIEHW.mjs";import"../../../../../__chunks__/chunk-VECZ4SAM.mjs";import"../../../../../__chunks__/chunk-RUBOJOJP.mjs";import"../../../../../__chunks__/chunk-NZVIKI2U.mjs";import"../../../../../__chunks__/chunk-ZNZS3URJ.mjs";import"../../../../../__chunks__/chunk-T7DVMF2K.mjs";import"../../../../../__chunks__/chunk-JZZ3MOUU.mjs";import"../../../../../__chunks__/chunk-6UZHM5LW.mjs";import"../../../../../__chunks__/chunk-UZTMRUVT.mjs";import"../../../../../__chunks__/chunk-U3MIDVR7.mjs";import"../../../../../__chunks__/chunk-DGMI66QS.mjs";import"../../../../../__chunks__/chunk-PKD3AEXI.mjs";import"../../../../../__chunks__/chunk-CLUVDWX6.mjs";import"../../../../../__chunks__/chunk-LCXUUCSG.mjs";import"../../../../../__chunks__/chunk-4HS2X3DU.mjs";import"../../../../../__chunks__/chunk-6Q5KBWBX.mjs";import"../../../../../__chunks__/chunk-IIHMMHKX.mjs";import"../../../../../__chunks__/chunk-DXQW47X7.mjs";import"../../../../../__chunks__/chunk-BD335BZR.mjs";import"../../../../../__chunks__/chunk-HN5AQGRU.mjs";import"../../../../../__chunks__/chunk-N55JEIM6.mjs";import"../../../../../__chunks__/chunk-KDWLSBQB.mjs";import"../../../../../__chunks__/chunk-2VG3V3VD.mjs";import"../../../../../__chunks__/chunk-VRLS225Q.mjs";import"../../../../../__chunks__/chunk-4ODPAHHA.mjs";import"../../../../../__chunks__/chunk-ECEWPZGA.mjs";import"../../../../../__chunks__/chunk-5XMM2J5S.mjs";import"../../../../../__chunks__/chunk-ICN7C674.mjs";import"../../../../../__chunks__/chunk-W5XVP57N.mjs";import"../../../../../__chunks__/chunk-ZFXAT6MD.mjs";import"../../../../../__chunks__/chunk-Q2Q4XN4M.mjs";import"../../../../../__chunks__/chunk-3PZY5UGJ.mjs";import"../../../../../__chunks__/chunk-AR2HTK4V.mjs";import"../../../../../__chunks__/chunk-4XUFY6KL.mjs";import"../../../../../__chunks__/chunk-MDVI45IV.mjs";import"../../../../../__chunks__/chunk-3C5GZ3BL.mjs";import"../../../../../__chunks__/chunk-AV6NWRZH.mjs";import"../../../../../__chunks__/chunk-HSCKLNCC.mjs";import"../../../../../__chunks__/chunk-PO53TL6A.mjs";import"../../../../../__chunks__/chunk-C3ZTN3MB.mjs";import"../../../../../__chunks__/chunk-55SACSMS.mjs";import"../../../../../__chunks__/chunk-3HT6SGGS.mjs";import"../../../../../__chunks__/chunk-NP2ORTQ5.mjs";import"../../../../../__chunks__/chunk-J32T6OAP.mjs";import"../../../../../__chunks__/chunk-4US7HVCR.mjs";import"../../../../../__chunks__/chunk-LLL3P3ZK.mjs";import"../../../../../__chunks__/chunk-4TBVQD27.mjs";import"../../../../../__chunks__/chunk-M3GFSV3G.mjs";import"../../../../../__chunks__/chunk-WV5X6BXA.mjs";import"../../../../../__chunks__/chunk-FNLCBKS6.mjs";import"../../../../../__chunks__/chunk-LESXX4LL.mjs";import"../../../../../__chunks__/chunk-E2GGD7D4.mjs";import"../../../../../__chunks__/chunk-L3YPAYXZ.mjs";import"../../../../../__chunks__/chunk-VJXVUTL2.mjs";import"../../../../../__chunks__/chunk-N6LTCPF5.mjs";import"../../../../../__chunks__/chunk-YK7T6MBD.mjs";import"../../../../../__chunks__/chunk-KMJMQEXI.mjs";import"../../../../../__chunks__/chunk-G5DKGX73.mjs";import"../../../../../__chunks__/chunk-UQ3LWIDK.mjs";import"../../../../../__chunks__/chunk-XXV6KGR4.mjs";import"../../../../../__chunks__/chunk-HORSXVIV.mjs";import"../../../../../__chunks__/chunk-YER5STJ7.mjs";import"../../../../../__chunks__/chunk-6K5Z6QR7.mjs";import"../../../../../__chunks__/chunk-NWEUIK3A.mjs";import"../../../../../__chunks__/chunk-ZAQF2H2T.mjs";import"../../../../../__chunks__/chunk-3S57OP4Z.mjs";import"../../../../../__chunks__/chunk-OJX2TSAZ.mjs";import"../../../../../__chunks__/chunk-QTKK6OSJ.mjs";import"../../../../../__chunks__/chunk-6ACLOUQ3.mjs";import"../../../../../__chunks__/chunk-WE7YOBO7.mjs";import"../../../../../__chunks__/chunk-GWPS4KA7.mjs";import"../../../../../__chunks__/chunk-C7MMVI2Q.mjs";import"../../../../../__chunks__/chunk-G7GU37XI.mjs";import"../../../../../__chunks__/chunk-72VXBZOB.mjs";import"../../../../../__chunks__/chunk-3GGBXXXJ.mjs";import"../../../../../__chunks__/chunk-RMW3YLGD.mjs";import"../../../../../__chunks__/chunk-YSCND2MX.mjs";import"../../../../../__chunks__/chunk-FPJ2PIFX.mjs";import"../../../../../__chunks__/chunk-NJN53MJV.mjs";import"../../../../../__chunks__/chunk-YJK5FPW4.mjs";import"../../../../../__chunks__/chunk-36XFDUXN.mjs";import"../../../../../__chunks__/chunk-O7LCTC4K.mjs";import"../../../../../__chunks__/chunk-TFZ46GCB.mjs";import"../../../../../__chunks__/chunk-OL6LWUIJ.mjs";import"../../../../../__chunks__/chunk-ZRSYQ3MT.mjs";import"../../../../../__chunks__/chunk-M6MN4RXG.mjs";import"../../../../../__chunks__/chunk-KIOUFP5Q.mjs";import"../../../../../__chunks__/chunk-5DILKRFV.mjs";import"../../../../../__chunks__/chunk-DZ2BIDRW.mjs";import"../../../../../__chunks__/chunk-HZGRS7HG.mjs";import"../../../../../__chunks__/chunk-NTPPBM7T.mjs";import"../../../../../__chunks__/chunk-GUAXMODN.mjs";import"../../../../../__chunks__/chunk-4VA2SULD.mjs";import"../../../../../__chunks__/chunk-ZAPRDHIW.mjs";import"../../../../../__chunks__/chunk-GIZSIYH4.mjs";import"../../../../../__chunks__/chunk-WVAP3V3E.mjs";import"../../../../../__chunks__/chunk-XVX7N3JK.mjs";import"../../../../../__chunks__/chunk-HH5SA7BX.mjs";import"../../../../../__chunks__/chunk-TCDMXBPB.mjs";import"../../../../../__chunks__/chunk-B3IKUIRK.mjs";import"../../../../../__chunks__/chunk-XNJXXDT4.mjs";import"../../../../../__chunks__/chunk-NGM3AVCY.mjs";import"../../../../../__chunks__/chunk-IXBWD6BF.mjs";import"../../../../../__chunks__/chunk-RG6UZSNC.mjs";import"../../../../../__chunks__/chunk-VCAWVAO5.mjs";import"../../../../../__chunks__/chunk-55W25Q35.mjs";import"../../../../../__chunks__/chunk-G7JP754F.mjs";import"../../../../../__chunks__/chunk-Y3LIA6DS.mjs";import"../../../../../__chunks__/chunk-PUCZORTG.mjs";import"../../../../../__chunks__/chunk-Q3W6TCPP.mjs";import"../../../../../__chunks__/chunk-4MWQKLVG.mjs";import"../../../../../__chunks__/chunk-5OMQOYP7.mjs";import"../../../../../__chunks__/chunk-UCNS6KD5.mjs";import"../../../../../__chunks__/chunk-35MNP3LA.mjs";import"../../../../../__chunks__/chunk-TX7PTLVP.mjs";import"../../../../../__chunks__/chunk-WZ2DNB3R.mjs";import"../../../../../__chunks__/chunk-DFSBS3PX.mjs";import"../../../../../__chunks__/chunk-GFR6K4DR.mjs";import"../../../../../__chunks__/chunk-6D53LH5J.mjs";import"../../../../../__chunks__/chunk-H33OUO77.mjs";import"../../../../../__chunks__/chunk-HQQMSHTW.mjs";import"../../../../../__chunks__/chunk-UQU2VWPJ.mjs";import"../../../../../__chunks__/chunk-NK5Y3RLY.mjs";import"../../../../../__chunks__/chunk-6UMOECOW.mjs";import"../../../../../__chunks__/chunk-54B3EIZC.mjs";import"../../../../../__chunks__/chunk-QJ7MRSGB.mjs";import"../../../../../__chunks__/chunk-VDDXFGB2.mjs";import"../../../../../__chunks__/chunk-BRJNX4JF.mjs";import"../../../../../__chunks__/chunk-3O5N2GP3.mjs";import"../../../../../__chunks__/chunk-T4FRQ4JG.mjs";import"../../../../../__chunks__/chunk-UTWIKUIK.mjs";import"../../../../../__chunks__/chunk-UERJ6AKK.mjs";import"../../../../../__chunks__/chunk-KPK72MOE.mjs";import"../../../../../__chunks__/chunk-7VHTZYM2.mjs";import"../../../../../__chunks__/chunk-VNLGNNIL.mjs";import"../../../../../__chunks__/chunk-6JM4DPOH.mjs";import"../../../../../__chunks__/chunk-ZODTYAYF.mjs";import"../../../../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../../../../__chunks__/chunk-DKX6JUT6.mjs";import"../../../../../__chunks__/chunk-ZBTYYGDC.mjs";import"../../../../../__chunks__/chunk-KRWR77QE.mjs";import"../../../../../__chunks__/chunk-B7YCKWDU.mjs";import"../../../../../__chunks__/chunk-HDJOER66.mjs";import"../../../../../__chunks__/chunk-A7FTKX2A.mjs";import"../../../../../__chunks__/chunk-XKU5QBXG.mjs";import"../../../../../__chunks__/chunk-WZGG2YKQ.mjs";import"../../../../../__chunks__/chunk-JMC7CMTU.mjs";import"../../../../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../../../../__chunks__/chunk-T2YPFNVM.mjs";import"../../../../../__chunks__/chunk-M7BM6QPB.mjs";import"../../../../../__chunks__/chunk-5N4F5T5L.mjs";import"../../../../../__chunks__/chunk-CYCS3K6Q.mjs";import"../../../../../__chunks__/chunk-YMPZDHKF.mjs";import"../../../../../__chunks__/chunk-VKEESSBI.mjs";import"../../../../../__chunks__/chunk-2DNGCNYM.mjs";import"../../../../../__chunks__/chunk-SQVKVA7X.mjs";import"../../../../../__chunks__/chunk-I24YBVHK.mjs";import"../../../../../__chunks__/chunk-NB7A4C7L.mjs";import"../../../../../__chunks__/chunk-PJWJZHIS.mjs";import"../../../../../__chunks__/chunk-DBIIY2TX.mjs";import"../../../../../__chunks__/chunk-KD2IQ32V.mjs";import"../../../../../__chunks__/chunk-WHEXX3BD.mjs";import"../../../../../__chunks__/chunk-CDTYHGXZ.mjs";import"../../../../../__chunks__/chunk-2RAULLHL.mjs";import"../../../../../__chunks__/chunk-7CELSV4S.mjs";import"../../../../../__chunks__/chunk-YUITECZ5.mjs";import"../../../../../__chunks__/chunk-TVELGQIH.mjs";import"../../../../../__chunks__/chunk-2BSPSW6X.mjs";import"../../../../../__chunks__/chunk-OVXVICF7.mjs";import"../../../../../__chunks__/chunk-BTJWNUM6.mjs";import"../../../../../__chunks__/chunk-TRMQFQOQ.mjs";import"../../../../../__chunks__/chunk-WZI2I6NX.mjs";import"../../../../../__chunks__/chunk-TI37DKBT.mjs";import"../../../../../__chunks__/chunk-NTEMINYA.mjs";import"../../../../../__chunks__/chunk-WRLZ5ICK.mjs";import"../../../../../__chunks__/chunk-3FXHIV6O.mjs";import"../../../../../__chunks__/chunk-I3MK6KZJ.mjs";import"../../../../../__chunks__/chunk-UCRVRBTA.mjs";import"../../../../../__chunks__/chunk-JFA26WQX.mjs";import"../../../../../__chunks__/chunk-MGQ373AO.mjs";import"../../../../../__chunks__/chunk-RPTH42EF.mjs";import"../../../../../__chunks__/chunk-3UNGCOKO.mjs";import"../../../../../__chunks__/chunk-AAYTAHS3.mjs";import"../../../../../__chunks__/chunk-5Y2ZDPP6.mjs";import"../../../../../__chunks__/chunk-LHEH7L4L.mjs";import"../../../../../__chunks__/chunk-X6ODREO6.mjs";import"../../../../../__chunks__/chunk-EJV4VNJG.mjs";import"../../../../../__chunks__/chunk-6R2WFQ7U.mjs";import"../../../../../__chunks__/chunk-UGSHH7B7.mjs";import"../../../../../__chunks__/chunk-FI444OX3.mjs";import"../../../../../__chunks__/chunk-PKDR5ERF.mjs";import"../../../../../__chunks__/chunk-MGFIOCA4.mjs";import"../../../../../__chunks__/chunk-GGBMHKR4.mjs";import"../../../../../__chunks__/chunk-GLXG5BES.mjs";import"../../../../../__chunks__/chunk-LJX4MW7B.mjs";import"../../../../../__chunks__/chunk-DTQL3IDP.mjs";import"../../../../../__chunks__/chunk-CKTFPRJS.mjs";import"../../../../../__chunks__/chunk-45V5WRWO.mjs";import"../../../../../__chunks__/chunk-P7VRIJIA.mjs";import"../../../../../__chunks__/chunk-EHDGJUEU.mjs";import"../../../../../__chunks__/chunk-HOCSCRJF.mjs";import"../../../../../__chunks__/chunk-4LVDMQBA.mjs";import"../../../../../__chunks__/chunk-UE3IBKCO.mjs";import"../../../../../__chunks__/chunk-H6IZMTJK.mjs";import"../../../../../__chunks__/chunk-B2UIPHJ3.mjs";export{a as accountLogin};
|
|
1
|
+
import{r as a}from"../../../../../__chunks__/chunk-6MNQSWGO.mjs";import"../../../../../__chunks__/chunk-PBXNAY2B.mjs";import"../../../../../__chunks__/chunk-7MOSAB64.mjs";import"../../../../../__chunks__/chunk-RUBOJOJP.mjs";import"../../../../../__chunks__/chunk-CJTGYQ5L.mjs";import"../../../../../__chunks__/chunk-T7DVMF2K.mjs";import"../../../../../__chunks__/chunk-JZZ3MOUU.mjs";import"../../../../../__chunks__/chunk-6UZHM5LW.mjs";import"../../../../../__chunks__/chunk-WWYX7L4I.mjs";import"../../../../../__chunks__/chunk-ZATPIKZ2.mjs";import"../../../../../__chunks__/chunk-U3MIDVR7.mjs";import"../../../../../__chunks__/chunk-CDWODCD7.mjs";import"../../../../../__chunks__/chunk-PKD3AEXI.mjs";import"../../../../../__chunks__/chunk-CLUVDWX6.mjs";import"../../../../../__chunks__/chunk-O5MS2L3D.mjs";import"../../../../../__chunks__/chunk-PGAJUAPG.mjs";import"../../../../../__chunks__/chunk-LS425JKB.mjs";import"../../../../../__chunks__/chunk-KQV57RV3.mjs";import"../../../../../__chunks__/chunk-ABBDCZHP.mjs";import"../../../../../__chunks__/chunk-OILJUNFX.mjs";import"../../../../../__chunks__/chunk-WC6DHH2B.mjs";import"../../../../../__chunks__/chunk-RUE5QYSG.mjs";import"../../../../../__chunks__/chunk-N55JEIM6.mjs";import"../../../../../__chunks__/chunk-PMHRZ5Y7.mjs";import"../../../../../__chunks__/chunk-2VG3V3VD.mjs";import"../../../../../__chunks__/chunk-SHNAULDW.mjs";import"../../../../../__chunks__/chunk-ZZ6Z3QEX.mjs";import"../../../../../__chunks__/chunk-U24DHQDI.mjs";import"../../../../../__chunks__/chunk-4ODPAHHA.mjs";import"../../../../../__chunks__/chunk-ECEWPZGA.mjs";import"../../../../../__chunks__/chunk-BENZKRAG.mjs";import"../../../../../__chunks__/chunk-SR7TVATV.mjs";import"../../../../../__chunks__/chunk-AGO2Z4FM.mjs";import"../../../../../__chunks__/chunk-ZFXAT6MD.mjs";import"../../../../../__chunks__/chunk-Q2Q4XN4M.mjs";import"../../../../../__chunks__/chunk-VGO3VD5N.mjs";import"../../../../../__chunks__/chunk-OEXP5D2Q.mjs";import"../../../../../__chunks__/chunk-MDVI45IV.mjs";import"../../../../../__chunks__/chunk-3C5GZ3BL.mjs";import"../../../../../__chunks__/chunk-AWQZ56BT.mjs";import"../../../../../__chunks__/chunk-PDMEOQYV.mjs";import"../../../../../__chunks__/chunk-RSAYFMIM.mjs";import"../../../../../__chunks__/chunk-SKBL5PDX.mjs";import"../../../../../__chunks__/chunk-55SACSMS.mjs";import"../../../../../__chunks__/chunk-EG5H4QZV.mjs";import"../../../../../__chunks__/chunk-MQJQMAW3.mjs";import"../../../../../__chunks__/chunk-J32T6OAP.mjs";import"../../../../../__chunks__/chunk-4US7HVCR.mjs";import"../../../../../__chunks__/chunk-W6M5WJ3V.mjs";import"../../../../../__chunks__/chunk-4TBVQD27.mjs";import"../../../../../__chunks__/chunk-M3GFSV3G.mjs";import"../../../../../__chunks__/chunk-WV5X6BXA.mjs";import"../../../../../__chunks__/chunk-YLD26I5H.mjs";import"../../../../../__chunks__/chunk-JBZR35CW.mjs";import"../../../../../__chunks__/chunk-E2GGD7D4.mjs";import"../../../../../__chunks__/chunk-L3YPAYXZ.mjs";import"../../../../../__chunks__/chunk-ONSO75O2.mjs";import"../../../../../__chunks__/chunk-BSFYNH6O.mjs";import"../../../../../__chunks__/chunk-YK7T6MBD.mjs";import"../../../../../__chunks__/chunk-KMJMQEXI.mjs";import"../../../../../__chunks__/chunk-G5DKGX73.mjs";import"../../../../../__chunks__/chunk-NZFUM3VC.mjs";import"../../../../../__chunks__/chunk-XXV6KGR4.mjs";import"../../../../../__chunks__/chunk-HORSXVIV.mjs";import"../../../../../__chunks__/chunk-P6HDK262.mjs";import"../../../../../__chunks__/chunk-6SC2DWV6.mjs";import"../../../../../__chunks__/chunk-NWEUIK3A.mjs";import"../../../../../__chunks__/chunk-G5MRPRWI.mjs";import"../../../../../__chunks__/chunk-3S57OP4Z.mjs";import"../../../../../__chunks__/chunk-OJX2TSAZ.mjs";import"../../../../../__chunks__/chunk-XDBKPKTG.mjs";import"../../../../../__chunks__/chunk-H5NVCCUR.mjs";import"../../../../../__chunks__/chunk-PMATTOPD.mjs";import"../../../../../__chunks__/chunk-XG6DEDBU.mjs";import"../../../../../__chunks__/chunk-ITZJPUDG.mjs";import"../../../../../__chunks__/chunk-ZNYD34VT.mjs";import"../../../../../__chunks__/chunk-33MSDZAP.mjs";import"../../../../../__chunks__/chunk-3GGBXXXJ.mjs";import"../../../../../__chunks__/chunk-RMW3YLGD.mjs";import"../../../../../__chunks__/chunk-YSCND2MX.mjs";import"../../../../../__chunks__/chunk-FPJ2PIFX.mjs";import"../../../../../__chunks__/chunk-NJN53MJV.mjs";import"../../../../../__chunks__/chunk-YJK5FPW4.mjs";import"../../../../../__chunks__/chunk-36XFDUXN.mjs";import"../../../../../__chunks__/chunk-UFDELD3B.mjs";import"../../../../../__chunks__/chunk-TFZ46GCB.mjs";import"../../../../../__chunks__/chunk-OL6LWUIJ.mjs";import"../../../../../__chunks__/chunk-ZRSYQ3MT.mjs";import"../../../../../__chunks__/chunk-M6MN4RXG.mjs";import"../../../../../__chunks__/chunk-KIOUFP5Q.mjs";import"../../../../../__chunks__/chunk-5DILKRFV.mjs";import"../../../../../__chunks__/chunk-DZ2BIDRW.mjs";import"../../../../../__chunks__/chunk-HZGRS7HG.mjs";import"../../../../../__chunks__/chunk-NTPPBM7T.mjs";import"../../../../../__chunks__/chunk-GUAXMODN.mjs";import"../../../../../__chunks__/chunk-4VA2SULD.mjs";import"../../../../../__chunks__/chunk-ZAPRDHIW.mjs";import"../../../../../__chunks__/chunk-GIZSIYH4.mjs";import"../../../../../__chunks__/chunk-WVAP3V3E.mjs";import"../../../../../__chunks__/chunk-XVX7N3JK.mjs";import"../../../../../__chunks__/chunk-HH5SA7BX.mjs";import"../../../../../__chunks__/chunk-DRPJ3IFU.mjs";import"../../../../../__chunks__/chunk-B3IKUIRK.mjs";import"../../../../../__chunks__/chunk-GMQMFRLW.mjs";import"../../../../../__chunks__/chunk-NGM3AVCY.mjs";import"../../../../../__chunks__/chunk-IXBWD6BF.mjs";import"../../../../../__chunks__/chunk-C2FLFZOO.mjs";import"../../../../../__chunks__/chunk-VCAWVAO5.mjs";import"../../../../../__chunks__/chunk-55W25Q35.mjs";import"../../../../../__chunks__/chunk-F33ERG33.mjs";import"../../../../../__chunks__/chunk-STBF3KTB.mjs";import"../../../../../__chunks__/chunk-PNSB4HHK.mjs";import"../../../../../__chunks__/chunk-GNHD56P3.mjs";import"../../../../../__chunks__/chunk-5OMQOYP7.mjs";import"../../../../../__chunks__/chunk-UCNS6KD5.mjs";import"../../../../../__chunks__/chunk-35MNP3LA.mjs";import"../../../../../__chunks__/chunk-TX7PTLVP.mjs";import"../../../../../__chunks__/chunk-WZ2DNB3R.mjs";import"../../../../../__chunks__/chunk-DFSBS3PX.mjs";import"../../../../../__chunks__/chunk-GFR6K4DR.mjs";import"../../../../../__chunks__/chunk-6D53LH5J.mjs";import"../../../../../__chunks__/chunk-H33OUO77.mjs";import"../../../../../__chunks__/chunk-HQQMSHTW.mjs";import"../../../../../__chunks__/chunk-UQU2VWPJ.mjs";import"../../../../../__chunks__/chunk-ZKBKYLAP.mjs";import"../../../../../__chunks__/chunk-6UMOECOW.mjs";import"../../../../../__chunks__/chunk-54B3EIZC.mjs";import"../../../../../__chunks__/chunk-QJ7MRSGB.mjs";import"../../../../../__chunks__/chunk-VDDXFGB2.mjs";import"../../../../../__chunks__/chunk-YJCTRUJT.mjs";import"../../../../../__chunks__/chunk-EGO5R7IZ.mjs";import"../../../../../__chunks__/chunk-T4FRQ4JG.mjs";import"../../../../../__chunks__/chunk-UTWIKUIK.mjs";import"../../../../../__chunks__/chunk-UERJ6AKK.mjs";import"../../../../../__chunks__/chunk-KPK72MOE.mjs";import"../../../../../__chunks__/chunk-7VHTZYM2.mjs";import"../../../../../__chunks__/chunk-VNLGNNIL.mjs";import"../../../../../__chunks__/chunk-6JM4DPOH.mjs";import"../../../../../__chunks__/chunk-ZODTYAYF.mjs";import"../../../../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../../../../__chunks__/chunk-DKX6JUT6.mjs";import"../../../../../__chunks__/chunk-B2RHOOA6.mjs";import"../../../../../__chunks__/chunk-KRWR77QE.mjs";import"../../../../../__chunks__/chunk-B7YCKWDU.mjs";import"../../../../../__chunks__/chunk-HDJOER66.mjs";import"../../../../../__chunks__/chunk-A7FTKX2A.mjs";import"../../../../../__chunks__/chunk-XKU5QBXG.mjs";import"../../../../../__chunks__/chunk-WZGG2YKQ.mjs";import"../../../../../__chunks__/chunk-JMC7CMTU.mjs";import"../../../../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../../../../__chunks__/chunk-T2YPFNVM.mjs";import"../../../../../__chunks__/chunk-M7BM6QPB.mjs";import"../../../../../__chunks__/chunk-5N4F5T5L.mjs";import"../../../../../__chunks__/chunk-CYCS3K6Q.mjs";import"../../../../../__chunks__/chunk-YMPZDHKF.mjs";import"../../../../../__chunks__/chunk-VKEESSBI.mjs";import"../../../../../__chunks__/chunk-2DNGCNYM.mjs";import"../../../../../__chunks__/chunk-SQVKVA7X.mjs";import"../../../../../__chunks__/chunk-I24YBVHK.mjs";import"../../../../../__chunks__/chunk-NB7A4C7L.mjs";import"../../../../../__chunks__/chunk-PJWJZHIS.mjs";import"../../../../../__chunks__/chunk-DBIIY2TX.mjs";import"../../../../../__chunks__/chunk-KD2IQ32V.mjs";import"../../../../../__chunks__/chunk-WHEXX3BD.mjs";import"../../../../../__chunks__/chunk-CDTYHGXZ.mjs";import"../../../../../__chunks__/chunk-2RAULLHL.mjs";import"../../../../../__chunks__/chunk-7UA7QAEF.mjs";import"../../../../../__chunks__/chunk-FTJF3Q3P.mjs";import"../../../../../__chunks__/chunk-YUITECZ5.mjs";import"../../../../../__chunks__/chunk-TVELGQIH.mjs";import"../../../../../__chunks__/chunk-2BSPSW6X.mjs";import"../../../../../__chunks__/chunk-OVXVICF7.mjs";import"../../../../../__chunks__/chunk-BTJWNUM6.mjs";import"../../../../../__chunks__/chunk-TRMQFQOQ.mjs";import"../../../../../__chunks__/chunk-WZI2I6NX.mjs";import"../../../../../__chunks__/chunk-NTEMINYA.mjs";import"../../../../../__chunks__/chunk-WRLZ5ICK.mjs";import"../../../../../__chunks__/chunk-3FXHIV6O.mjs";import"../../../../../__chunks__/chunk-I3MK6KZJ.mjs";import"../../../../../__chunks__/chunk-UCRVRBTA.mjs";import"../../../../../__chunks__/chunk-CUQBPPWE.mjs";import"../../../../../__chunks__/chunk-MGQ373AO.mjs";import"../../../../../__chunks__/chunk-RPTH42EF.mjs";import"../../../../../__chunks__/chunk-3UNGCOKO.mjs";import"../../../../../__chunks__/chunk-BJOEWWLZ.mjs";import"../../../../../__chunks__/chunk-5Y2ZDPP6.mjs";import"../../../../../__chunks__/chunk-MRIKSX32.mjs";import"../../../../../__chunks__/chunk-EJV4VNJG.mjs";import"../../../../../__chunks__/chunk-6R2WFQ7U.mjs";import"../../../../../__chunks__/chunk-H24QGHAH.mjs";import"../../../../../__chunks__/chunk-FI444OX3.mjs";import"../../../../../__chunks__/chunk-LHEH7L4L.mjs";import"../../../../../__chunks__/chunk-PKDR5ERF.mjs";import"../../../../../__chunks__/chunk-MGFIOCA4.mjs";import"../../../../../__chunks__/chunk-GGBMHKR4.mjs";import"../../../../../__chunks__/chunk-NWJYEKI2.mjs";import"../../../../../__chunks__/chunk-LJX4MW7B.mjs";import"../../../../../__chunks__/chunk-DTQL3IDP.mjs";import"../../../../../__chunks__/chunk-CKTFPRJS.mjs";import"../../../../../__chunks__/chunk-3KFEBW7N.mjs";import"../../../../../__chunks__/chunk-MCXQTDAK.mjs";import"../../../../../__chunks__/chunk-EHDGJUEU.mjs";import"../../../../../__chunks__/chunk-HOCSCRJF.mjs";import"../../../../../__chunks__/chunk-7EWMP5BY.mjs";import"../../../../../__chunks__/chunk-UE3IBKCO.mjs";import"../../../../../__chunks__/chunk-H6IZMTJK.mjs";import"../../../../../__chunks__/chunk-B2UIPHJ3.mjs";export{a as accountLogin};
|
|
2
2
|
//# sourceMappingURL=accountLogin.mjs.map
|
|
@@ -1,45 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
var extractAddressFromToken_exports = {};
|
|
20
|
-
__export(extractAddressFromToken_exports, {
|
|
21
|
-
extractAddressFromToken: () => extractAddressFromToken
|
|
22
|
-
});
|
|
23
|
-
module.exports = __toCommonJS(extractAddressFromToken_exports);
|
|
24
|
-
var import_loginInfoActions = require("../../../../../store/actions/loginInfo/loginInfoActions");
|
|
25
|
-
var import_getAccountFromToken = require("./getAccountFromToken");
|
|
26
|
-
async function extractAddressFromToken({
|
|
27
|
-
loginToken,
|
|
28
|
-
extraInfoData,
|
|
29
|
-
address
|
|
30
|
-
}) {
|
|
31
|
-
const accountDetails = await (0, import_getAccountFromToken.getAccountFromToken)({
|
|
32
|
-
originalLoginToken: loginToken,
|
|
33
|
-
extraInfoData,
|
|
34
|
-
address
|
|
35
|
-
});
|
|
36
|
-
if (accountDetails.modifiedLoginToken) {
|
|
37
|
-
(0, import_loginInfoActions.setLoginToken)(accountDetails.modifiedLoginToken);
|
|
38
|
-
}
|
|
39
|
-
return accountDetails.address;
|
|
40
|
-
}
|
|
41
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
42
|
-
0 && (module.exports = {
|
|
43
|
-
extractAddressFromToken
|
|
44
|
-
});
|
|
1
|
+
"use strict";var e=Object.defineProperty;var c=Object.getOwnPropertyDescriptor;var g=Object.getOwnPropertyNames;var m=Object.prototype.hasOwnProperty;var d=(n,o)=>{for(var t in o)e(n,t,{get:o[t],enumerable:!0})},k=(n,o,t,r)=>{if(o&&typeof o=="object"||typeof o=="function")for(let i of g(o))!m.call(n,i)&&i!==t&&e(n,i,{get:()=>o[i],enumerable:!(r=c(o,i))||r.enumerable});return n};var T=n=>k(e({},"__esModule",{value:!0}),n);var u={};d(u,{extractAddressFromToken:()=>f});module.exports=T(u);var s=require("../../../../../store/actions/loginInfo/loginInfoActions"),a=require("./getAccountFromToken");async function f({loginToken:n,extraInfoData:o,address:t}){const r=await(0,a.getAccountFromToken)({originalLoginToken:n,extraInfoData:o,address:t});return r.modifiedLoginToken&&(0,s.setLoginToken)(r.modifiedLoginToken),r.address}0&&(module.exports={extractAddressFromToken});
|
|
45
2
|
//# sourceMappingURL=extractAddressFromToken.cjs.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../../src/providers/DappProvider/helpers/login/helpers/extractAddressFromToken.ts"],
|
|
4
4
|
"sourcesContent": ["import { setLoginToken } from 'store/actions/loginInfo/loginInfoActions';\nimport { getAccountFromToken } from './getAccountFromToken';\n\ninterface IExtractAccountFromTokenProps {\n loginToken: string;\n extraInfoData: {\n multisig?: string;\n impersonate?: string;\n };\n address: string;\n}\n\nexport async function extractAddressFromToken({\n loginToken,\n extraInfoData,\n address\n}: IExtractAccountFromTokenProps): Promise<string> {\n const accountDetails = await getAccountFromToken({\n originalLoginToken: loginToken,\n extraInfoData,\n address\n });\n\n if (accountDetails.modifiedLoginToken) {\n setLoginToken(accountDetails.modifiedLoginToken);\n }\n\n return accountDetails.address;\n}\n"],
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": []
|
|
5
|
+
"mappings": "yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,6BAAAE,IAAA,eAAAC,EAAAH,GAAA,IAAAI,EAA8B,oDAC9BC,EAAoC,iCAWpC,eAAsBH,EAAwB,CAC5C,WAAAI,EACA,cAAAC,EACA,QAAAC,CACF,EAAmD,CACjD,MAAMC,EAAiB,QAAM,uBAAoB,CAC/C,mBAAoBH,EACpB,cAAAC,EACA,QAAAC,CACF,CAAC,EAED,OAAIC,EAAe,uBACjB,iBAAcA,EAAe,kBAAkB,EAG1CA,EAAe,OACxB",
|
|
6
|
+
"names": ["extractAddressFromToken_exports", "__export", "extractAddressFromToken", "__toCommonJS", "import_loginInfoActions", "import_getAccountFromToken", "loginToken", "extraInfoData", "address", "accountDetails"]
|
|
7
7
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../../../../__chunks__/chunk-
|
|
1
|
+
import{a}from"../../../../../__chunks__/chunk-ZZ6Z3QEX.mjs";import"../../../../../__chunks__/chunk-U24DHQDI.mjs";import"../../../../../__chunks__/chunk-OEXP5D2Q.mjs";import"../../../../../__chunks__/chunk-G5MRPRWI.mjs";import"../../../../../__chunks__/chunk-3S57OP4Z.mjs";import"../../../../../__chunks__/chunk-OJX2TSAZ.mjs";import"../../../../../__chunks__/chunk-XDBKPKTG.mjs";import"../../../../../__chunks__/chunk-H5NVCCUR.mjs";import"../../../../../__chunks__/chunk-PMATTOPD.mjs";import"../../../../../__chunks__/chunk-XG6DEDBU.mjs";import"../../../../../__chunks__/chunk-ITZJPUDG.mjs";import"../../../../../__chunks__/chunk-YSCND2MX.mjs";import"../../../../../__chunks__/chunk-EGO5R7IZ.mjs";import"../../../../../__chunks__/chunk-T4FRQ4JG.mjs";import"../../../../../__chunks__/chunk-UTWIKUIK.mjs";import"../../../../../__chunks__/chunk-UERJ6AKK.mjs";import"../../../../../__chunks__/chunk-KPK72MOE.mjs";import"../../../../../__chunks__/chunk-7VHTZYM2.mjs";import"../../../../../__chunks__/chunk-VNLGNNIL.mjs";import"../../../../../__chunks__/chunk-6JM4DPOH.mjs";import"../../../../../__chunks__/chunk-ZODTYAYF.mjs";import"../../../../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../../../../__chunks__/chunk-DKX6JUT6.mjs";import"../../../../../__chunks__/chunk-B2RHOOA6.mjs";import"../../../../../__chunks__/chunk-KRWR77QE.mjs";import"../../../../../__chunks__/chunk-B7YCKWDU.mjs";import"../../../../../__chunks__/chunk-HDJOER66.mjs";import"../../../../../__chunks__/chunk-A7FTKX2A.mjs";import"../../../../../__chunks__/chunk-XKU5QBXG.mjs";import"../../../../../__chunks__/chunk-WZGG2YKQ.mjs";import"../../../../../__chunks__/chunk-JMC7CMTU.mjs";import"../../../../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../../../../__chunks__/chunk-T2YPFNVM.mjs";import"../../../../../__chunks__/chunk-M7BM6QPB.mjs";import"../../../../../__chunks__/chunk-5N4F5T5L.mjs";import"../../../../../__chunks__/chunk-CYCS3K6Q.mjs";import"../../../../../__chunks__/chunk-YMPZDHKF.mjs";import"../../../../../__chunks__/chunk-VKEESSBI.mjs";import"../../../../../__chunks__/chunk-2DNGCNYM.mjs";import"../../../../../__chunks__/chunk-SQVKVA7X.mjs";import"../../../../../__chunks__/chunk-I24YBVHK.mjs";import"../../../../../__chunks__/chunk-NB7A4C7L.mjs";import"../../../../../__chunks__/chunk-PJWJZHIS.mjs";import"../../../../../__chunks__/chunk-KD2IQ32V.mjs";import"../../../../../__chunks__/chunk-FTJF3Q3P.mjs";import"../../../../../__chunks__/chunk-NTEMINYA.mjs";import"../../../../../__chunks__/chunk-MGQ373AO.mjs";import"../../../../../__chunks__/chunk-RPTH42EF.mjs";import"../../../../../__chunks__/chunk-3UNGCOKO.mjs";import"../../../../../__chunks__/chunk-MGFIOCA4.mjs";import"../../../../../__chunks__/chunk-GGBMHKR4.mjs";import"../../../../../__chunks__/chunk-CKTFPRJS.mjs";import"../../../../../__chunks__/chunk-7EWMP5BY.mjs";import"../../../../../__chunks__/chunk-B2UIPHJ3.mjs";export{a as extractAddressFromToken};
|
|
2
2
|
//# sourceMappingURL=extractAddressFromToken.mjs.map
|
|
@@ -1,45 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
var getAccountFromToken_exports = {};
|
|
20
|
-
__export(getAccountFromToken_exports, {
|
|
21
|
-
getAccountFromToken: () => getAccountFromToken
|
|
22
|
-
});
|
|
23
|
-
module.exports = __toCommonJS(getAccountFromToken_exports);
|
|
24
|
-
var import_getModifiedLoginToken = require("./getModifiedLoginToken");
|
|
25
|
-
async function getAccountFromToken({
|
|
26
|
-
originalLoginToken,
|
|
27
|
-
extraInfoData,
|
|
28
|
-
address
|
|
29
|
-
}) {
|
|
30
|
-
const modifiedLoginToken = await (0, import_getModifiedLoginToken.getModifiedLoginToken)({
|
|
31
|
-
loginToken: originalLoginToken,
|
|
32
|
-
extraInfoData
|
|
33
|
-
});
|
|
34
|
-
const tokenAddress = extraInfoData.multisig || extraInfoData.impersonate || address;
|
|
35
|
-
const accountAddress = modifiedLoginToken != null ? tokenAddress : address;
|
|
36
|
-
return {
|
|
37
|
-
address: accountAddress,
|
|
38
|
-
modifiedLoginToken
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
42
|
-
0 && (module.exports = {
|
|
43
|
-
getAccountFromToken
|
|
44
|
-
});
|
|
1
|
+
"use strict";var s=Object.defineProperty;var c=Object.getOwnPropertyDescriptor;var g=Object.getOwnPropertyNames;var d=Object.prototype.hasOwnProperty;var m=(o,n)=>{for(var e in n)s(o,e,{get:n[e],enumerable:!0})},u=(o,n,e,i)=>{if(n&&typeof n=="object"||typeof n=="function")for(let t of g(n))!d.call(o,t)&&t!==e&&s(o,t,{get:()=>n[t],enumerable:!(i=c(n,t))||i.enumerable});return o};var T=o=>u(s({},"__esModule",{value:!0}),o);var a={};m(a,{getAccountFromToken:()=>k});module.exports=T(a);var r=require("./getModifiedLoginToken");async function k({originalLoginToken:o,extraInfoData:n,address:e}){const i=await(0,r.getModifiedLoginToken)({loginToken:o,extraInfoData:n}),t=n.multisig||n.impersonate||e;return{address:i!=null?t:e,modifiedLoginToken:i}}0&&(module.exports={getAccountFromToken});
|
|
45
2
|
//# sourceMappingURL=getAccountFromToken.cjs.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../../src/providers/DappProvider/helpers/login/helpers/getAccountFromToken.ts"],
|
|
4
4
|
"sourcesContent": ["import { getModifiedLoginToken } from './getModifiedLoginToken';\n\ninterface GetAccountFromTokenType {\n address: string;\n originalLoginToken?: string;\n extraInfoData: {\n multisig?: string;\n impersonate?: string;\n };\n}\n\nexport async function getAccountFromToken({\n originalLoginToken,\n extraInfoData,\n address\n}: GetAccountFromTokenType) {\n const modifiedLoginToken = await getModifiedLoginToken({\n loginToken: originalLoginToken,\n extraInfoData\n });\n\n const tokenAddress =\n extraInfoData.multisig || extraInfoData.impersonate || address;\n\n const accountAddress = modifiedLoginToken != null ? tokenAddress : address;\n\n return {\n address: accountAddress,\n modifiedLoginToken\n };\n}\n"],
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": []
|
|
5
|
+
"mappings": "yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,yBAAAE,IAAA,eAAAC,EAAAH,GAAA,IAAAI,EAAsC,mCAWtC,eAAsBF,EAAoB,CACxC,mBAAAG,EACA,cAAAC,EACA,QAAAC,CACF,EAA4B,CAC1B,MAAMC,EAAqB,QAAM,yBAAsB,CACrD,WAAYH,EACZ,cAAAC,CACF,CAAC,EAEKG,EACJH,EAAc,UAAYA,EAAc,aAAeC,EAIzD,MAAO,CACL,QAHqBC,GAAsB,KAAOC,EAAeF,EAIjE,mBAAAC,CACF,CACF",
|
|
6
|
+
"names": ["getAccountFromToken_exports", "__export", "getAccountFromToken", "__toCommonJS", "import_getModifiedLoginToken", "originalLoginToken", "extraInfoData", "address", "modifiedLoginToken", "tokenAddress"]
|
|
7
7
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../../../../__chunks__/chunk-
|
|
1
|
+
import{a}from"../../../../../__chunks__/chunk-U24DHQDI.mjs";import"../../../../../__chunks__/chunk-OEXP5D2Q.mjs";import"../../../../../__chunks__/chunk-G5MRPRWI.mjs";import"../../../../../__chunks__/chunk-3S57OP4Z.mjs";import"../../../../../__chunks__/chunk-OJX2TSAZ.mjs";import"../../../../../__chunks__/chunk-XDBKPKTG.mjs";import"../../../../../__chunks__/chunk-H5NVCCUR.mjs";import"../../../../../__chunks__/chunk-PMATTOPD.mjs";import"../../../../../__chunks__/chunk-XG6DEDBU.mjs";import"../../../../../__chunks__/chunk-ITZJPUDG.mjs";import"../../../../../__chunks__/chunk-YSCND2MX.mjs";import"../../../../../__chunks__/chunk-EGO5R7IZ.mjs";import"../../../../../__chunks__/chunk-T4FRQ4JG.mjs";import"../../../../../__chunks__/chunk-UTWIKUIK.mjs";import"../../../../../__chunks__/chunk-UERJ6AKK.mjs";import"../../../../../__chunks__/chunk-KPK72MOE.mjs";import"../../../../../__chunks__/chunk-7VHTZYM2.mjs";import"../../../../../__chunks__/chunk-VNLGNNIL.mjs";import"../../../../../__chunks__/chunk-6JM4DPOH.mjs";import"../../../../../__chunks__/chunk-ZODTYAYF.mjs";import"../../../../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../../../../__chunks__/chunk-DKX6JUT6.mjs";import"../../../../../__chunks__/chunk-B2RHOOA6.mjs";import"../../../../../__chunks__/chunk-KRWR77QE.mjs";import"../../../../../__chunks__/chunk-B7YCKWDU.mjs";import"../../../../../__chunks__/chunk-HDJOER66.mjs";import"../../../../../__chunks__/chunk-A7FTKX2A.mjs";import"../../../../../__chunks__/chunk-XKU5QBXG.mjs";import"../../../../../__chunks__/chunk-WZGG2YKQ.mjs";import"../../../../../__chunks__/chunk-JMC7CMTU.mjs";import"../../../../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../../../../__chunks__/chunk-T2YPFNVM.mjs";import"../../../../../__chunks__/chunk-M7BM6QPB.mjs";import"../../../../../__chunks__/chunk-5N4F5T5L.mjs";import"../../../../../__chunks__/chunk-CYCS3K6Q.mjs";import"../../../../../__chunks__/chunk-YMPZDHKF.mjs";import"../../../../../__chunks__/chunk-VKEESSBI.mjs";import"../../../../../__chunks__/chunk-2DNGCNYM.mjs";import"../../../../../__chunks__/chunk-SQVKVA7X.mjs";import"../../../../../__chunks__/chunk-I24YBVHK.mjs";import"../../../../../__chunks__/chunk-NB7A4C7L.mjs";import"../../../../../__chunks__/chunk-PJWJZHIS.mjs";import"../../../../../__chunks__/chunk-KD2IQ32V.mjs";import"../../../../../__chunks__/chunk-FTJF3Q3P.mjs";import"../../../../../__chunks__/chunk-NTEMINYA.mjs";import"../../../../../__chunks__/chunk-MGQ373AO.mjs";import"../../../../../__chunks__/chunk-RPTH42EF.mjs";import"../../../../../__chunks__/chunk-3UNGCOKO.mjs";import"../../../../../__chunks__/chunk-MGFIOCA4.mjs";import"../../../../../__chunks__/chunk-GGBMHKR4.mjs";import"../../../../../__chunks__/chunk-CKTFPRJS.mjs";import"../../../../../__chunks__/chunk-7EWMP5BY.mjs";import"../../../../../__chunks__/chunk-B2UIPHJ3.mjs";export{a as getAccountFromToken};
|
|
2
2
|
//# sourceMappingURL=getAccountFromToken.mjs.map
|
|
@@ -1,56 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
var getModifiedLoginToken_exports = {};
|
|
20
|
-
__export(getModifiedLoginToken_exports, {
|
|
21
|
-
getModifiedLoginToken: () => getModifiedLoginToken
|
|
22
|
-
});
|
|
23
|
-
module.exports = __toCommonJS(getModifiedLoginToken_exports);
|
|
24
|
-
var import_decodeLoginToken = require("../../../../../services/nativeAuth/helpers/decodeLoginToken");
|
|
25
|
-
var import_nativeAuth = require("../../../../../services/nativeAuth/nativeAuth");
|
|
26
|
-
async function getModifiedLoginToken({
|
|
27
|
-
loginToken,
|
|
28
|
-
extraInfoData
|
|
29
|
-
}) {
|
|
30
|
-
if (loginToken == null || Object.keys(extraInfoData).length === 0) {
|
|
31
|
-
return null;
|
|
32
|
-
}
|
|
33
|
-
const data = (0, import_decodeLoginToken.decodeLoginToken)(String(loginToken));
|
|
34
|
-
const { timestamp, ...rest } = data?.extraInfo || {};
|
|
35
|
-
const isValidData = data && timestamp != null;
|
|
36
|
-
if (!isValidData) {
|
|
37
|
-
return null;
|
|
38
|
-
}
|
|
39
|
-
const latestBlockInfo = {
|
|
40
|
-
hash: String(data?.blockHash),
|
|
41
|
-
timestamp: Number(timestamp)
|
|
42
|
-
};
|
|
43
|
-
const tokenLogin = await (0, import_nativeAuth.nativeAuth)({
|
|
44
|
-
extraInfo: { ...rest, ...extraInfoData },
|
|
45
|
-
expirySeconds: data?.ttl,
|
|
46
|
-
origin: data?.origin
|
|
47
|
-
}).initialize({
|
|
48
|
-
latestBlockInfo
|
|
49
|
-
});
|
|
50
|
-
return tokenLogin;
|
|
51
|
-
}
|
|
52
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
53
|
-
0 && (module.exports = {
|
|
54
|
-
getModifiedLoginToken
|
|
55
|
-
});
|
|
1
|
+
"use strict";var r=Object.defineProperty;var g=Object.getOwnPropertyDescriptor;var c=Object.getOwnPropertyNames;var m=Object.prototype.hasOwnProperty;var p=(i,t)=>{for(var n in t)r(i,n,{get:t[n],enumerable:!0})},u=(i,t,n,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let e of c(t))!m.call(i,e)&&e!==n&&r(i,e,{get:()=>t[e],enumerable:!(o=g(t,e))||o.enumerable});return i};var f=i=>u(r({},"__esModule",{value:!0}),i);var d={};p(d,{getModifiedLoginToken:()=>k});module.exports=f(d);var a=require("../../../../../services/nativeAuth/helpers/decodeLoginToken"),s=require("../../../../../services/nativeAuth/nativeAuth");async function k({loginToken:i,extraInfoData:t}){if(i==null||Object.keys(t).length===0)return null;const n=(0,a.decodeLoginToken)(String(i)),{timestamp:o,...e}=n?.extraInfo||{};if(!(n&&o!=null))return null;const l={hash:String(n?.blockHash),timestamp:Number(o)};return await(0,s.nativeAuth)({extraInfo:{...e,...t},expirySeconds:n?.ttl,origin:n?.origin}).initialize({latestBlockInfo:l})}0&&(module.exports={getModifiedLoginToken});
|
|
56
2
|
//# sourceMappingURL=getModifiedLoginToken.cjs.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../../src/providers/DappProvider/helpers/login/helpers/getModifiedLoginToken.ts"],
|
|
4
4
|
"sourcesContent": ["import { decodeLoginToken } from 'services/nativeAuth/helpers/decodeLoginToken';\nimport { LatestBlockHashType } from 'services/nativeAuth/helpers/getLatestBlockHash';\nimport { nativeAuth } from 'services/nativeAuth/nativeAuth';\n\nexport interface GetMultiSigLoginTokenType {\n loginToken?: string;\n extraInfoData: {\n multisig?: string;\n impersonate?: string;\n };\n}\n\nexport async function getModifiedLoginToken({\n loginToken,\n extraInfoData\n}: GetMultiSigLoginTokenType) {\n if (loginToken == null || Object.keys(extraInfoData).length === 0) {\n return null;\n }\n\n const data = decodeLoginToken(String(loginToken));\n const { timestamp, ...rest } = data?.extraInfo || {};\n\n const isValidData = data && timestamp != null;\n\n if (!isValidData) {\n return null;\n }\n const latestBlockInfo: LatestBlockHashType = {\n hash: String(data?.blockHash),\n timestamp: Number(timestamp)\n };\n\n const tokenLogin = await nativeAuth({\n extraInfo: { ...rest, ...extraInfoData },\n expirySeconds: data?.ttl,\n origin: data?.origin\n }).initialize({\n latestBlockInfo\n });\n\n return tokenLogin;\n}\n"],
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": []
|
|
5
|
+
"mappings": "yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,2BAAAE,IAAA,eAAAC,EAAAH,GAAA,IAAAI,EAAiC,wDAEjCC,EAA2B,0CAU3B,eAAsBH,EAAsB,CAC1C,WAAAI,EACA,cAAAC,CACF,EAA8B,CAC5B,GAAID,GAAc,MAAQ,OAAO,KAAKC,CAAa,EAAE,SAAW,EAC9D,OAAO,KAGT,MAAMC,KAAO,oBAAiB,OAAOF,CAAU,CAAC,EAC1C,CAAE,UAAAG,EAAW,GAAGC,CAAK,EAAIF,GAAM,WAAa,CAAC,EAInD,GAAI,EAFgBA,GAAQC,GAAa,MAGvC,OAAO,KAET,MAAME,EAAuC,CAC3C,KAAM,OAAOH,GAAM,SAAS,EAC5B,UAAW,OAAOC,CAAS,CAC7B,EAUA,OARmB,QAAM,cAAW,CAClC,UAAW,CAAE,GAAGC,EAAM,GAAGH,CAAc,EACvC,cAAeC,GAAM,IACrB,OAAQA,GAAM,MAChB,CAAC,EAAE,WAAW,CACZ,gBAAAG,CACF,CAAC,CAGH",
|
|
6
|
+
"names": ["getModifiedLoginToken_exports", "__export", "getModifiedLoginToken", "__toCommonJS", "import_decodeLoginToken", "import_nativeAuth", "loginToken", "extraInfoData", "data", "timestamp", "rest", "latestBlockInfo"]
|
|
7
7
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../../../../__chunks__/chunk-
|
|
1
|
+
import{a}from"../../../../../__chunks__/chunk-OEXP5D2Q.mjs";import"../../../../../__chunks__/chunk-G5MRPRWI.mjs";import"../../../../../__chunks__/chunk-3S57OP4Z.mjs";import"../../../../../__chunks__/chunk-OJX2TSAZ.mjs";import"../../../../../__chunks__/chunk-XDBKPKTG.mjs";import"../../../../../__chunks__/chunk-H5NVCCUR.mjs";import"../../../../../__chunks__/chunk-PMATTOPD.mjs";import"../../../../../__chunks__/chunk-XG6DEDBU.mjs";import"../../../../../__chunks__/chunk-ITZJPUDG.mjs";import"../../../../../__chunks__/chunk-YSCND2MX.mjs";import"../../../../../__chunks__/chunk-EGO5R7IZ.mjs";import"../../../../../__chunks__/chunk-T4FRQ4JG.mjs";import"../../../../../__chunks__/chunk-UTWIKUIK.mjs";import"../../../../../__chunks__/chunk-UERJ6AKK.mjs";import"../../../../../__chunks__/chunk-KPK72MOE.mjs";import"../../../../../__chunks__/chunk-7VHTZYM2.mjs";import"../../../../../__chunks__/chunk-VNLGNNIL.mjs";import"../../../../../__chunks__/chunk-6JM4DPOH.mjs";import"../../../../../__chunks__/chunk-ZODTYAYF.mjs";import"../../../../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../../../../__chunks__/chunk-DKX6JUT6.mjs";import"../../../../../__chunks__/chunk-B2RHOOA6.mjs";import"../../../../../__chunks__/chunk-KRWR77QE.mjs";import"../../../../../__chunks__/chunk-B7YCKWDU.mjs";import"../../../../../__chunks__/chunk-HDJOER66.mjs";import"../../../../../__chunks__/chunk-A7FTKX2A.mjs";import"../../../../../__chunks__/chunk-XKU5QBXG.mjs";import"../../../../../__chunks__/chunk-WZGG2YKQ.mjs";import"../../../../../__chunks__/chunk-JMC7CMTU.mjs";import"../../../../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../../../../__chunks__/chunk-T2YPFNVM.mjs";import"../../../../../__chunks__/chunk-M7BM6QPB.mjs";import"../../../../../__chunks__/chunk-5N4F5T5L.mjs";import"../../../../../__chunks__/chunk-CYCS3K6Q.mjs";import"../../../../../__chunks__/chunk-YMPZDHKF.mjs";import"../../../../../__chunks__/chunk-VKEESSBI.mjs";import"../../../../../__chunks__/chunk-2DNGCNYM.mjs";import"../../../../../__chunks__/chunk-SQVKVA7X.mjs";import"../../../../../__chunks__/chunk-I24YBVHK.mjs";import"../../../../../__chunks__/chunk-NB7A4C7L.mjs";import"../../../../../__chunks__/chunk-PJWJZHIS.mjs";import"../../../../../__chunks__/chunk-KD2IQ32V.mjs";import"../../../../../__chunks__/chunk-FTJF3Q3P.mjs";import"../../../../../__chunks__/chunk-NTEMINYA.mjs";import"../../../../../__chunks__/chunk-MGQ373AO.mjs";import"../../../../../__chunks__/chunk-RPTH42EF.mjs";import"../../../../../__chunks__/chunk-3UNGCOKO.mjs";import"../../../../../__chunks__/chunk-MGFIOCA4.mjs";import"../../../../../__chunks__/chunk-GGBMHKR4.mjs";import"../../../../../__chunks__/chunk-CKTFPRJS.mjs";import"../../../../../__chunks__/chunk-7EWMP5BY.mjs";import"../../../../../__chunks__/chunk-B2UIPHJ3.mjs";export{a as getModifiedLoginToken};
|
|
2
2
|
//# sourceMappingURL=getModifiedLoginToken.mjs.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";var h=Object.create;var s=Object.defineProperty;var v=Object.getOwnPropertyDescriptor;var C=Object.getOwnPropertyNames;var T=Object.getPrototypeOf,A=Object.prototype.hasOwnProperty;var k=(i,t)=>{for(var n in t)s(i,n,{get:t[n],enumerable:!0})},m=(i,t,n,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let e of C(t))!A.call(i,e)&&e!==n&&s(i,e,{get:()=>t[e],enumerable:!(a=v(t,e))||a.enumerable});return i};var I=(i,t,n)=>(n=i!=null?h(T(i)):{},m(t||!i||!i.__esModule?s(n,"default",{value:i,enumerable:!0}):n,i)),x=i=>m(s({},"__esModule",{value:!0}),i);var L={};k(L,{getMultisigLoginToken:()=>y});module.exports=x(L);var d=I(require("lodash.isequal")),c=require("../../../../../services/nativeAuth/helpers/decodeLoginToken"),p=require("../../../../../services/nativeAuth/nativeAuth");async function y({loginData:i,nativeAuthConfig:t,loginToken:n}){const{address:a,signature:e,...g}=i,l=Object.keys(g).reduce((o,r)=>{const f=["multisig","impersonate"].includes(r)&&g[r]!=null?String(g[r]):null;return f!=null&&(o[r]=f.toString()),o},{}),u={...t};if(Object.keys(l).length>0&&(u.extraInfo=l),!(0,d.default)(t,u)){const o=(0,c.decodeLoginToken)(n);return await(0,p.nativeAuth)(u).initialize({noCache:!0,latestBlockInfo:{hash:o?.blockHash??"",timestamp:o?.extraInfo?.timestamp??0}})}return n}0&&(module.exports={getMultisigLoginToken});
|
|
2
|
+
//# sourceMappingURL=getMultisigLoginToken.cjs.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": "0jBAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,2BAAAE,IAAA,eAAAC,EAAAH,GAAA,IAAAI,EAAoB,6BAEpBC,EAAiC,wDACjCC,EAA2B,0CAG3B,eAAsBJ,EAAsB,CAC1C,UAAAK,EACA,iBAAAC,EACA,WAAAC,CACF,EAIoB,CAClB,KAAM,CACJ,QAASC,EACT,UAAWC,EACX,GAAGC,CACL,EAAIL,EAEEM,EAAY,OAAO,KAAKD,CAAW,EAAE,OACzC,CAACE,EAAKC,IAAQ,CACZ,MAAMC,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,IAFiB,EAAAK,SAAQV,EAAkBS,CAAwB,EAEpD,CACjB,MAAME,KAAqB,oBAAiBV,CAAU,EAStD,OAP2B,QADF,cAAWQ,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": ["getMultisigLoginToken_exports", "__export", "getMultisigLoginToken", "__toCommonJS", "import_lodash", "import_decodeLoginToken", "import_nativeAuth", "loginData", "nativeAuthConfig", "loginToken", "_address", "_signature", "loginResult", "extraInfo", "acc", "key", "value", "modifiedNativeAuthConfig", "isEqual", "existingLoginToken"]
|
|
7
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { IProvider } from '../../../../../providers/types/providerFactory.types';
|
|
2
|
+
import { NativeAuthConfigType } from '../../../../../services/nativeAuth/nativeAuth.types';
|
|
3
|
+
export declare function getMultisigLoginToken({ loginData, nativeAuthConfig, loginToken }: {
|
|
4
|
+
loginData: Awaited<ReturnType<IProvider['login']>>;
|
|
5
|
+
nativeAuthConfig: NativeAuthConfigType;
|
|
6
|
+
loginToken: string;
|
|
7
|
+
}): Promise<string>;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{a}from"../../../../../__chunks__/chunk-VGO3VD5N.mjs";import"../../../../../__chunks__/chunk-G5MRPRWI.mjs";import"../../../../../__chunks__/chunk-3S57OP4Z.mjs";import"../../../../../__chunks__/chunk-OJX2TSAZ.mjs";import"../../../../../__chunks__/chunk-XDBKPKTG.mjs";import"../../../../../__chunks__/chunk-H5NVCCUR.mjs";import"../../../../../__chunks__/chunk-PMATTOPD.mjs";import"../../../../../__chunks__/chunk-XG6DEDBU.mjs";import"../../../../../__chunks__/chunk-ITZJPUDG.mjs";import"../../../../../__chunks__/chunk-YSCND2MX.mjs";import"../../../../../__chunks__/chunk-EGO5R7IZ.mjs";import"../../../../../__chunks__/chunk-T4FRQ4JG.mjs";import"../../../../../__chunks__/chunk-UTWIKUIK.mjs";import"../../../../../__chunks__/chunk-UERJ6AKK.mjs";import"../../../../../__chunks__/chunk-KPK72MOE.mjs";import"../../../../../__chunks__/chunk-7VHTZYM2.mjs";import"../../../../../__chunks__/chunk-VNLGNNIL.mjs";import"../../../../../__chunks__/chunk-6JM4DPOH.mjs";import"../../../../../__chunks__/chunk-ZODTYAYF.mjs";import"../../../../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../../../../__chunks__/chunk-DKX6JUT6.mjs";import"../../../../../__chunks__/chunk-B2RHOOA6.mjs";import"../../../../../__chunks__/chunk-KRWR77QE.mjs";import"../../../../../__chunks__/chunk-B7YCKWDU.mjs";import"../../../../../__chunks__/chunk-HDJOER66.mjs";import"../../../../../__chunks__/chunk-A7FTKX2A.mjs";import"../../../../../__chunks__/chunk-XKU5QBXG.mjs";import"../../../../../__chunks__/chunk-WZGG2YKQ.mjs";import"../../../../../__chunks__/chunk-JMC7CMTU.mjs";import"../../../../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../../../../__chunks__/chunk-T2YPFNVM.mjs";import"../../../../../__chunks__/chunk-M7BM6QPB.mjs";import"../../../../../__chunks__/chunk-5N4F5T5L.mjs";import"../../../../../__chunks__/chunk-CYCS3K6Q.mjs";import"../../../../../__chunks__/chunk-YMPZDHKF.mjs";import"../../../../../__chunks__/chunk-VKEESSBI.mjs";import"../../../../../__chunks__/chunk-2DNGCNYM.mjs";import"../../../../../__chunks__/chunk-SQVKVA7X.mjs";import"../../../../../__chunks__/chunk-I24YBVHK.mjs";import"../../../../../__chunks__/chunk-NB7A4C7L.mjs";import"../../../../../__chunks__/chunk-PJWJZHIS.mjs";import"../../../../../__chunks__/chunk-KD2IQ32V.mjs";import"../../../../../__chunks__/chunk-FTJF3Q3P.mjs";import"../../../../../__chunks__/chunk-NTEMINYA.mjs";import"../../../../../__chunks__/chunk-MGQ373AO.mjs";import"../../../../../__chunks__/chunk-RPTH42EF.mjs";import"../../../../../__chunks__/chunk-3UNGCOKO.mjs";import"../../../../../__chunks__/chunk-MGFIOCA4.mjs";import"../../../../../__chunks__/chunk-GGBMHKR4.mjs";import"../../../../../__chunks__/chunk-CKTFPRJS.mjs";import"../../../../../__chunks__/chunk-7EWMP5BY.mjs";import"../../../../../__chunks__/chunk-B2UIPHJ3.mjs";export{a as getMultisigLoginToken};
|
|
2
|
+
//# sourceMappingURL=getMultisigLoginToken.mjs.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";var d=Object.defineProperty;var C=Object.getOwnPropertyDescriptor;var L=Object.getOwnPropertyNames;var N=Object.prototype.hasOwnProperty;var x=(t,o)=>{for(var n in o)d(t,n,{get:o[n],enumerable:!0})},y=(t,o,n,r)=>{if(o&&typeof o=="object"||typeof o=="function")for(let e of L(o))!N.call(t,e)&&e!==n&&d(t,e,{get:()=>o[e],enumerable:!(r=C(o,e))||r.enumerable});return t};var I=t=>y(d({},"__esModule",{value:!0}),t);var F={};x(F,{loginWithNativeToken:()=>D});module.exports=I(F);var l=require("../../../../../methods/network/getNetworkConfig"),u=require("../../../../../services/nativeAuth"),k=require("../../../../../services/nativeAuth/helpers/decodeNativeAuthToken"),f=require("../../../../../store/actions/loginInfo/loginInfoActions"),p=require("./accountLogin"),T=require("./extractAddressFromToken"),v=require("./getMultisigLoginToken");async function D({provider:t,nativeAuthConfig:o,token:n}){const{network:{apiAddress:r}}=(0,l.getNetworkConfig)(),e=(0,u.nativeAuth)(o);let i=n;i||(i=await e.initialize({noCache:!0}));const g=await t.login({token:i}),{address:c,signature:a,...s}=g;if(!c)return console.warn("Login cancelled."),null;if(!a)return console.error("Failed to sign login token"),null;const A=(0,k.decodeNativeAuthToken)(s?.accessToken),h=await(0,v.getMultisigLoginToken)({loginData:g,nativeAuthConfig:o,loginToken:i}),w=A?s.accessToken:e.getToken({address:c,token:h,signature:a});(0,f.setTokenLogin)({loginToken:i,signature:a,nativeAuthToken:w});const m=await(0,T.extractAddressFromToken)({loginToken:i,extraInfoData:{multisig:s?.multisig,impersonate:s?.impersonate},address:c});return await(0,p.accountLogin)({address:m,provider:t,apiAddress:r}),{address:m,signature:a}}0&&(module.exports={loginWithNativeToken});
|
|
2
|
+
//# sourceMappingURL=loginWithNativeToken.cjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../../../src/providers/DappProvider/helpers/login/helpers/loginWithNativeToken.ts"],
|
|
4
|
+
"sourcesContent": ["import { getNetworkConfig } from 'methods/network/getNetworkConfig';\nimport { IProvider } from 'providers/types/providerFactory.types';\nimport { nativeAuth } from 'services/nativeAuth';\nimport { decodeNativeAuthToken } from 'services/nativeAuth/helpers/decodeNativeAuthToken';\nimport { NativeAuthConfigType } from 'services/nativeAuth/nativeAuth.types';\nimport { setTokenLogin } from 'store/actions/loginInfo/loginInfoActions';\nimport { accountLogin } from './accountLogin';\nimport { extractAddressFromToken } from './extractAddressFromToken';\nimport { getMultisigLoginToken } from './getMultisigLoginToken';\n\nexport async function loginWithNativeToken({\n provider,\n nativeAuthConfig,\n token\n}: {\n provider: IProvider;\n nativeAuthConfig: NativeAuthConfigType;\n token?: string;\n}) {\n const {\n network: { apiAddress }\n } = getNetworkConfig();\n\n const nativeAuthClient = nativeAuth(nativeAuthConfig);\n let loginToken = token;\n\n if (!loginToken) {\n loginToken = await nativeAuthClient.initialize({\n noCache: true\n });\n }\n\n const loginData = await provider.login({\n token: loginToken\n });\n\n const { address, signature, ...loginResult } = loginData;\n\n if (!address) {\n console.warn('Login cancelled.');\n return null;\n }\n\n if (!signature) {\n console.error('Failed to sign login token');\n return null;\n }\n\n // nativeAuthToken received from hub login\n const decodedToken = decodeNativeAuthToken(loginResult?.accessToken);\n\n const usedLoginToken = await getMultisigLoginToken({\n loginData,\n nativeAuthConfig,\n loginToken\n });\n\n const nativeAuthToken = decodedToken\n ? loginResult.accessToken\n : nativeAuthClient.getToken({\n address,\n token: usedLoginToken,\n signature\n });\n\n setTokenLogin({\n loginToken,\n signature,\n nativeAuthToken\n });\n\n const extractedAddress = await extractAddressFromToken({\n loginToken,\n extraInfoData: {\n multisig: loginResult?.multisig,\n impersonate: loginResult?.impersonate\n },\n address\n });\n\n await accountLogin({\n address: extractedAddress,\n provider,\n apiAddress\n });\n\n return {\n address: extractedAddress,\n signature\n };\n}\n"],
|
|
5
|
+
"mappings": "yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,0BAAAE,IAAA,eAAAC,EAAAH,GAAA,IAAAI,EAAiC,4CAEjCC,EAA2B,+BAC3BC,EAAsC,6DAEtCC,EAA8B,oDAC9BC,EAA6B,0BAC7BC,EAAwC,qCACxCC,EAAsC,mCAEtC,eAAsBR,EAAqB,CACzC,SAAAS,EACA,iBAAAC,EACA,MAAAC,CACF,EAIG,CACD,KAAM,CACJ,QAAS,CAAE,WAAAC,CAAW,CACxB,KAAI,oBAAiB,EAEfC,KAAmB,cAAWH,CAAgB,EACpD,IAAII,EAAaH,EAEZG,IACHA,EAAa,MAAMD,EAAiB,WAAW,CAC7C,QAAS,EACX,CAAC,GAGH,MAAME,EAAY,MAAMN,EAAS,MAAM,CACrC,MAAOK,CACT,CAAC,EAEK,CAAE,QAAAE,EAAS,UAAAC,EAAW,GAAGC,CAAY,EAAIH,EAE/C,GAAI,CAACC,EACH,eAAQ,KAAK,kBAAkB,EACxB,KAGT,GAAI,CAACC,EACH,eAAQ,MAAM,4BAA4B,EACnC,KAIT,MAAME,KAAe,yBAAsBD,GAAa,WAAW,EAE7DE,EAAiB,QAAM,yBAAsB,CACjD,UAAAL,EACA,iBAAAL,EACA,WAAAI,CACF,CAAC,EAEKO,EAAkBF,EACpBD,EAAY,YACZL,EAAiB,SAAS,CACxB,QAAAG,EACA,MAAOI,EACP,UAAAH,CACF,CAAC,KAEL,iBAAc,CACZ,WAAAH,EACA,UAAAG,EACA,gBAAAI,CACF,CAAC,EAED,MAAMC,EAAmB,QAAM,2BAAwB,CACrD,WAAAR,EACA,cAAe,CACb,SAAUI,GAAa,SACvB,YAAaA,GAAa,WAC5B,EACA,QAAAF,CACF,CAAC,EAED,eAAM,gBAAa,CACjB,QAASM,EACT,SAAAb,EACA,WAAAG,CACF,CAAC,EAEM,CACL,QAASU,EACT,UAAAL,CACF,CACF",
|
|
6
|
+
"names": ["loginWithNativeToken_exports", "__export", "loginWithNativeToken", "__toCommonJS", "import_getNetworkConfig", "import_nativeAuth", "import_decodeNativeAuthToken", "import_loginInfoActions", "import_accountLogin", "import_extractAddressFromToken", "import_getMultisigLoginToken", "provider", "nativeAuthConfig", "token", "apiAddress", "nativeAuthClient", "loginToken", "loginData", "address", "signature", "loginResult", "decodedToken", "usedLoginToken", "nativeAuthToken", "extractedAddress"]
|
|
7
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { IProvider } from '../../../../../providers/types/providerFactory.types';
|
|
2
|
+
import { NativeAuthConfigType } from '../../../../../services/nativeAuth/nativeAuth.types';
|
|
3
|
+
export declare function loginWithNativeToken({ provider, nativeAuthConfig, token }: {
|
|
4
|
+
provider: IProvider;
|
|
5
|
+
nativeAuthConfig: NativeAuthConfigType;
|
|
6
|
+
token?: string;
|
|
7
|
+
}): Promise<{
|
|
8
|
+
address: string;
|
|
9
|
+
signature: string;
|
|
10
|
+
} | null>;
|