@multiversx/sdk-dapp 5.3.1 → 5.3.2
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 +1 -1
- package/out/__chunks__/chunk-2JKCBTYK.mjs +2 -0
- package/out/__chunks__/{chunk-KD2IQ32V.mjs.map → chunk-2JKCBTYK.mjs.map} +3 -3
- package/out/__chunks__/chunk-2KGBHCEN.mjs +2 -0
- package/out/__chunks__/chunk-2KGBHCEN.mjs.map +7 -0
- package/out/__chunks__/chunk-2RTOYKHB.mjs +2 -0
- package/out/__chunks__/{chunk-MSM6OHIC.mjs → chunk-3CG4C7T4.mjs} +2 -2
- package/out/__chunks__/{chunk-IE3A2COQ.mjs → chunk-3IYTFWEN.mjs} +2 -2
- package/out/__chunks__/chunk-3S3EXLLM.mjs +2 -0
- package/out/__chunks__/chunk-4GCIE2BM.mjs +2 -0
- package/out/__chunks__/chunk-4MCQ27VQ.mjs +2 -0
- package/out/__chunks__/chunk-4MCQ27VQ.mjs.map +7 -0
- package/out/__chunks__/{chunk-4ZWPXO55.mjs → chunk-4QDHKULK.mjs} +2 -2
- package/out/__chunks__/{chunk-EGNCDLPF.mjs → chunk-55U3WK3C.mjs} +2 -2
- package/out/__chunks__/chunk-573JTRNC.mjs +2 -0
- package/out/__chunks__/{chunk-C5SRSULA.mjs → chunk-5AGKFSA6.mjs} +2 -2
- package/out/__chunks__/chunk-5AGKFSA6.mjs.map +7 -0
- package/out/__chunks__/chunk-5HEWN34K.mjs +2 -0
- package/out/__chunks__/chunk-5HEWN34K.mjs.map +7 -0
- package/out/__chunks__/{chunk-RHG5XPRM.mjs → chunk-5KYXNO4J.mjs} +2 -2
- package/out/__chunks__/{chunk-MH3RDOC5.mjs → chunk-5W7PFHTT.mjs} +2 -2
- package/out/__chunks__/{chunk-MH3RDOC5.mjs.map → chunk-5W7PFHTT.mjs.map} +1 -1
- package/out/__chunks__/chunk-6BOC75BF.mjs +2 -0
- package/out/__chunks__/{chunk-SFGNJYRD.mjs → chunk-6CLCXSHA.mjs} +2 -2
- package/out/__chunks__/chunk-6CQMLD25.mjs +1 -0
- package/out/__chunks__/{chunk-FUCA6PDM.mjs → chunk-6EKK7AJE.mjs} +2 -2
- package/out/__chunks__/{chunk-5KCP7UJT.mjs → chunk-6F4OKEUQ.mjs} +2 -2
- package/out/__chunks__/{chunk-UERJ6AKK.mjs → chunk-7MBSWJUD.mjs} +2 -2
- package/out/__chunks__/chunk-7PE652LB.mjs +2 -0
- package/out/__chunks__/chunk-7PE652LB.mjs.map +7 -0
- package/out/__chunks__/{chunk-TYA2A7P3.mjs → chunk-7WJMUTGI.mjs} +2 -2
- package/out/__chunks__/chunk-AFLCI6IF.mjs +2 -0
- package/out/__chunks__/chunk-AGJVEK6I.mjs +2 -0
- package/out/__chunks__/{chunk-MDXLOX7I.mjs → chunk-ATLICLWT.mjs} +2 -2
- package/out/__chunks__/{chunk-CMIVBHXU.mjs → chunk-AZA2GNTR.mjs} +2 -2
- package/out/__chunks__/chunk-AZA2GNTR.mjs.map +7 -0
- package/out/__chunks__/{chunk-6UIF2KFV.mjs → chunk-BCSNXRMR.mjs} +1 -1
- package/out/__chunks__/{chunk-6UIF2KFV.mjs.map → chunk-BCSNXRMR.mjs.map} +1 -1
- package/out/__chunks__/{chunk-MODSKR2X.mjs → chunk-BUJNOQZJ.mjs} +2 -2
- package/out/__chunks__/chunk-C4SERLP4.mjs +1 -0
- package/out/__chunks__/{chunk-NBHRZSLS.mjs → chunk-C72ZHRFA.mjs} +2 -2
- package/out/__chunks__/{chunk-NBHRZSLS.mjs.map → chunk-C72ZHRFA.mjs.map} +2 -2
- package/out/__chunks__/chunk-CUDPQDXY.mjs +1 -0
- package/out/__chunks__/{chunk-5FPUK3PA.mjs → chunk-CVXQYCEE.mjs} +2 -2
- package/out/__chunks__/{chunk-4Y3336TP.mjs → chunk-CXAX5TAG.mjs} +2 -2
- package/out/__chunks__/chunk-CZ2S4XSL.mjs +2 -0
- package/out/__chunks__/{chunk-57EQXIYJ.mjs → chunk-D3VRMBRS.mjs} +2 -2
- package/out/__chunks__/{chunk-BFNJ4VYH.mjs → chunk-DW6RO5LJ.mjs} +2 -2
- package/out/__chunks__/{chunk-GNNYBI7B.mjs → chunk-E77ZH5JT.mjs} +2 -2
- package/out/__chunks__/{chunk-OFVUWY2K.mjs → chunk-EKWN4V73.mjs} +2 -2
- package/out/__chunks__/chunk-EPL2CHU6.mjs +2 -0
- package/out/__chunks__/{chunk-G2YMMIV4.mjs → chunk-FF45FPD3.mjs} +2 -2
- package/out/__chunks__/{chunk-VJLG26AF.mjs → chunk-FNHO66WN.mjs} +2 -2
- package/out/__chunks__/chunk-FRUJEORM.mjs +2 -0
- package/out/__chunks__/{chunk-5OMQOYP7.mjs → chunk-G5N56FHJ.mjs} +2 -2
- package/out/__chunks__/chunk-GBEJIZDR.mjs +1 -0
- package/out/__chunks__/chunk-GEB2W7CV.mjs +1 -0
- package/out/__chunks__/chunk-H73D4VUZ.mjs +2 -0
- package/out/__chunks__/{chunk-D4UL2EWH.mjs → chunk-HBPQEY3L.mjs} +2 -2
- package/out/__chunks__/{chunk-2XGXXRSH.mjs → chunk-HFX5WAAI.mjs} +2 -2
- package/out/__chunks__/chunk-HKDRMMI5.mjs +2 -0
- package/out/__chunks__/{chunk-PX3TRYOX.mjs → chunk-HUXPA4C2.mjs} +2 -2
- package/out/__chunks__/chunk-HYH55J3D.mjs +2 -0
- package/out/__chunks__/{chunk-QZQDLLQR.mjs → chunk-I424CDNL.mjs} +2 -2
- package/out/__chunks__/{chunk-WZGG2YKQ.mjs → chunk-IVHD32VC.mjs} +2 -2
- package/out/__chunks__/{chunk-YK7T6MBD.mjs → chunk-IWP36NOU.mjs} +2 -2
- package/out/__chunks__/{chunk-K272J46W.mjs → chunk-IYM4ZX72.mjs} +2 -2
- package/out/__chunks__/{chunk-2ON3KLCT.mjs → chunk-J5TLE6SA.mjs} +2 -2
- package/out/__chunks__/{chunk-QLMVT5AQ.mjs → chunk-JDP24JPD.mjs} +2 -2
- package/out/__chunks__/{chunk-DJXCXSJM.mjs → chunk-JPSW3MCK.mjs} +2 -2
- package/out/__chunks__/{chunk-MPGHQVDQ.mjs → chunk-JZ22ZC2D.mjs} +2 -2
- package/out/__chunks__/{chunk-Y5FXVEPD.mjs → chunk-K4JJZCL3.mjs} +2 -2
- package/out/__chunks__/chunk-K5K2FVFB.mjs +2 -0
- package/out/__chunks__/{chunk-OA5BWGGO.mjs → chunk-KDTDQL52.mjs} +1 -1
- package/out/__chunks__/{chunk-OA5BWGGO.mjs.map → chunk-KDTDQL52.mjs.map} +1 -1
- package/out/__chunks__/{chunk-N42HH2XN.mjs → chunk-KIMRQMXB.mjs} +2 -2
- package/out/__chunks__/{chunk-FGEC7ZXX.mjs → chunk-KLI6N26E.mjs} +2 -2
- package/out/__chunks__/{chunk-FGEC7ZXX.mjs.map → chunk-KLI6N26E.mjs.map} +1 -1
- package/out/__chunks__/{chunk-A5TUOLPV.mjs → chunk-LBPTOWPX.mjs} +2 -2
- package/out/__chunks__/chunk-LG6Q3PRI.mjs +2 -0
- package/out/__chunks__/chunk-LG6Q3PRI.mjs.map +7 -0
- package/out/__chunks__/{chunk-KMJMQEXI.mjs → chunk-LGGG3HW7.mjs} +2 -2
- package/out/__chunks__/{chunk-Z2XKLZOJ.mjs → chunk-LKOWOTL2.mjs} +2 -2
- package/out/__chunks__/{chunk-NT3OYOP5.mjs → chunk-LYSI4URP.mjs} +2 -2
- package/out/__chunks__/chunk-M7B26JXO.mjs +2 -0
- package/out/__chunks__/chunk-M7B26JXO.mjs.map +7 -0
- package/out/__chunks__/{chunk-GIRFQWT3.mjs → chunk-MLDUGECH.mjs} +2 -2
- package/out/__chunks__/{chunk-ABMG4JL2.mjs → chunk-MS7BFY27.mjs} +2 -2
- package/out/__chunks__/{chunk-VWRNBA3H.mjs → chunk-N4KX33RW.mjs} +2 -2
- package/out/__chunks__/chunk-N56SMVGU.mjs +2 -0
- package/out/__chunks__/chunk-N56SMVGU.mjs.map +7 -0
- package/out/__chunks__/{chunk-EDLHXC66.mjs → chunk-N5VJJRWV.mjs} +2 -2
- package/out/__chunks__/{chunk-VAJX46E4.mjs → chunk-NAYC2B72.mjs} +2 -2
- package/out/__chunks__/{chunk-4YBGCRDP.mjs → chunk-NAYDJEWI.mjs} +2 -2
- package/out/__chunks__/{chunk-MJKL37SY.mjs → chunk-NVBWPLR7.mjs} +2 -2
- package/out/__chunks__/{chunk-UEKNE7II.mjs → chunk-O65OBG5D.mjs} +2 -2
- package/out/__chunks__/{chunk-UNSFOHDG.mjs → chunk-O6ALDFLM.mjs} +2 -2
- package/out/__chunks__/{chunk-3S57OP4Z.mjs → chunk-OAPLU7UX.mjs} +2 -2
- package/out/__chunks__/chunk-ODHXJQOF.mjs +2 -0
- package/out/__chunks__/{chunk-PQVNWTWJ.mjs → chunk-OIRXFS5Q.mjs} +2 -2
- package/out/__chunks__/chunk-OIRXFS5Q.mjs.map +7 -0
- package/out/__chunks__/{chunk-KLLFGRPB.mjs → chunk-OSG4UY2Z.mjs} +2 -2
- package/out/__chunks__/chunk-P2MHA65O.mjs +2 -0
- package/out/__chunks__/chunk-PKLBZG2R.mjs +2 -0
- package/out/__chunks__/chunk-PW34EFS7.mjs +2 -0
- package/out/__chunks__/chunk-PW34EFS7.mjs.map +7 -0
- package/out/__chunks__/{chunk-IS3TZ43F.mjs → chunk-QJJEW7MB.mjs} +2 -2
- package/out/__chunks__/{chunk-DBIIY2TX.mjs → chunk-QNELH2S2.mjs} +2 -2
- package/out/__chunks__/{chunk-KPOZLV3Y.mjs → chunk-QO62QJ5H.mjs} +2 -2
- package/out/__chunks__/{chunk-ICXBMZJS.mjs → chunk-RV6SJMD7.mjs} +2 -2
- package/out/__chunks__/{chunk-GNHD56P3.mjs → chunk-SALLGAGD.mjs} +2 -2
- package/out/__chunks__/chunk-SAN5F2PW.mjs +2 -0
- package/out/__chunks__/chunk-SNPF3BD2.mjs +2 -0
- package/out/__chunks__/chunk-SNPF3BD2.mjs.map +7 -0
- package/out/__chunks__/{chunk-6DHK4ZHY.mjs → chunk-TFARIEZF.mjs} +2 -2
- package/out/__chunks__/{chunk-F6HFPLKF.mjs → chunk-TMRKN7VL.mjs} +2 -2
- package/out/__chunks__/chunk-TOZ7EGCZ.mjs +2 -0
- package/out/__chunks__/chunk-TOZ7EGCZ.mjs.map +7 -0
- package/out/__chunks__/chunk-TQ7T6ULY.mjs +2 -0
- package/out/__chunks__/chunk-TQ7T6ULY.mjs.map +7 -0
- package/out/__chunks__/{chunk-GQ4CPGZ3.mjs → chunk-TR2KNDCH.mjs} +2 -2
- package/out/__chunks__/chunk-TVXZBSUY.mjs +2 -0
- package/out/__chunks__/chunk-U6RAWQXO.mjs +1 -0
- package/out/__chunks__/{chunk-22ELCCFJ.mjs → chunk-UCFMVEOZ.mjs} +2 -2
- package/out/__chunks__/{chunk-M65GJGER.mjs → chunk-UPABDY55.mjs} +2 -2
- package/out/__chunks__/chunk-URTM5OGN.mjs +2 -0
- package/out/__chunks__/{chunk-H3NKXQQF.mjs.map → chunk-URTM5OGN.mjs.map} +1 -1
- package/out/__chunks__/{chunk-QXC4D3AC.mjs → chunk-UT4BWFQH.mjs} +2 -2
- package/out/__chunks__/{chunk-4G7O2SEH.mjs → chunk-UY22M7WB.mjs} +2 -2
- package/out/__chunks__/{chunk-3RLAFHQ5.mjs → chunk-VGGJESXR.mjs} +2 -2
- package/out/__chunks__/chunk-VIQAOU2F.mjs +2 -0
- package/out/__chunks__/chunk-VIQAOU2F.mjs.map +7 -0
- package/out/__chunks__/chunk-VTEOS2MM.mjs +2 -0
- package/out/__chunks__/{chunk-ZBQOFCLH.mjs → chunk-WEZV6U4A.mjs} +2 -2
- package/out/__chunks__/{chunk-STSC5Q3L.mjs → chunk-WYVAFCPU.mjs} +2 -2
- package/out/__chunks__/chunk-XLLBREX7.mjs +2 -0
- package/out/__chunks__/{chunk-E7M6PNMF.mjs → chunk-XNSSZDSU.mjs} +2 -2
- package/out/__chunks__/chunk-XSUHHPZ2.mjs +2 -0
- package/out/__chunks__/{chunk-YZ6E6GLF.mjs → chunk-XTATC65P.mjs} +2 -2
- package/out/__chunks__/{chunk-EBENRM2R.mjs → chunk-XV3H7VOE.mjs} +2 -2
- package/out/__chunks__/{chunk-R6F66MUM.mjs → chunk-XXSANEEO.mjs} +2 -2
- package/out/__chunks__/{chunk-WBMIRF47.mjs → chunk-YGMILCHH.mjs} +2 -2
- package/out/__chunks__/chunk-YGMILCHH.mjs.map +7 -0
- package/out/__chunks__/{chunk-FRDR4A7Z.mjs → chunk-YYH2GKPL.mjs} +1 -1
- package/out/__chunks__/{chunk-FRDR4A7Z.mjs.map → chunk-YYH2GKPL.mjs.map} +1 -1
- package/out/apiCalls/account/getAccountFromApi.mjs +1 -1
- package/out/apiCalls/account/getScamAddressData.cjs +1 -1
- package/out/apiCalls/account/getScamAddressData.cjs.map +3 -3
- package/out/apiCalls/account/getScamAddressData.mjs +1 -1
- package/out/apiCalls/configuration/getCleanApiAddress.mjs +1 -1
- package/out/apiCalls/configuration/getGasStationMetadata.cjs +1 -1
- package/out/apiCalls/configuration/getGasStationMetadata.cjs.map +3 -3
- package/out/apiCalls/configuration/getGasStationMetadata.mjs +1 -1
- package/out/apiCalls/configuration/getNetworkConfigFromApi.mjs +1 -1
- package/out/apiCalls/configuration/getServerConfiguration.mjs +1 -1
- package/out/apiCalls/economics/getEconomics.mjs +1 -1
- package/out/apiCalls/endpoints.cjs +1 -1
- package/out/apiCalls/endpoints.cjs.map +3 -3
- package/out/apiCalls/endpoints.d.ts +1 -0
- package/out/apiCalls/endpoints.mjs +1 -1
- package/out/apiCalls/tokens/getPersistedToken.mjs +1 -1
- package/out/apiCalls/tokens/getPersistedTokenDetails.mjs +1 -1
- package/out/apiCalls/tokens/getTokenDetails.mjs +1 -1
- package/out/apiCalls/tokens/getTokenDetails.mjs.map +4 -4
- package/out/apiCalls/tokens/tokenDataStorage.cjs +1 -1
- package/out/apiCalls/tokens/tokenDataStorage.cjs.map +3 -3
- package/out/apiCalls/tokens/tokenDataStorage.d.ts +1 -3
- package/out/apiCalls/tokens/tokenDataStorage.mjs +1 -1
- package/out/apiCalls/transactions/getServerTransactionsByHashes.mjs +1 -1
- package/out/apiCalls/transactions/getTransactionByHash.mjs +1 -1
- package/out/apiCalls/transactions/getTransactions.mjs +1 -1
- package/out/apiCalls/transactions/getTransactionsByHashes.mjs +1 -1
- package/out/apiCalls/utils/axiosFetcher.mjs +1 -1
- package/out/apiCalls/utils/axiosFetcher.mjs.map +4 -4
- package/out/apiCalls/utils/axiosInstance.cjs +1 -1
- package/out/apiCalls/utils/axiosInstance.cjs.map +3 -3
- package/out/apiCalls/utils/axiosInstance.mjs +1 -1
- package/out/constants/browser.constants.mjs +1 -1
- package/out/constants/index.mjs +1 -1
- package/out/constants/storage.constants.mjs +1 -1
- package/out/constants/window.constants.cjs +1 -1
- package/out/constants/window.constants.cjs.map +1 -1
- package/out/constants/window.constants.mjs +1 -1
- package/out/controllers/TransactionsHistoryController/TransactionsHistoryController.mjs +1 -1
- package/out/controllers/TransactionsHistoryController/index.mjs +1 -1
- package/out/controllers/TransactionsTableController/TransactionsTableController.mjs +1 -1
- package/out/controllers/TransactionsTableController/index.mjs +1 -1
- package/out/index.cjs +1 -1
- package/out/index.cjs.map +2 -2
- package/out/index.d.ts +0 -1
- package/out/index.mjs +1 -1
- package/out/lib/sdkDappUi.mjs +1 -1
- package/out/managers/LogoutManager/LogoutManager.mjs +1 -1
- package/out/managers/NotificationsFeedManager/NotificationsFeedManager.mjs +1 -1
- package/out/managers/NotificationsFeedManager/index.mjs +1 -1
- package/out/managers/ToastManager/ToastManager.mjs +1 -1
- package/out/managers/ToastManager/ToastUICoordinator.mjs +1 -1
- package/out/managers/ToastManager/helpers/LifetimeManager.mjs +1 -1
- package/out/managers/ToastManager/helpers/createToastsFromTransactions.mjs +1 -1
- package/out/managers/ToastManager/helpers/createTransactionToast.mjs +1 -1
- package/out/managers/ToastManager/helpers/getToastDataStateByStatus.mjs +1 -1
- package/out/managers/ToastManager/index.mjs +1 -1
- package/out/managers/TransactionManager/TransactionManager.mjs +1 -1
- package/out/managers/TransactionManager/helpers/getAreTransactionsCorssShards.mjs +1 -1
- package/out/managers/TransactionManager/helpers/getToastDuration.mjs +1 -1
- package/out/managers/TransactionManager/helpers/getTransactionsStatus.mjs +1 -1
- package/out/managers/TransactionManager/index.mjs +1 -1
- package/out/managers/UnlockPanelManager/UnlockPanelManager.mjs +1 -1
- package/out/managers/UnlockPanelManager/index.mjs +1 -1
- package/out/managers/index.mjs +1 -1
- package/out/managers/internal/LedgerConnectStateManager/LedgerConnectStateManager.mjs +1 -1
- package/out/managers/internal/LedgerConnectStateManager/index.mjs +1 -1
- package/out/managers/internal/LedgerIdleStateManager/LedgerIdleStateManager.mjs +1 -1
- package/out/managers/internal/PendingTransactionsStateManager/PendingTransactionsStateManager.mjs +1 -1
- package/out/managers/internal/PendingTransactionsStateManager/index.mjs +1 -1
- package/out/managers/internal/SidePanelBaseManager/SidePanelBaseManager.mjs +1 -1
- package/out/managers/internal/SidePanelBaseManager/index.mjs +1 -1
- package/out/managers/internal/SignTransactionsStateManager/SignTransactionsStateManager.mjs +1 -1
- package/out/managers/internal/SignTransactionsStateManager/index.mjs +1 -1
- package/out/managers/internal/UIBaseManager/UIBaseManager.mjs +1 -1
- package/out/managers/internal/WalletConnectStateManager/WalletConnectStateManager.mjs +1 -1
- package/out/managers/internal/WalletConnectStateManager/index.mjs +1 -1
- package/out/managers/internal/index.mjs +1 -1
- package/out/methods/account/getAccount.mjs +1 -1
- package/out/methods/account/getAccountInfo.mjs +1 -1
- package/out/methods/account/getAddress.mjs +1 -1
- package/out/methods/account/getIsLoggedIn.mjs +1 -1
- package/out/methods/account/getLatestNonce.mjs +1 -1
- package/out/methods/initApp/{gastStationMetadata → gasStationMetadata}/setGasStationMetadata.cjs.map +1 -1
- package/out/methods/initApp/{gastStationMetadata → gasStationMetadata}/setGasStationMetadata.mjs +1 -1
- package/out/methods/initApp/helpers/waitForStoreRehydration.cjs +2 -0
- package/out/methods/initApp/helpers/waitForStoreRehydration.cjs.map +7 -0
- package/out/methods/initApp/helpers/waitForStoreRehydration.d.ts +6 -0
- package/out/methods/initApp/helpers/waitForStoreRehydration.mjs +2 -0
- package/out/methods/initApp/initApp.cjs +1 -1
- package/out/methods/initApp/initApp.cjs.map +3 -3
- package/out/methods/initApp/initApp.d.ts +5 -0
- package/out/methods/initApp/initApp.mjs +1 -1
- package/out/methods/initApp/initApp.mjs.map +3 -3
- package/out/methods/initApp/websocket/initializeWebsocketConnection.cjs +1 -1
- 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.mjs +1 -1
- package/out/methods/loginInfo/getLoginInfo.mjs +1 -1
- package/out/methods/network/getEgldLabel.mjs +1 -1
- package/out/methods/network/getExplorerAddress.mjs +1 -1
- package/out/methods/network/getNetworkConfig.mjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkTransactionStatus.mjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/checkBatch.mjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/helpers/runTransactionFailure.mjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/helpers/runTransactionStatusUpdate.mjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/helpers/updateTransactionAndSessionStatus.mjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/index.mjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/index.mjs +1 -1
- package/out/methods/trackTransactions/helpers/getPollingInterval.mjs +1 -1
- package/out/methods/trackTransactions/trackTransactions.mjs +1 -1
- package/out/methods/transactions/getFailedTransactions.mjs +1 -1
- package/out/methods/transactions/getFailedTransactionsSessions.mjs +1 -1
- package/out/methods/transactions/getPendingTransactions.mjs +1 -1
- package/out/methods/transactions/getPendingTransactionsSessions.mjs +1 -1
- package/out/methods/transactions/getSuccessfulTransactions.mjs +1 -1
- package/out/methods/transactions/getSuccessfulTransactionsSessions.mjs +1 -1
- package/out/methods/transactions/getTransactionSessions.mjs +1 -1
- package/out/providers/DappProvider/DappProvider.mjs +1 -1
- package/out/providers/DappProvider/helpers/login/helpers/accountLogin.cjs +1 -1
- 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.mjs +1 -1
- package/out/providers/DappProvider/helpers/login/helpers/getAccountFromToken.mjs +1 -1
- package/out/providers/DappProvider/helpers/login/helpers/getModifiedLoginToken.mjs +1 -1
- package/out/providers/DappProvider/helpers/login/helpers/getMultisigLoginToken.mjs +1 -1
- package/out/providers/DappProvider/helpers/login/helpers/loginWithNativeToken.mjs +1 -1
- package/out/providers/DappProvider/helpers/login/helpers/loginWithoutNativeToken.mjs +1 -1
- package/out/providers/DappProvider/helpers/login/login.mjs +1 -1
- package/out/providers/DappProvider/helpers/logout/logout.mjs +1 -1
- package/out/providers/DappProvider/helpers/signErrors/handleSignError.mjs +1 -1
- package/out/providers/DappProvider/helpers/signMessage/signMessageWithProvider.mjs +1 -1
- package/out/providers/DappProvider/helpers/signTransactions/signTransactionsWithProvider.mjs +1 -1
- package/out/providers/DappProvider/index.mjs +1 -1
- package/out/providers/ProviderFactory.mjs +1 -1
- package/out/providers/helpers/accountProvider.mjs +1 -1
- package/out/providers/helpers/cancelCrossWindowAction.mjs +1 -1
- package/out/providers/helpers/restoreProvider.mjs +1 -1
- package/out/providers/index.mjs +1 -1
- package/out/providers/strategies/BaseProviderStrategy/BaseProviderStrategy.mjs +1 -1
- package/out/providers/strategies/CrossWindowProviderStrategy/CrossWindowProviderStrategy.mjs +1 -1
- package/out/providers/strategies/CrossWindowProviderStrategy/index.mjs +1 -1
- package/out/providers/strategies/ExtensionProviderStrategy/ExtensionProviderStrategy.mjs +1 -1
- package/out/providers/strategies/ExtensionProviderStrategy/index.mjs +1 -1
- package/out/providers/strategies/IframeProviderStrategy/IframeProviderStrategy.mjs +1 -1
- package/out/providers/strategies/IframeProviderStrategy/index.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/LedgerProviderStrategy.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/authenticateLedgerAccount.cjs +2 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/authenticateLedgerAccount.cjs.map +7 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/{authenticateLedgerAccount.d.ts → authenticateLedgerAccount/authenticateLedgerAccount.d.ts} +1 -3
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/authenticateLedgerAccount.mjs +2 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/{getAuthTokenText.cjs → authenticateLedgerAccount/helpers/getAuthTokenText.cjs} +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/{getAuthTokenText.cjs.map → authenticateLedgerAccount/helpers/getAuthTokenText.cjs.map} +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/getAuthTokenText.mjs +2 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/getLedgerVersionOptions.cjs +2 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/{getLedgerVersionOptions.cjs.map → authenticateLedgerAccount/helpers/getLedgerVersionOptions.cjs.map} +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/getLedgerVersionOptions.mjs +2 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/{secondsToTimeString.cjs.map → authenticateLedgerAccount/helpers/secondsToTimeString.cjs.map} +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/secondsToTimeString.mjs +2 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/{updateAccountsList → authenticateLedgerAccount/helpers/updateAccountsList}/index.cjs.map +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/updateAccountsList/index.mjs +2 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/updateAccountsList/updateAccountsList.cjs +2 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/updateAccountsList/updateAccountsList.cjs.map +7 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/updateAccountsList/updateAccountsList.mjs +2 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/updateAccountsList/updateAccountsList.types.cjs.map +7 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/{updateAccountsList → authenticateLedgerAccount/helpers/updateAccountsList}/updateAccountsList.types.d.ts +2 -2
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/waitForLedgerSelection.cjs +2 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/waitForLedgerSelection.cjs.map +7 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/waitForLedgerSelection.d.ts +19 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/waitForLedgerSelection.mjs +2 -0
- package/out/{apiCalls/configuration → providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount}/index.cjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/index.cjs.map +7 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/index.d.ts +2 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/index.mjs +2 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider/getLedgerProvider.cjs +2 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider/getLedgerProvider.cjs.map +7 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/{getLedgerProvider.d.ts → getLedgerProvider/getLedgerProvider.d.ts} +2 -4
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider/getLedgerProvider.mjs +2 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/{getLedgerConfiguration.cjs → getLedgerProvider/helpers/getLedgerConfiguration.cjs} +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/{getLedgerConfiguration.cjs.map → getLedgerProvider/helpers/getLedgerConfiguration.cjs.map} +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider/helpers/getLedgerConfiguration.mjs +2 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider/helpers/initHwProvider.cjs +2 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider/helpers/initHwProvider.cjs.map +7 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider/helpers/initHwProvider.d.ts +12 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider/helpers/initHwProvider.mjs +2 -0
- package/out/{apiCalls/account → providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider}/index.cjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider/index.cjs.map +7 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider/index.d.ts +1 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider/index.mjs +2 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/index.cjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/index.cjs.map +2 -2
- package/out/providers/strategies/LedgerProviderStrategy/helpers/index.d.ts +3 -4
- package/out/providers/strategies/LedgerProviderStrategy/helpers/index.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/initializeLedgerProvider.cjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/initializeLedgerProvider.cjs.map +2 -2
- package/out/providers/strategies/LedgerProviderStrategy/helpers/initializeLedgerProvider.d.ts +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/initializeLedgerProvider.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/signLedgerMessage.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/index.mjs +1 -1
- package/out/providers/strategies/WalletConnectProviderStrategy/WalletConnectProviderStrategy.mjs +1 -1
- package/out/providers/strategies/WalletConnectProviderStrategy/index.mjs +1 -1
- package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/WebviewClient.mjs +1 -1
- package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/index.mjs +1 -1
- package/out/providers/strategies/WebviewProviderStrategy/WebviewProviderStrategy.mjs +1 -1
- package/out/providers/strategies/WebviewProviderStrategy/index.mjs +1 -1
- package/out/providers/strategies/helpers/getPendingTransactionsHandlers.mjs +1 -1
- package/out/providers/strategies/helpers/index.mjs +1 -1
- package/out/providers/strategies/helpers/signMessage/signMessage.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/calculateFeeLimit.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/getCommonData.cjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/getCommonData.cjs.map +3 -3
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/getCommonData.mjs +1 -1
- 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 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getExtractTransactionsInfo.cjs.map +3 -3
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getExtractTransactionsInfo.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getFeeData.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/guardTransactions.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/signTransactions.mjs +1 -1
- package/out/providers/strategies/index.mjs +1 -1
- package/out/react/account/useGetAccount.mjs +1 -1
- package/out/react/account/useGetAccountInfo.mjs +1 -1
- package/out/react/account/useGetIsLoggedIn.mjs +1 -1
- package/out/react/account/useGetLatestNonce.mjs +1 -1
- package/out/react/index.mjs +1 -1
- package/out/react/loginInfo/useGetLoginInfo.mjs +1 -1
- package/out/react/network/useGetNetworkConfig.mjs +1 -1
- package/out/react/store/getReactStore.mjs +1 -1
- package/out/react/store/useSelector.mjs +1 -1
- package/out/react/transactions/useGetFailedTransactions.mjs +1 -1
- package/out/react/transactions/useGetFailedTransactionsSessions.mjs +1 -1
- package/out/react/transactions/useGetPendingTransactions.mjs +1 -1
- package/out/react/transactions/useGetPendingTransactionsSessions.mjs +1 -1
- package/out/react/transactions/useGetSuccessfulTransactions.mjs +1 -1
- package/out/react/transactions/useGetSuccessfulTransactionsSessions.mjs +1 -1
- package/out/react/transactions/useGetTransactionSessions.mjs +1 -1
- package/out/services/index.mjs +1 -1
- package/out/services/nativeAuth/helpers/getLatestBlockHash.mjs +1 -1
- package/out/services/nativeAuth/helpers/index.mjs +1 -1
- package/out/services/nativeAuth/index.mjs +1 -1
- package/out/services/nativeAuth/methods/buildNativeAuthConfig.mjs +1 -1
- package/out/services/nativeAuth/methods/getDefaultNativeAuthConfig.mjs +1 -1
- package/out/services/nativeAuth/methods/index.mjs +1 -1
- package/out/services/nativeAuth/nativeAuth.mjs +1 -1
- package/out/store/actions/account/accountActions.mjs +1 -1
- package/out/store/actions/account/index.mjs +1 -1
- package/out/store/actions/cache/cacheActions.mjs +1 -1
- package/out/store/actions/cache/index.mjs +1 -1
- package/out/store/actions/config/configActions.mjs +1 -1
- package/out/store/actions/config/index.mjs +1 -1
- package/out/store/actions/index.mjs +1 -1
- package/out/store/actions/loginInfo/loginInfoActions.mjs +1 -1
- package/out/store/actions/network/index.mjs +1 -1
- package/out/store/actions/network/initializeNetwork.mjs +1 -1
- package/out/store/actions/network/networkActions.mjs +1 -1
- package/out/store/actions/sharedActions/index.mjs +1 -1
- package/out/store/actions/sharedActions/sharedActions.mjs +1 -1
- package/out/store/actions/toasts/index.mjs +1 -1
- package/out/store/actions/toasts/toastsActions.mjs +1 -1
- package/out/store/actions/transactions/transactionsActions.mjs +1 -1
- package/out/store/actions/ui/index.mjs +1 -1
- package/out/store/actions/ui/uiActions.mjs +1 -1
- package/out/store/middleware/applyMiddlewares.mjs +1 -1
- package/out/store/middleware/index.mjs +1 -1
- package/out/store/middleware/logoutMiddleware.mjs +1 -1
- package/out/store/selectors/accountSelectors.mjs +1 -1
- package/out/store/selectors/index.mjs +1 -1
- package/out/store/slices/account/accountSlice.mjs +1 -1
- package/out/store/slices/account/emptyAccount.mjs +1 -1
- package/out/store/slices/account/index.mjs +1 -1
- package/out/store/slices/index.mjs +1 -1
- package/out/store/storage/index.mjs +1 -1
- package/out/store/storage/storageCallback.mjs +1 -1
- package/out/store/store.mjs +1 -1
- package/out/types/index.mjs +1 -1
- package/out/utils/ComponentFactory.mjs +1 -1
- package/out/utils/account/fetchAccount.mjs +1 -1
- package/out/utils/account/index.mjs +1 -1
- package/out/utils/account/refreshAccount.mjs +1 -1
- package/out/utils/account/refreshNativeAuthTokenLogin.mjs +1 -1
- package/out/utils/dateTime/index.mjs +1 -1
- package/out/utils/index.cjs +1 -1
- package/out/utils/index.cjs.map +2 -2
- package/out/utils/index.d.ts +0 -1
- package/out/utils/index.mjs +1 -1
- package/out/utils/transactions/explorerUrlBuilder.mjs +1 -1
- package/out/utils/transactions/getActiveTransactionsStatus.cjs.map +2 -2
- package/out/utils/transactions/getActiveTransactionsStatus.mjs +1 -1
- package/out/utils/transactions/getActiveTransactionsStatus.mjs.map +4 -4
- package/out/utils/transactions/getDecodedDataField/index.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/getTransactionValue.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTitleText.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTransactionActionNftText.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/index.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/index.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getLockedAccountName.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getShardText.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionIconInfo.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionMessages.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/index.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/index.mjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/getTransactionsHistory.mjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getCachedTransactionListItem.mjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAction.mjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAsset.mjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/index.mjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/mapServerTransactionsToListItems.mjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/mapTransactionToListItem.mjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/index.mjs +1 -1
- package/out/utils/transactions/index.cjs +1 -1
- package/out/utils/transactions/index.cjs.map +2 -2
- package/out/utils/transactions/index.d.ts +0 -1
- package/out/utils/transactions/index.mjs +1 -1
- package/out/utils/validation/index.mjs +1 -1
- package/out/utils/validation/isContract.mjs +1 -1
- package/out/utils/visual/switchTheme.mjs +1 -1
- package/out/utils/window/getIsInIframe.mjs +1 -1
- package/out/utils/window/getWindowParentOrigin.mjs +1 -1
- package/out/utils/window/index.mjs +1 -1
- package/package.json +3 -3
- package/out/__chunks__/chunk-33MSDZAP.mjs +0 -2
- package/out/__chunks__/chunk-3ZT74S43.mjs +0 -2
- package/out/__chunks__/chunk-4FXREOAU.mjs +0 -2
- package/out/__chunks__/chunk-6ET5BDZH.mjs +0 -1
- package/out/__chunks__/chunk-C2CYALD3.mjs +0 -2
- package/out/__chunks__/chunk-C4TBDJVT.mjs +0 -2
- package/out/__chunks__/chunk-C4TBDJVT.mjs.map +0 -7
- package/out/__chunks__/chunk-C5SRSULA.mjs.map +0 -7
- package/out/__chunks__/chunk-CA5CSAGL.mjs +0 -2
- package/out/__chunks__/chunk-CMIVBHXU.mjs.map +0 -7
- package/out/__chunks__/chunk-D2ULWBRR.mjs +0 -2
- package/out/__chunks__/chunk-DDLTXUQG.mjs +0 -2
- package/out/__chunks__/chunk-DXRSXWLQ.mjs +0 -1
- package/out/__chunks__/chunk-GAYDJQDV.mjs +0 -1
- package/out/__chunks__/chunk-GUIXE5XC.mjs +0 -2
- package/out/__chunks__/chunk-GUIXE5XC.mjs.map +0 -7
- package/out/__chunks__/chunk-H3NKXQQF.mjs +0 -2
- package/out/__chunks__/chunk-I4PVZY6G.mjs +0 -2
- package/out/__chunks__/chunk-INRKVOET.mjs +0 -1
- package/out/__chunks__/chunk-JKR5DRPM.mjs +0 -1
- package/out/__chunks__/chunk-JMC7CMTU.mjs +0 -2
- package/out/__chunks__/chunk-JNGJJQUL.mjs +0 -2
- package/out/__chunks__/chunk-K5MJ4FMD.mjs +0 -1
- package/out/__chunks__/chunk-K6FICN7B.mjs +0 -2
- package/out/__chunks__/chunk-K6FICN7B.mjs.map +0 -7
- package/out/__chunks__/chunk-KD2IQ32V.mjs +0 -2
- package/out/__chunks__/chunk-L5XHA5J3.mjs +0 -2
- package/out/__chunks__/chunk-L6A73MU7.mjs +0 -2
- package/out/__chunks__/chunk-NZA7KOCG.mjs +0 -2
- package/out/__chunks__/chunk-NZA7KOCG.mjs.map +0 -7
- package/out/__chunks__/chunk-O4V2ADKJ.mjs +0 -2
- package/out/__chunks__/chunk-O7AQPRYI.mjs +0 -2
- package/out/__chunks__/chunk-O7AQPRYI.mjs.map +0 -7
- package/out/__chunks__/chunk-PJZO5KQR.mjs +0 -2
- package/out/__chunks__/chunk-PJZO5KQR.mjs.map +0 -7
- package/out/__chunks__/chunk-PQVNWTWJ.mjs.map +0 -7
- package/out/__chunks__/chunk-PY6RWCON.mjs +0 -2
- package/out/__chunks__/chunk-PY6RWCON.mjs.map +0 -7
- package/out/__chunks__/chunk-Q6ALT7RT.mjs +0 -2
- package/out/__chunks__/chunk-QFZ4YW5F.mjs +0 -2
- package/out/__chunks__/chunk-RFQ62EWT.mjs +0 -2
- package/out/__chunks__/chunk-RNABCWXS.mjs +0 -2
- package/out/__chunks__/chunk-S2PZQQCM.mjs +0 -2
- package/out/__chunks__/chunk-S2PZQQCM.mjs.map +0 -7
- package/out/__chunks__/chunk-TFZ46GCB.mjs +0 -1
- package/out/__chunks__/chunk-U4NSAQRJ.mjs +0 -2
- package/out/__chunks__/chunk-UCNKEHLJ.mjs +0 -2
- package/out/__chunks__/chunk-UFDELD3B.mjs +0 -2
- package/out/__chunks__/chunk-UFDELD3B.mjs.map +0 -7
- package/out/__chunks__/chunk-VJGOUAZ2.mjs +0 -2
- package/out/__chunks__/chunk-VJGOUAZ2.mjs.map +0 -7
- package/out/__chunks__/chunk-WBMIRF47.mjs.map +0 -7
- package/out/__chunks__/chunk-WG5ONYK4.mjs +0 -2
- package/out/__chunks__/chunk-WHEXX3BD.mjs +0 -1
- package/out/__chunks__/chunk-XX6UOMVH.mjs +0 -2
- package/out/__chunks__/chunk-XX6UOMVH.mjs.map +0 -7
- package/out/__chunks__/chunk-YFPMAZOS.mjs +0 -1
- package/out/__chunks__/chunk-YV7ZJBAY.mjs +0 -1
- package/out/__chunks__/chunk-YV7ZJBAY.mjs.map +0 -7
- package/out/__chunks__/chunk-ZFKTQNIP.mjs +0 -2
- package/out/__chunks__/chunk-ZFXAT6MD.mjs +0 -1
- package/out/__chunks__/chunk-ZFXAT6MD.mjs.map +0 -7
- package/out/__chunks__/chunk-ZNYD34VT.mjs +0 -2
- package/out/apiCalls/account/index.cjs.map +0 -7
- package/out/apiCalls/account/index.d.ts +0 -1
- package/out/apiCalls/account/index.mjs +0 -2
- package/out/apiCalls/configuration/index.cjs.map +0 -7
- package/out/apiCalls/configuration/index.d.ts +0 -2
- package/out/apiCalls/configuration/index.mjs +0 -2
- package/out/apiCalls/index.cjs +0 -2
- package/out/apiCalls/index.cjs.map +0 -7
- package/out/apiCalls/index.d.ts +0 -6
- package/out/apiCalls/index.mjs +0 -2
- package/out/apiCalls/tokens/index.cjs +0 -2
- package/out/apiCalls/tokens/index.cjs.map +0 -7
- package/out/apiCalls/tokens/index.d.ts +0 -1
- package/out/apiCalls/tokens/index.mjs +0 -2
- package/out/apiCalls/tokens/index.mjs.map +0 -7
- package/out/apiCalls/utils/index.cjs +0 -2
- package/out/apiCalls/utils/index.cjs.map +0 -7
- package/out/apiCalls/utils/index.d.ts +0 -3
- package/out/apiCalls/utils/index.mjs +0 -2
- package/out/apiCalls/utils/index.mjs.map +0 -7
- package/out/apiCalls/websocket/index.cjs +0 -2
- package/out/apiCalls/websocket/index.cjs.map +0 -7
- package/out/apiCalls/websocket/index.d.ts +0 -1
- package/out/apiCalls/websocket/index.mjs +0 -2
- package/out/apiCalls/websocket/index.mjs.map +0 -7
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount.cjs +0 -2
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount.cjs.map +0 -7
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount.mjs +0 -2
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getAuthTokenText.mjs +0 -2
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerConfiguration.mjs +0 -2
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider.cjs +0 -2
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider.cjs.map +0 -7
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider.mjs +0 -2
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerVersionOptions.cjs +0 -2
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerVersionOptions.mjs +0 -2
- package/out/providers/strategies/LedgerProviderStrategy/helpers/secondsToTimeString.mjs +0 -2
- package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/index.mjs +0 -2
- package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/index.mjs.map +0 -7
- package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/updateAccountsList.cjs +0 -2
- package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/updateAccountsList.cjs.map +0 -7
- package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/updateAccountsList.mjs +0 -2
- package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/updateAccountsList.types.cjs.map +0 -7
- package/out/utils/visual/index.cjs +0 -2
- package/out/utils/visual/index.cjs.map +0 -7
- package/out/utils/visual/index.d.ts +0 -1
- package/out/utils/visual/index.mjs +0 -2
- package/out/utils/visual/index.mjs.map +0 -7
- /package/out/__chunks__/{chunk-UCNKEHLJ.mjs.map → chunk-2RTOYKHB.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-MSM6OHIC.mjs.map → chunk-3CG4C7T4.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-IE3A2COQ.mjs.map → chunk-3IYTFWEN.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-U4NSAQRJ.mjs.map → chunk-3S3EXLLM.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-O4V2ADKJ.mjs.map → chunk-4GCIE2BM.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-4ZWPXO55.mjs.map → chunk-4QDHKULK.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-EGNCDLPF.mjs.map → chunk-55U3WK3C.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-DDLTXUQG.mjs.map → chunk-573JTRNC.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-RHG5XPRM.mjs.map → chunk-5KYXNO4J.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-I4PVZY6G.mjs.map → chunk-6BOC75BF.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-SFGNJYRD.mjs.map → chunk-6CLCXSHA.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-6ET5BDZH.mjs.map → chunk-6CQMLD25.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-FUCA6PDM.mjs.map → chunk-6EKK7AJE.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-5KCP7UJT.mjs.map → chunk-6F4OKEUQ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-UERJ6AKK.mjs.map → chunk-7MBSWJUD.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-TYA2A7P3.mjs.map → chunk-7WJMUTGI.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-C2CYALD3.mjs.map → chunk-AFLCI6IF.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-L5XHA5J3.mjs.map → chunk-AGJVEK6I.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-MDXLOX7I.mjs.map → chunk-ATLICLWT.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-MODSKR2X.mjs.map → chunk-BUJNOQZJ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-DXRSXWLQ.mjs.map → chunk-C4SERLP4.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-GAYDJQDV.mjs.map → chunk-CUDPQDXY.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-5FPUK3PA.mjs.map → chunk-CVXQYCEE.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-4Y3336TP.mjs.map → chunk-CXAX5TAG.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-L6A73MU7.mjs.map → chunk-CZ2S4XSL.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-57EQXIYJ.mjs.map → chunk-D3VRMBRS.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-BFNJ4VYH.mjs.map → chunk-DW6RO5LJ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-GNNYBI7B.mjs.map → chunk-E77ZH5JT.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-OFVUWY2K.mjs.map → chunk-EKWN4V73.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-33MSDZAP.mjs.map → chunk-EPL2CHU6.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-G2YMMIV4.mjs.map → chunk-FF45FPD3.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-VJLG26AF.mjs.map → chunk-FNHO66WN.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-Q6ALT7RT.mjs.map → chunk-FRUJEORM.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-5OMQOYP7.mjs.map → chunk-G5N56FHJ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-INRKVOET.mjs.map → chunk-GBEJIZDR.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-JKR5DRPM.mjs.map → chunk-GEB2W7CV.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-QFZ4YW5F.mjs.map → chunk-H73D4VUZ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-D4UL2EWH.mjs.map → chunk-HBPQEY3L.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-2XGXXRSH.mjs.map → chunk-HFX5WAAI.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-RFQ62EWT.mjs.map → chunk-HKDRMMI5.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-PX3TRYOX.mjs.map → chunk-HUXPA4C2.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-JNGJJQUL.mjs.map → chunk-HYH55J3D.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-QZQDLLQR.mjs.map → chunk-I424CDNL.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-WZGG2YKQ.mjs.map → chunk-IVHD32VC.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-YK7T6MBD.mjs.map → chunk-IWP36NOU.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-K272J46W.mjs.map → chunk-IYM4ZX72.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-2ON3KLCT.mjs.map → chunk-J5TLE6SA.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-QLMVT5AQ.mjs.map → chunk-JDP24JPD.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-DJXCXSJM.mjs.map → chunk-JPSW3MCK.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-MPGHQVDQ.mjs.map → chunk-JZ22ZC2D.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-Y5FXVEPD.mjs.map → chunk-K4JJZCL3.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-CA5CSAGL.mjs.map → chunk-K5K2FVFB.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-N42HH2XN.mjs.map → chunk-KIMRQMXB.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-A5TUOLPV.mjs.map → chunk-LBPTOWPX.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-KMJMQEXI.mjs.map → chunk-LGGG3HW7.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-Z2XKLZOJ.mjs.map → chunk-LKOWOTL2.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-NT3OYOP5.mjs.map → chunk-LYSI4URP.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-GIRFQWT3.mjs.map → chunk-MLDUGECH.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ABMG4JL2.mjs.map → chunk-MS7BFY27.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-VWRNBA3H.mjs.map → chunk-N4KX33RW.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-EDLHXC66.mjs.map → chunk-N5VJJRWV.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-VAJX46E4.mjs.map → chunk-NAYC2B72.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-4YBGCRDP.mjs.map → chunk-NAYDJEWI.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-MJKL37SY.mjs.map → chunk-NVBWPLR7.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-UEKNE7II.mjs.map → chunk-O65OBG5D.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-UNSFOHDG.mjs.map → chunk-O6ALDFLM.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-3S57OP4Z.mjs.map → chunk-OAPLU7UX.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-3ZT74S43.mjs.map → chunk-ODHXJQOF.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-KLLFGRPB.mjs.map → chunk-OSG4UY2Z.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-RNABCWXS.mjs.map → chunk-P2MHA65O.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-D2ULWBRR.mjs.map → chunk-PKLBZG2R.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-IS3TZ43F.mjs.map → chunk-QJJEW7MB.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-DBIIY2TX.mjs.map → chunk-QNELH2S2.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-KPOZLV3Y.mjs.map → chunk-QO62QJ5H.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ICXBMZJS.mjs.map → chunk-RV6SJMD7.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-GNHD56P3.mjs.map → chunk-SALLGAGD.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-4FXREOAU.mjs.map → chunk-SAN5F2PW.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-6DHK4ZHY.mjs.map → chunk-TFARIEZF.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-F6HFPLKF.mjs.map → chunk-TMRKN7VL.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-GQ4CPGZ3.mjs.map → chunk-TR2KNDCH.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-JMC7CMTU.mjs.map → chunk-TVXZBSUY.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-K5MJ4FMD.mjs.map → chunk-U6RAWQXO.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-22ELCCFJ.mjs.map → chunk-UCFMVEOZ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-M65GJGER.mjs.map → chunk-UPABDY55.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-QXC4D3AC.mjs.map → chunk-UT4BWFQH.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-4G7O2SEH.mjs.map → chunk-UY22M7WB.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-3RLAFHQ5.mjs.map → chunk-VGGJESXR.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ZNYD34VT.mjs.map → chunk-VTEOS2MM.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ZBQOFCLH.mjs.map → chunk-WEZV6U4A.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-STSC5Q3L.mjs.map → chunk-WYVAFCPU.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-WG5ONYK4.mjs.map → chunk-XLLBREX7.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-E7M6PNMF.mjs.map → chunk-XNSSZDSU.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ZFKTQNIP.mjs.map → chunk-XSUHHPZ2.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-YZ6E6GLF.mjs.map → chunk-XTATC65P.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-EBENRM2R.mjs.map → chunk-XV3H7VOE.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-R6F66MUM.mjs.map → chunk-XXSANEEO.mjs.map} +0 -0
- /package/out/methods/initApp/{gastStationMetadata → gasStationMetadata}/setGasStationMetadata.cjs +0 -0
- /package/out/methods/initApp/{gastStationMetadata → gasStationMetadata}/setGasStationMetadata.d.ts +0 -0
- /package/out/methods/initApp/{gastStationMetadata → gasStationMetadata}/setGasStationMetadata.mjs.map +0 -0
- /package/out/{__chunks__/chunk-TFZ46GCB.mjs.map → methods/initApp/helpers/waitForStoreRehydration.mjs.map} +0 -0
- /package/out/providers/strategies/LedgerProviderStrategy/helpers/{authenticateLedgerAccount.mjs.map → authenticateLedgerAccount/authenticateLedgerAccount.mjs.map} +0 -0
- /package/out/providers/strategies/LedgerProviderStrategy/helpers/{getAuthTokenText.d.ts → authenticateLedgerAccount/helpers/getAuthTokenText.d.ts} +0 -0
- /package/out/providers/strategies/LedgerProviderStrategy/helpers/{getAuthTokenText.mjs.map → authenticateLedgerAccount/helpers/getAuthTokenText.mjs.map} +0 -0
- /package/out/providers/strategies/LedgerProviderStrategy/helpers/{getLedgerVersionOptions.d.ts → authenticateLedgerAccount/helpers/getLedgerVersionOptions.d.ts} +0 -0
- /package/out/providers/strategies/LedgerProviderStrategy/helpers/{getLedgerVersionOptions.mjs.map → authenticateLedgerAccount/helpers/getLedgerVersionOptions.mjs.map} +0 -0
- /package/out/providers/strategies/LedgerProviderStrategy/helpers/{secondsToTimeString.cjs → authenticateLedgerAccount/helpers/secondsToTimeString.cjs} +0 -0
- /package/out/providers/strategies/LedgerProviderStrategy/helpers/{secondsToTimeString.d.ts → authenticateLedgerAccount/helpers/secondsToTimeString.d.ts} +0 -0
- /package/out/providers/strategies/LedgerProviderStrategy/helpers/{secondsToTimeString.mjs.map → authenticateLedgerAccount/helpers/secondsToTimeString.mjs.map} +0 -0
- /package/out/providers/strategies/LedgerProviderStrategy/helpers/{updateAccountsList → authenticateLedgerAccount/helpers/updateAccountsList}/index.cjs +0 -0
- /package/out/providers/strategies/LedgerProviderStrategy/helpers/{updateAccountsList → authenticateLedgerAccount/helpers/updateAccountsList}/index.d.ts +0 -0
- /package/out/{apiCalls/account → providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/updateAccountsList}/index.mjs.map +0 -0
- /package/out/providers/strategies/LedgerProviderStrategy/helpers/{updateAccountsList → authenticateLedgerAccount/helpers/updateAccountsList}/updateAccountsList.d.ts +0 -0
- /package/out/providers/strategies/LedgerProviderStrategy/helpers/{updateAccountsList → authenticateLedgerAccount/helpers/updateAccountsList}/updateAccountsList.mjs.map +0 -0
- /package/out/providers/strategies/LedgerProviderStrategy/helpers/{updateAccountsList → authenticateLedgerAccount/helpers/updateAccountsList}/updateAccountsList.types.cjs +0 -0
- /package/out/providers/strategies/LedgerProviderStrategy/helpers/{updateAccountsList → authenticateLedgerAccount/helpers/updateAccountsList}/updateAccountsList.types.mjs +0 -0
- /package/out/providers/strategies/LedgerProviderStrategy/helpers/{updateAccountsList → authenticateLedgerAccount/helpers/updateAccountsList}/updateAccountsList.types.mjs.map +0 -0
- /package/out/{__chunks__/chunk-WHEXX3BD.mjs.map → providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/waitForLedgerSelection.mjs.map} +0 -0
- /package/out/{apiCalls/configuration → providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount}/index.mjs.map +0 -0
- /package/out/providers/strategies/LedgerProviderStrategy/helpers/{getLedgerProvider.mjs.map → getLedgerProvider/getLedgerProvider.mjs.map} +0 -0
- /package/out/providers/strategies/LedgerProviderStrategy/helpers/{getLedgerConfiguration.d.ts → getLedgerProvider/helpers/getLedgerConfiguration.d.ts} +0 -0
- /package/out/providers/strategies/LedgerProviderStrategy/helpers/{getLedgerConfiguration.mjs.map → getLedgerProvider/helpers/getLedgerConfiguration.mjs.map} +0 -0
- /package/out/{__chunks__/chunk-YFPMAZOS.mjs.map → providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider/helpers/initHwProvider.mjs.map} +0 -0
- /package/out/{apiCalls → providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider}/index.mjs.map +0 -0
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{a}from"../../../../../__chunks__/chunk-TOZ7EGCZ.mjs";import"../../../../../__chunks__/chunk-7WJMUTGI.mjs";import"../../../../../__chunks__/chunk-CSC5XOOG.mjs";import"../../../../../__chunks__/chunk-UNUOQRSW.mjs";import"../../../../../__chunks__/chunk-RVO7H26H.mjs";import"../../../../../__chunks__/chunk-PW34EFS7.mjs";import"../../../../../__chunks__/chunk-C4SERLP4.mjs";import"../../../../../__chunks__/chunk-YGMILCHH.mjs";import"../../../../../__chunks__/chunk-5W7PFHTT.mjs";import"../../../../../__chunks__/chunk-KDTDQL52.mjs";import"../../../../../__chunks__/chunk-BCSNXRMR.mjs";import"../../../../../__chunks__/chunk-UT4BWFQH.mjs";import"../../../../../__chunks__/chunk-2RTOYKHB.mjs";import"../../../../../__chunks__/chunk-YGI3KXMZ.mjs";import"../../../../../__chunks__/chunk-C72ZHRFA.mjs";import"../../../../../__chunks__/chunk-NVBWPLR7.mjs";import"../../../../../__chunks__/chunk-QO62QJ5H.mjs";import"../../../../../__chunks__/chunk-RUBOJOJP.mjs";import"../../../../../__chunks__/chunk-K5K2FVFB.mjs";import"../../../../../__chunks__/chunk-T7DVMF2K.mjs";import"../../../../../__chunks__/chunk-6UZHM5LW.mjs";import"../../../../../__chunks__/chunk-FF45FPD3.mjs";import"../../../../../__chunks__/chunk-ZATPIKZ2.mjs";import"../../../../../__chunks__/chunk-U3MIDVR7.mjs";import"../../../../../__chunks__/chunk-CDWODCD7.mjs";import"../../../../../__chunks__/chunk-JZZ3MOUU.mjs";import"../../../../../__chunks__/chunk-PKD3AEXI.mjs";import"../../../../../__chunks__/chunk-CLUVDWX6.mjs";import"../../../../../__chunks__/chunk-KLI6N26E.mjs";import"../../../../../__chunks__/chunk-LG6Q3PRI.mjs";import"../../../../../__chunks__/chunk-D3VRMBRS.mjs";import"../../../../../__chunks__/chunk-AFLCI6IF.mjs";import"../../../../../__chunks__/chunk-FRUJEORM.mjs";import"../../../../../__chunks__/chunk-ABBDCZHP.mjs";import"../../../../../__chunks__/chunk-LKOWOTL2.mjs";import"../../../../../__chunks__/chunk-6BOC75BF.mjs";import"../../../../../__chunks__/chunk-PMHRZ5Y7.mjs";import"../../../../../__chunks__/chunk-2VG3V3VD.mjs";import"../../../../../__chunks__/chunk-55U3WK3C.mjs";import"../../../../../__chunks__/chunk-N55JEIM6.mjs";import"../../../../../__chunks__/chunk-XV3H7VOE.mjs";import"../../../../../__chunks__/chunk-P2MHA65O.mjs";import"../../../../../__chunks__/chunk-N5VJJRWV.mjs";import"../../../../../__chunks__/chunk-6EKK7AJE.mjs";import"../../../../../__chunks__/chunk-4ODPAHHA.mjs";import"../../../../../__chunks__/chunk-ECEWPZGA.mjs";import"../../../../../__chunks__/chunk-MDVI45IV.mjs";import"../../../../../__chunks__/chunk-K4JJZCL3.mjs";import"../../../../../__chunks__/chunk-3C5GZ3BL.mjs";import"../../../../../__chunks__/chunk-OSG4UY2Z.mjs";import"../../../../../__chunks__/chunk-O6ALDFLM.mjs";import"../../../../../__chunks__/chunk-4MCQ27VQ.mjs";import"../../../../../__chunks__/chunk-Q2Q4XN4M.mjs";import"../../../../../__chunks__/chunk-XSUHHPZ2.mjs";import"../../../../../__chunks__/chunk-H73D4VUZ.mjs";import"../../../../../__chunks__/chunk-N4KX33RW.mjs";import"../../../../../__chunks__/chunk-55SACSMS.mjs";import"../../../../../__chunks__/chunk-UPABDY55.mjs";import"../../../../../__chunks__/chunk-J5TLE6SA.mjs";import"../../../../../__chunks__/chunk-4US7HVCR.mjs";import"../../../../../__chunks__/chunk-4QDHKULK.mjs";import"../../../../../__chunks__/chunk-4TBVQD27.mjs";import"../../../../../__chunks__/chunk-M3GFSV3G.mjs";import"../../../../../__chunks__/chunk-WV5X6BXA.mjs";import"../../../../../__chunks__/chunk-LYSI4URP.mjs";import"../../../../../__chunks__/chunk-E2GGD7D4.mjs";import"../../../../../__chunks__/chunk-L3YPAYXZ.mjs";import"../../../../../__chunks__/chunk-CXAX5TAG.mjs";import"../../../../../__chunks__/chunk-J32T6OAP.mjs";import"../../../../../__chunks__/chunk-SAN5F2PW.mjs";import"../../../../../__chunks__/chunk-LGGG3HW7.mjs";import"../../../../../__chunks__/chunk-IWP36NOU.mjs";import"../../../../../__chunks__/chunk-G5DKGX73.mjs";import"../../../../../__chunks__/chunk-ODHXJQOF.mjs";import"../../../../../__chunks__/chunk-O65OBG5D.mjs";import"../../../../../__chunks__/chunk-XXV6KGR4.mjs";import"../../../../../__chunks__/chunk-HORSXVIV.mjs";import"../../../../../__chunks__/chunk-XTATC65P.mjs";import"../../../../../__chunks__/chunk-4GCIE2BM.mjs";import"../../../../../__chunks__/chunk-NWEUIK3A.mjs";import"../../../../../__chunks__/chunk-DW6RO5LJ.mjs";import"../../../../../__chunks__/chunk-OJX2TSAZ.mjs";import"../../../../../__chunks__/chunk-XDBKPKTG.mjs";import"../../../../../__chunks__/chunk-E77ZH5JT.mjs";import"../../../../../__chunks__/chunk-JDP24JPD.mjs";import"../../../../../__chunks__/chunk-OAPLU7UX.mjs";import"../../../../../__chunks__/chunk-H5NVCCUR.mjs";import"../../../../../__chunks__/chunk-PMATTOPD.mjs";import"../../../../../__chunks__/chunk-VTEOS2MM.mjs";import"../../../../../__chunks__/chunk-EPL2CHU6.mjs";import"../../../../../__chunks__/chunk-3GGBXXXJ.mjs";import"../../../../../__chunks__/chunk-RMW3YLGD.mjs";import"../../../../../__chunks__/chunk-FPJ2PIFX.mjs";import"../../../../../__chunks__/chunk-NJN53MJV.mjs";import"../../../../../__chunks__/chunk-YSCND2MX.mjs";import"../../../../../__chunks__/chunk-YJK5FPW4.mjs";import"../../../../../__chunks__/chunk-36XFDUXN.mjs";import"../../../../../__chunks__/chunk-N56SMVGU.mjs";import"../../../../../__chunks__/chunk-NGM3AVCY.mjs";import"../../../../../__chunks__/chunk-CDTYHGXZ.mjs";import"../../../../../__chunks__/chunk-2RAULLHL.mjs";import"../../../../../__chunks__/chunk-3FXHIV6O.mjs";import"../../../../../__chunks__/chunk-6CQMLD25.mjs";import"../../../../../__chunks__/chunk-OL6LWUIJ.mjs";import"../../../../../__chunks__/chunk-KIOUFP5Q.mjs";import"../../../../../__chunks__/chunk-ZRSYQ3MT.mjs";import"../../../../../__chunks__/chunk-M6MN4RXG.mjs";import"../../../../../__chunks__/chunk-5DILKRFV.mjs";import"../../../../../__chunks__/chunk-DZ2BIDRW.mjs";import"../../../../../__chunks__/chunk-HZGRS7HG.mjs";import"../../../../../__chunks__/chunk-NTPPBM7T.mjs";import"../../../../../__chunks__/chunk-GUAXMODN.mjs";import"../../../../../__chunks__/chunk-4VA2SULD.mjs";import"../../../../../__chunks__/chunk-ZAPRDHIW.mjs";import"../../../../../__chunks__/chunk-GIZSIYH4.mjs";import"../../../../../__chunks__/chunk-WVAP3V3E.mjs";import"../../../../../__chunks__/chunk-XVX7N3JK.mjs";import"../../../../../__chunks__/chunk-HH5SA7BX.mjs";import"../../../../../__chunks__/chunk-DRPJ3IFU.mjs";import"../../../../../__chunks__/chunk-B3IKUIRK.mjs";import"../../../../../__chunks__/chunk-IXBWD6BF.mjs";import"../../../../../__chunks__/chunk-CVXQYCEE.mjs";import"../../../../../__chunks__/chunk-VCAWVAO5.mjs";import"../../../../../__chunks__/chunk-55W25Q35.mjs";import"../../../../../__chunks__/chunk-3CG4C7T4.mjs";import"../../../../../__chunks__/chunk-FNHO66WN.mjs";import"../../../../../__chunks__/chunk-CZ2S4XSL.mjs";import"../../../../../__chunks__/chunk-XNSSZDSU.mjs";import"../../../../../__chunks__/chunk-T4FRQ4JG.mjs";import"../../../../../__chunks__/chunk-7MBSWJUD.mjs";import"../../../../../__chunks__/chunk-KPK72MOE.mjs";import"../../../../../__chunks__/chunk-7VHTZYM2.mjs";import"../../../../../__chunks__/chunk-VNLGNNIL.mjs";import"../../../../../__chunks__/chunk-6JM4DPOH.mjs";import"../../../../../__chunks__/chunk-UTWIKUIK.mjs";import"../../../../../__chunks__/chunk-ZODTYAYF.mjs";import"../../../../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../../../../__chunks__/chunk-DKX6JUT6.mjs";import"../../../../../__chunks__/chunk-AGJVEK6I.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-IVHD32VC.mjs";import"../../../../../__chunks__/chunk-TVXZBSUY.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-SALLGAGD.mjs";import"../../../../../__chunks__/chunk-G5N56FHJ.mjs";import"../../../../../__chunks__/chunk-TX7PTLVP.mjs";import"../../../../../__chunks__/chunk-WZ2DNB3R.mjs";import"../../../../../__chunks__/chunk-DFSBS3PX.mjs";import"../../../../../__chunks__/chunk-GFR6K4DR.mjs";import"../../../../../__chunks__/chunk-6D53LH5J.mjs";import"../../../../../__chunks__/chunk-H33OUO77.mjs";import"../../../../../__chunks__/chunk-HQQMSHTW.mjs";import"../../../../../__chunks__/chunk-ZKBKYLAP.mjs";import"../../../../../__chunks__/chunk-6UMOECOW.mjs";import"../../../../../__chunks__/chunk-54B3EIZC.mjs";import"../../../../../__chunks__/chunk-QJ7MRSGB.mjs";import"../../../../../__chunks__/chunk-VDDXFGB2.mjs";import"../../../../../__chunks__/chunk-UCNS6KD5.mjs";import"../../../../../__chunks__/chunk-35MNP3LA.mjs";import"../../../../../__chunks__/chunk-UQU2VWPJ.mjs";import"../../../../../__chunks__/chunk-YJCTRUJT.mjs";import"../../../../../__chunks__/chunk-PJWJZHIS.mjs";import"../../../../../__chunks__/chunk-QNELH2S2.mjs";import"../../../../../__chunks__/chunk-2JKCBTYK.mjs";import"../../../../../__chunks__/chunk-7UA7QAEF.mjs";import"../../../../../__chunks__/chunk-FTJF3Q3P.mjs";import"../../../../../__chunks__/chunk-YUITECZ5.mjs";import"../../../../../__chunks__/chunk-2BSPSW6X.mjs";import"../../../../../__chunks__/chunk-BTJWNUM6.mjs";import"../../../../../__chunks__/chunk-TRMQFQOQ.mjs";import"../../../../../__chunks__/chunk-WZI2I6NX.mjs";import"../../../../../__chunks__/chunk-TVELGQIH.mjs";import"../../../../../__chunks__/chunk-OVXVICF7.mjs";import"../../../../../__chunks__/chunk-NTEMINYA.mjs";import"../../../../../__chunks__/chunk-WRLZ5ICK.mjs";import"../../../../../__chunks__/chunk-I3MK6KZJ.mjs";import"../../../../../__chunks__/chunk-UCRVRBTA.mjs";import"../../../../../__chunks__/chunk-MGQ373AO.mjs";import"../../../../../__chunks__/chunk-RPTH42EF.mjs";import"../../../../../__chunks__/chunk-3UNGCOKO.mjs";import"../../../../../__chunks__/chunk-TR2KNDCH.mjs";import"../../../../../__chunks__/chunk-5Y2ZDPP6.mjs";import"../../../../../__chunks__/chunk-WYVAFCPU.mjs";import"../../../../../__chunks__/chunk-EJV4VNJG.mjs";import"../../../../../__chunks__/chunk-6R2WFQ7U.mjs";import"../../../../../__chunks__/chunk-NAYDJEWI.mjs";import"../../../../../__chunks__/chunk-FI444OX3.mjs";import"../../../../../__chunks__/chunk-LHEH7L4L.mjs";import"../../../../../__chunks__/chunk-PKDR5ERF.mjs";import"../../../../../__chunks__/chunk-MGFIOCA4.mjs";import"../../../../../__chunks__/chunk-GGBMHKR4.mjs";import"../../../../../__chunks__/chunk-NWJYEKI2.mjs";import"../../../../../__chunks__/chunk-LJX4MW7B.mjs";import"../../../../../__chunks__/chunk-DTQL3IDP.mjs";import"../../../../../__chunks__/chunk-CKTFPRJS.mjs";import"../../../../../__chunks__/chunk-RV6SJMD7.mjs";import"../../../../../__chunks__/chunk-HUXPA4C2.mjs";import"../../../../../__chunks__/chunk-EHDGJUEU.mjs";import"../../../../../__chunks__/chunk-HOCSCRJF.mjs";import"../../../../../__chunks__/chunk-URTM5OGN.mjs";import"../../../../../__chunks__/chunk-UE3IBKCO.mjs";import"../../../../../__chunks__/chunk-H6IZMTJK.mjs";import"../../../../../__chunks__/chunk-B2UIPHJ3.mjs";export{a as authenticateLedgerAccount};
|
|
2
|
+
//# sourceMappingURL=authenticateLedgerAccount.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var g=Object.create;var i=Object.defineProperty;var a=Object.getOwnPropertyDescriptor;var l=Object.getOwnPropertyNames;var T=Object.getPrototypeOf,h=Object.prototype.hasOwnProperty;var A=(t,e)=>{for(var r in e)i(t,r,{get:e[r],enumerable:!0})},d=(t,e,r,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of l(e))!h.call(t,n)&&n!==r&&i(t,n,{get:()=>e[n],enumerable:!(o=a(e,n))||o.enumerable});return t};var p=(t,e,r)=>(r=t!=null?g(T(t)):{},d(e||!t||!t.__esModule?i(r,"default",{value:t,enumerable:!0}):r,t)),x=t=>d(i({},"__esModule",{value:!0}),t);var k={};A(k,{getAuthTokenText:()=>L});module.exports=x(k);var u=require("
|
|
1
|
+
"use strict";var g=Object.create;var i=Object.defineProperty;var a=Object.getOwnPropertyDescriptor;var l=Object.getOwnPropertyNames;var T=Object.getPrototypeOf,h=Object.prototype.hasOwnProperty;var A=(t,e)=>{for(var r in e)i(t,r,{get:e[r],enumerable:!0})},d=(t,e,r,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of l(e))!h.call(t,n)&&n!==r&&i(t,n,{get:()=>e[n],enumerable:!(o=a(e,n))||o.enumerable});return t};var p=(t,e,r)=>(r=t!=null?g(T(t)):{},d(e||!t||!t.__esModule?i(r,"default",{value:t,enumerable:!0}):r,t)),x=t=>d(i({},"__esModule",{value:!0}),t);var k={};A(k,{getAuthTokenText:()=>L});module.exports=x(k);var u=require("../../../../../../services/nativeAuth/helpers/decodeLoginToken"),m=p(require("./getLedgerVersionOptions")),c=require("./secondsToTimeString");const L=({loginToken:t,version:e})=>{if(!t||!e)return null;const{ledgerWithUsernames:r}=(0,m.default)(e),o=(0,u.decodeLoginToken)(t);if(o==null)return null;const n="Confirm Ledger Address",s="Authorise Authentication Token";if(r){const f=(0,c.secondsToTimeString)(o.ttl);return{data:`${o.origin} for ${f}.`,confirmAddressText:n,authText:s}}return{data:t,confirmAddressText:n,authText:s}};0&&(module.exports={getAuthTokenText});
|
|
2
2
|
//# sourceMappingURL=getAuthTokenText.cjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
|
-
"sources": ["
|
|
3
|
+
"sources": ["../../../../../../../src/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/getAuthTokenText.ts"],
|
|
4
4
|
"sourcesContent": ["import { decodeLoginToken } from 'services/nativeAuth/helpers/decodeLoginToken';\nimport getLedgerVersionOptions from './getLedgerVersionOptions';\nimport { secondsToTimeString } from './secondsToTimeString';\n\nexport const getAuthTokenText = ({\n loginToken,\n version\n}: {\n loginToken?: string;\n version?: string;\n}) => {\n if (!loginToken || !version) {\n return null;\n }\n\n const { ledgerWithUsernames } = getLedgerVersionOptions(version);\n const nativeAuthInfo = decodeLoginToken(loginToken);\n if (nativeAuthInfo == null) {\n return null;\n }\n\n const confirmAddressText = 'Confirm Ledger Address';\n const authText = 'Authorise Authentication Token';\n\n if (ledgerWithUsernames) {\n const time = secondsToTimeString(nativeAuthInfo.ttl);\n\n return {\n data: `${nativeAuthInfo.origin} for ${time}.`,\n confirmAddressText,\n authText\n };\n }\n\n return {\n data: loginToken,\n confirmAddressText,\n authText\n };\n};\n"],
|
|
5
5
|
"mappings": "0jBAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,sBAAAE,IAAA,eAAAC,EAAAH,GAAA,IAAAI,EAAiC,wDACjCC,EAAoC,wCACpCC,EAAoC,iCAE7B,MAAMJ,EAAmB,CAAC,CAC/B,WAAAK,EACA,QAAAC,CACF,IAGM,CACJ,GAAI,CAACD,GAAc,CAACC,EAClB,OAAO,KAGT,KAAM,CAAE,oBAAAC,CAAoB,KAAI,EAAAC,SAAwBF,CAAO,EACzDG,KAAiB,oBAAiBJ,CAAU,EAClD,GAAII,GAAkB,KACpB,OAAO,KAGT,MAAMC,EAAqB,yBACrBC,EAAW,iCAEjB,GAAIJ,EAAqB,CACvB,MAAMK,KAAO,uBAAoBH,EAAe,GAAG,EAEnD,MAAO,CACL,KAAM,GAAGA,EAAe,MAAM,QAAQG,CAAI,IAC1C,mBAAAF,EACA,SAAAC,CACF,CACF,CAEA,MAAO,CACL,KAAMN,EACN,mBAAAK,EACA,SAAAC,CACF,CACF",
|
|
6
6
|
"names": ["getAuthTokenText_exports", "__export", "getAuthTokenText", "__toCommonJS", "import_decodeLoginToken", "import_getLedgerVersionOptions", "import_secondsToTimeString", "loginToken", "version", "ledgerWithUsernames", "getLedgerVersionOptions", "nativeAuthInfo", "confirmAddressText", "authText", "time"]
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{a}from"../../../../../../__chunks__/chunk-5W7PFHTT.mjs";import"../../../../../../__chunks__/chunk-KDTDQL52.mjs";import"../../../../../../__chunks__/chunk-BCSNXRMR.mjs";import"../../../../../../__chunks__/chunk-PMATTOPD.mjs";import"../../../../../../__chunks__/chunk-FTJF3Q3P.mjs";import"../../../../../../__chunks__/chunk-5Y2ZDPP6.mjs";import"../../../../../../__chunks__/chunk-WYVAFCPU.mjs";import"../../../../../../__chunks__/chunk-EJV4VNJG.mjs";import"../../../../../../__chunks__/chunk-6R2WFQ7U.mjs";import"../../../../../../__chunks__/chunk-NAYDJEWI.mjs";import"../../../../../../__chunks__/chunk-FI444OX3.mjs";import"../../../../../../__chunks__/chunk-LHEH7L4L.mjs";import"../../../../../../__chunks__/chunk-PKDR5ERF.mjs";import"../../../../../../__chunks__/chunk-MGFIOCA4.mjs";import"../../../../../../__chunks__/chunk-GGBMHKR4.mjs";import"../../../../../../__chunks__/chunk-NWJYEKI2.mjs";import"../../../../../../__chunks__/chunk-LJX4MW7B.mjs";import"../../../../../../__chunks__/chunk-URTM5OGN.mjs";export{a as getAuthTokenText};
|
|
2
|
+
//# sourceMappingURL=getAuthTokenText.mjs.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";var E=Object.defineProperty;var g=Object.getOwnPropertyDescriptor;var c=Object.getOwnPropertyNames;var l=Object.prototype.hasOwnProperty;var N=(t,e)=>{for(var i in e)E(t,i,{get:e[i],enumerable:!0})},S=(t,e,i,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of c(e))!l.call(t,s)&&s!==i&&E(t,s,{get:()=>e[s],enumerable:!(r=g(e,s))||r.enumerable});return t};var h=t=>S(E({},"__esModule",{value:!0}),t);var u={};N(u,{default:()=>a,getLedgerVersionOptions:()=>O});module.exports=h(u);var n=require("../../../../../../constants/index");function x(t,e){let i,r;const s=/(\.0+)+$/,I=t.replace(s,"").split("."),d=e.replace(s,"").split("."),_=Math.min(I.length,d.length);for(i=0;i<_;i++)if(r=parseInt(I[i],10)-parseInt(d[i],10),r)return r;return I.length-d.length}function O(t){const e=[n.LEDGER_MULTI_ACCOUNT_MINIMUM_VERSION,n.LEDGER_HASH_SIGN_MINIMUM_VERSION,n.LEDGER_SIGN_AUTH_TOKEN_MINIMUM_VERSION,n.LEDGER_WITH_WHITELISTED_TOKENS_MINIMUM_VERSION,n.LEDGER_WITH_GUARDIANS_MINIMUM_VERSION,n.LEDGER_WITH_USERNAMES_MINIMUM_VERSION,t].sort((M,f)=>x(M,f)),i=e.indexOf(n.LEDGER_MULTI_ACCOUNT_MINIMUM_VERSION),r=e.indexOf(n.LEDGER_HASH_SIGN_MINIMUM_VERSION),s=e.indexOf(n.LEDGER_SIGN_AUTH_TOKEN_MINIMUM_VERSION),I=e.indexOf(n.LEDGER_WITH_WHITELISTED_TOKENS_MINIMUM_VERSION),d=e.indexOf(n.LEDGER_WITH_GUARDIANS_MINIMUM_VERSION),_=e.indexOf(n.LEDGER_WITH_USERNAMES_MINIMUM_VERSION),o=e.indexOf(t);return{ledgerWithMultiAccount:o>=i,ledgerWithHashSign:o>=r,ledgerWithSignAuthToken:o>=s,ledgerWithWhitelistedTokens:o>=I,ledgerWithGuardians:o>=d,ledgerWithUsernames:o>=_}}var a=O;0&&(module.exports={getLedgerVersionOptions});
|
|
2
|
+
//# sourceMappingURL=getLedgerVersionOptions.cjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
|
-
"sources": ["
|
|
3
|
+
"sources": ["../../../../../../../src/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/getLedgerVersionOptions.ts"],
|
|
4
4
|
"sourcesContent": ["import {\n LEDGER_HASH_SIGN_MINIMUM_VERSION,\n LEDGER_MULTI_ACCOUNT_MINIMUM_VERSION,\n LEDGER_SIGN_AUTH_TOKEN_MINIMUM_VERSION,\n LEDGER_WITH_WHITELISTED_TOKENS_MINIMUM_VERSION,\n LEDGER_WITH_GUARDIANS_MINIMUM_VERSION,\n LEDGER_WITH_USERNAMES_MINIMUM_VERSION\n} from 'constants/index';\n\nfunction compareVersions(a: string, b: string) {\n let i, diff;\n const regExStrip0 = /(\\.0+)+$/;\n const segmentsA = a.replace(regExStrip0, '').split('.');\n const segmentsB = b.replace(regExStrip0, '').split('.');\n const l = Math.min(segmentsA.length, segmentsB.length);\n\n for (i = 0; i < l; i++) {\n diff = parseInt(segmentsA[i], 10) - parseInt(segmentsB[i], 10);\n if (diff) {\n return diff;\n }\n }\n return segmentsA.length - segmentsB.length;\n}\n\nexport function getLedgerVersionOptions(version: string) {\n const sortedVersions = [\n LEDGER_MULTI_ACCOUNT_MINIMUM_VERSION,\n LEDGER_HASH_SIGN_MINIMUM_VERSION,\n LEDGER_SIGN_AUTH_TOKEN_MINIMUM_VERSION,\n LEDGER_WITH_WHITELISTED_TOKENS_MINIMUM_VERSION,\n LEDGER_WITH_GUARDIANS_MINIMUM_VERSION,\n LEDGER_WITH_USERNAMES_MINIMUM_VERSION,\n version\n ].sort((a, b) => compareVersions(a, b));\n\n const indexOfMultiAccount = sortedVersions.indexOf(\n LEDGER_MULTI_ACCOUNT_MINIMUM_VERSION\n );\n const indexOfHashSign = sortedVersions.indexOf(\n LEDGER_HASH_SIGN_MINIMUM_VERSION\n );\n const indexOfSignAuthToken = sortedVersions.indexOf(\n LEDGER_SIGN_AUTH_TOKEN_MINIMUM_VERSION\n );\n const indexOfWhitelistedTokens = sortedVersions.indexOf(\n LEDGER_WITH_WHITELISTED_TOKENS_MINIMUM_VERSION\n );\n const indexOfGuardians = sortedVersions.indexOf(\n LEDGER_WITH_GUARDIANS_MINIMUM_VERSION\n );\n const indexOfUsernames = sortedVersions.indexOf(\n LEDGER_WITH_USERNAMES_MINIMUM_VERSION\n );\n const indexOfVersion = sortedVersions.indexOf(version);\n\n return {\n ledgerWithMultiAccount: indexOfVersion >= indexOfMultiAccount,\n ledgerWithHashSign: indexOfVersion >= indexOfHashSign,\n ledgerWithSignAuthToken: indexOfVersion >= indexOfSignAuthToken,\n ledgerWithWhitelistedTokens: indexOfVersion >= indexOfWhitelistedTokens,\n ledgerWithGuardians: indexOfVersion >= indexOfGuardians,\n ledgerWithUsernames: indexOfVersion >= indexOfUsernames\n };\n}\n\nexport default getLedgerVersionOptions;\n"],
|
|
5
5
|
"mappings": "yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,aAAAE,EAAA,4BAAAC,IAAA,eAAAC,EAAAJ,GAAA,IAAAK,EAOO,2BAEP,SAASC,EAAgBC,EAAWC,EAAW,CAC7C,IAAI,EAAGC,EACP,MAAMC,EAAc,WACdC,EAAYJ,EAAE,QAAQG,EAAa,EAAE,EAAE,MAAM,GAAG,EAChDE,EAAYJ,EAAE,QAAQE,EAAa,EAAE,EAAE,MAAM,GAAG,EAChDG,EAAI,KAAK,IAAIF,EAAU,OAAQC,EAAU,MAAM,EAErD,IAAK,EAAI,EAAG,EAAIC,EAAG,IAEjB,GADAJ,EAAO,SAASE,EAAU,CAAC,EAAG,EAAE,EAAI,SAASC,EAAU,CAAC,EAAG,EAAE,EACzDH,EACF,OAAOA,EAGX,OAAOE,EAAU,OAASC,EAAU,MACtC,CAEO,SAAST,EAAwBW,EAAiB,CACvD,MAAMC,EAAiB,CACrB,uCACA,mCACA,yCACA,iDACA,wCACA,wCACAD,CACF,EAAE,KAAK,CAACP,EAAGC,IAAMF,EAAgBC,EAAGC,CAAC,CAAC,EAEhCQ,EAAsBD,EAAe,QACzC,sCACF,EACME,EAAkBF,EAAe,QACrC,kCACF,EACMG,EAAuBH,EAAe,QAC1C,wCACF,EACMI,EAA2BJ,EAAe,QAC9C,gDACF,EACMK,EAAmBL,EAAe,QACtC,uCACF,EACMM,EAAmBN,EAAe,QACtC,uCACF,EACMO,EAAiBP,EAAe,QAAQD,CAAO,EAErD,MAAO,CACL,uBAAwBQ,GAAkBN,EAC1C,mBAAoBM,GAAkBL,EACtC,wBAAyBK,GAAkBJ,EAC3C,4BAA6BI,GAAkBH,EAC/C,oBAAqBG,GAAkBF,EACvC,oBAAqBE,GAAkBD,CACzC,CACF,CAEA,IAAOnB,EAAQC",
|
|
6
6
|
"names": ["getLedgerVersionOptions_exports", "__export", "getLedgerVersionOptions_default", "getLedgerVersionOptions", "__toCommonJS", "import_constants", "compareVersions", "a", "b", "diff", "regExStrip0", "segmentsA", "segmentsB", "l", "version", "sortedVersions", "indexOfMultiAccount", "indexOfHashSign", "indexOfSignAuthToken", "indexOfWhitelistedTokens", "indexOfGuardians", "indexOfUsernames", "indexOfVersion"]
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{a,b}from"../../../../../../__chunks__/chunk-BCSNXRMR.mjs";import"../../../../../../__chunks__/chunk-5Y2ZDPP6.mjs";import"../../../../../../__chunks__/chunk-WYVAFCPU.mjs";import"../../../../../../__chunks__/chunk-EJV4VNJG.mjs";import"../../../../../../__chunks__/chunk-6R2WFQ7U.mjs";import"../../../../../../__chunks__/chunk-NAYDJEWI.mjs";import"../../../../../../__chunks__/chunk-FI444OX3.mjs";import"../../../../../../__chunks__/chunk-LHEH7L4L.mjs";import"../../../../../../__chunks__/chunk-PKDR5ERF.mjs";import"../../../../../../__chunks__/chunk-MGFIOCA4.mjs";import"../../../../../../__chunks__/chunk-GGBMHKR4.mjs";import"../../../../../../__chunks__/chunk-NWJYEKI2.mjs";import"../../../../../../__chunks__/chunk-LJX4MW7B.mjs";import"../../../../../../__chunks__/chunk-URTM5OGN.mjs";export{b as default,a as getLedgerVersionOptions};
|
|
2
|
+
//# sourceMappingURL=getLedgerVersionOptions.mjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
|
-
"sources": ["
|
|
3
|
+
"sources": ["../../../../../../../src/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/secondsToTimeString.ts"],
|
|
4
4
|
"sourcesContent": ["import isString from 'lodash.isstring';\n\nexport const secondsToTimeString = (seconds: number) => {\n if (seconds <= 0 || isNaN(seconds) || !seconds || isString(seconds)) {\n return 'N/A time';\n }\n\n if (seconds >= 86400) {\n return 'more than one day';\n }\n\n const hours = Math.floor(seconds / 3600);\n const remainingSeconds = seconds % 3600;\n const minutes = Math.floor(remainingSeconds / 60);\n const remainingSecondsAfterMinutes = remainingSeconds % 60;\n\n const parts = [];\n if (hours > 0) {\n parts.push(`${hours}h`);\n }\n if (minutes > 0) {\n parts.push(`${minutes}min`);\n }\n if (remainingSecondsAfterMinutes > 0) {\n parts.push(`${remainingSecondsAfterMinutes}sec`);\n }\n\n return parts.join(' ');\n};\n"],
|
|
5
5
|
"mappings": "0jBAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,yBAAAE,IAAA,eAAAC,EAAAH,GAAA,IAAAI,EAAqB,8BAEd,MAAMF,EAAuBG,GAAoB,CACtD,GAAIA,GAAW,GAAK,MAAMA,CAAO,GAAK,CAACA,MAAW,EAAAC,SAASD,CAAO,EAChE,MAAO,WAGT,GAAIA,GAAW,MACb,MAAO,oBAGT,MAAME,EAAQ,KAAK,MAAMF,EAAU,IAAI,EACjCG,EAAmBH,EAAU,KAC7BI,EAAU,KAAK,MAAMD,EAAmB,EAAE,EAC1CE,EAA+BF,EAAmB,GAElDG,EAAQ,CAAC,EACf,OAAIJ,EAAQ,GACVI,EAAM,KAAK,GAAGJ,CAAK,GAAG,EAEpBE,EAAU,GACZE,EAAM,KAAK,GAAGF,CAAO,KAAK,EAExBC,EAA+B,GACjCC,EAAM,KAAK,GAAGD,CAA4B,KAAK,EAG1CC,EAAM,KAAK,GAAG,CACvB",
|
|
6
6
|
"names": ["secondsToTimeString_exports", "__export", "secondsToTimeString", "__toCommonJS", "import_lodash", "seconds", "isString", "hours", "remainingSeconds", "minutes", "remainingSecondsAfterMinutes", "parts"]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
|
-
"sources": ["
|
|
3
|
+
"sources": ["../../../../../../../../src/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/updateAccountsList/index.ts"],
|
|
4
4
|
"sourcesContent": ["export * from './updateAccountsList';\n"],
|
|
5
5
|
"mappings": "iaAAA,IAAAA,EAAA,kBAAAC,EAAAD,GAAAE,EAAAF,EAAc,gCAAd",
|
|
6
6
|
"names": ["updateAccountsList_exports", "__toCommonJS", "__reExport"]
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import"../../../../../../../__chunks__/chunk-C4SERLP4.mjs";import{a}from"../../../../../../../__chunks__/chunk-YGMILCHH.mjs";import"../../../../../../../__chunks__/chunk-UT4BWFQH.mjs";import"../../../../../../../__chunks__/chunk-YGI3KXMZ.mjs";import"../../../../../../../__chunks__/chunk-XSUHHPZ2.mjs";import"../../../../../../../__chunks__/chunk-VTEOS2MM.mjs";import"../../../../../../../__chunks__/chunk-EPL2CHU6.mjs";import"../../../../../../../__chunks__/chunk-3GGBXXXJ.mjs";import"../../../../../../../__chunks__/chunk-N56SMVGU.mjs";import"../../../../../../../__chunks__/chunk-XNSSZDSU.mjs";import"../../../../../../../__chunks__/chunk-T4FRQ4JG.mjs";import"../../../../../../../__chunks__/chunk-7MBSWJUD.mjs";import"../../../../../../../__chunks__/chunk-KPK72MOE.mjs";import"../../../../../../../__chunks__/chunk-7VHTZYM2.mjs";import"../../../../../../../__chunks__/chunk-VNLGNNIL.mjs";import"../../../../../../../__chunks__/chunk-6JM4DPOH.mjs";import"../../../../../../../__chunks__/chunk-UTWIKUIK.mjs";import"../../../../../../../__chunks__/chunk-ZODTYAYF.mjs";import"../../../../../../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../../../../../../__chunks__/chunk-DKX6JUT6.mjs";import"../../../../../../../__chunks__/chunk-AGJVEK6I.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-IVHD32VC.mjs";import"../../../../../../../__chunks__/chunk-TVXZBSUY.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-2JKCBTYK.mjs";import"../../../../../../../__chunks__/chunk-YUITECZ5.mjs";import"../../../../../../../__chunks__/chunk-2BSPSW6X.mjs";import"../../../../../../../__chunks__/chunk-BTJWNUM6.mjs";import"../../../../../../../__chunks__/chunk-TRMQFQOQ.mjs";import"../../../../../../../__chunks__/chunk-WZI2I6NX.mjs";import"../../../../../../../__chunks__/chunk-TVELGQIH.mjs";import"../../../../../../../__chunks__/chunk-OVXVICF7.mjs";import"../../../../../../../__chunks__/chunk-NTEMINYA.mjs";import"../../../../../../../__chunks__/chunk-PKDR5ERF.mjs";import"../../../../../../../__chunks__/chunk-MGFIOCA4.mjs";import"../../../../../../../__chunks__/chunk-GGBMHKR4.mjs";import"../../../../../../../__chunks__/chunk-NWJYEKI2.mjs";import"../../../../../../../__chunks__/chunk-URTM5OGN.mjs";export{a as updateAccountsList};
|
|
2
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";var R=Object.create;var d=Object.defineProperty;var T=Object.getOwnPropertyDescriptor;var V=Object.getOwnPropertyNames;var k=Object.getPrototypeOf,v=Object.prototype.hasOwnProperty;var F=(t,e)=>{for(var o in e)d(t,o,{get:e[o],enumerable:!0})},b=(t,e,o,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of V(e))!v.call(t,s)&&s!==o&&d(t,s,{get:()=>e[s],enumerable:!(r=T(e,s))||r.enumerable});return t};var z=(t,e,o)=>(o=t!=null?R(k(t)):{},b(e||!t||!t.__esModule?d(o,"default",{value:t,enumerable:!0}):o,t)),C=t=>b(d({},"__esModule",{value:!0}),t);var M={};F(M,{updateAccountsList:()=>D});module.exports=C(M);var A=z(require("bignumber.js")),g=require("../../../../../../../apiCalls/economics/getEconomics"),w=require("../../../../../../../lib/sdkDappUtils"),x=require("../../../../../../../methods/network/getNetworkConfig"),I=require("../../../../../../../types"),y=require("../../../../../../../utils/account/fetchAccount"),L=require("../../../../../../../utils/operations/getUsdValue");const D=async({manager:t,provider:e})=>{if(!t||!e)throw new Error(I.ProviderErrorsEnum.notInitialized);const{network:o}=(0,x.getNetworkConfig)(),r=t.getAccountScreenData()?.startIndex||0,s=t.getAllAccounts(),u=await(0,g.getEconomics)({baseURL:o.apiAddress}),p=a=>a.index>=r&&a.index<r+t.addressesPerPage,P=s.reduce((a,i)=>Object.assign(a,{[i.index]:i}),{}),f=s.filter(p),h=!!P[r];if(t.updateAccountScreen({isLoading:!h}),f.length>0){t.updateAccountScreen({accounts:f});return}try{const a=Math.floor(r/t.addressesPerPage),i=await e.getAccounts(a,t.addressesPerPage),j=i.map((c,n)=>({address:c,balance:"...",index:n+r})),O=[...s,...j],S=i.map(c=>(0,y.fetchAccount)({address:c,baseURL:o.apiAddress})),U=await Promise.all(S),l=O.reduce((c,n)=>Object.assign(c,{[n.address]:n}),{});U.forEach(c=>{if(!c||!u||!u.price)return;const n=new A.default(c.balance),E=n.dividedBy((0,A.default)(10).pow(18)).toFormat(4).toString();if(n.isNaN())return;const N=(0,L.getUsdValue)({amount:(0,w.formatAmount)({input:c.balance}),usd:u?.price});l[c.address].balance=E,l[c.address].usdValue=N});const m=Object.values(l).sort((c,n)=>c.index-n.index),B=m.filter(p);t.updateAllAccounts(m),t.updateAccountScreen({accounts:B,isLoading:!1})}catch(a){console.error("Failed to fetch accounts:",a)}};0&&(module.exports={updateAccountsList});
|
|
2
|
+
//# sourceMappingURL=updateAccountsList.cjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../../../../../src/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/updateAccountsList/updateAccountsList.ts"],
|
|
4
|
+
"sourcesContent": ["import BigNumber from 'bignumber.js';\n\nimport { getEconomics } from 'apiCalls/economics/getEconomics';\nimport { formatAmount } from 'lib/sdkDappUtils';\nimport { getNetworkConfig } from 'methods/network/getNetworkConfig';\nimport { ProviderErrorsEnum } from 'types';\nimport { fetchAccount } from 'utils/account/fetchAccount';\nimport { getUsdValue } from 'utils/operations/getUsdValue';\n\nimport {\n IUpdateAccountsList,\n UpdateAccountObjectType\n} from './updateAccountsList.types';\nimport { ILedgerAccount } from '../../../../types/ledger.types';\n\n/**\n * Updates the list of accounts and fetches their balances.\n *\n * This function performs the following steps:\n * 1. Checks if the manager and provider are initialized; if not, throws an error.\n * 2. Retrieves the starting index for pagination and the current list of accounts.\n * 3. Checks if there is already data for the current page to avoid unnecessary fetching.\n * 4. If no data is present, it fetches the accounts from the wallet provider.\n * 5. Updates the state manager with the new account data and their balances.\n * 6. Handles errors by reverting to existing accounts and logging the error.\n */\nexport const updateAccountsList = async ({\n manager,\n provider\n}: IUpdateAccountsList) => {\n if (!manager || !provider) {\n throw new Error(ProviderErrorsEnum.notInitialized);\n }\n\n const { network } = getNetworkConfig();\n const startIndex = manager.getAccountScreenData()?.startIndex || 0;\n const allAccounts = manager.getAllAccounts();\n const economics = await getEconomics({ baseURL: network.apiAddress });\n\n const filterByStartIndexRange = (account: ILedgerAccount) =>\n account.index >= startIndex &&\n account.index < startIndex + manager.addressesPerPage;\n\n const allAccountsObject = allAccounts.reduce(\n (accountsObject: UpdateAccountObjectType, account) =>\n Object.assign(accountsObject, { [account.index]: account }),\n {}\n );\n\n const currentAccounts = allAccounts.filter(filterByStartIndexRange);\n const isStartIndexInAccounts = Boolean(allAccountsObject[startIndex]);\n\n manager.updateAccountScreen({\n isLoading: !isStartIndexInAccounts\n });\n\n if (currentAccounts.length > 0) {\n manager.updateAccountScreen({ accounts: currentAccounts });\n return;\n }\n\n try {\n const page = Math.floor(startIndex / manager.addressesPerPage);\n\n const accountsArray = await provider.getAccounts(\n page,\n manager.addressesPerPage\n );\n\n const accountsWithBalance = accountsArray.map(\n (address, accountIindex): ILedgerAccount => ({\n address,\n balance: '...',\n index: accountIindex + startIndex\n })\n );\n\n const newAllAccounts = [...allAccounts, ...accountsWithBalance];\n const balancePromises = accountsArray.map((address) =>\n fetchAccount({ address, baseURL: network.apiAddress })\n );\n\n const balances = await Promise.all(balancePromises);\n const newAllAccountsObject = newAllAccounts.reduce(\n (accountsObject: UpdateAccountObjectType, account) =>\n Object.assign(accountsObject, { [account.address]: account }),\n {}\n );\n\n balances.forEach((account) => {\n if (!account || !economics || !economics.price) {\n return;\n }\n\n const balanceBigNumber = new BigNumber(account.balance);\n const formattedBalance = balanceBigNumber\n .dividedBy(BigNumber(10).pow(18))\n .toFormat(4)\n .toString();\n\n if (balanceBigNumber.isNaN()) {\n return;\n }\n\n const usdValue = getUsdValue({\n amount: formatAmount({ input: account.balance }),\n usd: economics?.price\n });\n\n newAllAccountsObject[account.address].balance = formattedBalance;\n newAllAccountsObject[account.address].usdValue = usdValue;\n });\n\n const newAllAccountsArray = Object.values(newAllAccountsObject).sort(\n (alpha, beta) => alpha.index - beta.index\n );\n\n const accountsScreenArray = newAllAccountsArray.filter(\n filterByStartIndexRange\n );\n\n manager.updateAllAccounts(newAllAccountsArray);\n manager.updateAccountScreen({\n accounts: accountsScreenArray,\n isLoading: false\n });\n } catch (error) {\n console.error('Failed to fetch accounts:', error);\n }\n};\n"],
|
|
5
|
+
"mappings": "0jBAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,wBAAAE,IAAA,eAAAC,EAAAH,GAAA,IAAAI,EAAsB,2BAEtBC,EAA6B,2CAC7BC,EAA6B,4BAC7BC,EAAiC,4CACjCC,EAAmC,iBACnCC,EAA6B,sCAC7BC,EAA4B,wCAmBrB,MAAMR,EAAqB,MAAO,CACvC,QAAAS,EACA,SAAAC,CACF,IAA2B,CACzB,GAAI,CAACD,GAAW,CAACC,EACf,MAAM,IAAI,MAAM,qBAAmB,cAAc,EAGnD,KAAM,CAAE,QAAAC,CAAQ,KAAI,oBAAiB,EAC/BC,EAAaH,EAAQ,qBAAqB,GAAG,YAAc,EAC3DI,EAAcJ,EAAQ,eAAe,EACrCK,EAAY,QAAM,gBAAa,CAAE,QAASH,EAAQ,UAAW,CAAC,EAE9DI,EAA2BC,GAC/BA,EAAQ,OAASJ,GACjBI,EAAQ,MAAQJ,EAAaH,EAAQ,iBAEjCQ,EAAoBJ,EAAY,OACpC,CAACK,EAAyCF,IACxC,OAAO,OAAOE,EAAgB,CAAE,CAACF,EAAQ,KAAK,EAAGA,CAAQ,CAAC,EAC5D,CAAC,CACH,EAEMG,EAAkBN,EAAY,OAAOE,CAAuB,EAC5DK,EAAyB,EAAQH,EAAkBL,CAAU,EAMnE,GAJAH,EAAQ,oBAAoB,CAC1B,UAAW,CAACW,CACd,CAAC,EAEGD,EAAgB,OAAS,EAAG,CAC9BV,EAAQ,oBAAoB,CAAE,SAAUU,CAAgB,CAAC,EACzD,MACF,CAEA,GAAI,CACF,MAAME,EAAO,KAAK,MAAMT,EAAaH,EAAQ,gBAAgB,EAEvDa,EAAgB,MAAMZ,EAAS,YACnCW,EACAZ,EAAQ,gBACV,EAEMc,EAAsBD,EAAc,IACxC,CAACE,EAASC,KAAmC,CAC3C,QAAAD,EACA,QAAS,MACT,MAAOC,EAAgBb,CACzB,EACF,EAEMc,EAAiB,CAAC,GAAGb,EAAa,GAAGU,CAAmB,EACxDI,EAAkBL,EAAc,IAAKE,MACzC,gBAAa,CAAE,QAAAA,EAAS,QAASb,EAAQ,UAAW,CAAC,CACvD,EAEMiB,EAAW,MAAM,QAAQ,IAAID,CAAe,EAC5CE,EAAuBH,EAAe,OAC1C,CAACR,EAAyCF,IACxC,OAAO,OAAOE,EAAgB,CAAE,CAACF,EAAQ,OAAO,EAAGA,CAAQ,CAAC,EAC9D,CAAC,CACH,EAEAY,EAAS,QAASZ,GAAY,CAC5B,GAAI,CAACA,GAAW,CAACF,GAAa,CAACA,EAAU,MACvC,OAGF,MAAMgB,EAAmB,IAAI,EAAAC,QAAUf,EAAQ,OAAO,EAChDgB,EAAmBF,EACtB,aAAU,EAAAC,SAAU,EAAE,EAAE,IAAI,EAAE,CAAC,EAC/B,SAAS,CAAC,EACV,SAAS,EAEZ,GAAID,EAAiB,MAAM,EACzB,OAGF,MAAMG,KAAW,eAAY,CAC3B,UAAQ,gBAAa,CAAE,MAAOjB,EAAQ,OAAQ,CAAC,EAC/C,IAAKF,GAAW,KAClB,CAAC,EAEDe,EAAqBb,EAAQ,OAAO,EAAE,QAAUgB,EAChDH,EAAqBb,EAAQ,OAAO,EAAE,SAAWiB,CACnD,CAAC,EAED,MAAMC,EAAsB,OAAO,OAAOL,CAAoB,EAAE,KAC9D,CAACM,EAAOC,IAASD,EAAM,MAAQC,EAAK,KACtC,EAEMC,EAAsBH,EAAoB,OAC9CnB,CACF,EAEAN,EAAQ,kBAAkByB,CAAmB,EAC7CzB,EAAQ,oBAAoB,CAC1B,SAAU4B,EACV,UAAW,EACb,CAAC,CACH,OAASC,EAAO,CACd,QAAQ,MAAM,4BAA6BA,CAAK,CAClD,CACF",
|
|
6
|
+
"names": ["updateAccountsList_exports", "__export", "updateAccountsList", "__toCommonJS", "import_bignumber", "import_getEconomics", "import_sdkDappUtils", "import_getNetworkConfig", "import_types", "import_fetchAccount", "import_getUsdValue", "manager", "provider", "network", "startIndex", "allAccounts", "economics", "filterByStartIndexRange", "account", "allAccountsObject", "accountsObject", "currentAccounts", "isStartIndexInAccounts", "page", "accountsArray", "accountsWithBalance", "address", "accountIindex", "newAllAccounts", "balancePromises", "balances", "newAllAccountsObject", "balanceBigNumber", "BigNumber", "formattedBalance", "usdValue", "newAllAccountsArray", "alpha", "beta", "accountsScreenArray", "error"]
|
|
7
|
+
}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{a}from"../../../../../../../__chunks__/chunk-YGMILCHH.mjs";import"../../../../../../../__chunks__/chunk-UT4BWFQH.mjs";import"../../../../../../../__chunks__/chunk-YGI3KXMZ.mjs";import"../../../../../../../__chunks__/chunk-XSUHHPZ2.mjs";import"../../../../../../../__chunks__/chunk-VTEOS2MM.mjs";import"../../../../../../../__chunks__/chunk-EPL2CHU6.mjs";import"../../../../../../../__chunks__/chunk-3GGBXXXJ.mjs";import"../../../../../../../__chunks__/chunk-N56SMVGU.mjs";import"../../../../../../../__chunks__/chunk-XNSSZDSU.mjs";import"../../../../../../../__chunks__/chunk-T4FRQ4JG.mjs";import"../../../../../../../__chunks__/chunk-7MBSWJUD.mjs";import"../../../../../../../__chunks__/chunk-KPK72MOE.mjs";import"../../../../../../../__chunks__/chunk-7VHTZYM2.mjs";import"../../../../../../../__chunks__/chunk-VNLGNNIL.mjs";import"../../../../../../../__chunks__/chunk-6JM4DPOH.mjs";import"../../../../../../../__chunks__/chunk-UTWIKUIK.mjs";import"../../../../../../../__chunks__/chunk-ZODTYAYF.mjs";import"../../../../../../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../../../../../../__chunks__/chunk-DKX6JUT6.mjs";import"../../../../../../../__chunks__/chunk-AGJVEK6I.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-IVHD32VC.mjs";import"../../../../../../../__chunks__/chunk-TVXZBSUY.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-2JKCBTYK.mjs";import"../../../../../../../__chunks__/chunk-YUITECZ5.mjs";import"../../../../../../../__chunks__/chunk-2BSPSW6X.mjs";import"../../../../../../../__chunks__/chunk-BTJWNUM6.mjs";import"../../../../../../../__chunks__/chunk-TRMQFQOQ.mjs";import"../../../../../../../__chunks__/chunk-WZI2I6NX.mjs";import"../../../../../../../__chunks__/chunk-TVELGQIH.mjs";import"../../../../../../../__chunks__/chunk-OVXVICF7.mjs";import"../../../../../../../__chunks__/chunk-NTEMINYA.mjs";import"../../../../../../../__chunks__/chunk-PKDR5ERF.mjs";import"../../../../../../../__chunks__/chunk-MGFIOCA4.mjs";import"../../../../../../../__chunks__/chunk-GGBMHKR4.mjs";import"../../../../../../../__chunks__/chunk-NWJYEKI2.mjs";import"../../../../../../../__chunks__/chunk-URTM5OGN.mjs";export{a as updateAccountsList};
|
|
2
|
+
//# sourceMappingURL=updateAccountsList.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../../../../../src/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/updateAccountsList/updateAccountsList.types.ts"],
|
|
4
|
+
"sourcesContent": ["import { HWProvider } from '@multiversx/sdk-hw-provider/out';\n\nimport { LedgerConnectStateManager } from 'managers/internal/LedgerConnectStateManager';\n\nimport { ILedgerAccount } from '../../../../types/ledger.types';\n\nexport type UpdateAccountObjectType = Record<string, ILedgerAccount>;\nexport interface IUpdateAccountsList {\n manager: LedgerConnectStateManager | null;\n provider: HWProvider | null;\n}\n"],
|
|
5
|
+
"mappings": "+WAAA,IAAAA,EAAA,kBAAAC,EAAAD",
|
|
6
|
+
"names": ["updateAccountsList_types_exports", "__toCommonJS"]
|
|
7
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HWProvider } from '@multiversx/sdk-hw-provider/out';
|
|
2
|
-
import { LedgerConnectStateManager } from '
|
|
3
|
-
import { ILedgerAccount } from '
|
|
2
|
+
import { LedgerConnectStateManager } from '../../../../../../../managers/internal/LedgerConnectStateManager';
|
|
3
|
+
import { ILedgerAccount } from '../../../../types/ledger.types';
|
|
4
4
|
export type UpdateAccountObjectType = Record<string, ILedgerAccount>;
|
|
5
5
|
export interface IUpdateAccountsList {
|
|
6
6
|
manager: LedgerConnectStateManager | null;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";var g=Object.defineProperty;var L=Object.getOwnPropertyDescriptor;var S=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var T=(e,t)=>{for(var r in t)g(e,r,{get:t[r],enumerable:!0})},b=(e,t,r,d)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of S(t))!P.call(e,n)&&n!==r&&g(e,n,{get:()=>t[n],enumerable:!(d=L(t,n))||d.enumerable});return e};var w=e=>b(g({},"__esModule",{value:!0}),e);var C={};T(C,{waitForLedgerSelection:()=>k});module.exports=w(C);var m=require("bignumber.js"),x=require("../../../../../../apiCalls/endpoints"),A=require("../../../../../../utils/transactions/getExplorerLink"),c=require("./updateAccountsList");async function k({manager:e,provider:t,login:r,token:d,explorerAddress:n,authData:I}){const i={manager:e,provider:t};return await new Promise(async function(p,h){async function a(s){const o=e?e.addressesPerPage??1:1,f=new m.BigNumber(s-1).times(o);e?.updateStartIndex(Math.max(0,parseInt(f.toString()))),await(0,c.updateAccountsList)(i)}async function u(s){if(!(!t||!r)){e?.updateConfirmScreen({...I,selectedAddress:s.selectedAddress,explorerLink:(0,A.getExplorerLink)({to:`/${x.ACCOUNTS_ENDPOINT}/${s.selectedAddress}`,explorerAddress:n})});try{const o=d?await t.tokenLogin({token:Buffer.from(`${d}{}`),addressIndex:s.addressIndex}):await r({addressIndex:s.addressIndex});e.unsubscribeFromAuthEvents({handleCancel:l,handleAccessWallet:u,handleGoToPage:a}),p({address:o.address,signature:o.signature?o.signature.toString("hex"):"",addressIndex:s.addressIndex})}catch(o){console.error("User rejected login:",o),!!e?.getConfirmScreenData()&&await(0,c.updateAccountsList)(i)}}}async function l(){await(0,c.updateAccountsList)(i),e.unsubscribeFromAuthEvents({handleCancel:l,handleAccessWallet:u,handleGoToPage:a}),h("User cancelled login")}e.subscribeToAuthEvents({handleCancel:l,handleAccessWallet:u,handleGoToPage:a})})}0&&(module.exports={waitForLedgerSelection});
|
|
2
|
+
//# sourceMappingURL=waitForLedgerSelection.cjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../../../../src/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/waitForLedgerSelection.ts"],
|
|
4
|
+
"sourcesContent": ["import { HWProvider } from '@multiversx/sdk-hw-provider/out';\nimport { BigNumber } from 'bignumber.js';\n\nimport { ACCOUNTS_ENDPOINT } from 'apiCalls/endpoints';\nimport { LedgerConnectStateManager } from 'managers/internal/LedgerConnectStateManager/LedgerConnectStateManager';\nimport { getExplorerLink } from 'utils/transactions/getExplorerLink';\n\nimport { getAuthTokenText } from './getAuthTokenText';\nimport { updateAccountsList } from './updateAccountsList';\nimport { LedgerLoginType } from '../../../types/ledgerProvider.types';\n\ninterface ISelectedAccount {\n address: string;\n signature: string;\n addressIndex: number;\n}\n\ninterface IWaitForLedgerSelection {\n manager: LedgerConnectStateManager;\n provider: HWProvider | null;\n login: LedgerLoginType | null;\n token?: string;\n explorerAddress: string;\n authData: ReturnType<typeof getAuthTokenText>;\n}\n\nexport async function waitForLedgerSelection({\n manager,\n provider,\n login,\n token,\n explorerAddress,\n authData\n}: IWaitForLedgerSelection): Promise<ISelectedAccount> {\n const accountsListProps = {\n manager,\n provider\n };\n\n const selectedAccount = await new Promise<ISelectedAccount>(async function (\n resolve,\n reject\n ) {\n async function handleGoToPage(page: number) {\n const addressesPerPage = manager ? manager.addressesPerPage ?? 1 : 1;\n const startIndex = new BigNumber(page - 1).times(addressesPerPage);\n\n manager?.updateStartIndex(Math.max(0, parseInt(startIndex.toString())));\n await updateAccountsList(accountsListProps);\n }\n\n async function handleAccessWallet(payload: {\n addressIndex: number;\n selectedAddress: string;\n }) {\n if (!provider || !login) {\n return;\n }\n\n manager?.updateConfirmScreen({\n ...authData,\n selectedAddress: payload.selectedAddress,\n explorerLink: getExplorerLink({\n to: `/${ACCOUNTS_ENDPOINT}/${payload.selectedAddress}`,\n explorerAddress\n })\n });\n\n try {\n const loginInfo = token\n ? await provider.tokenLogin({\n token: Buffer.from(`${token}{}`),\n addressIndex: payload.addressIndex\n })\n : await login({\n addressIndex: payload.addressIndex\n });\n\n manager.unsubscribeFromAuthEvents({\n handleCancel,\n handleAccessWallet,\n handleGoToPage\n });\n\n resolve({\n address: loginInfo.address,\n signature: loginInfo.signature\n ? loginInfo.signature.toString('hex')\n : '',\n addressIndex: payload.addressIndex\n });\n } catch (err) {\n console.error('User rejected login:', err);\n\n const shouldGoBack = Boolean(manager?.getConfirmScreenData());\n if (shouldGoBack) {\n await updateAccountsList(accountsListProps);\n }\n }\n }\n\n async function handleCancel() {\n await updateAccountsList(accountsListProps);\n manager.unsubscribeFromAuthEvents({\n handleCancel,\n handleAccessWallet,\n handleGoToPage\n });\n reject('User cancelled login');\n }\n\n manager.subscribeToAuthEvents({\n handleCancel,\n handleAccessWallet,\n handleGoToPage\n });\n });\n\n return selectedAccount;\n}\n"],
|
|
5
|
+
"mappings": "yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,4BAAAE,IAAA,eAAAC,EAAAH,GACA,IAAAI,EAA0B,wBAE1BC,EAAkC,8BAElCC,EAAgC,8CAGhCC,EAAmC,gCAkBnC,eAAsBL,EAAuB,CAC3C,QAAAM,EACA,SAAAC,EACA,MAAAC,EACA,MAAAC,EACA,gBAAAC,EACA,SAAAC,CACF,EAAuD,CACrD,MAAMC,EAAoB,CACxB,QAAAN,EACA,SAAAC,CACF,EAiFA,OA/EwB,MAAM,IAAI,QAA0B,eAC1DM,EACAC,EACA,CACA,eAAeC,EAAeC,EAAc,CAC1C,MAAMC,EAAmBX,EAAUA,EAAQ,kBAAoB,EAAI,EAC7DY,EAAa,IAAI,YAAUF,EAAO,CAAC,EAAE,MAAMC,CAAgB,EAEjEX,GAAS,iBAAiB,KAAK,IAAI,EAAG,SAASY,EAAW,SAAS,CAAC,CAAC,CAAC,EACtE,QAAM,sBAAmBN,CAAiB,CAC5C,CAEA,eAAeO,EAAmBC,EAG/B,CACD,GAAI,GAACb,GAAY,CAACC,GAIlB,CAAAF,GAAS,oBAAoB,CAC3B,GAAGK,EACH,gBAAiBS,EAAQ,gBACzB,gBAAc,mBAAgB,CAC5B,GAAI,IAAI,mBAAiB,IAAIA,EAAQ,eAAe,GACpD,gBAAAV,CACF,CAAC,CACH,CAAC,EAED,GAAI,CACF,MAAMW,EAAYZ,EACd,MAAMF,EAAS,WAAW,CACxB,MAAO,OAAO,KAAK,GAAGE,CAAK,IAAI,EAC/B,aAAcW,EAAQ,YACxB,CAAC,EACD,MAAMZ,EAAM,CACV,aAAcY,EAAQ,YACxB,CAAC,EAELd,EAAQ,0BAA0B,CAChC,aAAAgB,EACA,mBAAAH,EACA,eAAAJ,CACF,CAAC,EAEDF,EAAQ,CACN,QAASQ,EAAU,QACnB,UAAWA,EAAU,UACjBA,EAAU,UAAU,SAAS,KAAK,EAClC,GACJ,aAAcD,EAAQ,YACxB,CAAC,CACH,OAASG,EAAK,CACZ,QAAQ,MAAM,uBAAwBA,CAAG,EAEpB,EAAQjB,GAAS,qBAAqB,GAEzD,QAAM,sBAAmBM,CAAiB,CAE9C,EACF,CAEA,eAAeU,GAAe,CAC5B,QAAM,sBAAmBV,CAAiB,EAC1CN,EAAQ,0BAA0B,CAChC,aAAAgB,EACA,mBAAAH,EACA,eAAAJ,CACF,CAAC,EACDD,EAAO,sBAAsB,CAC/B,CAEAR,EAAQ,sBAAsB,CAC5B,aAAAgB,EACA,mBAAAH,EACA,eAAAJ,CACF,CAAC,CACH,CAAC,CAGH",
|
|
6
|
+
"names": ["waitForLedgerSelection_exports", "__export", "waitForLedgerSelection", "__toCommonJS", "import_bignumber", "import_endpoints", "import_getExplorerLink", "import_updateAccountsList", "manager", "provider", "login", "token", "explorerAddress", "authData", "accountsListProps", "resolve", "reject", "handleGoToPage", "page", "addressesPerPage", "startIndex", "handleAccessWallet", "payload", "loginInfo", "handleCancel", "err"]
|
|
7
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { HWProvider } from '@multiversx/sdk-hw-provider/out';
|
|
2
|
+
import { LedgerConnectStateManager } from '../../../../../../managers/internal/LedgerConnectStateManager/LedgerConnectStateManager';
|
|
3
|
+
import { getAuthTokenText } from './getAuthTokenText';
|
|
4
|
+
import { LedgerLoginType } from '../../../types/ledgerProvider.types';
|
|
5
|
+
interface ISelectedAccount {
|
|
6
|
+
address: string;
|
|
7
|
+
signature: string;
|
|
8
|
+
addressIndex: number;
|
|
9
|
+
}
|
|
10
|
+
interface IWaitForLedgerSelection {
|
|
11
|
+
manager: LedgerConnectStateManager;
|
|
12
|
+
provider: HWProvider | null;
|
|
13
|
+
login: LedgerLoginType | null;
|
|
14
|
+
token?: string;
|
|
15
|
+
explorerAddress: string;
|
|
16
|
+
authData: ReturnType<typeof getAuthTokenText>;
|
|
17
|
+
}
|
|
18
|
+
export declare function waitForLedgerSelection({ manager, provider, login, token, explorerAddress, authData }: IWaitForLedgerSelection): Promise<ISelectedAccount>;
|
|
19
|
+
export {};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{a}from"../../../../../../__chunks__/chunk-PW34EFS7.mjs";import"../../../../../../__chunks__/chunk-C4SERLP4.mjs";import"../../../../../../__chunks__/chunk-YGMILCHH.mjs";import"../../../../../../__chunks__/chunk-UT4BWFQH.mjs";import"../../../../../../__chunks__/chunk-YGI3KXMZ.mjs";import"../../../../../../__chunks__/chunk-XSUHHPZ2.mjs";import"../../../../../../__chunks__/chunk-VTEOS2MM.mjs";import"../../../../../../__chunks__/chunk-EPL2CHU6.mjs";import"../../../../../../__chunks__/chunk-3GGBXXXJ.mjs";import"../../../../../../__chunks__/chunk-N56SMVGU.mjs";import"../../../../../../__chunks__/chunk-XNSSZDSU.mjs";import"../../../../../../__chunks__/chunk-T4FRQ4JG.mjs";import"../../../../../../__chunks__/chunk-7MBSWJUD.mjs";import"../../../../../../__chunks__/chunk-KPK72MOE.mjs";import"../../../../../../__chunks__/chunk-7VHTZYM2.mjs";import"../../../../../../__chunks__/chunk-VNLGNNIL.mjs";import"../../../../../../__chunks__/chunk-6JM4DPOH.mjs";import"../../../../../../__chunks__/chunk-UTWIKUIK.mjs";import"../../../../../../__chunks__/chunk-ZODTYAYF.mjs";import"../../../../../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../../../../../__chunks__/chunk-DKX6JUT6.mjs";import"../../../../../../__chunks__/chunk-AGJVEK6I.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-IVHD32VC.mjs";import"../../../../../../__chunks__/chunk-TVXZBSUY.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-YJCTRUJT.mjs";import"../../../../../../__chunks__/chunk-PJWJZHIS.mjs";import"../../../../../../__chunks__/chunk-2JKCBTYK.mjs";import"../../../../../../__chunks__/chunk-YUITECZ5.mjs";import"../../../../../../__chunks__/chunk-2BSPSW6X.mjs";import"../../../../../../__chunks__/chunk-BTJWNUM6.mjs";import"../../../../../../__chunks__/chunk-TRMQFQOQ.mjs";import"../../../../../../__chunks__/chunk-WZI2I6NX.mjs";import"../../../../../../__chunks__/chunk-TVELGQIH.mjs";import"../../../../../../__chunks__/chunk-OVXVICF7.mjs";import"../../../../../../__chunks__/chunk-NTEMINYA.mjs";import"../../../../../../__chunks__/chunk-PKDR5ERF.mjs";import"../../../../../../__chunks__/chunk-MGFIOCA4.mjs";import"../../../../../../__chunks__/chunk-GGBMHKR4.mjs";import"../../../../../../__chunks__/chunk-NWJYEKI2.mjs";import"../../../../../../__chunks__/chunk-URTM5OGN.mjs";export{a as waitForLedgerSelection};
|
|
2
|
+
//# sourceMappingURL=waitForLedgerSelection.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var a=Object.defineProperty;var b=Object.getOwnPropertyDescriptor;var c=Object.getOwnPropertyNames;var d=Object.prototype.hasOwnProperty;var t=(r,o,p,x)=>{if(o&&typeof o=="object"||typeof o=="function")for(let m of c(o))!d.call(r,m)&&m!==p&&a(r,m,{get:()=>o[m],enumerable:!(x=b(o,m))||x.enumerable});return r},f=(r,o,p)=>(t(r,o,"default"),p&&t(p,o,"default"));var g=r=>t(a({},"__esModule",{value:!0}),r);var e={};module.exports=g(e);f(e,require("./
|
|
1
|
+
"use strict";var a=Object.defineProperty;var b=Object.getOwnPropertyDescriptor;var c=Object.getOwnPropertyNames;var d=Object.prototype.hasOwnProperty;var t=(r,o,p,x)=>{if(o&&typeof o=="object"||typeof o=="function")for(let m of c(o))!d.call(r,m)&&m!==p&&a(r,m,{get:()=>o[m],enumerable:!(x=b(o,m))||x.enumerable});return r},f=(r,o,p)=>(t(r,o,"default"),p&&t(p,o,"default"));var g=r=>t(a({},"__esModule",{value:!0}),r);var e={};module.exports=g(e);f(e,require("./authenticateLedgerAccount"),module.exports);f(e,require("./helpers/waitForLedgerSelection"),module.exports);0&&(module.exports={...require("./authenticateLedgerAccount"),...require("./helpers/waitForLedgerSelection")});
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../../../src/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/index.ts"],
|
|
4
|
+
"sourcesContent": ["export * from './authenticateLedgerAccount';\nexport * from './helpers/waitForLedgerSelection';\n"],
|
|
5
|
+
"mappings": "iaAAA,IAAAA,EAAA,kBAAAC,EAAAD,GAAAE,EAAAF,EAAc,uCAAd,gBACAE,EAAAF,EAAc,4CADd",
|
|
6
|
+
"names": ["authenticateLedgerAccount_exports", "__toCommonJS", "__reExport"]
|
|
7
|
+
}
|
package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/index.mjs
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import"../../../../../__chunks__/chunk-U6RAWQXO.mjs";import{a as b}from"../../../../../__chunks__/chunk-TOZ7EGCZ.mjs";import"../../../../../__chunks__/chunk-7WJMUTGI.mjs";import"../../../../../__chunks__/chunk-CSC5XOOG.mjs";import"../../../../../__chunks__/chunk-UNUOQRSW.mjs";import"../../../../../__chunks__/chunk-RVO7H26H.mjs";import{a}from"../../../../../__chunks__/chunk-PW34EFS7.mjs";import"../../../../../__chunks__/chunk-C4SERLP4.mjs";import"../../../../../__chunks__/chunk-YGMILCHH.mjs";import"../../../../../__chunks__/chunk-5W7PFHTT.mjs";import"../../../../../__chunks__/chunk-KDTDQL52.mjs";import"../../../../../__chunks__/chunk-BCSNXRMR.mjs";import"../../../../../__chunks__/chunk-UT4BWFQH.mjs";import"../../../../../__chunks__/chunk-2RTOYKHB.mjs";import"../../../../../__chunks__/chunk-YGI3KXMZ.mjs";import"../../../../../__chunks__/chunk-C72ZHRFA.mjs";import"../../../../../__chunks__/chunk-NVBWPLR7.mjs";import"../../../../../__chunks__/chunk-QO62QJ5H.mjs";import"../../../../../__chunks__/chunk-RUBOJOJP.mjs";import"../../../../../__chunks__/chunk-K5K2FVFB.mjs";import"../../../../../__chunks__/chunk-T7DVMF2K.mjs";import"../../../../../__chunks__/chunk-6UZHM5LW.mjs";import"../../../../../__chunks__/chunk-FF45FPD3.mjs";import"../../../../../__chunks__/chunk-ZATPIKZ2.mjs";import"../../../../../__chunks__/chunk-U3MIDVR7.mjs";import"../../../../../__chunks__/chunk-CDWODCD7.mjs";import"../../../../../__chunks__/chunk-JZZ3MOUU.mjs";import"../../../../../__chunks__/chunk-PKD3AEXI.mjs";import"../../../../../__chunks__/chunk-CLUVDWX6.mjs";import"../../../../../__chunks__/chunk-KLI6N26E.mjs";import"../../../../../__chunks__/chunk-LG6Q3PRI.mjs";import"../../../../../__chunks__/chunk-D3VRMBRS.mjs";import"../../../../../__chunks__/chunk-AFLCI6IF.mjs";import"../../../../../__chunks__/chunk-FRUJEORM.mjs";import"../../../../../__chunks__/chunk-ABBDCZHP.mjs";import"../../../../../__chunks__/chunk-LKOWOTL2.mjs";import"../../../../../__chunks__/chunk-6BOC75BF.mjs";import"../../../../../__chunks__/chunk-PMHRZ5Y7.mjs";import"../../../../../__chunks__/chunk-2VG3V3VD.mjs";import"../../../../../__chunks__/chunk-55U3WK3C.mjs";import"../../../../../__chunks__/chunk-N55JEIM6.mjs";import"../../../../../__chunks__/chunk-XV3H7VOE.mjs";import"../../../../../__chunks__/chunk-P2MHA65O.mjs";import"../../../../../__chunks__/chunk-N5VJJRWV.mjs";import"../../../../../__chunks__/chunk-6EKK7AJE.mjs";import"../../../../../__chunks__/chunk-4ODPAHHA.mjs";import"../../../../../__chunks__/chunk-ECEWPZGA.mjs";import"../../../../../__chunks__/chunk-MDVI45IV.mjs";import"../../../../../__chunks__/chunk-K4JJZCL3.mjs";import"../../../../../__chunks__/chunk-3C5GZ3BL.mjs";import"../../../../../__chunks__/chunk-OSG4UY2Z.mjs";import"../../../../../__chunks__/chunk-O6ALDFLM.mjs";import"../../../../../__chunks__/chunk-4MCQ27VQ.mjs";import"../../../../../__chunks__/chunk-Q2Q4XN4M.mjs";import"../../../../../__chunks__/chunk-XSUHHPZ2.mjs";import"../../../../../__chunks__/chunk-H73D4VUZ.mjs";import"../../../../../__chunks__/chunk-N4KX33RW.mjs";import"../../../../../__chunks__/chunk-55SACSMS.mjs";import"../../../../../__chunks__/chunk-UPABDY55.mjs";import"../../../../../__chunks__/chunk-J5TLE6SA.mjs";import"../../../../../__chunks__/chunk-4US7HVCR.mjs";import"../../../../../__chunks__/chunk-4QDHKULK.mjs";import"../../../../../__chunks__/chunk-4TBVQD27.mjs";import"../../../../../__chunks__/chunk-M3GFSV3G.mjs";import"../../../../../__chunks__/chunk-WV5X6BXA.mjs";import"../../../../../__chunks__/chunk-LYSI4URP.mjs";import"../../../../../__chunks__/chunk-E2GGD7D4.mjs";import"../../../../../__chunks__/chunk-L3YPAYXZ.mjs";import"../../../../../__chunks__/chunk-CXAX5TAG.mjs";import"../../../../../__chunks__/chunk-J32T6OAP.mjs";import"../../../../../__chunks__/chunk-SAN5F2PW.mjs";import"../../../../../__chunks__/chunk-LGGG3HW7.mjs";import"../../../../../__chunks__/chunk-IWP36NOU.mjs";import"../../../../../__chunks__/chunk-G5DKGX73.mjs";import"../../../../../__chunks__/chunk-ODHXJQOF.mjs";import"../../../../../__chunks__/chunk-O65OBG5D.mjs";import"../../../../../__chunks__/chunk-XXV6KGR4.mjs";import"../../../../../__chunks__/chunk-HORSXVIV.mjs";import"../../../../../__chunks__/chunk-XTATC65P.mjs";import"../../../../../__chunks__/chunk-4GCIE2BM.mjs";import"../../../../../__chunks__/chunk-NWEUIK3A.mjs";import"../../../../../__chunks__/chunk-DW6RO5LJ.mjs";import"../../../../../__chunks__/chunk-OJX2TSAZ.mjs";import"../../../../../__chunks__/chunk-XDBKPKTG.mjs";import"../../../../../__chunks__/chunk-E77ZH5JT.mjs";import"../../../../../__chunks__/chunk-JDP24JPD.mjs";import"../../../../../__chunks__/chunk-OAPLU7UX.mjs";import"../../../../../__chunks__/chunk-H5NVCCUR.mjs";import"../../../../../__chunks__/chunk-PMATTOPD.mjs";import"../../../../../__chunks__/chunk-VTEOS2MM.mjs";import"../../../../../__chunks__/chunk-EPL2CHU6.mjs";import"../../../../../__chunks__/chunk-3GGBXXXJ.mjs";import"../../../../../__chunks__/chunk-RMW3YLGD.mjs";import"../../../../../__chunks__/chunk-FPJ2PIFX.mjs";import"../../../../../__chunks__/chunk-NJN53MJV.mjs";import"../../../../../__chunks__/chunk-YSCND2MX.mjs";import"../../../../../__chunks__/chunk-YJK5FPW4.mjs";import"../../../../../__chunks__/chunk-36XFDUXN.mjs";import"../../../../../__chunks__/chunk-N56SMVGU.mjs";import"../../../../../__chunks__/chunk-NGM3AVCY.mjs";import"../../../../../__chunks__/chunk-CDTYHGXZ.mjs";import"../../../../../__chunks__/chunk-2RAULLHL.mjs";import"../../../../../__chunks__/chunk-3FXHIV6O.mjs";import"../../../../../__chunks__/chunk-6CQMLD25.mjs";import"../../../../../__chunks__/chunk-OL6LWUIJ.mjs";import"../../../../../__chunks__/chunk-KIOUFP5Q.mjs";import"../../../../../__chunks__/chunk-ZRSYQ3MT.mjs";import"../../../../../__chunks__/chunk-M6MN4RXG.mjs";import"../../../../../__chunks__/chunk-5DILKRFV.mjs";import"../../../../../__chunks__/chunk-DZ2BIDRW.mjs";import"../../../../../__chunks__/chunk-HZGRS7HG.mjs";import"../../../../../__chunks__/chunk-NTPPBM7T.mjs";import"../../../../../__chunks__/chunk-GUAXMODN.mjs";import"../../../../../__chunks__/chunk-4VA2SULD.mjs";import"../../../../../__chunks__/chunk-ZAPRDHIW.mjs";import"../../../../../__chunks__/chunk-GIZSIYH4.mjs";import"../../../../../__chunks__/chunk-WVAP3V3E.mjs";import"../../../../../__chunks__/chunk-XVX7N3JK.mjs";import"../../../../../__chunks__/chunk-HH5SA7BX.mjs";import"../../../../../__chunks__/chunk-DRPJ3IFU.mjs";import"../../../../../__chunks__/chunk-B3IKUIRK.mjs";import"../../../../../__chunks__/chunk-IXBWD6BF.mjs";import"../../../../../__chunks__/chunk-CVXQYCEE.mjs";import"../../../../../__chunks__/chunk-VCAWVAO5.mjs";import"../../../../../__chunks__/chunk-55W25Q35.mjs";import"../../../../../__chunks__/chunk-3CG4C7T4.mjs";import"../../../../../__chunks__/chunk-FNHO66WN.mjs";import"../../../../../__chunks__/chunk-CZ2S4XSL.mjs";import"../../../../../__chunks__/chunk-XNSSZDSU.mjs";import"../../../../../__chunks__/chunk-T4FRQ4JG.mjs";import"../../../../../__chunks__/chunk-7MBSWJUD.mjs";import"../../../../../__chunks__/chunk-KPK72MOE.mjs";import"../../../../../__chunks__/chunk-7VHTZYM2.mjs";import"../../../../../__chunks__/chunk-VNLGNNIL.mjs";import"../../../../../__chunks__/chunk-6JM4DPOH.mjs";import"../../../../../__chunks__/chunk-UTWIKUIK.mjs";import"../../../../../__chunks__/chunk-ZODTYAYF.mjs";import"../../../../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../../../../__chunks__/chunk-DKX6JUT6.mjs";import"../../../../../__chunks__/chunk-AGJVEK6I.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-IVHD32VC.mjs";import"../../../../../__chunks__/chunk-TVXZBSUY.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-SALLGAGD.mjs";import"../../../../../__chunks__/chunk-G5N56FHJ.mjs";import"../../../../../__chunks__/chunk-TX7PTLVP.mjs";import"../../../../../__chunks__/chunk-WZ2DNB3R.mjs";import"../../../../../__chunks__/chunk-DFSBS3PX.mjs";import"../../../../../__chunks__/chunk-GFR6K4DR.mjs";import"../../../../../__chunks__/chunk-6D53LH5J.mjs";import"../../../../../__chunks__/chunk-H33OUO77.mjs";import"../../../../../__chunks__/chunk-HQQMSHTW.mjs";import"../../../../../__chunks__/chunk-ZKBKYLAP.mjs";import"../../../../../__chunks__/chunk-6UMOECOW.mjs";import"../../../../../__chunks__/chunk-54B3EIZC.mjs";import"../../../../../__chunks__/chunk-QJ7MRSGB.mjs";import"../../../../../__chunks__/chunk-VDDXFGB2.mjs";import"../../../../../__chunks__/chunk-UCNS6KD5.mjs";import"../../../../../__chunks__/chunk-35MNP3LA.mjs";import"../../../../../__chunks__/chunk-UQU2VWPJ.mjs";import"../../../../../__chunks__/chunk-YJCTRUJT.mjs";import"../../../../../__chunks__/chunk-PJWJZHIS.mjs";import"../../../../../__chunks__/chunk-QNELH2S2.mjs";import"../../../../../__chunks__/chunk-2JKCBTYK.mjs";import"../../../../../__chunks__/chunk-7UA7QAEF.mjs";import"../../../../../__chunks__/chunk-FTJF3Q3P.mjs";import"../../../../../__chunks__/chunk-YUITECZ5.mjs";import"../../../../../__chunks__/chunk-2BSPSW6X.mjs";import"../../../../../__chunks__/chunk-BTJWNUM6.mjs";import"../../../../../__chunks__/chunk-TRMQFQOQ.mjs";import"../../../../../__chunks__/chunk-WZI2I6NX.mjs";import"../../../../../__chunks__/chunk-TVELGQIH.mjs";import"../../../../../__chunks__/chunk-OVXVICF7.mjs";import"../../../../../__chunks__/chunk-NTEMINYA.mjs";import"../../../../../__chunks__/chunk-WRLZ5ICK.mjs";import"../../../../../__chunks__/chunk-I3MK6KZJ.mjs";import"../../../../../__chunks__/chunk-UCRVRBTA.mjs";import"../../../../../__chunks__/chunk-MGQ373AO.mjs";import"../../../../../__chunks__/chunk-RPTH42EF.mjs";import"../../../../../__chunks__/chunk-3UNGCOKO.mjs";import"../../../../../__chunks__/chunk-TR2KNDCH.mjs";import"../../../../../__chunks__/chunk-5Y2ZDPP6.mjs";import"../../../../../__chunks__/chunk-WYVAFCPU.mjs";import"../../../../../__chunks__/chunk-EJV4VNJG.mjs";import"../../../../../__chunks__/chunk-6R2WFQ7U.mjs";import"../../../../../__chunks__/chunk-NAYDJEWI.mjs";import"../../../../../__chunks__/chunk-FI444OX3.mjs";import"../../../../../__chunks__/chunk-LHEH7L4L.mjs";import"../../../../../__chunks__/chunk-PKDR5ERF.mjs";import"../../../../../__chunks__/chunk-MGFIOCA4.mjs";import"../../../../../__chunks__/chunk-GGBMHKR4.mjs";import"../../../../../__chunks__/chunk-NWJYEKI2.mjs";import"../../../../../__chunks__/chunk-LJX4MW7B.mjs";import"../../../../../__chunks__/chunk-DTQL3IDP.mjs";import"../../../../../__chunks__/chunk-CKTFPRJS.mjs";import"../../../../../__chunks__/chunk-RV6SJMD7.mjs";import"../../../../../__chunks__/chunk-HUXPA4C2.mjs";import"../../../../../__chunks__/chunk-EHDGJUEU.mjs";import"../../../../../__chunks__/chunk-HOCSCRJF.mjs";import"../../../../../__chunks__/chunk-URTM5OGN.mjs";import"../../../../../__chunks__/chunk-UE3IBKCO.mjs";import"../../../../../__chunks__/chunk-H6IZMTJK.mjs";import"../../../../../__chunks__/chunk-B2UIPHJ3.mjs";export{b as authenticateLedgerAccount,a as waitForLedgerSelection};
|
|
2
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";var d=Object.defineProperty;var C=Object.getOwnPropertyDescriptor;var h=Object.getOwnPropertyNames;var I=Object.prototype.hasOwnProperty;var w=(o,r)=>{for(var t in r)d(o,t,{get:r[t],enumerable:!0})},y=(o,r,t,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let e of h(r))!I.call(o,e)&&e!==t&&d(o,e,{get:()=>r[e],enumerable:!(n=C(r,e))||n.enumerable});return o};var b=o=>y(d({},"__esModule",{value:!0}),o);var S={};w(S,{getLedgerProvider:()=>A});module.exports=b(S);var l=require("@multiversx/sdk-hw-provider"),a=require("../../../../../methods/account/getIsLoggedIn"),s=require("../../../../../providers/helpers/accountProvider"),m=require("../../../../../store/selectors/accountSelectors"),f=require("../../../../../store/selectors/loginInfoSelectors"),g=require("../../../../../store/store"),p=require("./helpers/getLedgerConfiguration"),v=require("./helpers/initHwProvider");async function A(o){const r=(0,a.getIsLoggedIn)(),t=o?.shouldInitProvider||!r,n=(0,f.ledgerLoginSelector)((0,g.getState)()),e=(0,m.ledgerAccountSelector)((0,g.getState)()),u=(0,s.getAccountProvider)(),c=new l.HWProvider;try{if(!t&&e){const L={version:e.version,dataEnabled:e.hasContractDataEnabled};return{ledgerProvider:c,ledgerConfig:L}}const i=await(0,v.initHwProvider)({provider:u,ledgerProvider:c,ledgerLogin:n,shouldInitProvider:t}),P=await(0,p.getLedgerConfiguration)(i);return{ledgerProvider:i,ledgerConfig:P}}catch(i){throw console.error("Could not initialize ledger app",i),i}}0&&(module.exports={getLedgerProvider});
|
|
2
|
+
//# sourceMappingURL=getLedgerProvider.cjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../../../src/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider/getLedgerProvider.ts"],
|
|
4
|
+
"sourcesContent": ["import { HWProvider } from '@multiversx/sdk-hw-provider';\nimport { getIsLoggedIn } from 'methods/account/getIsLoggedIn';\nimport { getAccountProvider } from 'providers/helpers/accountProvider';\nimport { ledgerAccountSelector } from 'store/selectors/accountSelectors';\nimport { ledgerLoginSelector } from 'store/selectors/loginInfoSelectors';\nimport { getState } from 'store/store';\nimport { getLedgerConfiguration } from './helpers/getLedgerConfiguration';\nimport { initHwProvider } from './helpers/initHwProvider';\nimport { LedgerConfigType } from '../../types/ledgerProvider.types';\n\nexport async function getLedgerProvider(props?: {\n shouldInitProvider?: boolean; // provider will be initialized if not logged in\n}) {\n const isLoggedIn = getIsLoggedIn();\n const shouldInitProvider = props?.shouldInitProvider || !isLoggedIn;\n const ledgerLogin = ledgerLoginSelector(getState());\n const ledgerAccount = ledgerAccountSelector(getState());\n const provider = getAccountProvider();\n\n const ledgerProvider = new HWProvider();\n\n try {\n if (!shouldInitProvider && ledgerAccount) {\n const ledgerConfig: LedgerConfigType = {\n version: ledgerAccount.version,\n dataEnabled: ledgerAccount.hasContractDataEnabled\n };\n return {\n ledgerProvider,\n ledgerConfig\n };\n }\n\n const initializedLedgerProvider = await initHwProvider({\n provider,\n ledgerProvider,\n ledgerLogin,\n shouldInitProvider\n });\n\n const ledgerConfig = await getLedgerConfiguration(\n initializedLedgerProvider\n );\n return { ledgerProvider: initializedLedgerProvider, ledgerConfig };\n } catch (err) {\n console.error('Could not initialize ledger app', err);\n\n throw err;\n }\n}\n"],
|
|
5
|
+
"mappings": "yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,uBAAAE,IAAA,eAAAC,EAAAH,GAAA,IAAAI,EAA2B,uCAC3BC,EAA8B,yCAC9BC,EAAmC,6CACnCC,EAAsC,4CACtCC,EAAoC,8CACpCC,EAAyB,uBACzBC,EAAuC,4CACvCC,EAA+B,oCAG/B,eAAsBT,EAAkBU,EAErC,CACD,MAAMC,KAAa,iBAAc,EAC3BC,EAAqBF,GAAO,oBAAsB,CAACC,EACnDE,KAAc,0BAAoB,YAAS,CAAC,EAC5CC,KAAgB,4BAAsB,YAAS,CAAC,EAChDC,KAAW,sBAAmB,EAE9BC,EAAiB,IAAI,aAE3B,GAAI,CACF,GAAI,CAACJ,GAAsBE,EAAe,CACxC,MAAMG,EAAiC,CACrC,QAASH,EAAc,QACvB,YAAaA,EAAc,sBAC7B,EACA,MAAO,CACL,eAAAE,EACA,aAAAC,CACF,CACF,CAEA,MAAMC,EAA4B,QAAM,kBAAe,CACrD,SAAAH,EACA,eAAAC,EACA,YAAAH,EACA,mBAAAD,CACF,CAAC,EAEKK,EAAe,QAAM,0BACzBC,CACF,EACA,MAAO,CAAE,eAAgBA,EAA2B,aAAAD,CAAa,CACnE,OAASE,EAAK,CACZ,cAAQ,MAAM,kCAAmCA,CAAG,EAE9CA,CACR,CACF",
|
|
6
|
+
"names": ["getLedgerProvider_exports", "__export", "getLedgerProvider", "__toCommonJS", "import_sdk_hw_provider", "import_getIsLoggedIn", "import_accountProvider", "import_accountSelectors", "import_loginInfoSelectors", "import_store", "import_getLedgerConfiguration", "import_initHwProvider", "props", "isLoggedIn", "shouldInitProvider", "ledgerLogin", "ledgerAccount", "provider", "ledgerProvider", "ledgerConfig", "initializedLedgerProvider", "err"]
|
|
7
|
+
}
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import { HWProvider } from '@multiversx/sdk-hw-provider';
|
|
2
|
+
import { LedgerConfigType } from '../../types/ledgerProvider.types';
|
|
2
3
|
export declare function getLedgerProvider(props?: {
|
|
3
4
|
shouldInitProvider?: boolean;
|
|
4
5
|
}): Promise<{
|
|
5
6
|
ledgerProvider: HWProvider;
|
|
6
|
-
ledgerConfig:
|
|
7
|
-
version: string;
|
|
8
|
-
dataEnabled: boolean;
|
|
9
|
-
};
|
|
7
|
+
ledgerConfig: LedgerConfigType;
|
|
10
8
|
}>;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{a}from"../../../../../__chunks__/chunk-7PE652LB.mjs";import"../../../../../__chunks__/chunk-5HEWN34K.mjs";import"../../../../../__chunks__/chunk-YYH2GKPL.mjs";import"../../../../../__chunks__/chunk-C72ZHRFA.mjs";import"../../../../../__chunks__/chunk-NVBWPLR7.mjs";import"../../../../../__chunks__/chunk-QO62QJ5H.mjs";import"../../../../../__chunks__/chunk-RUBOJOJP.mjs";import"../../../../../__chunks__/chunk-K5K2FVFB.mjs";import"../../../../../__chunks__/chunk-T7DVMF2K.mjs";import"../../../../../__chunks__/chunk-6UZHM5LW.mjs";import"../../../../../__chunks__/chunk-FF45FPD3.mjs";import"../../../../../__chunks__/chunk-ZATPIKZ2.mjs";import"../../../../../__chunks__/chunk-U3MIDVR7.mjs";import"../../../../../__chunks__/chunk-CDWODCD7.mjs";import"../../../../../__chunks__/chunk-JZZ3MOUU.mjs";import"../../../../../__chunks__/chunk-PKD3AEXI.mjs";import"../../../../../__chunks__/chunk-CLUVDWX6.mjs";import"../../../../../__chunks__/chunk-KLI6N26E.mjs";import"../../../../../__chunks__/chunk-LG6Q3PRI.mjs";import"../../../../../__chunks__/chunk-D3VRMBRS.mjs";import"../../../../../__chunks__/chunk-AFLCI6IF.mjs";import"../../../../../__chunks__/chunk-FRUJEORM.mjs";import"../../../../../__chunks__/chunk-ABBDCZHP.mjs";import"../../../../../__chunks__/chunk-LKOWOTL2.mjs";import"../../../../../__chunks__/chunk-6BOC75BF.mjs";import"../../../../../__chunks__/chunk-PMHRZ5Y7.mjs";import"../../../../../__chunks__/chunk-2VG3V3VD.mjs";import"../../../../../__chunks__/chunk-55U3WK3C.mjs";import"../../../../../__chunks__/chunk-N55JEIM6.mjs";import"../../../../../__chunks__/chunk-XV3H7VOE.mjs";import"../../../../../__chunks__/chunk-P2MHA65O.mjs";import"../../../../../__chunks__/chunk-N5VJJRWV.mjs";import"../../../../../__chunks__/chunk-6EKK7AJE.mjs";import"../../../../../__chunks__/chunk-4ODPAHHA.mjs";import"../../../../../__chunks__/chunk-ECEWPZGA.mjs";import"../../../../../__chunks__/chunk-MDVI45IV.mjs";import"../../../../../__chunks__/chunk-K4JJZCL3.mjs";import"../../../../../__chunks__/chunk-3C5GZ3BL.mjs";import"../../../../../__chunks__/chunk-OSG4UY2Z.mjs";import"../../../../../__chunks__/chunk-O6ALDFLM.mjs";import"../../../../../__chunks__/chunk-4MCQ27VQ.mjs";import"../../../../../__chunks__/chunk-Q2Q4XN4M.mjs";import"../../../../../__chunks__/chunk-XSUHHPZ2.mjs";import"../../../../../__chunks__/chunk-H73D4VUZ.mjs";import"../../../../../__chunks__/chunk-N4KX33RW.mjs";import"../../../../../__chunks__/chunk-55SACSMS.mjs";import"../../../../../__chunks__/chunk-UPABDY55.mjs";import"../../../../../__chunks__/chunk-J5TLE6SA.mjs";import"../../../../../__chunks__/chunk-4US7HVCR.mjs";import"../../../../../__chunks__/chunk-4QDHKULK.mjs";import"../../../../../__chunks__/chunk-4TBVQD27.mjs";import"../../../../../__chunks__/chunk-M3GFSV3G.mjs";import"../../../../../__chunks__/chunk-WV5X6BXA.mjs";import"../../../../../__chunks__/chunk-LYSI4URP.mjs";import"../../../../../__chunks__/chunk-E2GGD7D4.mjs";import"../../../../../__chunks__/chunk-L3YPAYXZ.mjs";import"../../../../../__chunks__/chunk-CXAX5TAG.mjs";import"../../../../../__chunks__/chunk-J32T6OAP.mjs";import"../../../../../__chunks__/chunk-SAN5F2PW.mjs";import"../../../../../__chunks__/chunk-LGGG3HW7.mjs";import"../../../../../__chunks__/chunk-IWP36NOU.mjs";import"../../../../../__chunks__/chunk-G5DKGX73.mjs";import"../../../../../__chunks__/chunk-ODHXJQOF.mjs";import"../../../../../__chunks__/chunk-O65OBG5D.mjs";import"../../../../../__chunks__/chunk-XXV6KGR4.mjs";import"../../../../../__chunks__/chunk-HORSXVIV.mjs";import"../../../../../__chunks__/chunk-XTATC65P.mjs";import"../../../../../__chunks__/chunk-4GCIE2BM.mjs";import"../../../../../__chunks__/chunk-NWEUIK3A.mjs";import"../../../../../__chunks__/chunk-DW6RO5LJ.mjs";import"../../../../../__chunks__/chunk-OJX2TSAZ.mjs";import"../../../../../__chunks__/chunk-XDBKPKTG.mjs";import"../../../../../__chunks__/chunk-E77ZH5JT.mjs";import"../../../../../__chunks__/chunk-JDP24JPD.mjs";import"../../../../../__chunks__/chunk-OAPLU7UX.mjs";import"../../../../../__chunks__/chunk-H5NVCCUR.mjs";import"../../../../../__chunks__/chunk-PMATTOPD.mjs";import"../../../../../__chunks__/chunk-VTEOS2MM.mjs";import"../../../../../__chunks__/chunk-EPL2CHU6.mjs";import"../../../../../__chunks__/chunk-3GGBXXXJ.mjs";import"../../../../../__chunks__/chunk-RMW3YLGD.mjs";import"../../../../../__chunks__/chunk-FPJ2PIFX.mjs";import"../../../../../__chunks__/chunk-NJN53MJV.mjs";import"../../../../../__chunks__/chunk-YSCND2MX.mjs";import"../../../../../__chunks__/chunk-YJK5FPW4.mjs";import"../../../../../__chunks__/chunk-36XFDUXN.mjs";import"../../../../../__chunks__/chunk-N56SMVGU.mjs";import"../../../../../__chunks__/chunk-NGM3AVCY.mjs";import"../../../../../__chunks__/chunk-CDTYHGXZ.mjs";import"../../../../../__chunks__/chunk-2RAULLHL.mjs";import"../../../../../__chunks__/chunk-3FXHIV6O.mjs";import"../../../../../__chunks__/chunk-6CQMLD25.mjs";import"../../../../../__chunks__/chunk-OL6LWUIJ.mjs";import"../../../../../__chunks__/chunk-KIOUFP5Q.mjs";import"../../../../../__chunks__/chunk-ZRSYQ3MT.mjs";import"../../../../../__chunks__/chunk-M6MN4RXG.mjs";import"../../../../../__chunks__/chunk-5DILKRFV.mjs";import"../../../../../__chunks__/chunk-DZ2BIDRW.mjs";import"../../../../../__chunks__/chunk-HZGRS7HG.mjs";import"../../../../../__chunks__/chunk-NTPPBM7T.mjs";import"../../../../../__chunks__/chunk-GUAXMODN.mjs";import"../../../../../__chunks__/chunk-4VA2SULD.mjs";import"../../../../../__chunks__/chunk-ZAPRDHIW.mjs";import"../../../../../__chunks__/chunk-GIZSIYH4.mjs";import"../../../../../__chunks__/chunk-WVAP3V3E.mjs";import"../../../../../__chunks__/chunk-XVX7N3JK.mjs";import"../../../../../__chunks__/chunk-HH5SA7BX.mjs";import"../../../../../__chunks__/chunk-DRPJ3IFU.mjs";import"../../../../../__chunks__/chunk-B3IKUIRK.mjs";import"../../../../../__chunks__/chunk-IXBWD6BF.mjs";import"../../../../../__chunks__/chunk-CVXQYCEE.mjs";import"../../../../../__chunks__/chunk-VCAWVAO5.mjs";import"../../../../../__chunks__/chunk-55W25Q35.mjs";import"../../../../../__chunks__/chunk-3CG4C7T4.mjs";import"../../../../../__chunks__/chunk-FNHO66WN.mjs";import"../../../../../__chunks__/chunk-CZ2S4XSL.mjs";import"../../../../../__chunks__/chunk-XNSSZDSU.mjs";import"../../../../../__chunks__/chunk-T4FRQ4JG.mjs";import"../../../../../__chunks__/chunk-7MBSWJUD.mjs";import"../../../../../__chunks__/chunk-KPK72MOE.mjs";import"../../../../../__chunks__/chunk-7VHTZYM2.mjs";import"../../../../../__chunks__/chunk-VNLGNNIL.mjs";import"../../../../../__chunks__/chunk-6JM4DPOH.mjs";import"../../../../../__chunks__/chunk-UTWIKUIK.mjs";import"../../../../../__chunks__/chunk-ZODTYAYF.mjs";import"../../../../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../../../../__chunks__/chunk-DKX6JUT6.mjs";import"../../../../../__chunks__/chunk-AGJVEK6I.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-IVHD32VC.mjs";import"../../../../../__chunks__/chunk-TVXZBSUY.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-SALLGAGD.mjs";import"../../../../../__chunks__/chunk-G5N56FHJ.mjs";import"../../../../../__chunks__/chunk-TX7PTLVP.mjs";import"../../../../../__chunks__/chunk-WZ2DNB3R.mjs";import"../../../../../__chunks__/chunk-DFSBS3PX.mjs";import"../../../../../__chunks__/chunk-GFR6K4DR.mjs";import"../../../../../__chunks__/chunk-6D53LH5J.mjs";import"../../../../../__chunks__/chunk-H33OUO77.mjs";import"../../../../../__chunks__/chunk-HQQMSHTW.mjs";import"../../../../../__chunks__/chunk-ZKBKYLAP.mjs";import"../../../../../__chunks__/chunk-6UMOECOW.mjs";import"../../../../../__chunks__/chunk-54B3EIZC.mjs";import"../../../../../__chunks__/chunk-QJ7MRSGB.mjs";import"../../../../../__chunks__/chunk-VDDXFGB2.mjs";import"../../../../../__chunks__/chunk-UCNS6KD5.mjs";import"../../../../../__chunks__/chunk-35MNP3LA.mjs";import"../../../../../__chunks__/chunk-UQU2VWPJ.mjs";import"../../../../../__chunks__/chunk-YJCTRUJT.mjs";import"../../../../../__chunks__/chunk-PJWJZHIS.mjs";import"../../../../../__chunks__/chunk-QNELH2S2.mjs";import"../../../../../__chunks__/chunk-2JKCBTYK.mjs";import"../../../../../__chunks__/chunk-7UA7QAEF.mjs";import"../../../../../__chunks__/chunk-FTJF3Q3P.mjs";import"../../../../../__chunks__/chunk-YUITECZ5.mjs";import"../../../../../__chunks__/chunk-2BSPSW6X.mjs";import"../../../../../__chunks__/chunk-BTJWNUM6.mjs";import"../../../../../__chunks__/chunk-TRMQFQOQ.mjs";import"../../../../../__chunks__/chunk-WZI2I6NX.mjs";import"../../../../../__chunks__/chunk-TVELGQIH.mjs";import"../../../../../__chunks__/chunk-OVXVICF7.mjs";import"../../../../../__chunks__/chunk-NTEMINYA.mjs";import"../../../../../__chunks__/chunk-WRLZ5ICK.mjs";import"../../../../../__chunks__/chunk-I3MK6KZJ.mjs";import"../../../../../__chunks__/chunk-UCRVRBTA.mjs";import"../../../../../__chunks__/chunk-MGQ373AO.mjs";import"../../../../../__chunks__/chunk-RPTH42EF.mjs";import"../../../../../__chunks__/chunk-3UNGCOKO.mjs";import"../../../../../__chunks__/chunk-TR2KNDCH.mjs";import"../../../../../__chunks__/chunk-5Y2ZDPP6.mjs";import"../../../../../__chunks__/chunk-WYVAFCPU.mjs";import"../../../../../__chunks__/chunk-EJV4VNJG.mjs";import"../../../../../__chunks__/chunk-6R2WFQ7U.mjs";import"../../../../../__chunks__/chunk-NAYDJEWI.mjs";import"../../../../../__chunks__/chunk-FI444OX3.mjs";import"../../../../../__chunks__/chunk-LHEH7L4L.mjs";import"../../../../../__chunks__/chunk-PKDR5ERF.mjs";import"../../../../../__chunks__/chunk-MGFIOCA4.mjs";import"../../../../../__chunks__/chunk-GGBMHKR4.mjs";import"../../../../../__chunks__/chunk-NWJYEKI2.mjs";import"../../../../../__chunks__/chunk-LJX4MW7B.mjs";import"../../../../../__chunks__/chunk-DTQL3IDP.mjs";import"../../../../../__chunks__/chunk-CKTFPRJS.mjs";import"../../../../../__chunks__/chunk-RV6SJMD7.mjs";import"../../../../../__chunks__/chunk-HUXPA4C2.mjs";import"../../../../../__chunks__/chunk-EHDGJUEU.mjs";import"../../../../../__chunks__/chunk-HOCSCRJF.mjs";import"../../../../../__chunks__/chunk-URTM5OGN.mjs";import"../../../../../__chunks__/chunk-UE3IBKCO.mjs";import"../../../../../__chunks__/chunk-H6IZMTJK.mjs";import"../../../../../__chunks__/chunk-B2UIPHJ3.mjs";export{a as getLedgerProvider};
|
|
2
|
+
//# sourceMappingURL=getLedgerProvider.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var i=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var A=Object.getOwnPropertyNames;var d=Object.prototype.hasOwnProperty;var s=(r,o)=>{for(var t in o)i(r,t,{get:o[t],enumerable:!0})},E=(r,o,t,a)=>{if(o&&typeof o=="object"||typeof o=="function")for(let n of A(o))!d.call(r,n)&&n!==t&&i(r,n,{get:()=>o[n],enumerable:!(a=p(o,n))||a.enumerable});return r};var c=r=>E(i({},"__esModule",{value:!0}),r);var g={};s(g,{getLedgerConfiguration:()=>f});module.exports=c(g);var e=require("
|
|
1
|
+
"use strict";var i=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var A=Object.getOwnPropertyNames;var d=Object.prototype.hasOwnProperty;var s=(r,o)=>{for(var t in o)i(r,t,{get:o[t],enumerable:!0})},E=(r,o,t,a)=>{if(o&&typeof o=="object"||typeof o=="function")for(let n of A(o))!d.call(r,n)&&n!==t&&i(r,n,{get:()=>o[n],enumerable:!(a=p(o,n))||a.enumerable});return r};var c=r=>E(i({},"__esModule",{value:!0}),r);var g={};s(g,{getLedgerConfiguration:()=>f});module.exports=c(g);var e=require("../../../../../../constants/index");async function f(r){if(!r.isInitialized())throw new Error("Unable to get version. Provider not initialized");const o=r.hwApp,{contractData:t,version:a}=await o.getAppConfiguration();return{version:a,dataEnabled:t===e.LEDGER_CONTRACT_DATA_ENABLED_VALUE}}0&&(module.exports={getLedgerConfiguration});
|
|
2
2
|
//# sourceMappingURL=getLedgerConfiguration.cjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
|
-
"sources": ["
|
|
3
|
+
"sources": ["../../../../../../../src/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider/helpers/getLedgerConfiguration.ts"],
|
|
4
4
|
"sourcesContent": ["import { HWProvider } from '@multiversx/sdk-hw-provider';\nimport { IHWWalletApp } from '@multiversx/sdk-hw-provider/out/interface';\n\nimport { LEDGER_CONTRACT_DATA_ENABLED_VALUE } from 'constants/index';\n\nexport async function getLedgerConfiguration(initializedHwWalletP: HWProvider) {\n if (!initializedHwWalletP.isInitialized()) {\n throw new Error('Unable to get version. Provider not initialized');\n }\n const hwApp: IHWWalletApp = (initializedHwWalletP as any).hwApp;\n const { contractData, version } = await hwApp.getAppConfiguration();\n const dataEnabled = contractData === LEDGER_CONTRACT_DATA_ENABLED_VALUE;\n return { version, dataEnabled };\n}\n"],
|
|
5
5
|
"mappings": "yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,4BAAAE,IAAA,eAAAC,EAAAH,GAGA,IAAAI,EAAmD,2BAEnD,eAAsBF,EAAuBG,EAAkC,CAC7E,GAAI,CAACA,EAAqB,cAAc,EACtC,MAAM,IAAI,MAAM,iDAAiD,EAEnE,MAAMC,EAAuBD,EAA6B,MACpD,CAAE,aAAAE,EAAc,QAAAC,CAAQ,EAAI,MAAMF,EAAM,oBAAoB,EAElE,MAAO,CAAE,QAAAE,EAAS,YADED,IAAiB,oCACP,CAChC",
|
|
6
6
|
"names": ["getLedgerConfiguration_exports", "__export", "getLedgerConfiguration", "__toCommonJS", "import_constants", "initializedHwWalletP", "hwApp", "contractData", "version"]
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{a}from"../../../../../../__chunks__/chunk-YYH2GKPL.mjs";import"../../../../../../__chunks__/chunk-5Y2ZDPP6.mjs";import"../../../../../../__chunks__/chunk-WYVAFCPU.mjs";import"../../../../../../__chunks__/chunk-EJV4VNJG.mjs";import"../../../../../../__chunks__/chunk-6R2WFQ7U.mjs";import"../../../../../../__chunks__/chunk-NAYDJEWI.mjs";import"../../../../../../__chunks__/chunk-FI444OX3.mjs";import"../../../../../../__chunks__/chunk-LHEH7L4L.mjs";import"../../../../../../__chunks__/chunk-PKDR5ERF.mjs";import"../../../../../../__chunks__/chunk-MGFIOCA4.mjs";import"../../../../../../__chunks__/chunk-GGBMHKR4.mjs";import"../../../../../../__chunks__/chunk-NWJYEKI2.mjs";import"../../../../../../__chunks__/chunk-LJX4MW7B.mjs";import"../../../../../../__chunks__/chunk-URTM5OGN.mjs";export{a as getLedgerConfiguration};
|
|
2
|
+
//# sourceMappingURL=getLedgerConfiguration.mjs.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";var d=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var l=(r,i)=>{for(var e in i)d(r,e,{get:i[e],enumerable:!0})},m=(r,i,e,t)=>{if(i&&typeof i=="object"||typeof i=="function")for(let n of s(i))!P.call(r,n)&&n!==e&&d(r,n,{get:()=>i[n],enumerable:!(t=o(i,n))||t.enumerable});return r};var u=r=>m(d({},"__esModule",{value:!0}),r);var I={};l(I,{initHwProvider:()=>f});module.exports=u(I);var a=require("@multiversx/sdk-hw-provider");async function f({provider:r,ledgerProvider:i,ledgerLogin:e,shouldInitProvider:t}){const n=e?.index!=null;if(r instanceof a.HWProvider&&r.isInitialized())return n&&await r.setAddressIndex(e.index),r;if(t&&!await i.init())throw new Error("Failed to initialize Ledger Provider");return n&&await i.setAddressIndex(e.index),i}0&&(module.exports={initHwProvider});
|
|
2
|
+
//# sourceMappingURL=initHwProvider.cjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../../../../src/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider/helpers/initHwProvider.ts"],
|
|
4
|
+
"sourcesContent": ["import { HWProvider } from '@multiversx/sdk-hw-provider';\nimport { DappProvider } from 'providers/DappProvider/DappProvider';\n\ntype InitHwProviderParams = {\n provider: DappProvider | HWProvider;\n ledgerProvider: HWProvider;\n ledgerLogin?: { index?: number | null } | null;\n shouldInitProvider: boolean;\n};\n\nexport async function initHwProvider({\n provider,\n ledgerProvider,\n ledgerLogin,\n shouldInitProvider\n}: InitHwProviderParams): Promise<HWProvider> {\n const hasAddressIndex = ledgerLogin?.index != null;\n\n if (provider instanceof HWProvider && provider.isInitialized()) {\n if (hasAddressIndex) {\n await provider.setAddressIndex(ledgerLogin!.index as number);\n }\n return provider;\n }\n\n if (shouldInitProvider) {\n const isInitialized = await ledgerProvider.init();\n if (!isInitialized) {\n throw new Error('Failed to initialize Ledger Provider');\n }\n }\n\n if (hasAddressIndex) {\n await ledgerProvider.setAddressIndex(ledgerLogin!.index as number);\n }\n\n return ledgerProvider;\n}\n"],
|
|
5
|
+
"mappings": "yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,oBAAAE,IAAA,eAAAC,EAAAH,GAAA,IAAAI,EAA2B,uCAU3B,eAAsBF,EAAe,CACnC,SAAAG,EACA,eAAAC,EACA,YAAAC,EACA,mBAAAC,CACF,EAA8C,CAC5C,MAAMC,EAAkBF,GAAa,OAAS,KAE9C,GAAIF,aAAoB,cAAcA,EAAS,cAAc,EAC3D,OAAII,GACF,MAAMJ,EAAS,gBAAgBE,EAAa,KAAe,EAEtDF,EAGT,GAAIG,GAEE,CADkB,MAAMF,EAAe,KAAK,EAE9C,MAAM,IAAI,MAAM,sCAAsC,EAI1D,OAAIG,GACF,MAAMH,EAAe,gBAAgBC,EAAa,KAAe,EAG5DD,CACT",
|
|
6
|
+
"names": ["initHwProvider_exports", "__export", "initHwProvider", "__toCommonJS", "import_sdk_hw_provider", "provider", "ledgerProvider", "ledgerLogin", "shouldInitProvider", "hasAddressIndex"]
|
|
7
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { HWProvider } from '@multiversx/sdk-hw-provider';
|
|
2
|
+
import { DappProvider } from '../../../../../../providers/DappProvider/DappProvider';
|
|
3
|
+
type InitHwProviderParams = {
|
|
4
|
+
provider: DappProvider | HWProvider;
|
|
5
|
+
ledgerProvider: HWProvider;
|
|
6
|
+
ledgerLogin?: {
|
|
7
|
+
index?: number | null;
|
|
8
|
+
} | null;
|
|
9
|
+
shouldInitProvider: boolean;
|
|
10
|
+
};
|
|
11
|
+
export declare function initHwProvider({ provider, ledgerProvider, ledgerLogin, shouldInitProvider }: InitHwProviderParams): Promise<HWProvider>;
|
|
12
|
+
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var a=Object.defineProperty;var b=Object.getOwnPropertyDescriptor;var c=Object.getOwnPropertyNames;var d=Object.prototype.hasOwnProperty;var p=(r,o,f,x)=>{if(o&&typeof o=="object"||typeof o=="function")for(let e of c(o))!d.call(r,e)&&e!==f&&a(r,e,{get:()=>o[e],enumerable:!(x=b(o,e))||x.enumerable});return r},t=(r,o,f)=>(p(r,o,"default"),f&&p(f,o,"default"));var g=r=>p(a({},"__esModule",{value:!0}),r);var m={};module.exports=g(m);t(m,require("./
|
|
1
|
+
"use strict";var a=Object.defineProperty;var b=Object.getOwnPropertyDescriptor;var c=Object.getOwnPropertyNames;var d=Object.prototype.hasOwnProperty;var p=(r,o,f,x)=>{if(o&&typeof o=="object"||typeof o=="function")for(let e of c(o))!d.call(r,e)&&e!==f&&a(r,e,{get:()=>o[e],enumerable:!(x=b(o,e))||x.enumerable});return r},t=(r,o,f)=>(p(r,o,"default"),f&&p(f,o,"default"));var g=r=>p(a({},"__esModule",{value:!0}),r);var m={};module.exports=g(m);t(m,require("./getLedgerProvider"),module.exports);0&&(module.exports={...require("./getLedgerProvider")});
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider/index.cjs.map
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../../../src/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider/index.ts"],
|
|
4
|
+
"sourcesContent": ["export * from './getLedgerProvider';\n"],
|
|
5
|
+
"mappings": "iaAAA,IAAAA,EAAA,kBAAAC,EAAAD,GAAAE,EAAAF,EAAc,+BAAd",
|
|
6
|
+
"names": ["getLedgerProvider_exports", "__toCommonJS", "__reExport"]
|
|
7
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './getLedgerProvider';
|