@multiversx/sdk-dapp 5.3.0-alpha.7 → 5.3.1
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/README.md +2 -0
- package/out/__chunks__/chunk-22ELCCFJ.mjs +2 -0
- package/out/__chunks__/chunk-22ELCCFJ.mjs.map +7 -0
- package/out/__chunks__/{chunk-NP2ORTQ5.mjs → chunk-2ON3KLCT.mjs} +2 -2
- package/out/__chunks__/{chunk-72VXBZOB.mjs → chunk-33MSDZAP.mjs} +2 -2
- package/out/__chunks__/chunk-3PAZABVI.mjs +2 -0
- package/out/__chunks__/chunk-3PAZABVI.mjs.map +7 -0
- package/out/__chunks__/chunk-3RLAFHQ5.mjs +2 -0
- package/out/__chunks__/chunk-3RLAFHQ5.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-3ZT74S43.mjs +2 -0
- package/out/__chunks__/{chunk-N6LTCPF5.mjs → chunk-4FXREOAU.mjs} +2 -2
- package/out/__chunks__/chunk-4G7O2SEH.mjs +2 -0
- package/out/__chunks__/{chunk-T4ISBQLE.mjs.map → chunk-4G7O2SEH.mjs.map} +3 -3
- package/out/__chunks__/{chunk-OLPFN3HZ.mjs → chunk-4SS6EY66.mjs} +2 -2
- package/out/__chunks__/{chunk-VJXVUTL2.mjs → chunk-4Y3336TP.mjs} +2 -2
- package/out/__chunks__/{chunk-UGSHH7B7.mjs → chunk-4YBGCRDP.mjs} +2 -2
- package/out/__chunks__/{chunk-LLL3P3ZK.mjs → chunk-4ZWPXO55.mjs} +2 -2
- package/out/__chunks__/{chunk-6Q5KBWBX.mjs → chunk-57EQXIYJ.mjs} +2 -2
- package/out/__chunks__/{chunk-RG6UZSNC.mjs → chunk-5FPUK3PA.mjs} +2 -2
- package/out/__chunks__/{chunk-URJQWHBM.mjs → chunk-5KCP7UJT.mjs} +2 -2
- package/out/__chunks__/chunk-6DHK4ZHY.mjs +2 -0
- package/out/__chunks__/chunk-6DHK4ZHY.mjs.map +7 -0
- 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-NTOY6GTP.mjs → chunk-7JDTQFLQ.mjs} +2 -2
- package/out/__chunks__/chunk-7UA7QAEF.mjs +2 -0
- package/out/__chunks__/chunk-7UA7QAEF.mjs.map +7 -0
- package/out/__chunks__/chunk-A5TUOLPV.mjs +2 -0
- package/out/__chunks__/chunk-A5TUOLPV.mjs.map +7 -0
- 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-OB46FDMD.mjs → chunk-ABMG4JL2.mjs} +2 -2
- package/out/__chunks__/{chunk-ZAQF2H2T.mjs → chunk-BFNJ4VYH.mjs} +2 -2
- package/out/__chunks__/chunk-C2CYALD3.mjs +2 -0
- package/out/__chunks__/chunk-C5SRSULA.mjs +2 -0
- package/out/__chunks__/chunk-C5SRSULA.mjs.map +7 -0
- package/out/__chunks__/chunk-CA5CSAGL.mjs +2 -0
- package/out/__chunks__/chunk-CDWODCD7.mjs +2 -0
- package/out/__chunks__/chunk-CDWODCD7.mjs.map +7 -0
- package/out/__chunks__/{chunk-MBQJCCRF.mjs → chunk-CMIVBHXU.mjs} +2 -2
- package/out/__chunks__/chunk-CZEUFCPN.mjs +2 -0
- package/out/__chunks__/chunk-CZEUFCPN.mjs.map +7 -0
- package/out/__chunks__/{chunk-K4NJKHIN.mjs → chunk-D4UL2EWH.mjs} +2 -2
- package/out/__chunks__/{chunk-B5AOQ4V4.mjs → chunk-DDLTXUQG.mjs} +2 -2
- package/out/__chunks__/{chunk-3BADGK4C.mjs → chunk-DJXCXSJM.mjs} +2 -2
- package/out/__chunks__/chunk-DJXCXSJM.mjs.map +7 -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-3O5N2GP3.mjs → chunk-E7M6PNMF.mjs} +2 -2
- package/out/__chunks__/chunk-EBENRM2R.mjs +2 -0
- package/out/__chunks__/chunk-EBENRM2R.mjs.map +7 -0
- package/out/__chunks__/{chunk-AR2HTK4V.mjs → chunk-EDLHXC66.mjs} +2 -2
- package/out/__chunks__/chunk-EGNCDLPF.mjs +2 -0
- package/out/__chunks__/{chunk-HN5AQGRU.mjs.map → chunk-EGNCDLPF.mjs.map} +3 -3
- package/out/__chunks__/{chunk-YYQIUPIH.mjs → chunk-F6HFPLKF.mjs} +2 -2
- package/out/__chunks__/{chunk-LCXUUCSG.mjs → chunk-FGEC7ZXX.mjs} +2 -2
- 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-4XUFY6KL.mjs → chunk-FUCA6PDM.mjs} +2 -2
- package/out/__chunks__/chunk-G2YMMIV4.mjs +2 -0
- package/out/__chunks__/chunk-G2YMMIV4.mjs.map +7 -0
- package/out/__chunks__/chunk-GAYDJQDV.mjs +1 -0
- package/out/__chunks__/{chunk-TYBKCGYF.mjs → chunk-GIRFQWT3.mjs} +2 -2
- package/out/__chunks__/chunk-GIRFQWT3.mjs.map +7 -0
- package/out/__chunks__/{chunk-4MWQKLVG.mjs → chunk-GNHD56P3.mjs} +2 -2
- package/out/__chunks__/{chunk-GWPS4KA7.mjs → chunk-GNNYBI7B.mjs} +2 -2
- package/out/__chunks__/{chunk-AAYTAHS3.mjs → chunk-GQ4CPGZ3.mjs} +2 -2
- package/out/__chunks__/{chunk-W5XVP57N.mjs → chunk-GUIXE5XC.mjs} +2 -2
- package/out/__chunks__/{chunk-W5XVP57N.mjs.map → chunk-GUIXE5XC.mjs.map} +1 -1
- package/out/__chunks__/chunk-H3NKXQQF.mjs +2 -0
- package/out/__chunks__/{chunk-4LVDMQBA.mjs.map → chunk-H3NKXQQF.mjs.map} +1 -1
- package/out/__chunks__/{chunk-6ACLOUQ3.mjs → chunk-H5NVCCUR.mjs} +2 -2
- package/out/__chunks__/chunk-I4PVZY6G.mjs +2 -0
- package/out/__chunks__/chunk-I4PVZY6G.mjs.map +7 -0
- package/out/__chunks__/{chunk-45V5WRWO.mjs → chunk-ICXBMZJS.mjs} +2 -2
- package/out/__chunks__/{chunk-EAXWH64Z.mjs → chunk-IS3TZ43F.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-JNGJJQUL.mjs +2 -0
- package/out/__chunks__/{chunk-SAXE4RBZ.mjs → chunk-K272J46W.mjs} +2 -2
- package/out/__chunks__/{chunk-JKW4CYQC.mjs → chunk-K6FICN7B.mjs} +2 -2
- package/out/__chunks__/{chunk-CO23VS2O.mjs → chunk-KDMYDO7R.mjs} +2 -2
- package/out/__chunks__/chunk-KLLFGRPB.mjs +2 -0
- package/out/__chunks__/{chunk-5XMM2J5S.mjs.map → chunk-KLLFGRPB.mjs.map} +2 -2
- package/out/__chunks__/{chunk-Y3LIA6DS.mjs → chunk-KPOZLV3Y.mjs} +2 -2
- package/out/__chunks__/chunk-L3EOHIBG.mjs +2 -0
- package/out/__chunks__/chunk-L3EOHIBG.mjs.map +7 -0
- package/out/__chunks__/chunk-L5XHA5J3.mjs +2 -0
- package/out/__chunks__/chunk-L6A73MU7.mjs +2 -0
- package/out/__chunks__/{chunk-7FEQBPHA.mjs → chunk-LNXZQGLV.mjs} +2 -2
- package/out/__chunks__/chunk-M65GJGER.mjs +2 -0
- package/out/__chunks__/chunk-M65GJGER.mjs.map +7 -0
- package/out/__chunks__/{chunk-O5UEF45G.mjs → chunk-MDXLOX7I.mjs} +2 -2
- package/out/__chunks__/{chunk-B2RDSGON.mjs → chunk-MH3RDOC5.mjs} +2 -2
- package/out/__chunks__/{chunk-VECZ4SAM.mjs → chunk-MJKL37SY.mjs} +2 -2
- package/out/__chunks__/chunk-MJKL37SY.mjs.map +7 -0
- package/out/__chunks__/{chunk-VKDH4PYW.mjs → chunk-MODSKR2X.mjs} +2 -2
- package/out/__chunks__/chunk-MPGHQVDQ.mjs +2 -0
- package/out/__chunks__/chunk-MPGHQVDQ.mjs.map +7 -0
- package/out/__chunks__/chunk-MSM6OHIC.mjs +2 -0
- package/out/__chunks__/chunk-MSM6OHIC.mjs.map +7 -0
- package/out/__chunks__/{chunk-JFA26WQX.mjs → chunk-N42HH2XN.mjs} +2 -2
- package/out/__chunks__/chunk-NBHRZSLS.mjs +2 -0
- package/out/__chunks__/chunk-NBHRZSLS.mjs.map +7 -0
- package/out/__chunks__/chunk-NI7XCWV5.mjs +2 -0
- package/out/__chunks__/{chunk-FNLCBKS6.mjs → chunk-NT3OYOP5.mjs} +2 -2
- 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-AOHJYDXQ.mjs → chunk-NZA7KOCG.mjs} +2 -2
- package/out/__chunks__/chunk-O4V2ADKJ.mjs +2 -0
- package/out/__chunks__/{chunk-XNJXXDT4.mjs → chunk-O7AQPRYI.mjs} +2 -2
- package/out/__chunks__/{chunk-JSSRK6RP.mjs → chunk-OFVUWY2K.mjs} +2 -2
- package/out/__chunks__/{chunk-4HS2X3DU.mjs → chunk-PJZO5KQR.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-ELQR4QMU.mjs → chunk-PQVNWTWJ.mjs} +2 -2
- package/out/__chunks__/{chunk-P7VRIJIA.mjs → chunk-PX3TRYOX.mjs} +2 -2
- package/out/__chunks__/chunk-PY6RWCON.mjs +2 -0
- package/out/__chunks__/chunk-PY6RWCON.mjs.map +7 -0
- package/out/__chunks__/chunk-Q6ALT7RT.mjs +2 -0
- package/out/__chunks__/chunk-QBLEV36D.mjs +2 -0
- package/out/__chunks__/chunk-QBLEV36D.mjs.map +7 -0
- package/out/__chunks__/chunk-QFZ4YW5F.mjs +2 -0
- package/out/__chunks__/{chunk-C7MMVI2Q.mjs → chunk-QLMVT5AQ.mjs} +2 -2
- package/out/__chunks__/{chunk-LIYSDOCR.mjs → chunk-QZQDLLQR.mjs} +2 -2
- package/out/__chunks__/chunk-R6F66MUM.mjs +2 -0
- package/out/__chunks__/chunk-R6F66MUM.mjs.map +7 -0
- package/out/__chunks__/chunk-RFQ62EWT.mjs +2 -0
- package/out/__chunks__/{chunk-DMQTB4GY.mjs → chunk-RHG5XPRM.mjs} +2 -2
- package/out/__chunks__/chunk-RNABCWXS.mjs +2 -0
- package/out/__chunks__/chunk-S2PZQQCM.mjs +2 -0
- package/out/__chunks__/chunk-SFGNJYRD.mjs +2 -0
- package/out/__chunks__/{chunk-AUNF6TMP.mjs.map → chunk-SFGNJYRD.mjs.map} +2 -2
- package/out/__chunks__/{chunk-X6ODREO6.mjs → chunk-STSC5Q3L.mjs} +2 -2
- package/out/__chunks__/{chunk-ZHSSJKO4.mjs → chunk-TYA2A7P3.mjs} +2 -2
- package/out/__chunks__/chunk-TYA2A7P3.mjs.map +7 -0
- package/out/__chunks__/chunk-U4NSAQRJ.mjs +2 -0
- package/out/__chunks__/chunk-UCNKEHLJ.mjs +2 -0
- package/out/__chunks__/{chunk-LESXX4LL.mjs → chunk-UEKNE7II.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-ICN7C674.mjs → chunk-UNSFOHDG.mjs} +2 -2
- package/out/__chunks__/{chunk-Z5NKN6NJ.mjs → chunk-VAJX46E4.mjs} +2 -2
- package/out/__chunks__/{chunk-PUCZORTG.mjs → chunk-VJLG26AF.mjs} +2 -2
- package/out/__chunks__/{chunk-C3ZTN3MB.mjs → chunk-VWRNBA3H.mjs} +2 -2
- package/out/__chunks__/{chunk-RT3VYYZ7.mjs → chunk-WBMIRF47.mjs} +2 -2
- 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-QTKK6OSJ.mjs → chunk-XDBKPKTG.mjs} +2 -2
- package/out/__chunks__/chunk-XX6UOMVH.mjs +2 -0
- package/out/__chunks__/chunk-XX6UOMVH.mjs.map +7 -0
- package/out/__chunks__/{chunk-AV6NWRZH.mjs → chunk-Y5FXVEPD.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-YQDEE6WP.mjs +2 -0
- package/out/__chunks__/chunk-YQDEE6WP.mjs.map +7 -0
- package/out/__chunks__/{chunk-YER5STJ7.mjs → chunk-YZ6E6GLF.mjs} +2 -2
- package/out/__chunks__/chunk-Z2XKLZOJ.mjs +2 -0
- package/out/__chunks__/chunk-Z2XKLZOJ.mjs.map +7 -0
- package/out/__chunks__/{chunk-UZTMRUVT.mjs → chunk-ZATPIKZ2.mjs} +2 -2
- package/out/__chunks__/{chunk-K3HPUFDJ.mjs → chunk-ZBQOFCLH.mjs} +2 -2
- package/out/__chunks__/chunk-ZFKTQNIP.mjs +2 -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/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 +3 -3
- package/out/managers/internal/UIBaseManager/UIBaseManager.d.ts +3 -0
- 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/getAccountInfo.mjs.map +4 -4
- 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/helpers/signTransactions/tests/mocks.d.ts +16 -0
- 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 +5 -4
- package/out/__chunks__/chunk-3BADGK4C.mjs.map +0 -7
- package/out/__chunks__/chunk-3HT6SGGS.mjs +0 -2
- package/out/__chunks__/chunk-3HT6SGGS.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-KFBY5KJV.mjs.map +0 -7
- 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-Q5YPN7F4.mjs.map +0 -7
- 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-NP2ORTQ5.mjs.map → chunk-2ON3KLCT.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-72VXBZOB.mjs.map → chunk-33MSDZAP.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-UQ3LWIDK.mjs.map → chunk-3ZT74S43.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-N6LTCPF5.mjs.map → chunk-4FXREOAU.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-OLPFN3HZ.mjs.map → chunk-4SS6EY66.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-VJXVUTL2.mjs.map → chunk-4Y3336TP.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-UGSHH7B7.mjs.map → chunk-4YBGCRDP.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-LLL3P3ZK.mjs.map → chunk-4ZWPXO55.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-6Q5KBWBX.mjs.map → chunk-57EQXIYJ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-RG6UZSNC.mjs.map → chunk-5FPUK3PA.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-URJQWHBM.mjs.map → chunk-5KCP7UJT.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-NTOY6GTP.mjs.map → chunk-7JDTQFLQ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-OB46FDMD.mjs.map → chunk-ABMG4JL2.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ZAQF2H2T.mjs.map → chunk-BFNJ4VYH.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-IIHMMHKX.mjs.map → chunk-C2CYALD3.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-NZVIKI2U.mjs.map → chunk-CA5CSAGL.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-MBQJCCRF.mjs.map → chunk-CMIVBHXU.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-K4NJKHIN.mjs.map → chunk-D4UL2EWH.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-B5AOQ4V4.mjs.map → chunk-DDLTXUQG.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-3O5N2GP3.mjs.map → chunk-E7M6PNMF.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-AR2HTK4V.mjs.map → chunk-EDLHXC66.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-YYQIUPIH.mjs.map → chunk-F6HFPLKF.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-LCXUUCSG.mjs.map → chunk-FGEC7ZXX.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-DRYIE3UL.mjs.map → chunk-FPKFAJNW.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-4XUFY6KL.mjs.map → chunk-FUCA6PDM.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-FO4U4FCJ.mjs.map → chunk-GAYDJQDV.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-4MWQKLVG.mjs.map → chunk-GNHD56P3.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-GWPS4KA7.mjs.map → chunk-GNNYBI7B.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-AAYTAHS3.mjs.map → chunk-GQ4CPGZ3.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-6ACLOUQ3.mjs.map → chunk-H5NVCCUR.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-45V5WRWO.mjs.map → chunk-ICXBMZJS.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-EAXWH64Z.mjs.map → chunk-IS3TZ43F.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-XJPXTYIE.mjs.map → chunk-JLDDNS5Y.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-F2T26YLL.mjs.map → chunk-JNGJJQUL.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-SAXE4RBZ.mjs.map → chunk-K272J46W.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-JKW4CYQC.mjs.map → chunk-K6FICN7B.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-CO23VS2O.mjs.map → chunk-KDMYDO7R.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-Y3LIA6DS.mjs.map → chunk-KPOZLV3Y.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ZBTYYGDC.mjs.map → chunk-L5XHA5J3.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-Q3W6TCPP.mjs.map → chunk-L6A73MU7.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-7FEQBPHA.mjs.map → chunk-LNXZQGLV.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-O5UEF45G.mjs.map → chunk-MDXLOX7I.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-JFA26WQX.mjs.map → chunk-N42HH2XN.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-Y3BNMQFP.mjs.map → chunk-NI7XCWV5.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-FNLCBKS6.mjs.map → chunk-NT3OYOP5.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-AOHJYDXQ.mjs.map → chunk-NZA7KOCG.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-6K5Z6QR7.mjs.map → chunk-O4V2ADKJ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-XNJXXDT4.mjs.map → chunk-O7AQPRYI.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-JSSRK6RP.mjs.map → chunk-OFVUWY2K.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-4HS2X3DU.mjs.map → chunk-PJZO5KQR.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-WE7YOBO7.mjs.map → chunk-PMATTOPD.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ELQR4QMU.mjs.map → chunk-PQVNWTWJ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-P7VRIJIA.mjs.map → chunk-PX3TRYOX.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-DXQW47X7.mjs.map → chunk-Q6ALT7RT.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-PO53TL6A.mjs.map → chunk-QFZ4YW5F.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-C7MMVI2Q.mjs.map → chunk-QLMVT5AQ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-LIYSDOCR.mjs.map → chunk-QZQDLLQR.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-JIQJLJV5.mjs.map → chunk-RFQ62EWT.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-DMQTB4GY.mjs.map → chunk-RHG5XPRM.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-3PZY5UGJ.mjs.map → chunk-RNABCWXS.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-D2JYGLAC.mjs.map → chunk-S2PZQQCM.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-X6ODREO6.mjs.map → chunk-STSC5Q3L.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-TBETCLTW.mjs.map → chunk-U4NSAQRJ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-KU4OIQ57.mjs.map → chunk-UCNKEHLJ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-LESXX4LL.mjs.map → chunk-UEKNE7II.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ICN7C674.mjs.map → chunk-UNSFOHDG.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-Z5NKN6NJ.mjs.map → chunk-VAJX46E4.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-PUCZORTG.mjs.map → chunk-VJLG26AF.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-C3ZTN3MB.mjs.map → chunk-VWRNBA3H.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-RT3VYYZ7.mjs.map → chunk-WBMIRF47.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-QTKK6OSJ.mjs.map → chunk-XDBKPKTG.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-AV6NWRZH.mjs.map → chunk-Y5FXVEPD.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-YER5STJ7.mjs.map → chunk-YZ6E6GLF.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-UZTMRUVT.mjs.map → chunk-ZATPIKZ2.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-K3HPUFDJ.mjs.map → chunk-ZBQOFCLH.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-HSCKLNCC.mjs.map → chunk-ZFKTQNIP.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/{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,64 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __create = Object.create;
|
|
3
|
-
var __defProp = Object.defineProperty;
|
|
4
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
-
var __export = (target, all) => {
|
|
9
|
-
for (var name in all)
|
|
10
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
-
};
|
|
12
|
-
var __copyProps = (to, from, except, desc) => {
|
|
13
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
-
for (let key of __getOwnPropNames(from))
|
|
15
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
-
}
|
|
18
|
-
return to;
|
|
19
|
-
};
|
|
20
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
-
mod
|
|
27
|
-
));
|
|
28
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
-
var getAssetAmount_exports = {};
|
|
30
|
-
__export(getAssetAmount_exports, {
|
|
31
|
-
getAssetAmount: () => getAssetAmount
|
|
32
|
-
});
|
|
33
|
-
module.exports = __toCommonJS(getAssetAmount_exports);
|
|
34
|
-
var import_bignumber = __toESM(require("bignumber.js"));
|
|
35
|
-
var import_lodash = __toESM(require("lodash.trimend"));
|
|
36
|
-
var import_sdkDappUtils = require("../../../../lib/sdkDappUtils");
|
|
37
|
-
var import_trimAmountDecimals = require("../../../../utils/operations/trimAmountDecimals");
|
|
38
|
-
var import_isTransferNftOrSft = require("./isTransferNftOrSft");
|
|
39
|
-
const getAssetAmount = (transactionTransfer) => {
|
|
40
|
-
if ((0, import_isTransferNftOrSft.isTransferNftOrSft)(transactionTransfer)) {
|
|
41
|
-
return parseFloat(transactionTransfer.value).toLocaleString();
|
|
42
|
-
}
|
|
43
|
-
const formattedAmount = (0, import_sdkDappUtils.formatAmount)({
|
|
44
|
-
input: String(transactionTransfer.value ?? import_sdkDappUtils.ZERO),
|
|
45
|
-
decimals: Number(transactionTransfer.decimals ?? import_sdkDappUtils.DECIMALS),
|
|
46
|
-
showLastNonZeroDecimal: true,
|
|
47
|
-
addCommas: true
|
|
48
|
-
});
|
|
49
|
-
const trimmedAmount = (0, import_trimAmountDecimals.trimAmountDecimals)({
|
|
50
|
-
minimumPositiveDecimals: import_sdkDappUtils.DIGITS,
|
|
51
|
-
amount: formattedAmount
|
|
52
|
-
});
|
|
53
|
-
const [price, decimals] = trimmedAmount.split(".");
|
|
54
|
-
const trimmedDecimals = (0, import_lodash.default)(decimals, import_sdkDappUtils.ZERO);
|
|
55
|
-
if (decimals && new import_bignumber.default(decimals).isGreaterThan(import_sdkDappUtils.ZERO)) {
|
|
56
|
-
return `${price}.${trimmedDecimals}`;
|
|
57
|
-
}
|
|
58
|
-
return trimmedAmount;
|
|
59
|
-
};
|
|
60
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
61
|
-
0 && (module.exports = {
|
|
62
|
-
getAssetAmount
|
|
63
|
-
});
|
|
1
|
+
"use strict";var f=Object.create;var s=Object.defineProperty;var A=Object.getOwnPropertyDescriptor;var g=Object.getOwnPropertyNames;var D=Object.getPrototypeOf,S=Object.prototype.hasOwnProperty;var N=(m,t)=>{for(var r in t)s(m,r,{get:t[r],enumerable:!0})},u=(m,t,r,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let e of g(t))!S.call(m,e)&&e!==r&&s(m,e,{get:()=>t[e],enumerable:!(i=A(t,e))||i.enumerable});return m};var n=(m,t,r)=>(r=m!=null?f(D(m)):{},u(t||!m||!m.__esModule?s(r,"default",{value:m,enumerable:!0}):r,m)),v=m=>u(s({},"__esModule",{value:!0}),m);var I={};N(I,{getAssetAmount:()=>E});module.exports=v(I);var a=n(require("bignumber.js")),c=n(require("lodash.trimend")),o=require("../../../../lib/sdkDappUtils"),l=require("../../../../utils/operations/trimAmountDecimals"),d=require("./isTransferNftOrSft");const E=m=>{if((0,d.isTransferNftOrSft)(m))return parseFloat(m.value).toLocaleString();const t=(0,o.formatAmount)({input:String(m.value??o.ZERO),decimals:Number(m.decimals??o.DECIMALS),showLastNonZeroDecimal:!0,addCommas:!0}),r=(0,l.trimAmountDecimals)({minimumPositiveDecimals:o.DIGITS,amount:t}),[i,e]=r.split("."),p=(0,c.default)(e,o.ZERO);return e&&new a.default(e).isGreaterThan(o.ZERO)?`${i}.${p}`:r};0&&(module.exports={getAssetAmount});
|
|
64
2
|
//# sourceMappingURL=getAssetAmount.cjs.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../src/utils/transactions/getTransactionsHistory/helpers/getAssetAmount.ts"],
|
|
4
4
|
"sourcesContent": ["import BigNumber from 'bignumber.js';\nimport trimEnd from 'lodash.trimend';\nimport { formatAmount, DECIMALS, DIGITS, ZERO } from 'lib/sdkDappUtils';\n\nimport { trimAmountDecimals } from 'utils/operations/trimAmountDecimals';\nimport { isTransferNftOrSft } from './isTransferNftOrSft';\n\nexport const getAssetAmount = (transactionTransfer: Record<string, string>) => {\n if (isTransferNftOrSft(transactionTransfer)) {\n return parseFloat(transactionTransfer.value).toLocaleString();\n }\n\n const formattedAmount = formatAmount({\n input: String(transactionTransfer.value ?? ZERO),\n decimals: Number(transactionTransfer.decimals ?? DECIMALS),\n showLastNonZeroDecimal: true,\n addCommas: true\n });\n\n const trimmedAmount = trimAmountDecimals({\n minimumPositiveDecimals: DIGITS,\n amount: formattedAmount\n });\n\n const [price, decimals] = trimmedAmount.split('.');\n const trimmedDecimals = trimEnd(decimals, ZERO);\n\n if (decimals && new BigNumber(decimals).isGreaterThan(ZERO)) {\n return `${price}.${trimmedDecimals}`;\n }\n\n return trimmedAmount;\n};\n"],
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": ["trimEnd", "BigNumber"]
|
|
5
|
+
"mappings": "0jBAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,oBAAAE,IAAA,eAAAC,EAAAH,GAAA,IAAAI,EAAsB,2BACtBC,EAAoB,6BACpBC,EAAqD,4BAErDC,EAAmC,+CACnCC,EAAmC,gCAE5B,MAAMN,EAAkBO,GAAgD,CAC7E,MAAI,sBAAmBA,CAAmB,EACxC,OAAO,WAAWA,EAAoB,KAAK,EAAE,eAAe,EAG9D,MAAMC,KAAkB,gBAAa,CACnC,MAAO,OAAOD,EAAoB,OAAS,MAAI,EAC/C,SAAU,OAAOA,EAAoB,UAAY,UAAQ,EACzD,uBAAwB,GACxB,UAAW,EACb,CAAC,EAEKE,KAAgB,sBAAmB,CACvC,wBAAyB,SACzB,OAAQD,CACV,CAAC,EAEK,CAACE,EAAOC,CAAQ,EAAIF,EAAc,MAAM,GAAG,EAC3CG,KAAkB,EAAAC,SAAQF,EAAU,MAAI,EAE9C,OAAIA,GAAY,IAAI,EAAAG,QAAUH,CAAQ,EAAE,cAAc,MAAI,EACjD,GAAGD,CAAK,IAAIE,CAAe,GAG7BH,CACT",
|
|
6
|
+
"names": ["getAssetAmount_exports", "__export", "getAssetAmount", "__toCommonJS", "import_bignumber", "import_lodash", "import_sdkDappUtils", "import_trimAmountDecimals", "import_isTransferNftOrSft", "transactionTransfer", "formattedAmount", "trimmedAmount", "price", "decimals", "trimmedDecimals", "trimEnd", "BigNumber"]
|
|
7
7
|
}
|
|
@@ -1,53 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __create = Object.create;
|
|
3
|
-
var __defProp = Object.defineProperty;
|
|
4
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
-
var __export = (target, all) => {
|
|
9
|
-
for (var name in all)
|
|
10
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
-
};
|
|
12
|
-
var __copyProps = (to, from, except, desc) => {
|
|
13
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
-
for (let key of __getOwnPropNames(from))
|
|
15
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
-
}
|
|
18
|
-
return to;
|
|
19
|
-
};
|
|
20
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
-
mod
|
|
27
|
-
));
|
|
28
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
-
var getAssetPrice_exports = {};
|
|
30
|
-
__export(getAssetPrice_exports, {
|
|
31
|
-
getAssetPrice: () => getAssetPrice
|
|
32
|
-
});
|
|
33
|
-
module.exports = __toCommonJS(getAssetPrice_exports);
|
|
34
|
-
var import_bignumber = __toESM(require("bignumber.js"));
|
|
35
|
-
var import_sdkDappUtils = require("../../../../lib/sdkDappUtils");
|
|
36
|
-
var import_isTransferNftOrSft = require("./isTransferNftOrSft");
|
|
37
|
-
const getAssetPrice = (transactionTransfer) => {
|
|
38
|
-
if ((0, import_isTransferNftOrSft.isTransferNftOrSft)(transactionTransfer)) {
|
|
39
|
-
return;
|
|
40
|
-
}
|
|
41
|
-
const formattedAmount = (0, import_sdkDappUtils.formatAmount)({
|
|
42
|
-
input: String(transactionTransfer.value ?? import_sdkDappUtils.ZERO),
|
|
43
|
-
decimals: Number(transactionTransfer.decimals ?? import_sdkDappUtils.DECIMALS),
|
|
44
|
-
showLastNonZeroDecimal: true
|
|
45
|
-
});
|
|
46
|
-
const assetPrice = new import_bignumber.default(transactionTransfer.usdPrice ?? "1").times(formattedAmount).toString();
|
|
47
|
-
return assetPrice;
|
|
48
|
-
};
|
|
49
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
50
|
-
0 && (module.exports = {
|
|
51
|
-
getAssetPrice
|
|
52
|
-
});
|
|
1
|
+
"use strict";var g=Object.create;var o=Object.defineProperty;var n=Object.getOwnPropertyDescriptor;var d=Object.getOwnPropertyNames;var p=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty;var A=(t,e)=>{for(var r in e)o(t,r,{get:e[r],enumerable:!0})},u=(t,e,r,s)=>{if(e&&typeof e=="object"||typeof e=="function")for(let m of d(e))!l.call(t,m)&&m!==r&&o(t,m,{get:()=>e[m],enumerable:!(s=n(e,m))||s.enumerable});return t};var N=(t,e,r)=>(r=t!=null?g(p(t)):{},u(e||!t||!t.__esModule?o(r,"default",{value:t,enumerable:!0}):r,t)),P=t=>u(o({},"__esModule",{value:!0}),t);var b={};A(b,{getAssetPrice:()=>S});module.exports=P(b);var c=N(require("bignumber.js")),i=require("../../../../lib/sdkDappUtils"),f=require("./isTransferNftOrSft");const S=t=>{if((0,f.isTransferNftOrSft)(t))return;const e=(0,i.formatAmount)({input:String(t.value??i.ZERO),decimals:Number(t.decimals??i.DECIMALS),showLastNonZeroDecimal:!0});return new c.default(t.usdPrice??"1").times(e).toString()};0&&(module.exports={getAssetPrice});
|
|
53
2
|
//# sourceMappingURL=getAssetPrice.cjs.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../src/utils/transactions/getTransactionsHistory/helpers/getAssetPrice.ts"],
|
|
4
4
|
"sourcesContent": ["import BigNumber from 'bignumber.js';\n\nimport { formatAmount, DECIMALS, ZERO } from 'lib/sdkDappUtils';\n\nimport { isTransferNftOrSft } from './isTransferNftOrSft';\n\nexport const getAssetPrice = (transactionTransfer: Record<string, string>) => {\n if (isTransferNftOrSft(transactionTransfer)) {\n return;\n }\n\n const formattedAmount = formatAmount({\n input: String(transactionTransfer.value ?? ZERO),\n decimals: Number(transactionTransfer.decimals ?? DECIMALS),\n showLastNonZeroDecimal: true\n });\n\n const assetPrice = new BigNumber(transactionTransfer.usdPrice ?? '1')\n .times(formattedAmount)\n .toString();\n\n return assetPrice;\n};\n"],
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": ["BigNumber"]
|
|
5
|
+
"mappings": "0jBAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,mBAAAE,IAAA,eAAAC,EAAAH,GAAA,IAAAI,EAAsB,2BAEtBC,EAA6C,4BAE7CC,EAAmC,gCAE5B,MAAMJ,EAAiBK,GAAgD,CAC5E,MAAI,sBAAmBA,CAAmB,EACxC,OAGF,MAAMC,KAAkB,gBAAa,CACnC,MAAO,OAAOD,EAAoB,OAAS,MAAI,EAC/C,SAAU,OAAOA,EAAoB,UAAY,UAAQ,EACzD,uBAAwB,EAC1B,CAAC,EAMD,OAJmB,IAAI,EAAAE,QAAUF,EAAoB,UAAY,GAAG,EACjE,MAAMC,CAAe,EACrB,SAAS,CAGd",
|
|
6
|
+
"names": ["getAssetPrice_exports", "__export", "getAssetPrice", "__toCommonJS", "import_bignumber", "import_sdkDappUtils", "import_isTransferNftOrSft", "transactionTransfer", "formattedAmount", "BigNumber"]
|
|
7
7
|
}
|
package/out/utils/transactions/getTransactionsHistory/helpers/getCachedTransactionListItem.cjs
CHANGED
|
@@ -1,36 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
var getCachedTransactionListItem_exports = {};
|
|
20
|
-
__export(getCachedTransactionListItem_exports, {
|
|
21
|
-
getCachedTransactionListItem: () => getCachedTransactionListItem
|
|
22
|
-
});
|
|
23
|
-
module.exports = __toCommonJS(getCachedTransactionListItem_exports);
|
|
24
|
-
var import_cacheSelector = require("../../../../store/selectors/cacheSelector");
|
|
25
|
-
var import_store = require("../../../../store/store");
|
|
26
|
-
const getCachedTransactionListItem = (hash, store) => {
|
|
27
|
-
const cachedTransaction = (0, import_cacheSelector.getCachedItemSelector)(
|
|
28
|
-
`transaction-${hash}`
|
|
29
|
-
)(store ?? (0, import_store.getState)());
|
|
30
|
-
return cachedTransaction ?? null;
|
|
31
|
-
};
|
|
32
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
33
|
-
0 && (module.exports = {
|
|
34
|
-
getCachedTransactionListItem
|
|
35
|
-
});
|
|
1
|
+
"use strict";var n=Object.defineProperty;var s=Object.getOwnPropertyDescriptor;var m=Object.getOwnPropertyNames;var I=Object.prototype.hasOwnProperty;var T=(r,t)=>{for(var e in t)n(r,e,{get:t[e],enumerable:!0})},p=(r,t,e,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of m(t))!I.call(r,o)&&o!==e&&n(r,o,{get:()=>t[o],enumerable:!(a=s(t,o))||a.enumerable});return r};var l=r=>p(n({},"__esModule",{value:!0}),r);var f={};T(f,{getCachedTransactionListItem:()=>d});module.exports=l(f);var c=require("../../../../store/selectors/cacheSelector"),i=require("../../../../store/store");const d=(r,t)=>(0,c.getCachedItemSelector)(`transaction-${r}`)(t??(0,i.getState)())??null;0&&(module.exports={getCachedTransactionListItem});
|
|
36
2
|
//# sourceMappingURL=getCachedTransactionListItem.cjs.map
|
package/out/utils/transactions/getTransactionsHistory/helpers/getCachedTransactionListItem.cjs.map
CHANGED
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../src/utils/transactions/getTransactionsHistory/helpers/getCachedTransactionListItem.ts"],
|
|
4
4
|
"sourcesContent": ["import { ITransactionListItem } from 'lib/sdkDappUi';\nimport { getCachedItemSelector } from 'store/selectors/cacheSelector';\nimport { getState } from 'store/store';\nimport { StoreType } from 'store/store.types';\n\nexport const getCachedTransactionListItem = (\n hash: string,\n store?: StoreType\n): ITransactionListItem | null => {\n const cachedTransaction = getCachedItemSelector<ITransactionListItem>(\n `transaction-${hash}`\n )(store ?? getState());\n\n return cachedTransaction ?? null;\n};\n"],
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": []
|
|
5
|
+
"mappings": "yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,kCAAAE,IAAA,eAAAC,EAAAH,GACA,IAAAI,EAAsC,yCACtCC,EAAyB,uBAGlB,MAAMH,EAA+B,CAC1CI,EACAC,OAE0B,yBACxB,eAAeD,CAAI,EACrB,EAAEC,MAAS,YAAS,CAAC,GAEO",
|
|
6
|
+
"names": ["getCachedTransactionListItem_exports", "__export", "getCachedTransactionListItem", "__toCommonJS", "import_cacheSelector", "import_store", "hash", "store"]
|
|
7
7
|
}
|
package/out/utils/transactions/getTransactionsHistory/helpers/getCachedTransactionListItem.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../../../__chunks__/chunk-
|
|
1
|
+
import{a}from"../../../../__chunks__/chunk-L6A73MU7.mjs";import"../../../../__chunks__/chunk-E7M6PNMF.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-L5XHA5J3.mjs";import"../../../../__chunks__/chunk-KRWR77QE.mjs";import"../../../../__chunks__/chunk-B7YCKWDU.mjs";import"../../../../__chunks__/chunk-HDJOER66.mjs";import"../../../../__chunks__/chunk-A7FTKX2A.mjs";import"../../../../__chunks__/chunk-XKU5QBXG.mjs";import"../../../../__chunks__/chunk-WZGG2YKQ.mjs";import"../../../../__chunks__/chunk-JMC7CMTU.mjs";import"../../../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../../../__chunks__/chunk-T2YPFNVM.mjs";import"../../../../__chunks__/chunk-M7BM6QPB.mjs";import"../../../../__chunks__/chunk-5N4F5T5L.mjs";import"../../../../__chunks__/chunk-CYCS3K6Q.mjs";import"../../../../__chunks__/chunk-YMPZDHKF.mjs";import"../../../../__chunks__/chunk-VKEESSBI.mjs";import"../../../../__chunks__/chunk-2DNGCNYM.mjs";import"../../../../__chunks__/chunk-SQVKVA7X.mjs";import"../../../../__chunks__/chunk-I24YBVHK.mjs";import"../../../../__chunks__/chunk-NB7A4C7L.mjs";import"../../../../__chunks__/chunk-PJWJZHIS.mjs";import"../../../../__chunks__/chunk-NTEMINYA.mjs";import"../../../../__chunks__/chunk-MGFIOCA4.mjs";import"../../../../__chunks__/chunk-GGBMHKR4.mjs";import"../../../../__chunks__/chunk-H3NKXQQF.mjs";export{a as getCachedTransactionListItem};
|
|
2
2
|
//# sourceMappingURL=getCachedTransactionListItem.mjs.map
|
package/out/utils/transactions/getTransactionsHistory/helpers/getIsTransactionInvalidOrFailed.cjs
CHANGED
|
@@ -1,39 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
var getIsTransactionInvalidOrFailed_exports = {};
|
|
20
|
-
__export(getIsTransactionInvalidOrFailed_exports, {
|
|
21
|
-
getIsTransactionInvalidOrFailed: () => getIsTransactionInvalidOrFailed
|
|
22
|
-
});
|
|
23
|
-
module.exports = __toCommonJS(getIsTransactionInvalidOrFailed_exports);
|
|
24
|
-
var import_enums = require("../../../../types/enums.types");
|
|
25
|
-
const getIsTransactionInvalidOrFailed = (status) => {
|
|
26
|
-
const failedOrInvalidTransactionStatuses = [
|
|
27
|
-
import_enums.TransactionServerStatusesEnum.fail,
|
|
28
|
-
import_enums.TransactionServerStatusesEnum.invalid
|
|
29
|
-
];
|
|
30
|
-
const isTransactionFailedOrInvalid = failedOrInvalidTransactionStatuses.includes(
|
|
31
|
-
status
|
|
32
|
-
);
|
|
33
|
-
return isTransactionFailedOrInvalid;
|
|
34
|
-
};
|
|
35
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
36
|
-
0 && (module.exports = {
|
|
37
|
-
getIsTransactionInvalidOrFailed
|
|
38
|
-
});
|
|
1
|
+
"use strict";var t=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var l=Object.getOwnPropertyNames;var c=Object.prototype.hasOwnProperty;var d=(n,a)=>{for(var s in a)t(n,s,{get:a[s],enumerable:!0})},u=(n,a,s,e)=>{if(a&&typeof a=="object"||typeof a=="function")for(let i of l(a))!c.call(n,i)&&i!==s&&t(n,i,{get:()=>a[i],enumerable:!(e=o(a,i))||e.enumerable});return n};var v=n=>u(t({},"__esModule",{value:!0}),n);var T={};d(T,{getIsTransactionInvalidOrFailed:()=>S});module.exports=v(T);var r=require("../../../../types/enums.types");const S=n=>[r.TransactionServerStatusesEnum.fail,r.TransactionServerStatusesEnum.invalid].includes(n);0&&(module.exports={getIsTransactionInvalidOrFailed});
|
|
39
2
|
//# sourceMappingURL=getIsTransactionInvalidOrFailed.cjs.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../src/utils/transactions/getTransactionsHistory/helpers/getIsTransactionInvalidOrFailed.ts"],
|
|
4
4
|
"sourcesContent": ["import { TransactionServerStatusesEnum } from 'types/enums.types';\n\nexport const getIsTransactionInvalidOrFailed = (\n status: TransactionServerStatusesEnum\n): boolean => {\n const failedOrInvalidTransactionStatuses = [\n TransactionServerStatusesEnum.fail,\n TransactionServerStatusesEnum.invalid\n ];\n\n const isTransactionFailedOrInvalid =\n failedOrInvalidTransactionStatuses.includes(\n status as TransactionServerStatusesEnum\n );\n\n return isTransactionFailedOrInvalid;\n};\n"],
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": []
|
|
5
|
+
"mappings": "yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,qCAAAE,IAAA,eAAAC,EAAAH,GAAA,IAAAI,EAA8C,6BAEvC,MAAMF,EACXG,GAE2C,CACzC,gCAA8B,KAC9B,gCAA8B,OAChC,EAGqC,SACjCA,CACF",
|
|
6
|
+
"names": ["getIsTransactionInvalidOrFailed_exports", "__export", "getIsTransactionInvalidOrFailed", "__toCommonJS", "import_enums", "status"]
|
|
7
7
|
}
|
package/out/utils/transactions/getTransactionsHistory/helpers/getIsTransactionInvalidOrFailed.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../../../__chunks__/chunk-54B3EIZC.mjs";import"../../../../__chunks__/chunk-
|
|
1
|
+
import{a}from"../../../../__chunks__/chunk-54B3EIZC.mjs";import"../../../../__chunks__/chunk-NWJYEKI2.mjs";export{a as getIsTransactionInvalidOrFailed};
|
|
2
2
|
//# sourceMappingURL=getIsTransactionInvalidOrFailed.mjs.map
|
|
@@ -1,37 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
var getReceiverData_exports = {};
|
|
20
|
-
__export(getReceiverData_exports, {
|
|
21
|
-
getReceiverData: () => getReceiverData
|
|
22
|
-
});
|
|
23
|
-
module.exports = __toCommonJS(getReceiverData_exports);
|
|
24
|
-
const getReceiverData = (transaction) => {
|
|
25
|
-
const receiverAddress = transaction.receiver;
|
|
26
|
-
const isSelfTransaction = receiverAddress === transaction.sender;
|
|
27
|
-
const transactionArguments = transaction.action && transaction.action.arguments;
|
|
28
|
-
const retrieveArgumentsReceiverData = isSelfTransaction && transactionArguments && transactionArguments.receiver && transactionArguments.receiver !== receiverAddress;
|
|
29
|
-
const receiver = retrieveArgumentsReceiverData ? transactionArguments.receiver : receiverAddress;
|
|
30
|
-
const receiverAssets = retrieveArgumentsReceiverData ? transactionArguments.receiverAssets : transaction.receiverAssets;
|
|
31
|
-
return { receiver, receiverAssets };
|
|
32
|
-
};
|
|
33
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
34
|
-
0 && (module.exports = {
|
|
35
|
-
getReceiverData
|
|
36
|
-
});
|
|
1
|
+
"use strict";var i=Object.defineProperty;var v=Object.getOwnPropertyDescriptor;var A=Object.getOwnPropertyNames;var a=Object.prototype.hasOwnProperty;var m=(e,r)=>{for(var c in r)i(e,c,{get:r[c],enumerable:!0})},p=(e,r,c,s)=>{if(r&&typeof r=="object"||typeof r=="function")for(let t of A(r))!a.call(e,t)&&t!==c&&i(e,t,{get:()=>r[t],enumerable:!(s=v(r,t))||s.enumerable});return e};var T=e=>p(i({},"__esModule",{value:!0}),e);var u={};m(u,{getReceiverData:()=>g});module.exports=T(u);const g=e=>{const r=e.receiver,c=r===e.sender,s=e.action&&e.action.arguments,t=c&&s&&s.receiver&&s.receiver!==r,n=t?s.receiver:r,o=t?s.receiverAssets:e.receiverAssets;return{receiver:n,receiverAssets:o}};0&&(module.exports={getReceiverData});
|
|
37
2
|
//# sourceMappingURL=getReceiverData.cjs.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../src/utils/transactions/getTransactionsHistory/helpers/getReceiverData.ts"],
|
|
4
4
|
"sourcesContent": ["import { AssetType } from 'types/account.types';\nimport { ServerTransactionType } from 'types/serverTransactions.types';\n\nexport const getReceiverData = (transaction: ServerTransactionType) => {\n const receiverAddress = transaction.receiver;\n const isSelfTransaction = receiverAddress === transaction.sender;\n\n const transactionArguments =\n transaction.action && transaction.action.arguments;\n\n const retrieveArgumentsReceiverData =\n isSelfTransaction &&\n transactionArguments &&\n transactionArguments.receiver &&\n transactionArguments.receiver !== receiverAddress;\n\n const receiver: string = retrieveArgumentsReceiverData\n ? transactionArguments.receiver\n : receiverAddress;\n\n const receiverAssets: AssetType = retrieveArgumentsReceiverData\n ? transactionArguments.receiverAssets\n : transaction.receiverAssets;\n\n return { receiver, receiverAssets };\n};\n"],
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": []
|
|
5
|
+
"mappings": "yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,qBAAAE,IAAA,eAAAC,EAAAH,GAGO,MAAME,EAAmBE,GAAuC,CACrE,MAAMC,EAAkBD,EAAY,SAC9BE,EAAoBD,IAAoBD,EAAY,OAEpDG,EACJH,EAAY,QAAUA,EAAY,OAAO,UAErCI,EACJF,GACAC,GACAA,EAAqB,UACrBA,EAAqB,WAAaF,EAE9BI,EAAmBD,EACrBD,EAAqB,SACrBF,EAEEK,EAA4BF,EAC9BD,EAAqB,eACrBH,EAAY,eAEhB,MAAO,CAAE,SAAAK,EAAU,eAAAC,CAAe,CACpC",
|
|
6
|
+
"names": ["getReceiverData_exports", "__export", "getReceiverData", "__toCommonJS", "transaction", "receiverAddress", "isSelfTransaction", "transactionArguments", "retrieveArgumentsReceiverData", "receiver", "receiverAssets"]
|
|
7
7
|
}
|
|
@@ -1,113 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __create = Object.create;
|
|
3
|
-
var __defProp = Object.defineProperty;
|
|
4
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
-
var __export = (target, all) => {
|
|
9
|
-
for (var name in all)
|
|
10
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
-
};
|
|
12
|
-
var __copyProps = (to, from, except, desc) => {
|
|
13
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
-
for (let key of __getOwnPropNames(from))
|
|
15
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
-
}
|
|
18
|
-
return to;
|
|
19
|
-
};
|
|
20
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
-
mod
|
|
27
|
-
));
|
|
28
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
-
var getTransactionAction_exports = {};
|
|
30
|
-
__export(getTransactionAction_exports, {
|
|
31
|
-
TransactionActionCategoryTypeEnum: () => TransactionActionCategoryTypeEnum,
|
|
32
|
-
getTransactionAction: () => getTransactionAction
|
|
33
|
-
});
|
|
34
|
-
module.exports = __toCommonJS(getTransactionAction_exports);
|
|
35
|
-
var import_lodash = __toESM(require("lodash.startcase"));
|
|
36
|
-
var import_lodash2 = __toESM(require("lodash.uniq"));
|
|
37
|
-
var import_transaction_list_item = require("../../../../types/transaction-list-item.types");
|
|
38
|
-
var import_getTransactionActionDirectionLabel = require("./getTransactionActionDirectionLabel");
|
|
39
|
-
var import_getTransactionActionTransferLabel = require("./getTransactionActionTransferLabel");
|
|
40
|
-
var TransactionActionCategoryTypeEnum = /* @__PURE__ */ ((TransactionActionCategoryTypeEnum2) => {
|
|
41
|
-
TransactionActionCategoryTypeEnum2["mex"] = "mex";
|
|
42
|
-
TransactionActionCategoryTypeEnum2["stake"] = "stake";
|
|
43
|
-
return TransactionActionCategoryTypeEnum2;
|
|
44
|
-
})(TransactionActionCategoryTypeEnum || {});
|
|
45
|
-
const getTransactionAction = ({
|
|
46
|
-
currentUserAddress,
|
|
47
|
-
transaction,
|
|
48
|
-
egldLabel,
|
|
49
|
-
isPending = false
|
|
50
|
-
}) => {
|
|
51
|
-
if (isPending) {
|
|
52
|
-
return {
|
|
53
|
-
name: "Pending..."
|
|
54
|
-
};
|
|
55
|
-
}
|
|
56
|
-
const defaultTransactionObject = {};
|
|
57
|
-
const transactionMethodsEntries = Object.entries(
|
|
58
|
-
import_transaction_list_item.TransactionActionMethodTypeEnum
|
|
59
|
-
);
|
|
60
|
-
const transactionMethods = transactionMethodsEntries.reduce(
|
|
61
|
-
(transactionMethodsObject, [methodValue, methodLabel]) => Object.assign(transactionMethodsObject, { [methodValue]: methodLabel }),
|
|
62
|
-
defaultTransactionObject
|
|
63
|
-
);
|
|
64
|
-
const transactionAction = transaction.action;
|
|
65
|
-
const transactionArguments = transactionAction && transactionAction.arguments;
|
|
66
|
-
const transactionActionCategory = transactionAction && transactionAction.category ? transactionAction.category : null;
|
|
67
|
-
const isTransfer = transactionArguments && transactionAction.name === "transfer";
|
|
68
|
-
const transactionTransfers = transactionArguments && Array.isArray(transactionArguments.transfers) ? transactionArguments.transfers : [];
|
|
69
|
-
const allTransferTypes = transactionTransfers.map(
|
|
70
|
-
(transfer) => transfer.type
|
|
71
|
-
);
|
|
72
|
-
const [transferType] = (0, import_lodash2.default)(allTransferTypes);
|
|
73
|
-
const processedEgldLabel = egldLabel ?? "EGLD";
|
|
74
|
-
const directionLabel = (0, import_getTransactionActionDirectionLabel.getTransactionActionDirectionLabel)({
|
|
75
|
-
transaction,
|
|
76
|
-
transferType,
|
|
77
|
-
currentUserAddress
|
|
78
|
-
});
|
|
79
|
-
const transferLabel = (0, import_getTransactionActionTransferLabel.getTransactionActionTransferLabel)({
|
|
80
|
-
allTransferTypes,
|
|
81
|
-
transferType,
|
|
82
|
-
transactionTransfers
|
|
83
|
-
});
|
|
84
|
-
const transactionActionDescriptionCategories = [
|
|
85
|
-
"mex" /* mex */,
|
|
86
|
-
"stake" /* stake */
|
|
87
|
-
];
|
|
88
|
-
const showTransactionActionDescription = transactionActionCategory && transactionActionDescriptionCategories.includes(transactionActionCategory);
|
|
89
|
-
const transactionActionDescription = transactionAction && showTransactionActionDescription ? transactionAction.description : void 0;
|
|
90
|
-
const defaultTransactionActionLabel = transaction.function && transaction.function !== "transfer" ? transactionMethods[transaction.function] ?? (0, import_lodash.default)(transaction.function) : null;
|
|
91
|
-
if (isTransfer && transactionArguments) {
|
|
92
|
-
return {
|
|
93
|
-
name: `${directionLabel} ${transferLabel}`,
|
|
94
|
-
description: transactionActionDescription
|
|
95
|
-
};
|
|
96
|
-
}
|
|
97
|
-
if (defaultTransactionActionLabel) {
|
|
98
|
-
return {
|
|
99
|
-
name: defaultTransactionActionLabel,
|
|
100
|
-
description: transactionActionDescription
|
|
101
|
-
};
|
|
102
|
-
}
|
|
103
|
-
return {
|
|
104
|
-
name: `${directionLabel} ${processedEgldLabel}`,
|
|
105
|
-
description: transactionActionDescription
|
|
106
|
-
};
|
|
107
|
-
};
|
|
108
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
109
|
-
0 && (module.exports = {
|
|
110
|
-
TransactionActionCategoryTypeEnum,
|
|
111
|
-
getTransactionAction
|
|
112
|
-
});
|
|
1
|
+
"use strict";var k=Object.create;var a=Object.defineProperty;var v=Object.getOwnPropertyDescriptor;var G=Object.getOwnPropertyNames;var O=Object.getPrototypeOf,R=Object.prototype.hasOwnProperty;var S=(t,n)=>{for(var r in n)a(t,r,{get:n[r],enumerable:!0})},A=(t,n,r,i)=>{if(n&&typeof n=="object"||typeof n=="function")for(let o of G(n))!R.call(t,o)&&o!==r&&a(t,o,{get:()=>n[o],enumerable:!(i=v(n,o))||i.enumerable});return t};var l=(t,n,r)=>(r=t!=null?k(O(t)):{},A(n||!t||!t.__esModule?a(r,"default",{value:t,enumerable:!0}):r,t)),q=t=>A(a({},"__esModule",{value:!0}),t);var U={};S(U,{TransactionActionCategoryTypeEnum:()=>x,getTransactionAction:()=>w});module.exports=q(U);var y=l(require("lodash.startcase")),b=l(require("lodash.uniq")),L=require("../../../../types/transaction-list-item.types"),E=require("./getTransactionActionDirectionLabel"),h=require("./getTransactionActionTransferLabel"),x=(r=>(r.mex="mex",r.stake="stake",r))(x||{});const w=({currentUserAddress:t,transaction:n,egldLabel:r,isPending:i=!1})=>{if(i)return{name:"Pending..."};const o={},D=Object.entries(L.TransactionActionMethodTypeEnum).reduce((m,[$,j])=>Object.assign(m,{[$]:j}),o),e=n.action,s=e&&e.arguments,p=e&&e.category?e.category:null,I=s&&e.name==="transfer",f=s&&Array.isArray(s.transfers)?s.transfers:[],T=f.map(m=>m.type),[d]=(0,b.default)(T),C=r??"EGLD",u=(0,E.getTransactionActionDirectionLabel)({transaction:n,transferType:d,currentUserAddress:t}),M=(0,h.getTransactionActionTransferLabel)({allTransferTypes:T,transferType:d,transactionTransfers:f}),P=p&&["mex","stake"].includes(p),c=e&&P?e.description:void 0,g=n.function&&n.function!=="transfer"?D[n.function]??(0,y.default)(n.function):null;return I&&s?{name:`${u} ${M}`,description:c}:g?{name:g,description:c}:{name:`${u} ${C}`,description:c}};0&&(module.exports={TransactionActionCategoryTypeEnum,getTransactionAction});
|
|
113
2
|
//# sourceMappingURL=getTransactionAction.cjs.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../src/utils/transactions/getTransactionsHistory/helpers/getTransactionAction.ts"],
|
|
4
4
|
"sourcesContent": ["import startCase from 'lodash.startcase';\nimport uniq from 'lodash.uniq';\nimport { ITransactionListItemAction } from 'lib/sdkDappUi';\n\nimport type { ServerTransactionType } from 'types/serverTransactions.types';\nimport { TransactionActionMethodTypeEnum } from 'types/transaction-list-item.types';\nimport { getTransactionActionDirectionLabel } from './getTransactionActionDirectionLabel';\nimport { getTransactionActionTransferLabel } from './getTransactionActionTransferLabel';\n\nexport enum TransactionActionCategoryTypeEnum {\n mex = 'mex',\n stake = 'stake'\n}\n\nexport interface IGetTransactionActionParams {\n currentUserAddress: string;\n transaction: ServerTransactionType;\n egldLabel?: string;\n isPending?: boolean;\n}\n\nexport const getTransactionAction = ({\n currentUserAddress,\n transaction,\n egldLabel,\n isPending = false\n}: IGetTransactionActionParams): ITransactionListItemAction => {\n if (isPending) {\n return {\n name: 'Pending...'\n };\n }\n\n const defaultTransactionObject: Record<\n string,\n TransactionActionMethodTypeEnum\n > = {};\n\n const transactionMethodsEntries = Object.entries(\n TransactionActionMethodTypeEnum\n );\n\n const transactionMethods = transactionMethodsEntries.reduce(\n (transactionMethodsObject, [methodValue, methodLabel]) =>\n Object.assign(transactionMethodsObject, { [methodValue]: methodLabel }),\n defaultTransactionObject\n );\n\n const transactionAction = transaction.action;\n const transactionArguments = transactionAction && transactionAction.arguments;\n\n const transactionActionCategory =\n transactionAction && transactionAction.category\n ? (transactionAction.category as TransactionActionCategoryTypeEnum)\n : null;\n\n const isTransfer =\n transactionArguments && transactionAction.name === 'transfer';\n\n const transactionTransfers: Record<string, string>[] =\n transactionArguments && Array.isArray(transactionArguments.transfers)\n ? transactionArguments.transfers\n : [];\n\n const allTransferTypes = transactionTransfers.map(\n (transfer): string => transfer.type\n );\n\n const [transferType] = uniq(allTransferTypes);\n const processedEgldLabel = egldLabel ?? 'EGLD';\n const directionLabel = getTransactionActionDirectionLabel({\n transaction,\n transferType,\n currentUserAddress\n });\n\n const transferLabel = getTransactionActionTransferLabel({\n allTransferTypes,\n transferType,\n transactionTransfers\n });\n\n const transactionActionDescriptionCategories = [\n TransactionActionCategoryTypeEnum.mex,\n TransactionActionCategoryTypeEnum.stake\n ];\n\n const showTransactionActionDescription =\n transactionActionCategory &&\n transactionActionDescriptionCategories.includes(transactionActionCategory);\n\n const transactionActionDescription =\n transactionAction && showTransactionActionDescription\n ? transactionAction.description\n : undefined;\n\n const defaultTransactionActionLabel =\n transaction.function && transaction.function !== 'transfer'\n ? transactionMethods[transaction.function] ??\n startCase(transaction.function)\n : null;\n\n if (isTransfer && transactionArguments) {\n return {\n name: `${directionLabel} ${transferLabel}`,\n description: transactionActionDescription\n };\n }\n\n if (defaultTransactionActionLabel) {\n return {\n name: defaultTransactionActionLabel,\n description: transactionActionDescription\n };\n }\n\n return {\n name: `${directionLabel} ${processedEgldLabel}`,\n description: transactionActionDescription\n };\n};\n"],
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": ["
|
|
5
|
+
"mappings": "0jBAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,uCAAAE,EAAA,yBAAAC,IAAA,eAAAC,EAAAJ,GAAA,IAAAK,EAAsB,+BACtBA,EAAiB,0BAIjBC,EAAgD,6CAChDC,EAAmD,gDACnDC,EAAkD,+CAEtCN,OACVA,EAAA,IAAM,MACNA,EAAA,MAAQ,QAFEA,OAAA,IAYL,MAAMC,EAAuB,CAAC,CACnC,mBAAAM,EACA,YAAAC,EACA,UAAAC,EACA,UAAAC,EAAY,EACd,IAA+D,CAC7D,GAAIA,EACF,MAAO,CACL,KAAM,YACR,EAGF,MAAMC,EAGF,CAAC,EAMCC,EAJ4B,OAAO,QACvC,iCACF,EAEqD,OACnD,CAACC,EAA0B,CAACC,EAAaC,CAAW,IAClD,OAAO,OAAOF,EAA0B,CAAE,CAACC,CAAW,EAAGC,CAAY,CAAC,EACxEJ,CACF,EAEMK,EAAoBR,EAAY,OAChCS,EAAuBD,GAAqBA,EAAkB,UAE9DE,EACJF,GAAqBA,EAAkB,SAClCA,EAAkB,SACnB,KAEAG,EACJF,GAAwBD,EAAkB,OAAS,WAE/CI,EACJH,GAAwB,MAAM,QAAQA,EAAqB,SAAS,EAChEA,EAAqB,UACrB,CAAC,EAEDI,EAAmBD,EAAqB,IAC3CE,GAAqBA,EAAS,IACjC,EAEM,CAACC,CAAY,KAAI,EAAAC,SAAKH,CAAgB,EACtCI,EAAqBhB,GAAa,OAClCiB,KAAiB,sCAAmC,CACxD,YAAAlB,EACA,aAAAe,EACA,mBAAAhB,CACF,CAAC,EAEKoB,KAAgB,qCAAkC,CACtD,iBAAAN,EACA,aAAAE,EACA,qBAAAH,CACF,CAAC,EAOKQ,EACJV,GAN6C,CAC7C,MACA,OACF,EAIyC,SAASA,CAAyB,EAErEW,EACJb,GAAqBY,EACjBZ,EAAkB,YAClB,OAEAc,EACJtB,EAAY,UAAYA,EAAY,WAAa,WAC7CI,EAAmBJ,EAAY,QAAQ,MACvC,EAAAuB,SAAUvB,EAAY,QAAQ,EAC9B,KAEN,OAAIW,GAAcF,EACT,CACL,KAAM,GAAGS,CAAc,IAAIC,CAAa,GACxC,YAAaE,CACf,EAGEC,EACK,CACL,KAAMA,EACN,YAAaD,CACf,EAGK,CACL,KAAM,GAAGH,CAAc,IAAID,CAAkB,GAC7C,YAAaI,CACf,CACF",
|
|
6
|
+
"names": ["getTransactionAction_exports", "__export", "TransactionActionCategoryTypeEnum", "getTransactionAction", "__toCommonJS", "import_lodash", "import_transaction_list_item", "import_getTransactionActionDirectionLabel", "import_getTransactionActionTransferLabel", "currentUserAddress", "transaction", "egldLabel", "isPending", "defaultTransactionObject", "transactionMethods", "transactionMethodsObject", "methodValue", "methodLabel", "transactionAction", "transactionArguments", "transactionActionCategory", "isTransfer", "transactionTransfers", "allTransferTypes", "transfer", "transferType", "uniq", "processedEgldLabel", "directionLabel", "transferLabel", "showTransactionActionDescription", "transactionActionDescription", "defaultTransactionActionLabel", "startCase"]
|
|
7
7
|
}
|
package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionActionDirectionLabel.cjs
CHANGED
|
@@ -1,59 +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 getTransactionActionDirectionLabel_exports = {};
|
|
20
|
-
__export(getTransactionActionDirectionLabel_exports, {
|
|
21
|
-
getTransactionActionDirectionLabel: () => getTransactionActionDirectionLabel
|
|
22
|
-
});
|
|
23
|
-
module.exports = __toCommonJS(getTransactionActionDirectionLabel_exports);
|
|
24
|
-
var import_tokens = require("../../../../types/tokens.types");
|
|
25
|
-
var import_getReceiverData = require("./getReceiverData");
|
|
26
|
-
const getTransactionActionDirectionLabel = ({
|
|
27
|
-
transaction,
|
|
28
|
-
transferType,
|
|
29
|
-
currentUserAddress
|
|
30
|
-
}) => {
|
|
31
|
-
const { receiver } = (0, import_getReceiverData.getReceiverData)(transaction);
|
|
32
|
-
const isSelfTransaction = receiver === transaction.sender;
|
|
33
|
-
const isReceiverTransaction = receiver === currentUserAddress;
|
|
34
|
-
const isSenderTransaction = !isSelfTransaction && !isReceiverTransaction;
|
|
35
|
-
const processedTransferType = transferType;
|
|
36
|
-
const selfTransactionTransferTypes = [
|
|
37
|
-
import_tokens.NftEnumType.SemiFungibleESDT,
|
|
38
|
-
import_tokens.NftEnumType.NonFungibleESDT,
|
|
39
|
-
import_tokens.NftEnumType.MetaESDT
|
|
40
|
-
];
|
|
41
|
-
const isSelfSentTransactionTransfer = selfTransactionTransferTypes.includes(
|
|
42
|
-
processedTransferType
|
|
43
|
-
);
|
|
44
|
-
if (isSelfTransaction && isSelfSentTransactionTransfer || isReceiverTransaction) {
|
|
45
|
-
return "Received";
|
|
46
|
-
}
|
|
47
|
-
if (isSelfTransaction && !isSelfSentTransactionTransfer) {
|
|
48
|
-
return "Self Sent";
|
|
49
|
-
}
|
|
50
|
-
if (isSenderTransaction) {
|
|
51
|
-
return "Sent";
|
|
52
|
-
}
|
|
53
|
-
return "Self";
|
|
54
|
-
};
|
|
55
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
56
|
-
0 && (module.exports = {
|
|
57
|
-
getTransactionActionDirectionLabel
|
|
58
|
-
});
|
|
1
|
+
"use strict";var a=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var l=Object.getOwnPropertyNames;var m=Object.prototype.hasOwnProperty;var u=(n,e)=>{for(var t in e)a(n,t,{get:e[t],enumerable:!0})},y=(n,e,t,s)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of l(e))!m.call(n,r)&&r!==t&&a(n,r,{get:()=>e[r],enumerable:!(s=p(e,r))||s.enumerable});return n};var d=n=>y(a({},"__esModule",{value:!0}),n);var g={};u(g,{getTransactionActionDirectionLabel:()=>D});module.exports=d(g);var i=require("../../../../types/tokens.types"),T=require("./getReceiverData");const D=({transaction:n,transferType:e,currentUserAddress:t})=>{const{receiver:s}=(0,T.getReceiverData)(n),r=s===n.sender,o=s===t,f=!r&&!o,S=e,c=[i.NftEnumType.SemiFungibleESDT,i.NftEnumType.NonFungibleESDT,i.NftEnumType.MetaESDT].includes(S);return r&&c||o?"Received":r&&!c?"Self Sent":f?"Sent":"Self"};0&&(module.exports={getTransactionActionDirectionLabel});
|
|
59
2
|
//# sourceMappingURL=getTransactionActionDirectionLabel.cjs.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../src/utils/transactions/getTransactionsHistory/helpers/getTransactionActionDirectionLabel.ts"],
|
|
4
4
|
"sourcesContent": ["import { ServerTransactionType } from 'types/serverTransactions.types';\nimport { NftEnumType } from 'types/tokens.types';\nimport { getReceiverData } from './getReceiverData';\n\ninterface IGetTransactionActionDirectionLabelParams {\n transaction: ServerTransactionType;\n currentUserAddress: string;\n transferType?: string;\n}\n\nexport const getTransactionActionDirectionLabel = ({\n transaction,\n transferType,\n currentUserAddress\n}: IGetTransactionActionDirectionLabelParams) => {\n const { receiver } = getReceiverData(transaction);\n\n const isSelfTransaction = receiver === transaction.sender;\n const isReceiverTransaction = receiver === currentUserAddress;\n const isSenderTransaction = !isSelfTransaction && !isReceiverTransaction;\n const processedTransferType = transferType as NftEnumType;\n\n const selfTransactionTransferTypes = [\n NftEnumType.SemiFungibleESDT,\n NftEnumType.NonFungibleESDT,\n NftEnumType.MetaESDT\n ];\n\n const isSelfSentTransactionTransfer = selfTransactionTransferTypes.includes(\n processedTransferType\n );\n\n if (\n (isSelfTransaction && isSelfSentTransactionTransfer) ||\n isReceiverTransaction\n ) {\n return 'Received';\n }\n\n if (isSelfTransaction && !isSelfSentTransactionTransfer) {\n return 'Self Sent';\n }\n\n if (isSenderTransaction) {\n return 'Sent';\n }\n\n return 'Self';\n};\n"],
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": []
|
|
5
|
+
"mappings": "yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,wCAAAE,IAAA,eAAAC,EAAAH,GACA,IAAAI,EAA4B,8BAC5BC,EAAgC,6BAQzB,MAAMH,EAAqC,CAAC,CACjD,YAAAI,EACA,aAAAC,EACA,mBAAAC,CACF,IAAiD,CAC/C,KAAM,CAAE,SAAAC,CAAS,KAAI,mBAAgBH,CAAW,EAE1CI,EAAoBD,IAAaH,EAAY,OAC7CK,EAAwBF,IAAaD,EACrCI,EAAsB,CAACF,GAAqB,CAACC,EAC7CE,EAAwBN,EAQxBO,EAN+B,CACnC,cAAY,iBACZ,cAAY,gBACZ,cAAY,QACd,EAEmE,SACjED,CACF,EAEA,OACGH,GAAqBI,GACtBH,EAEO,WAGLD,GAAqB,CAACI,EACjB,YAGLF,EACK,OAGF,MACT",
|
|
6
|
+
"names": ["getTransactionActionDirectionLabel_exports", "__export", "getTransactionActionDirectionLabel", "__toCommonJS", "import_tokens", "import_getReceiverData", "transaction", "transferType", "currentUserAddress", "receiver", "isSelfTransaction", "isReceiverTransaction", "isSenderTransaction", "processedTransferType", "isSelfSentTransactionTransfer"]
|
|
7
7
|
}
|