@multiversx/sdk-dapp 5.0.3 → 5.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/out/__chunks__/chunk-22CLXEB2.mjs +2 -0
- package/out/__chunks__/chunk-3FX5RTHT.mjs +2 -0
- package/out/__chunks__/chunk-456YSI54.mjs +2 -0
- package/out/__chunks__/chunk-4ZQAHMC7.mjs +2 -0
- package/out/__chunks__/chunk-5HV6ENMZ.mjs +2 -0
- package/out/__chunks__/chunk-5HWBV7UA.mjs +2 -0
- package/out/__chunks__/chunk-5ZNSOJRW.mjs +2 -0
- package/out/__chunks__/chunk-653M72HI.mjs +2 -0
- package/out/__chunks__/chunk-6LQPIIN7.mjs +2 -0
- package/out/__chunks__/chunk-6QUYC43H.mjs +2 -0
- package/out/__chunks__/chunk-6QUYC43H.mjs.map +7 -0
- package/out/__chunks__/chunk-76URRONH.mjs +2 -0
- package/out/__chunks__/chunk-AAT5TA2C.mjs +2 -0
- package/out/__chunks__/chunk-AOT45CLU.mjs +2 -0
- package/out/__chunks__/chunk-BIKDLBHK.mjs +2 -0
- package/out/__chunks__/chunk-BLNUEDNB.mjs +2 -0
- package/out/__chunks__/chunk-BTJWNUM6.mjs +2 -0
- package/out/__chunks__/chunk-BTJWNUM6.mjs.map +7 -0
- package/out/__chunks__/chunk-CDQ2BNUD.mjs +2 -0
- package/out/__chunks__/chunk-CQFFB5WA.mjs +2 -0
- package/out/__chunks__/chunk-EHU6U444.mjs +2 -0
- package/out/__chunks__/chunk-EQSRTMFM.mjs +2 -0
- package/out/__chunks__/chunk-F7TDWWAZ.mjs +2 -0
- package/out/__chunks__/chunk-FWC42IFM.mjs +2 -0
- package/out/__chunks__/chunk-FYA6M3N3.mjs +2 -0
- package/out/__chunks__/chunk-G4Z3ZQR6.mjs +2 -0
- package/out/__chunks__/chunk-HCKBJTY3.mjs +2 -0
- package/out/__chunks__/chunk-HCKBJTY3.mjs.map +7 -0
- package/out/__chunks__/chunk-HF5UK7AF.mjs +2 -0
- package/out/__chunks__/chunk-HLBGYEYU.mjs +2 -0
- package/out/__chunks__/chunk-HLNCW36T.mjs +2 -0
- package/out/__chunks__/chunk-IRLEEOUA.mjs +2 -0
- package/out/__chunks__/chunk-J55M6HRJ.mjs +2 -0
- package/out/__chunks__/chunk-JBF4OOHG.mjs +2 -0
- package/out/__chunks__/chunk-JIDXMYLT.mjs +2 -0
- package/out/__chunks__/chunk-JQ6DWF4A.mjs +2 -0
- package/out/__chunks__/chunk-KE7YRXWM.mjs +2 -0
- package/out/__chunks__/chunk-KIU22HW5.mjs +2 -0
- package/out/__chunks__/chunk-KK2BMMWL.mjs +2 -0
- package/out/__chunks__/chunk-KZAQIHS2.mjs +2 -0
- package/out/__chunks__/chunk-LG4JGQOF.mjs +2 -0
- package/out/__chunks__/chunk-MOJR7L2A.mjs +2 -0
- package/out/__chunks__/chunk-MSYOA2HY.mjs +2 -0
- package/out/__chunks__/chunk-N6PKXG4Q.mjs +2 -0
- package/out/__chunks__/chunk-NDIJUIRP.mjs +2 -0
- package/out/__chunks__/chunk-NTGUPGTV.mjs +2 -0
- package/out/__chunks__/chunk-NVLWSC4J.mjs +2 -0
- package/out/__chunks__/chunk-NW6VE6YC.mjs +2 -0
- package/out/__chunks__/chunk-NW6VE6YC.mjs.map +7 -0
- package/out/__chunks__/chunk-OIJVN33N.mjs +2 -0
- package/out/__chunks__/chunk-OLPUNT27.mjs +2 -0
- package/out/__chunks__/chunk-P5RC6PN5.mjs +2 -0
- package/out/__chunks__/chunk-PJAESU4Q.mjs +2 -0
- package/out/__chunks__/chunk-PLUWBWJ2.mjs +2 -0
- package/out/__chunks__/chunk-PLUWBWJ2.mjs.map +7 -0
- package/out/__chunks__/chunk-PZYLVHXW.mjs +2 -0
- package/out/__chunks__/chunk-RJKYCUB2.mjs +2 -0
- package/out/__chunks__/chunk-RQ5H245L.mjs +2 -0
- package/out/__chunks__/chunk-S75Q25RY.mjs +2 -0
- package/out/__chunks__/chunk-SF4BD7ZP.mjs +2 -0
- package/out/__chunks__/chunk-SIRUYWHD.mjs +2 -0
- package/out/__chunks__/chunk-SMLKNW6G.mjs +2 -0
- package/out/__chunks__/chunk-SXX3XHAW.mjs +2 -0
- package/out/__chunks__/chunk-TS77UH5B.mjs +2 -0
- package/out/__chunks__/chunk-TS77UH5B.mjs.map +7 -0
- package/out/__chunks__/chunk-TUKLXZGE.mjs +2 -0
- package/out/__chunks__/chunk-TX6KTAJL.mjs +2 -0
- package/out/__chunks__/chunk-UJJ2TXN5.mjs +2 -0
- package/out/__chunks__/chunk-ULK34VWM.mjs +2 -0
- package/out/__chunks__/chunk-ULK34VWM.mjs.map +7 -0
- package/out/__chunks__/chunk-UOUYS55Y.mjs +2 -0
- package/out/__chunks__/chunk-UUV2STLQ.mjs +2 -0
- package/out/__chunks__/chunk-UUV2STLQ.mjs.map +7 -0
- package/out/__chunks__/chunk-UZOPRGVU.mjs +2 -0
- package/out/__chunks__/chunk-UZV2AYS7.mjs +2 -0
- package/out/__chunks__/chunk-V3FPOJA5.mjs +2 -0
- package/out/__chunks__/chunk-V7PT3KKW.mjs +2 -0
- package/out/__chunks__/chunk-VBMIE7MG.mjs +2 -0
- package/out/__chunks__/chunk-VJOUHZ3O.mjs +2 -0
- package/out/__chunks__/chunk-VPS6ARX6.mjs +2 -0
- package/out/__chunks__/chunk-VWJRTO5A.mjs +2 -0
- package/out/__chunks__/chunk-WJ7ALCIQ.mjs +2 -0
- package/out/__chunks__/chunk-WJCTIZ2A.mjs +2 -0
- package/out/__chunks__/chunk-WONHL4N2.mjs +2 -0
- package/out/__chunks__/chunk-WZRJWY5M.mjs +2 -0
- package/out/__chunks__/chunk-X7R7RLVZ.mjs +2 -0
- package/out/__chunks__/chunk-XIR5WVK3.mjs +2 -0
- package/out/__chunks__/chunk-XKOP7FDQ.mjs +2 -0
- package/out/__chunks__/chunk-XNLP533V.mjs +2 -0
- package/out/__chunks__/chunk-XRMMQJV3.mjs +2 -0
- package/out/__chunks__/chunk-Y7IZFCJ5.mjs +2 -0
- package/out/__chunks__/chunk-YLOVIFPG.mjs +2 -0
- package/out/__chunks__/chunk-YRZADY4X.mjs +2 -0
- package/out/__chunks__/chunk-YTYVQKLJ.mjs +2 -0
- package/out/__chunks__/chunk-ZC2OOJ2D.mjs +2 -0
- package/out/__mocks__/accountConfig.cjs +37 -0
- package/out/__mocks__/accountConfig.cjs.map +7 -0
- package/out/__mocks__/accountConfig.mjs +1 -1
- package/out/__mocks__/data/account.cjs +38 -0
- package/out/__mocks__/data/account.cjs.map +7 -0
- package/out/__mocks__/data/blocks.cjs +34 -0
- package/out/__mocks__/data/blocks.cjs.map +7 -0
- package/out/__mocks__/data/dappConfig.cjs +43 -0
- package/out/__mocks__/data/dappConfig.cjs.map +7 -0
- package/out/__mocks__/data/index.cjs +35 -0
- package/out/__mocks__/data/index.cjs.map +7 -0
- package/out/__mocks__/data/networkConfig.cjs +56 -0
- package/out/__mocks__/data/networkConfig.cjs.map +7 -0
- package/out/__mocks__/data/socketResponse.cjs +35 -0
- package/out/__mocks__/data/socketResponse.cjs.map +7 -0
- package/out/__mocks__/data/websocketConfig.cjs +29 -0
- package/out/__mocks__/data/websocketConfig.cjs.map +7 -0
- package/out/__mocks__/data/wrapEgldContract.cjs +54 -0
- package/out/__mocks__/data/wrapEgldContract.cjs.map +7 -0
- package/out/__mocks__/index.cjs +27 -0
- package/out/__mocks__/index.cjs.map +7 -0
- package/out/__mocks__/index.mjs +1 -1
- package/out/__mocks__/server.cjs +65 -0
- package/out/__mocks__/server.cjs.map +7 -0
- package/out/__mocks__/server.mjs +1 -1
- package/out/__mocks__/utils/index.cjs +25 -0
- package/out/__mocks__/utils/index.cjs.map +7 -0
- package/out/__mocks__/utils/mockWindowHistory.cjs +45 -0
- package/out/__mocks__/utils/mockWindowHistory.cjs.map +7 -0
- package/out/__mocks__/utils/mockWindowLocation.cjs +45 -0
- package/out/__mocks__/utils/mockWindowLocation.cjs.map +7 -0
- package/out/apiCalls/account/getAccountFromApi.cjs +60 -0
- package/out/apiCalls/account/getAccountFromApi.cjs.map +7 -0
- package/out/apiCalls/account/getScamAddressData.cjs +52 -0
- package/out/apiCalls/account/getScamAddressData.cjs.map +7 -0
- package/out/apiCalls/account/getScamAddressData.mjs +1 -1
- package/out/apiCalls/account/index.cjs +23 -0
- package/out/apiCalls/account/index.cjs.map +7 -0
- package/out/apiCalls/configuration/getCleanApiAddress.cjs +35 -0
- package/out/apiCalls/configuration/getCleanApiAddress.cjs.map +7 -0
- package/out/apiCalls/configuration/getCleanApiAddress.mjs +1 -1
- package/out/apiCalls/configuration/getGasStationMetadata.cjs +65 -0
- package/out/apiCalls/configuration/getGasStationMetadata.cjs.map +7 -0
- package/out/apiCalls/configuration/getGasStationMetadata.mjs +1 -1
- package/out/apiCalls/configuration/getNetworkConfigFromApi.cjs +62 -0
- package/out/apiCalls/configuration/getNetworkConfigFromApi.cjs.map +7 -0
- package/out/apiCalls/configuration/getServerConfiguration.cjs +66 -0
- package/out/apiCalls/configuration/getServerConfiguration.cjs.map +7 -0
- package/out/apiCalls/configuration/index.cjs +25 -0
- package/out/apiCalls/configuration/index.cjs.map +7 -0
- package/out/apiCalls/economics/getEconomics.cjs +55 -0
- package/out/apiCalls/economics/getEconomics.cjs.map +7 -0
- package/out/apiCalls/endpoints.cjs +101 -0
- package/out/apiCalls/endpoints.cjs.map +7 -0
- package/out/apiCalls/index.cjs +33 -0
- package/out/apiCalls/index.cjs.map +7 -0
- package/out/apiCalls/index.mjs +1 -1
- package/out/apiCalls/tokens/getPersistedToken.cjs +43 -0
- package/out/apiCalls/tokens/getPersistedToken.cjs.map +7 -0
- package/out/apiCalls/tokens/getPersistedTokenDetails.cjs +73 -0
- package/out/apiCalls/tokens/getPersistedTokenDetails.cjs.map +7 -0
- package/out/apiCalls/tokens/getPersistedTokenDetails.mjs +1 -1
- package/out/apiCalls/tokens/getTokenDetails.cjs +75 -0
- package/out/apiCalls/tokens/getTokenDetails.cjs.map +7 -0
- package/out/apiCalls/tokens/getTokenDetails.mjs +1 -1
- package/out/apiCalls/tokens/index.cjs +23 -0
- package/out/apiCalls/tokens/index.cjs.map +7 -0
- package/out/apiCalls/tokens/index.mjs +1 -1
- package/out/apiCalls/tokens/tokenDataStorage.cjs +59 -0
- package/out/apiCalls/tokens/tokenDataStorage.cjs.map +7 -0
- package/out/apiCalls/transactions/getServerTransactionsByHashes.cjs +55 -0
- package/out/apiCalls/transactions/getServerTransactionsByHashes.cjs.map +7 -0
- package/out/apiCalls/transactions/getServerTransactionsByHashes.mjs +1 -1
- package/out/apiCalls/transactions/getTransactionByHash.cjs +52 -0
- package/out/apiCalls/transactions/getTransactionByHash.cjs.map +7 -0
- package/out/apiCalls/transactions/getTransactionByHash.mjs +1 -1
- package/out/apiCalls/transactions/getTransactions.cjs +77 -0
- package/out/apiCalls/transactions/getTransactions.cjs.map +7 -0
- package/out/apiCalls/transactions/getTransactionsByHashes.cjs +48 -0
- package/out/apiCalls/transactions/getTransactionsByHashes.cjs.map +7 -0
- package/out/apiCalls/transactions/getTransactionsByHashes.mjs +1 -1
- package/out/apiCalls/utils/axiosFetcher.cjs +30 -0
- package/out/apiCalls/utils/axiosFetcher.cjs.map +7 -0
- package/out/apiCalls/utils/axiosInstance.cjs +106 -0
- package/out/apiCalls/utils/axiosInstance.cjs.map +7 -0
- package/out/apiCalls/utils/getCleanApiAddress.cjs +31 -0
- package/out/apiCalls/utils/getCleanApiAddress.cjs.map +7 -0
- package/out/apiCalls/utils/index.cjs +27 -0
- package/out/apiCalls/utils/index.cjs.map +7 -0
- package/out/apiCalls/websocket/getWebsocketUrl.cjs +50 -0
- package/out/apiCalls/websocket/getWebsocketUrl.cjs.map +7 -0
- package/out/apiCalls/websocket/index.cjs +23 -0
- package/out/apiCalls/websocket/index.cjs.map +7 -0
- package/out/constants/UITags.enum.cjs +38 -0
- package/out/constants/UITags.enum.cjs.map +7 -0
- package/out/constants/browser.constants.cjs +35 -0
- package/out/constants/browser.constants.cjs.map +7 -0
- package/out/constants/browser.constants.mjs +1 -1
- package/out/constants/index.cjs +41 -0
- package/out/constants/index.cjs.map +7 -0
- package/out/constants/index.mjs +1 -1
- package/out/constants/ledger.constants.cjs +132 -0
- package/out/constants/ledger.constants.cjs.map +7 -0
- package/out/constants/mvx.constants.cjs +59 -0
- package/out/constants/mvx.constants.cjs.map +7 -0
- package/out/constants/network.constants.cjs +114 -0
- package/out/constants/network.constants.cjs.map +7 -0
- package/out/constants/placeholders.constants.cjs +35 -0
- package/out/constants/placeholders.constants.cjs.map +7 -0
- package/out/constants/providerFactory.constants.cjs +39 -0
- package/out/constants/providerFactory.constants.cjs.map +7 -0
- package/out/constants/providerFactory.constants.mjs +1 -1
- package/out/constants/storage.constants.cjs +41 -0
- package/out/constants/storage.constants.cjs.map +7 -0
- package/out/constants/storage.constants.mjs +1 -1
- package/out/constants/transactions.constants.cjs +62 -0
- package/out/constants/transactions.constants.cjs.map +7 -0
- package/out/constants/walletConnect.constants.cjs +33 -0
- package/out/constants/walletConnect.constants.cjs.map +7 -0
- package/out/constants/webWalletProvider.constants.cjs +47 -0
- package/out/constants/webWalletProvider.constants.cjs.map +7 -0
- package/out/constants/websocket.constants.cjs +40 -0
- package/out/constants/websocket.constants.cjs.map +7 -0
- package/out/constants/window.constants.cjs +32 -0
- package/out/constants/window.constants.cjs.map +7 -0
- package/out/constants/window.constants.mjs +1 -1
- package/out/controllers/FormatAmountController/FormatAmountController.cjs +58 -0
- package/out/controllers/FormatAmountController/FormatAmountController.cjs.map +7 -0
- package/out/controllers/FormatAmountController/index.cjs +23 -0
- package/out/controllers/FormatAmountController/index.cjs.map +7 -0
- package/out/controllers/FormatAmountController/types.cjs +17 -0
- package/out/controllers/FormatAmountController/types.cjs.map +7 -0
- package/out/controllers/TransactionsHistoryController/TransactionsHistoryController.cjs +35 -0
- package/out/controllers/TransactionsHistoryController/TransactionsHistoryController.cjs.map +7 -0
- package/out/controllers/TransactionsHistoryController/TransactionsHistoryController.mjs +1 -1
- package/out/controllers/TransactionsHistoryController/index.cjs +23 -0
- package/out/controllers/TransactionsHistoryController/index.cjs.map +7 -0
- package/out/controllers/TransactionsHistoryController/index.mjs +1 -1
- package/out/controllers/TransactionsTableController/TransactionsTableController.cjs +131 -0
- package/out/controllers/TransactionsTableController/TransactionsTableController.cjs.map +7 -0
- package/out/controllers/TransactionsTableController/TransactionsTableController.mjs +1 -1
- package/out/controllers/TransactionsTableController/index.cjs +23 -0
- package/out/controllers/TransactionsTableController/index.cjs.map +7 -0
- package/out/controllers/TransactionsTableController/index.mjs +1 -1
- package/out/controllers/TransactionsTableController/transactionsTableController.types.cjs +17 -0
- package/out/controllers/TransactionsTableController/transactionsTableController.types.cjs.map +7 -0
- package/out/controllers/index.cjs +23 -0
- package/out/controllers/index.cjs.map +7 -0
- package/out/index.cjs +33 -0
- package/out/index.cjs.map +7 -0
- package/out/index.mjs +1 -1
- package/out/lib/sdkCore.cjs +47 -0
- package/out/lib/sdkCore.cjs.map +7 -0
- package/out/lib/sdkDappUi.cjs +54 -0
- package/out/lib/sdkDappUi.cjs.map +7 -0
- package/out/lib/sdkDappUi.mjs +1 -1
- package/out/lib/sdkDappUtils.cjs +45 -0
- package/out/lib/sdkDappUtils.cjs.map +7 -0
- package/out/lib/sdkWebWalletCrossWindowProvider.cjs +34 -0
- package/out/lib/sdkWebWalletCrossWindowProvider.cjs.map +7 -0
- package/out/lib/sdkWebWalletIframeProvider.cjs +29 -0
- package/out/lib/sdkWebWalletIframeProvider.cjs.map +7 -0
- package/out/lib/sdkWebviewProvider.cjs +29 -0
- package/out/lib/sdkWebviewProvider.cjs.map +7 -0
- package/out/managers/LogoutManager/LogoutManager.cjs +168 -0
- package/out/managers/LogoutManager/LogoutManager.cjs.map +7 -0
- package/out/managers/LogoutManager/LogoutManager.mjs +1 -1
- package/out/managers/LogoutManager/helpers/getHumanReadableTokenExpirationTime.cjs +57 -0
- package/out/managers/LogoutManager/helpers/getHumanReadableTokenExpirationTime.cjs.map +7 -0
- package/out/managers/NotificationsFeedManager/NotificationsFeedManager.cjs +158 -0
- package/out/managers/NotificationsFeedManager/NotificationsFeedManager.cjs.map +7 -0
- package/out/managers/NotificationsFeedManager/NotificationsFeedManager.mjs +1 -1
- package/out/managers/NotificationsFeedManager/index.cjs +25 -0
- package/out/managers/NotificationsFeedManager/index.cjs.map +7 -0
- package/out/managers/NotificationsFeedManager/index.mjs +1 -1
- package/out/managers/NotificationsFeedManager/types/index.cjs +23 -0
- package/out/managers/NotificationsFeedManager/types/index.cjs.map +7 -0
- package/out/managers/NotificationsFeedManager/types/notifications.types.cjs +36 -0
- package/out/managers/NotificationsFeedManager/types/notifications.types.cjs.map +7 -0
- package/out/managers/TransactionManager/TransactionManager.cjs +198 -0
- package/out/managers/TransactionManager/TransactionManager.cjs.map +7 -0
- package/out/managers/TransactionManager/TransactionManager.mjs +1 -1
- package/out/managers/TransactionManager/TransactionManager.types.cjs +17 -0
- package/out/managers/TransactionManager/TransactionManager.types.cjs.map +7 -0
- package/out/managers/TransactionManager/helpers/getAreTransactionsCorssShards.cjs +51 -0
- package/out/managers/TransactionManager/helpers/getAreTransactionsCorssShards.cjs.map +7 -0
- package/out/managers/TransactionManager/helpers/getAreTransactionsCorssShards.mjs +1 -1
- package/out/managers/TransactionManager/helpers/getToastDuration.cjs +53 -0
- package/out/managers/TransactionManager/helpers/getToastDuration.cjs.map +7 -0
- package/out/managers/TransactionManager/helpers/getToastDuration.mjs +1 -1
- package/out/managers/TransactionManager/helpers/getTransactionsStatus.cjs +54 -0
- package/out/managers/TransactionManager/helpers/getTransactionsStatus.cjs.map +7 -0
- package/out/managers/TransactionManager/helpers/getTransactionsStatus.mjs +1 -1
- package/out/managers/TransactionManager/helpers/isBatchTransaction.cjs +31 -0
- package/out/managers/TransactionManager/helpers/isBatchTransaction.cjs.map +7 -0
- package/out/managers/TransactionManager/helpers/isCrossShardTransaction.cjs +48 -0
- package/out/managers/TransactionManager/helpers/isCrossShardTransaction.cjs.map +7 -0
- package/out/managers/TransactionManager/helpers/sessionCallbacks.cjs +42 -0
- package/out/managers/TransactionManager/helpers/sessionCallbacks.cjs.map +7 -0
- package/out/managers/TransactionManager/index.cjs +23 -0
- package/out/managers/TransactionManager/index.cjs.map +7 -0
- package/out/managers/TransactionManager/index.mjs +1 -1
- package/out/managers/UnlockPanelManager/UnlockPanelManager.cjs +168 -0
- package/out/managers/UnlockPanelManager/UnlockPanelManager.cjs.map +7 -0
- package/out/managers/UnlockPanelManager/UnlockPanelManager.mjs +1 -1
- package/out/managers/UnlockPanelManager/UnlockPanelManager.types.cjs +37 -0
- package/out/managers/UnlockPanelManager/UnlockPanelManager.types.cjs.map +7 -0
- package/out/managers/UnlockPanelManager/index.cjs +23 -0
- package/out/managers/UnlockPanelManager/index.cjs.map +7 -0
- package/out/managers/UnlockPanelManager/index.mjs +1 -1
- package/out/managers/index.cjs +25 -0
- package/out/managers/index.cjs.map +7 -0
- package/out/managers/index.mjs +1 -1
- package/out/managers/internal/LedgerConnectStateManager/LedgerConnectStateManager.cjs +215 -0
- package/out/managers/internal/LedgerConnectStateManager/LedgerConnectStateManager.cjs.map +7 -0
- package/out/managers/internal/LedgerConnectStateManager/LedgerConnectStateManager.mjs +1 -1
- package/out/managers/internal/LedgerConnectStateManager/index.cjs +25 -0
- package/out/managers/internal/LedgerConnectStateManager/index.cjs.map +7 -0
- package/out/managers/internal/LedgerConnectStateManager/index.mjs +1 -1
- package/out/managers/internal/LedgerConnectStateManager/types/index.cjs +23 -0
- package/out/managers/internal/LedgerConnectStateManager/types/index.cjs.map +7 -0
- package/out/managers/internal/LedgerConnectStateManager/types/ledgerConnectEvents.enum.cjs +37 -0
- package/out/managers/internal/LedgerConnectStateManager/types/ledgerConnectEvents.enum.cjs.map +7 -0
- package/out/managers/internal/LedgerIdleStateManager/LedgerIdleStateManager.cjs +125 -0
- package/out/managers/internal/LedgerIdleStateManager/LedgerIdleStateManager.cjs.map +7 -0
- package/out/managers/internal/LedgerIdleStateManager/LedgerIdleStateManager.mjs +1 -1
- package/out/managers/internal/PendingTransactionsStateManager/PendingTransactionsStateManager.cjs +59 -0
- package/out/managers/internal/PendingTransactionsStateManager/PendingTransactionsStateManager.cjs.map +7 -0
- package/out/managers/internal/PendingTransactionsStateManager/PendingTransactionsStateManager.mjs +1 -1
- package/out/managers/internal/PendingTransactionsStateManager/index.cjs +25 -0
- package/out/managers/internal/PendingTransactionsStateManager/index.cjs.map +7 -0
- package/out/managers/internal/PendingTransactionsStateManager/index.mjs +1 -1
- package/out/managers/internal/PendingTransactionsStateManager/types/index.cjs +23 -0
- package/out/managers/internal/PendingTransactionsStateManager/types/index.cjs.map +7 -0
- package/out/managers/internal/PendingTransactionsStateManager/types/pendingTransactions.types.cjs +33 -0
- package/out/managers/internal/PendingTransactionsStateManager/types/pendingTransactions.types.cjs.map +7 -0
- package/out/managers/internal/SidePanelBaseManager/SidePanelBaseManager.cjs +63 -0
- package/out/managers/internal/SidePanelBaseManager/SidePanelBaseManager.cjs.map +7 -0
- package/out/managers/internal/SidePanelBaseManager/SidePanelBaseManager.mjs +1 -1
- package/out/managers/internal/SidePanelBaseManager/index.cjs +23 -0
- package/out/managers/internal/SidePanelBaseManager/index.cjs.map +7 -0
- package/out/managers/internal/SidePanelBaseManager/index.mjs +1 -1
- package/out/managers/internal/SignTransactionsStateManager/SignTransactionsStateManager.cjs +139 -0
- package/out/managers/internal/SignTransactionsStateManager/SignTransactionsStateManager.cjs.map +7 -0
- package/out/managers/internal/SignTransactionsStateManager/SignTransactionsStateManager.mjs +1 -1
- package/out/managers/internal/SignTransactionsStateManager/index.cjs +23 -0
- package/out/managers/internal/SignTransactionsStateManager/index.cjs.map +7 -0
- package/out/managers/internal/SignTransactionsStateManager/index.mjs +1 -1
- package/out/managers/internal/SignTransactionsStateManager/types/index.cjs +23 -0
- package/out/managers/internal/SignTransactionsStateManager/types/index.cjs.map +7 -0
- package/out/managers/internal/SignTransactionsStateManager/types/signTransactionsPanel.types.cjs +37 -0
- package/out/managers/internal/SignTransactionsStateManager/types/signTransactionsPanel.types.cjs.map +7 -0
- package/out/managers/internal/ToastManager/ToastManager.cjs +268 -0
- package/out/managers/internal/ToastManager/ToastManager.cjs.map +7 -0
- package/out/managers/internal/ToastManager/ToastManager.mjs +1 -1
- package/out/managers/internal/ToastManager/helpers/LifetimeManager.cjs +72 -0
- package/out/managers/internal/ToastManager/helpers/LifetimeManager.cjs.map +7 -0
- package/out/managers/internal/ToastManager/helpers/LifetimeManager.mjs +1 -1
- package/out/managers/internal/ToastManager/helpers/createToastsFromTransactions.cjs +88 -0
- package/out/managers/internal/ToastManager/helpers/createToastsFromTransactions.cjs.map +7 -0
- package/out/managers/internal/ToastManager/helpers/createToastsFromTransactions.mjs +1 -1
- package/out/managers/internal/ToastManager/helpers/createTransactionToast.cjs +61 -0
- package/out/managers/internal/ToastManager/helpers/createTransactionToast.cjs.map +7 -0
- package/out/managers/internal/ToastManager/helpers/createTransactionToast.mjs +1 -1
- package/out/managers/internal/ToastManager/helpers/getToastDataStateByStatus.cjs +104 -0
- package/out/managers/internal/ToastManager/helpers/getToastDataStateByStatus.cjs.map +7 -0
- package/out/managers/internal/ToastManager/helpers/getToastDataStateByStatus.mjs +1 -1
- package/out/managers/internal/ToastManager/helpers/getToastTransactionsStatus.cjs +41 -0
- package/out/managers/internal/ToastManager/helpers/getToastTransactionsStatus.cjs.map +7 -0
- package/out/managers/internal/ToastManager/types/index.cjs +23 -0
- package/out/managers/internal/ToastManager/types/index.cjs.map +7 -0
- package/out/managers/internal/ToastManager/types/toast.types.cjs +48 -0
- package/out/managers/internal/ToastManager/types/toast.types.cjs.map +7 -0
- package/out/managers/internal/UIBaseManager/UIBaseManager.cjs +103 -0
- package/out/managers/internal/UIBaseManager/UIBaseManager.cjs.map +7 -0
- package/out/managers/internal/UIBaseManager/UIBaseManager.mjs +1 -1
- package/out/managers/internal/WalletConnectStateManager/WalletConnectStateManager.cjs +79 -0
- package/out/managers/internal/WalletConnectStateManager/WalletConnectStateManager.cjs.map +7 -0
- package/out/managers/internal/WalletConnectStateManager/WalletConnectStateManager.mjs +1 -1
- package/out/managers/internal/WalletConnectStateManager/index.cjs +23 -0
- package/out/managers/internal/WalletConnectStateManager/index.cjs.map +7 -0
- package/out/managers/internal/WalletConnectStateManager/index.mjs +1 -1
- package/out/managers/internal/index.cjs +38 -0
- package/out/managers/internal/index.cjs.map +7 -0
- package/out/managers/internal/index.mjs +1 -1
- package/out/methods/account/getAccount.cjs +33 -0
- package/out/methods/account/getAccount.cjs.map +7 -0
- package/out/methods/account/getAccount.mjs +1 -1
- package/out/methods/account/getAccountInfo.cjs +33 -0
- package/out/methods/account/getAccountInfo.cjs.map +7 -0
- package/out/methods/account/getAccountInfo.mjs +1 -1
- package/out/methods/account/getAddress.cjs +33 -0
- package/out/methods/account/getAddress.cjs.map +7 -0
- package/out/methods/account/getAddress.mjs +1 -1
- package/out/methods/account/getIsLoggedIn.cjs +33 -0
- package/out/methods/account/getIsLoggedIn.cjs.map +7 -0
- package/out/methods/account/getIsLoggedIn.mjs +1 -1
- package/out/methods/account/getLatestNonce.cjs +55 -0
- package/out/methods/account/getLatestNonce.cjs.map +7 -0
- package/out/methods/account/getLatestNonce.mjs +1 -1
- package/out/methods/initApp/gastStationMetadata/setGasStationMetadata.cjs +62 -0
- package/out/methods/initApp/gastStationMetadata/setGasStationMetadata.cjs.map +7 -0
- package/out/methods/initApp/gastStationMetadata/setGasStationMetadata.mjs +1 -1
- package/out/methods/initApp/initApp.cjs +113 -0
- package/out/methods/initApp/initApp.cjs.map +7 -0
- package/out/methods/initApp/initApp.mjs +1 -1
- package/out/methods/initApp/initApp.mjs.map +3 -3
- package/out/methods/initApp/initApp.types.cjs +17 -0
- package/out/methods/initApp/initApp.types.cjs.map +7 -0
- package/out/methods/initApp/websocket/initializeWebsocketConnection.cjs +173 -0
- package/out/methods/initApp/websocket/initializeWebsocketConnection.cjs.map +7 -0
- package/out/methods/initApp/websocket/initializeWebsocketConnection.mjs +1 -1
- package/out/methods/initApp/websocket/registerWebsocket.cjs +38 -0
- package/out/methods/initApp/websocket/registerWebsocket.cjs.map +7 -0
- package/out/methods/initApp/websocket/registerWebsocket.mjs +1 -1
- package/out/methods/loginInfo/getLoginInfo.cjs +37 -0
- package/out/methods/loginInfo/getLoginInfo.cjs.map +7 -0
- package/out/methods/loginInfo/getLoginInfo.mjs +1 -1
- package/out/methods/network/getEgldLabel.cjs +33 -0
- package/out/methods/network/getEgldLabel.cjs.map +7 -0
- package/out/methods/network/getEgldLabel.mjs +1 -1
- package/out/methods/network/getExplorerAddress.cjs +33 -0
- package/out/methods/network/getExplorerAddress.cjs.map +7 -0
- package/out/methods/network/getExplorerAddress.mjs +1 -1
- package/out/methods/network/getNetworkConfig.cjs +33 -0
- package/out/methods/network/getNetworkConfig.cjs.map +7 -0
- package/out/methods/network/getNetworkConfig.mjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkBatch.cjs +147 -0
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkBatch.cjs.map +7 -0
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkBatch.mjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkTransactionStatus.cjs +44 -0
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkTransactionStatus.cjs.map +7 -0
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkTransactionStatus.mjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/getPendingTransactions.cjs +41 -0
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/getPendingTransactions.cjs.map +7 -0
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/index.cjs +23 -0
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/index.cjs.map +7 -0
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/index.mjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/manageFailedTransactions.cjs +58 -0
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/manageFailedTransactions.cjs.map +7 -0
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/manageFailedTransactions.mjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/runSessionCallbacks.cjs +50 -0
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/runSessionCallbacks.cjs.map +7 -0
- package/out/methods/trackTransactions/helpers/getPollingInterval.cjs +38 -0
- package/out/methods/trackTransactions/helpers/getPollingInterval.cjs.map +7 -0
- package/out/methods/trackTransactions/helpers/getPollingInterval.mjs +1 -1
- package/out/methods/trackTransactions/trackTransactions.cjs +118 -0
- package/out/methods/trackTransactions/trackTransactions.cjs.map +7 -0
- package/out/methods/trackTransactions/trackTransactions.mjs +1 -1
- package/out/methods/transactions/getFailedTransactions.cjs +33 -0
- package/out/methods/transactions/getFailedTransactions.cjs.map +7 -0
- package/out/methods/transactions/getFailedTransactions.mjs +1 -1
- package/out/methods/transactions/getFailedTransactionsSessions.cjs +33 -0
- package/out/methods/transactions/getFailedTransactionsSessions.cjs.map +7 -0
- package/out/methods/transactions/getFailedTransactionsSessions.mjs +1 -1
- package/out/methods/transactions/getPendingTransactions.cjs +33 -0
- package/out/methods/transactions/getPendingTransactions.cjs.map +7 -0
- package/out/methods/transactions/getPendingTransactions.mjs +1 -1
- package/out/methods/transactions/getPendingTransactionsSessions.cjs +33 -0
- package/out/methods/transactions/getPendingTransactionsSessions.cjs.map +7 -0
- package/out/methods/transactions/getPendingTransactionsSessions.mjs +1 -1
- package/out/methods/transactions/getSuccessfulTransactions.cjs +33 -0
- package/out/methods/transactions/getSuccessfulTransactions.cjs.map +7 -0
- package/out/methods/transactions/getSuccessfulTransactions.mjs +1 -1
- package/out/methods/transactions/getSuccessfulTransactionsSessions.cjs +33 -0
- package/out/methods/transactions/getSuccessfulTransactionsSessions.cjs.map +7 -0
- package/out/methods/transactions/getSuccessfulTransactionsSessions.mjs +1 -1
- package/out/methods/transactions/getTransactionSessions.cjs +33 -0
- package/out/methods/transactions/getTransactionSessions.cjs.map +7 -0
- package/out/methods/transactions/getTransactionSessions.mjs +1 -1
- package/out/providers/DappProvider/DappProvider.cjs +113 -0
- package/out/providers/DappProvider/DappProvider.cjs.map +7 -0
- package/out/providers/DappProvider/DappProvider.mjs +1 -1
- package/out/providers/DappProvider/helpers/computeNonces/computeNonce.cjs +37 -0
- package/out/providers/DappProvider/helpers/computeNonces/computeNonce.cjs.map +7 -0
- package/out/providers/DappProvider/helpers/computeNonces/computeNonces.cjs +47 -0
- package/out/providers/DappProvider/helpers/computeNonces/computeNonces.cjs.map +7 -0
- package/out/providers/DappProvider/helpers/login/helpers/accountLogin.cjs +67 -0
- package/out/providers/DappProvider/helpers/login/helpers/accountLogin.cjs.map +7 -0
- package/out/providers/DappProvider/helpers/login/helpers/accountLogin.mjs +1 -1
- package/out/providers/DappProvider/helpers/login/helpers/extractAddressFromToken.cjs +45 -0
- package/out/providers/DappProvider/helpers/login/helpers/extractAddressFromToken.cjs.map +7 -0
- package/out/providers/DappProvider/helpers/login/helpers/extractAddressFromToken.mjs +1 -1
- package/out/providers/DappProvider/helpers/login/helpers/getAccountFromToken.cjs +45 -0
- package/out/providers/DappProvider/helpers/login/helpers/getAccountFromToken.cjs.map +7 -0
- package/out/providers/DappProvider/helpers/login/helpers/getAccountFromToken.mjs +1 -1
- package/out/providers/DappProvider/helpers/login/helpers/getModifiedLoginToken.cjs +56 -0
- package/out/providers/DappProvider/helpers/login/helpers/getModifiedLoginToken.cjs.map +7 -0
- package/out/providers/DappProvider/helpers/login/helpers/getModifiedLoginToken.mjs +1 -1
- package/out/providers/DappProvider/helpers/login/login.cjs +122 -0
- package/out/providers/DappProvider/helpers/login/login.cjs.map +7 -0
- package/out/providers/DappProvider/helpers/login/login.mjs +1 -1
- package/out/providers/DappProvider/helpers/logout/logout.cjs +64 -0
- package/out/providers/DappProvider/helpers/logout/logout.cjs.map +7 -0
- package/out/providers/DappProvider/helpers/logout/logout.mjs +1 -1
- package/out/providers/DappProvider/helpers/signErrors/handleSignError.cjs +79 -0
- package/out/providers/DappProvider/helpers/signErrors/handleSignError.cjs.map +7 -0
- package/out/providers/DappProvider/helpers/signErrors/handleSignError.mjs +1 -1
- package/out/providers/DappProvider/helpers/signMessage/getVerifier.cjs +33 -0
- package/out/providers/DappProvider/helpers/signMessage/getVerifier.cjs.map +7 -0
- package/out/providers/DappProvider/helpers/signMessage/signMessageWithProvider.cjs +43 -0
- package/out/providers/DappProvider/helpers/signMessage/signMessageWithProvider.cjs.map +7 -0
- package/out/providers/DappProvider/helpers/signMessage/signMessageWithProvider.mjs +1 -1
- package/out/providers/DappProvider/helpers/signMessage/verifyMessage.cjs +61 -0
- package/out/providers/DappProvider/helpers/signMessage/verifyMessage.cjs.map +7 -0
- package/out/providers/DappProvider/helpers/signTransactions/signTransactionsWithProvider.cjs +59 -0
- package/out/providers/DappProvider/helpers/signTransactions/signTransactionsWithProvider.cjs.map +7 -0
- package/out/providers/DappProvider/helpers/signTransactions/signTransactionsWithProvider.mjs +1 -1
- package/out/providers/DappProvider/index.cjs +23 -0
- package/out/providers/DappProvider/index.cjs.map +7 -0
- package/out/providers/DappProvider/index.mjs +1 -1
- package/out/providers/ProviderFactory.cjs +131 -0
- package/out/providers/ProviderFactory.cjs.map +7 -0
- package/out/providers/ProviderFactory.mjs +1 -1
- package/out/providers/helpers/accountProvider.cjs +39 -0
- package/out/providers/helpers/accountProvider.cjs.map +7 -0
- package/out/providers/helpers/accountProvider.mjs +1 -1
- package/out/providers/helpers/cancelCrossWindowAction.cjs +38 -0
- package/out/providers/helpers/cancelCrossWindowAction.cjs.map +7 -0
- package/out/providers/helpers/cancelCrossWindowAction.mjs +1 -1
- package/out/providers/helpers/clearInitiatedLogins.cjs +58 -0
- package/out/providers/helpers/clearInitiatedLogins.cjs.map +7 -0
- package/out/providers/helpers/clearInitiatedLogins.mjs +1 -1
- package/out/providers/helpers/emptyProvider.cjs +107 -0
- package/out/providers/helpers/emptyProvider.cjs.map +7 -0
- package/out/providers/helpers/emptyProvider.mjs +1 -1
- package/out/providers/helpers/restoreProvider.cjs +53 -0
- package/out/providers/helpers/restoreProvider.cjs.map +7 -0
- package/out/providers/helpers/restoreProvider.mjs +1 -1
- package/out/providers/index.cjs +32 -0
- package/out/providers/index.cjs.map +7 -0
- package/out/providers/index.mjs +1 -1
- package/out/providers/strategies/BaseProviderStrategy/BaseProviderStrategy.cjs +130 -0
- package/out/providers/strategies/BaseProviderStrategy/BaseProviderStrategy.cjs.map +7 -0
- package/out/providers/strategies/BaseProviderStrategy/BaseProviderStrategy.mjs +1 -1
- package/out/providers/strategies/CrossWindowProviderStrategy/CrossWindowProviderStrategy.cjs +107 -0
- package/out/providers/strategies/CrossWindowProviderStrategy/CrossWindowProviderStrategy.cjs.map +7 -0
- package/out/providers/strategies/CrossWindowProviderStrategy/CrossWindowProviderStrategy.mjs +1 -1
- package/out/providers/strategies/CrossWindowProviderStrategy/index.cjs +23 -0
- package/out/providers/strategies/CrossWindowProviderStrategy/index.cjs.map +7 -0
- package/out/providers/strategies/CrossWindowProviderStrategy/index.mjs +1 -1
- package/out/providers/strategies/ExtensionProviderStrategy/ExtensionProviderStrategy.cjs +97 -0
- package/out/providers/strategies/ExtensionProviderStrategy/ExtensionProviderStrategy.cjs.map +7 -0
- package/out/providers/strategies/ExtensionProviderStrategy/ExtensionProviderStrategy.mjs +1 -1
- package/out/providers/strategies/ExtensionProviderStrategy/index.cjs +23 -0
- package/out/providers/strategies/ExtensionProviderStrategy/index.cjs.map +7 -0
- package/out/providers/strategies/ExtensionProviderStrategy/index.mjs +1 -1
- package/out/providers/strategies/IframeProviderStrategy/IframeProviderStrategy.cjs +121 -0
- package/out/providers/strategies/IframeProviderStrategy/IframeProviderStrategy.cjs.map +7 -0
- package/out/providers/strategies/IframeProviderStrategy/IframeProviderStrategy.mjs +1 -1
- package/out/providers/strategies/IframeProviderStrategy/index.cjs +25 -0
- package/out/providers/strategies/IframeProviderStrategy/index.cjs.map +7 -0
- package/out/providers/strategies/IframeProviderStrategy/index.mjs +1 -1
- package/out/providers/strategies/IframeProviderStrategy/types/iframe.types.cjs +17 -0
- package/out/providers/strategies/IframeProviderStrategy/types/iframe.types.cjs.map +7 -0
- package/out/providers/strategies/IframeProviderStrategy/types/index.cjs +23 -0
- package/out/providers/strategies/IframeProviderStrategy/types/index.cjs.map +7 -0
- package/out/providers/strategies/LedgerProviderStrategy/LedgerProviderStrategy.cjs +182 -0
- package/out/providers/strategies/LedgerProviderStrategy/LedgerProviderStrategy.cjs.map +7 -0
- package/out/providers/strategies/LedgerProviderStrategy/LedgerProviderStrategy.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount.cjs +125 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount.cjs.map +7 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getAuthTokenText.cjs +69 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getAuthTokenText.cjs.map +7 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getAuthTokenText.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerConfiguration.cjs +38 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerConfiguration.cjs.map +7 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerConfiguration.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerErrorCodes.cjs +48 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerErrorCodes.cjs.map +7 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider.cjs +81 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider.cjs.map +7 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerVersionOptions.cjs +83 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerVersionOptions.cjs.map +7 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerVersionOptions.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/index.cjs +33 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/index.cjs.map +7 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/index.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/initializeLedgerProvider.cjs +66 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/initializeLedgerProvider.cjs.map +7 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/initializeLedgerProvider.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/secondsToTimeString.cjs +62 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/secondsToTimeString.cjs.map +7 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/signLedgerMessage.cjs +47 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/signLedgerMessage.cjs.map +7 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/signLedgerMessage.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/index.cjs +23 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/index.cjs.map +7 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/index.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/updateAccountsList.cjs +122 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/updateAccountsList.cjs.map +7 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/updateAccountsList.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/updateAccountsList.types.cjs +17 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/updateAccountsList.types.cjs.map +7 -0
- package/out/providers/strategies/LedgerProviderStrategy/index.cjs +25 -0
- package/out/providers/strategies/LedgerProviderStrategy/index.cjs.map +7 -0
- package/out/providers/strategies/LedgerProviderStrategy/index.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/types/index.cjs +23 -0
- package/out/providers/strategies/LedgerProviderStrategy/types/index.cjs.map +7 -0
- package/out/providers/strategies/LedgerProviderStrategy/types/ledger.types.cjs +38 -0
- package/out/providers/strategies/LedgerProviderStrategy/types/ledger.types.cjs.map +7 -0
- package/out/providers/strategies/LedgerProviderStrategy/types/ledgerProvider.types.cjs +17 -0
- package/out/providers/strategies/LedgerProviderStrategy/types/ledgerProvider.types.cjs.map +7 -0
- package/out/providers/strategies/WalletConnectProviderStrategy/WalletConnectProviderStrategy.cjs +281 -0
- package/out/providers/strategies/WalletConnectProviderStrategy/WalletConnectProviderStrategy.cjs.map +7 -0
- package/out/providers/strategies/WalletConnectProviderStrategy/WalletConnectProviderStrategy.d.ts +1 -0
- package/out/providers/strategies/WalletConnectProviderStrategy/WalletConnectProviderStrategy.mjs +1 -1
- package/out/providers/strategies/WalletConnectProviderStrategy/index.cjs +25 -0
- package/out/providers/strategies/WalletConnectProviderStrategy/index.cjs.map +7 -0
- package/out/providers/strategies/WalletConnectProviderStrategy/index.mjs +1 -1
- package/out/providers/strategies/WalletConnectProviderStrategy/types/index.cjs +23 -0
- package/out/providers/strategies/WalletConnectProviderStrategy/types/index.cjs.map +7 -0
- package/out/providers/strategies/WalletConnectProviderStrategy/types/walletConnect.types.cjs +49 -0
- package/out/providers/strategies/WalletConnectProviderStrategy/types/walletConnect.types.cjs.map +7 -0
- package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/WebviewClient.cjs +186 -0
- package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/WebviewClient.cjs.map +7 -0
- package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/WebviewClient.mjs +1 -1
- package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/index.cjs +23 -0
- package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/index.cjs.map +7 -0
- package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/index.mjs +1 -1
- package/out/providers/strategies/WebviewProviderStrategy/WebviewProviderStrategy.cjs +98 -0
- package/out/providers/strategies/WebviewProviderStrategy/WebviewProviderStrategy.cjs.map +7 -0
- package/out/providers/strategies/WebviewProviderStrategy/WebviewProviderStrategy.mjs +1 -1
- package/out/providers/strategies/WebviewProviderStrategy/index.cjs +23 -0
- package/out/providers/strategies/WebviewProviderStrategy/index.cjs.map +7 -0
- package/out/providers/strategies/WebviewProviderStrategy/index.mjs +1 -1
- package/out/providers/strategies/helpers/getPendingTransactionsHandlers.cjs +42 -0
- package/out/providers/strategies/helpers/getPendingTransactionsHandlers.cjs.map +7 -0
- package/out/providers/strategies/helpers/getPendingTransactionsHandlers.mjs +1 -1
- package/out/providers/strategies/helpers/index.cjs +29 -0
- package/out/providers/strategies/helpers/index.cjs.map +7 -0
- package/out/providers/strategies/helpers/index.mjs +1 -1
- package/out/providers/strategies/helpers/signMessage/signMessage.cjs +84 -0
- package/out/providers/strategies/helpers/signMessage/signMessage.cjs.map +7 -0
- package/out/providers/strategies/helpers/signMessage/signMessage.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/calculateFeeInFiat.cjs +51 -0
- package/out/providers/strategies/helpers/signTransactions/helpers/calculateFeeInFiat.cjs.map +7 -0
- package/out/providers/strategies/helpers/signTransactions/helpers/calculateFeeLimit.cjs +87 -0
- package/out/providers/strategies/helpers/signTransactions/helpers/calculateFeeLimit.cjs.map +7 -0
- package/out/providers/strategies/helpers/signTransactions/helpers/calculateFeeLimit.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/getCommonData.cjs +183 -0
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/getCommonData.cjs.map +7 -0
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/getCommonData.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/checkIsValidSender.cjs +39 -0
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/checkIsValidSender.cjs.map +7 -0
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/decodeDataField.cjs +266 -0
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/decodeDataField.cjs.map +7 -0
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getExtractTransactionsInfo.cjs +94 -0
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getExtractTransactionsInfo.cjs.map +7 -0
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getExtractTransactionsInfo.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getHighlight.cjs +34 -0
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getHighlight.cjs.map +7 -0
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getPpuOptions.cjs +93 -0
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getPpuOptions.cjs.map +7 -0
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getRecommendedGasPrice.cjs +44 -0
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getRecommendedGasPrice.cjs.map +7 -0
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getScCall.cjs +40 -0
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getScCall.cjs.map +7 -0
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getTokenType.cjs +39 -0
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getTokenType.cjs.map +7 -0
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getTxInfoByDataField.cjs +51 -0
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getTxInfoByDataField.cjs.map +7 -0
- package/out/providers/strategies/helpers/signTransactions/helpers/getFeeData.cjs +55 -0
- package/out/providers/strategies/helpers/signTransactions/helpers/getFeeData.cjs.map +7 -0
- package/out/providers/strategies/helpers/signTransactions/helpers/getFeeData.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/getMultiEsdtTransferData.cjs +36 -0
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/getMultiEsdtTransferData.cjs.map +7 -0
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/getAllStringOccurrences.cjs +37 -0
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/getAllStringOccurrences.cjs.map +7 -0
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/getTokenFromData.cjs +127 -0
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/getTokenFromData.cjs.map +7 -0
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/parseMultiEsdtTransferData.cjs +119 -0
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/parseMultiEsdtTransferData.cjs.map +7 -0
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/parseMultiEsdtTransferDataForMultipleTransactions.cjs +87 -0
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/parseMultiEsdtTransferDataForMultipleTransactions.cjs.map +7 -0
- package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/getCrossWindowProvider.cjs +47 -0
- package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/getCrossWindowProvider.cjs.map +7 -0
- package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/getTransactionsNeedGuardianSigning.cjs +40 -0
- package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/getTransactionsNeedGuardianSigning.cjs.map +7 -0
- package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/guardTransactions.cjs +51 -0
- package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/guardTransactions.cjs.map +7 -0
- package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/guardTransactions.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/isTokenTransfer.cjs +34 -0
- package/out/providers/strategies/helpers/signTransactions/helpers/isTokenTransfer.cjs.map +7 -0
- package/out/providers/strategies/helpers/signTransactions/signTransactions.cjs +232 -0
- package/out/providers/strategies/helpers/signTransactions/signTransactions.cjs.map +7 -0
- package/out/providers/strategies/helpers/signTransactions/signTransactions.mjs +1 -1
- package/out/providers/strategies/index.cjs +31 -0
- package/out/providers/strategies/index.cjs.map +7 -0
- package/out/providers/strategies/index.mjs +1 -1
- package/out/providers/types/providerFactory.types.cjs +38 -0
- package/out/providers/types/providerFactory.types.cjs.map +7 -0
- package/out/providers/types/providerFactory.types.d.ts +1 -0
- package/out/providers/types/providerFactory.types.mjs +1 -1
- package/out/react/account/useGetAccount.cjs +33 -0
- package/out/react/account/useGetAccount.cjs.map +7 -0
- package/out/react/account/useGetAccount.mjs +1 -1
- package/out/react/account/useGetAccountInfo.cjs +33 -0
- package/out/react/account/useGetAccountInfo.cjs.map +7 -0
- package/out/react/account/useGetAccountInfo.mjs +1 -1
- package/out/react/account/useGetIsLoggedIn.cjs +34 -0
- package/out/react/account/useGetIsLoggedIn.cjs.map +7 -0
- package/out/react/account/useGetIsLoggedIn.mjs +1 -1
- package/out/react/account/useGetLatestNonce.cjs +35 -0
- package/out/react/account/useGetLatestNonce.cjs.map +7 -0
- package/out/react/account/useGetLatestNonce.mjs +1 -1
- package/out/react/index.cjs +23 -0
- package/out/react/index.cjs.map +7 -0
- package/out/react/index.mjs +1 -1
- package/out/react/loginInfo/useGetLoginInfo.cjs +36 -0
- package/out/react/loginInfo/useGetLoginInfo.cjs.map +7 -0
- package/out/react/loginInfo/useGetLoginInfo.mjs +1 -1
- package/out/react/network/useGetNetworkConfig.cjs +33 -0
- package/out/react/network/useGetNetworkConfig.cjs.map +7 -0
- package/out/react/network/useGetNetworkConfig.mjs +1 -1
- package/out/react/store/createBoundedStore.cjs +30 -0
- package/out/react/store/createBoundedStore.cjs.map +7 -0
- package/out/react/store/getReactStore.cjs +31 -0
- package/out/react/store/getReactStore.cjs.map +7 -0
- package/out/react/store/getReactStore.mjs +1 -1
- package/out/react/store/useSelector.cjs +33 -0
- package/out/react/store/useSelector.cjs.map +7 -0
- package/out/react/store/useSelector.mjs +1 -1
- package/out/react/transactions/useGetFailedTransactions.cjs +34 -0
- package/out/react/transactions/useGetFailedTransactions.cjs.map +7 -0
- package/out/react/transactions/useGetFailedTransactions.mjs +1 -1
- package/out/react/transactions/useGetFailedTransactionsSessions.cjs +34 -0
- package/out/react/transactions/useGetFailedTransactionsSessions.cjs.map +7 -0
- package/out/react/transactions/useGetFailedTransactionsSessions.mjs +1 -1
- package/out/react/transactions/useGetPendingTransactions.cjs +34 -0
- package/out/react/transactions/useGetPendingTransactions.cjs.map +7 -0
- package/out/react/transactions/useGetPendingTransactions.mjs +1 -1
- package/out/react/transactions/useGetPendingTransactionsSessions.cjs +34 -0
- package/out/react/transactions/useGetPendingTransactionsSessions.cjs.map +7 -0
- package/out/react/transactions/useGetPendingTransactionsSessions.mjs +1 -1
- package/out/react/transactions/useGetSuccessfulTransactions.cjs +34 -0
- package/out/react/transactions/useGetSuccessfulTransactions.cjs.map +7 -0
- package/out/react/transactions/useGetSuccessfulTransactions.mjs +1 -1
- package/out/react/transactions/useGetSuccessfulTransactionsSessions.cjs +36 -0
- package/out/react/transactions/useGetSuccessfulTransactionsSessions.cjs.map +7 -0
- package/out/react/transactions/useGetSuccessfulTransactionsSessions.mjs +1 -1
- package/out/react/transactions/useGetTransactionSessions.cjs +34 -0
- package/out/react/transactions/useGetTransactionSessions.cjs.map +7 -0
- package/out/react/transactions/useGetTransactionSessions.mjs +1 -1
- package/out/services/index.cjs +23 -0
- package/out/services/index.cjs.map +7 -0
- package/out/services/index.mjs +1 -1
- package/out/services/nativeAuth/helpers/decodeLoginToken.cjs +63 -0
- package/out/services/nativeAuth/helpers/decodeLoginToken.cjs.map +7 -0
- package/out/services/nativeAuth/helpers/decodeNativeAuthToken.cjs +73 -0
- package/out/services/nativeAuth/helpers/decodeNativeAuthToken.cjs.map +7 -0
- package/out/services/nativeAuth/helpers/getLatestBlockHash.cjs +101 -0
- package/out/services/nativeAuth/helpers/getLatestBlockHash.cjs.map +7 -0
- package/out/services/nativeAuth/helpers/index.cjs +27 -0
- package/out/services/nativeAuth/helpers/index.cjs.map +7 -0
- package/out/services/nativeAuth/index.cjs +23 -0
- package/out/services/nativeAuth/index.cjs.map +7 -0
- package/out/services/nativeAuth/index.mjs +1 -1
- package/out/services/nativeAuth/methods/buildNativeAuthConfig.cjs +42 -0
- package/out/services/nativeAuth/methods/buildNativeAuthConfig.cjs.map +7 -0
- package/out/services/nativeAuth/methods/buildNativeAuthConfig.mjs +1 -1
- package/out/services/nativeAuth/methods/getDefaultNativeAuthConfig.cjs +43 -0
- package/out/services/nativeAuth/methods/getDefaultNativeAuthConfig.cjs.map +7 -0
- package/out/services/nativeAuth/methods/getDefaultNativeAuthConfig.mjs +1 -1
- package/out/services/nativeAuth/methods/getTokenExpiration.cjs +52 -0
- package/out/services/nativeAuth/methods/getTokenExpiration.cjs.map +7 -0
- package/out/services/nativeAuth/methods/index.cjs +25 -0
- package/out/services/nativeAuth/methods/index.cjs.map +7 -0
- package/out/services/nativeAuth/methods/index.mjs +1 -1
- package/out/services/nativeAuth/nativeAuth.cjs +82 -0
- package/out/services/nativeAuth/nativeAuth.cjs.map +7 -0
- package/out/services/nativeAuth/nativeAuth.mjs +1 -1
- package/out/services/nativeAuth/nativeAuth.types.cjs +17 -0
- package/out/services/nativeAuth/nativeAuth.types.cjs.map +7 -0
- package/out/store/actions/account/accountActions.cjs +95 -0
- package/out/store/actions/account/accountActions.cjs.map +7 -0
- package/out/store/actions/account/accountActions.mjs +1 -1
- package/out/store/actions/account/index.cjs +23 -0
- package/out/store/actions/account/index.cjs.map +7 -0
- package/out/store/actions/account/index.mjs +1 -1
- package/out/store/actions/cache/cacheActions.cjs +62 -0
- package/out/store/actions/cache/cacheActions.cjs.map +7 -0
- package/out/store/actions/cache/cacheActions.mjs +1 -1
- package/out/store/actions/cache/index.cjs +23 -0
- package/out/store/actions/cache/index.cjs.map +7 -0
- package/out/store/actions/cache/index.mjs +1 -1
- package/out/store/actions/config/configActions.cjs +61 -0
- package/out/store/actions/config/configActions.cjs.map +7 -0
- package/out/store/actions/config/configActions.mjs +1 -1
- package/out/store/actions/config/index.cjs +23 -0
- package/out/store/actions/config/index.cjs.map +7 -0
- package/out/store/actions/config/index.mjs +1 -1
- package/out/store/actions/index.cjs +35 -0
- package/out/store/actions/index.cjs.map +7 -0
- package/out/store/actions/index.mjs +1 -1
- package/out/store/actions/loginInfo/loginInfoActions.cjs +134 -0
- package/out/store/actions/loginInfo/loginInfoActions.cjs.map +7 -0
- package/out/store/actions/loginInfo/loginInfoActions.mjs +1 -1
- package/out/store/actions/network/index.cjs +23 -0
- package/out/store/actions/network/index.cjs.map +7 -0
- package/out/store/actions/network/index.mjs +1 -1
- package/out/store/actions/network/initializeNetwork.cjs +71 -0
- package/out/store/actions/network/initializeNetwork.cjs.map +7 -0
- package/out/store/actions/network/initializeNetwork.mjs +1 -1
- package/out/store/actions/network/networkActions.cjs +42 -0
- package/out/store/actions/network/networkActions.cjs.map +7 -0
- package/out/store/actions/network/networkActions.mjs +1 -1
- package/out/store/actions/sharedActions/index.cjs +23 -0
- package/out/store/actions/sharedActions/index.cjs.map +7 -0
- package/out/store/actions/sharedActions/index.mjs +1 -1
- package/out/store/actions/sharedActions/sharedActions.cjs +50 -0
- package/out/store/actions/sharedActions/sharedActions.cjs.map +7 -0
- package/out/store/actions/sharedActions/sharedActions.mjs +1 -1
- package/out/store/actions/toasts/index.cjs +23 -0
- package/out/store/actions/toasts/index.cjs.map +7 -0
- package/out/store/actions/toasts/index.mjs +1 -1
- package/out/store/actions/toasts/toastsActions.cjs +178 -0
- package/out/store/actions/toasts/toastsActions.cjs.map +7 -0
- package/out/store/actions/toasts/toastsActions.mjs +1 -1
- package/out/store/actions/transactions/transactionStateByStatus.cjs +145 -0
- package/out/store/actions/transactions/transactionStateByStatus.cjs.map +7 -0
- package/out/store/actions/transactions/transactionsActions.cjs +134 -0
- package/out/store/actions/transactions/transactionsActions.cjs.map +7 -0
- package/out/store/actions/transactions/transactionsActions.mjs +1 -1
- package/out/store/actions/ui/index.cjs +23 -0
- package/out/store/actions/ui/index.cjs.map +7 -0
- package/out/store/actions/ui/index.mjs +1 -1
- package/out/store/actions/ui/uiActions.cjs +36 -0
- package/out/store/actions/ui/uiActions.cjs.map +7 -0
- package/out/store/actions/ui/uiActions.mjs +1 -1
- package/out/store/middleware/applyMiddlewares.cjs +32 -0
- package/out/store/middleware/applyMiddlewares.cjs.map +7 -0
- package/out/store/middleware/applyMiddlewares.mjs +1 -1
- package/out/store/middleware/index.cjs +23 -0
- package/out/store/middleware/index.cjs.map +7 -0
- package/out/store/middleware/index.mjs +1 -1
- package/out/store/middleware/logoutMiddleware.cjs +79 -0
- package/out/store/middleware/logoutMiddleware.cjs.map +7 -0
- package/out/store/middleware/logoutMiddleware.mjs +1 -1
- package/out/store/selectors/accountSelectors.cjs +61 -0
- package/out/store/selectors/accountSelectors.cjs.map +7 -0
- package/out/store/selectors/cacheSelector.cjs +32 -0
- package/out/store/selectors/cacheSelector.cjs.map +7 -0
- package/out/store/selectors/configSelectors.cjs +37 -0
- package/out/store/selectors/configSelectors.cjs.map +7 -0
- package/out/store/selectors/index.cjs +33 -0
- package/out/store/selectors/index.cjs.map +7 -0
- package/out/store/selectors/loginInfoSelectors.cjs +44 -0
- package/out/store/selectors/loginInfoSelectors.cjs.map +7 -0
- package/out/store/selectors/networkSelectors.cjs +43 -0
- package/out/store/selectors/networkSelectors.cjs.map +7 -0
- package/out/store/selectors/storeSelector.cjs +29 -0
- package/out/store/selectors/storeSelector.cjs.map +7 -0
- package/out/store/selectors/toastsSelectors.cjs +35 -0
- package/out/store/selectors/toastsSelectors.cjs.map +7 -0
- package/out/store/selectors/transactionsSelector.cjs +151 -0
- package/out/store/selectors/transactionsSelector.cjs.map +7 -0
- package/out/store/selectors/uiSelectors.cjs +32 -0
- package/out/store/selectors/uiSelectors.cjs.map +7 -0
- package/out/store/slices/account/account.types.cjs +17 -0
- package/out/store/slices/account/account.types.cjs.map +7 -0
- package/out/store/slices/account/accountSlice.cjs +44 -0
- package/out/store/slices/account/accountSlice.cjs.map +7 -0
- package/out/store/slices/account/emptyAccount.cjs +39 -0
- package/out/store/slices/account/emptyAccount.cjs.map +7 -0
- package/out/store/slices/account/index.cjs +29 -0
- package/out/store/slices/account/index.cjs.map +7 -0
- package/out/store/slices/cache/cacheSlice.cjs +35 -0
- package/out/store/slices/cache/cacheSlice.cjs.map +7 -0
- package/out/store/slices/cache/cacheSlice.types.cjs +17 -0
- package/out/store/slices/cache/cacheSlice.types.cjs.map +7 -0
- package/out/store/slices/cache/index.cjs +29 -0
- package/out/store/slices/cache/index.cjs.map +7 -0
- package/out/store/slices/config/config.types.cjs +17 -0
- package/out/store/slices/config/config.types.cjs.map +7 -0
- package/out/store/slices/config/configSlice.cjs +38 -0
- package/out/store/slices/config/configSlice.cjs.map +7 -0
- package/out/store/slices/config/index.cjs +29 -0
- package/out/store/slices/config/index.cjs.map +7 -0
- package/out/store/slices/index.cjs +35 -0
- package/out/store/slices/index.cjs.map +7 -0
- package/out/store/slices/loginInfo/index.cjs +29 -0
- package/out/store/slices/loginInfo/index.cjs.map +7 -0
- package/out/store/slices/loginInfo/loginInfo.types.cjs +17 -0
- package/out/store/slices/loginInfo/loginInfo.types.cjs.map +7 -0
- package/out/store/slices/loginInfo/loginInfoSlice.cjs +45 -0
- package/out/store/slices/loginInfo/loginInfoSlice.cjs.map +7 -0
- package/out/store/slices/network/emptyNetwork.cjs +42 -0
- package/out/store/slices/network/emptyNetwork.cjs.map +7 -0
- package/out/store/slices/network/index.cjs +29 -0
- package/out/store/slices/network/index.cjs.map +7 -0
- package/out/store/slices/network/network.types.cjs +17 -0
- package/out/store/slices/network/network.types.cjs.map +7 -0
- package/out/store/slices/network/networkSlice.cjs +36 -0
- package/out/store/slices/network/networkSlice.cjs.map +7 -0
- package/out/store/slices/network/networkSlice.types.cjs +17 -0
- package/out/store/slices/network/networkSlice.types.cjs.map +7 -0
- package/out/store/slices/toast/index.cjs +29 -0
- package/out/store/slices/toast/index.cjs.map +7 -0
- package/out/store/slices/toast/toastSlice.cjs +38 -0
- package/out/store/slices/toast/toastSlice.cjs.map +7 -0
- package/out/store/slices/toast/toastSlice.types.cjs +17 -0
- package/out/store/slices/toast/toastSlice.types.cjs.map +7 -0
- package/out/store/slices/transactions/index.cjs +29 -0
- package/out/store/slices/transactions/index.cjs.map +7 -0
- package/out/store/slices/transactions/transactionsSlice.cjs +35 -0
- package/out/store/slices/transactions/transactionsSlice.cjs.map +7 -0
- package/out/store/slices/transactions/transactionsSlice.types.cjs +17 -0
- package/out/store/slices/transactions/transactionsSlice.types.cjs.map +7 -0
- package/out/store/slices/ui/index.cjs +29 -0
- package/out/store/slices/ui/index.cjs.map +7 -0
- package/out/store/slices/ui/ui.types.cjs +17 -0
- package/out/store/slices/ui/ui.types.cjs.map +7 -0
- package/out/store/slices/ui/uiSlice.cjs +35 -0
- package/out/store/slices/ui/uiSlice.cjs.map +7 -0
- package/out/store/storage/inMemoryStorage.cjs +52 -0
- package/out/store/storage/inMemoryStorage.cjs.map +7 -0
- package/out/store/storage/index.cjs +25 -0
- package/out/store/storage/index.cjs.map +7 -0
- package/out/store/storage/index.mjs +1 -1
- package/out/store/storage/storageCallback.cjs +30 -0
- package/out/store/storage/storageCallback.cjs.map +7 -0
- package/out/store/storage/storageCallback.mjs +1 -1
- package/out/store/store.cjs +81 -0
- package/out/store/store.cjs.map +7 -0
- package/out/store/store.mjs +1 -1
- package/out/store/store.types.cjs +17 -0
- package/out/store/store.types.cjs.map +7 -0
- package/out/types/account.types.cjs +17 -0
- package/out/types/account.types.cjs.map +7 -0
- package/out/types/enums.types.cjs +120 -0
- package/out/types/enums.types.cjs.map +7 -0
- package/out/types/index.cjs +35 -0
- package/out/types/index.cjs.map +7 -0
- package/out/types/index.mjs +1 -1
- package/out/types/login.types.cjs +17 -0
- package/out/types/login.types.cjs.map +7 -0
- package/out/types/manager.types.cjs +17 -0
- package/out/types/manager.types.cjs.map +7 -0
- package/out/types/network.types.cjs +17 -0
- package/out/types/network.types.cjs.map +7 -0
- package/out/types/provider.types.cjs +35 -0
- package/out/types/provider.types.cjs.map +7 -0
- package/out/types/serverTransactions.types.cjs +155 -0
- package/out/types/serverTransactions.types.cjs.map +7 -0
- package/out/types/subscriptions.type.cjs +34 -0
- package/out/types/subscriptions.type.cjs.map +7 -0
- package/out/types/suspiciousLink.types.cjs +17 -0
- package/out/types/suspiciousLink.types.cjs.map +7 -0
- package/out/types/theme.types.cjs +34 -0
- package/out/types/theme.types.cjs.map +7 -0
- package/out/types/theme.types.d.ts +2 -1
- package/out/types/theme.types.mjs +1 -1
- package/out/types/tokens.types.cjs +40 -0
- package/out/types/tokens.types.cjs.map +7 -0
- package/out/types/transaction-list-item.types.cjs +115 -0
- package/out/types/transaction-list-item.types.cjs.map +7 -0
- package/out/types/transactions.types.cjs +35 -0
- package/out/types/transactions.types.cjs.map +7 -0
- package/out/types/transactions.types.d.ts +1 -1
- package/out/types/transactions.types.mjs.map +1 -1
- package/out/types/websocket.types.cjs +17 -0
- package/out/types/websocket.types.cjs.map +7 -0
- package/out/utils/ComponentFactory.cjs +51 -0
- package/out/utils/ComponentFactory.cjs.map +7 -0
- package/out/utils/ComponentFactory.d.ts +1 -1
- package/out/utils/ComponentFactory.mjs +1 -1
- package/out/utils/account/fetchAccount.cjs +30 -0
- package/out/utils/account/fetchAccount.cjs.map +7 -0
- package/out/utils/account/index.cjs +29 -0
- package/out/utils/account/index.cjs.map +7 -0
- package/out/utils/account/index.mjs +1 -1
- package/out/utils/account/refreshAccount.cjs +80 -0
- package/out/utils/account/refreshAccount.cjs.map +7 -0
- package/out/utils/account/refreshAccount.mjs +1 -1
- package/out/utils/account/refreshNativeAuthTokenLogin.cjs +66 -0
- package/out/utils/account/refreshNativeAuthTokenLogin.cjs.map +7 -0
- package/out/utils/account/refreshNativeAuthTokenLogin.mjs +1 -1
- package/out/utils/account/trimUsernameDomain.cjs +36 -0
- package/out/utils/account/trimUsernameDomain.cjs.map +7 -0
- package/out/utils/asyncActions/index.cjs +23 -0
- package/out/utils/asyncActions/index.cjs.map +7 -0
- package/out/utils/asyncActions/sleep.cjs +36 -0
- package/out/utils/asyncActions/sleep.cjs.map +7 -0
- package/out/utils/dateTime/getUnixTimestamp.cjs +31 -0
- package/out/utils/dateTime/getUnixTimestamp.cjs.map +7 -0
- package/out/utils/dateTime/getUnixTimestampWithAddedMilliseconds.cjs +33 -0
- package/out/utils/dateTime/getUnixTimestampWithAddedMilliseconds.cjs.map +7 -0
- package/out/utils/dateTime/getUnixTimestampWithAddedSeconds.cjs +31 -0
- package/out/utils/dateTime/getUnixTimestampWithAddedSeconds.cjs.map +7 -0
- package/out/utils/dateTime/index.cjs +27 -0
- package/out/utils/dateTime/index.cjs.map +7 -0
- package/out/utils/decoders/base64Utils.cjs +58 -0
- package/out/utils/decoders/base64Utils.cjs.map +7 -0
- package/out/utils/decoders/decodePart.cjs +40 -0
- package/out/utils/decoders/decodePart.cjs.map +7 -0
- package/out/utils/decoders/index.cjs +31 -0
- package/out/utils/decoders/index.cjs.map +7 -0
- package/out/utils/decoders/isAscii.cjs +29 -0
- package/out/utils/decoders/isAscii.cjs.map +7 -0
- package/out/utils/decoders/isUtf8.cjs +36 -0
- package/out/utils/decoders/isUtf8.cjs.map +7 -0
- package/out/utils/decoders/stringContainsNumbers.cjs +29 -0
- package/out/utils/decoders/stringContainsNumbers.cjs.map +7 -0
- package/out/utils/index.cjs +41 -0
- package/out/utils/index.cjs.map +7 -0
- package/out/utils/index.mjs +1 -1
- package/out/utils/network/index.cjs +23 -0
- package/out/utils/network/index.cjs.map +7 -0
- package/out/utils/network/setAxiosInterceptors.cjs +67 -0
- package/out/utils/network/setAxiosInterceptors.cjs.map +7 -0
- package/out/utils/operations/capitalize.cjs +29 -0
- package/out/utils/operations/capitalize.cjs.map +7 -0
- package/out/utils/operations/getUsdValue.cjs +46 -0
- package/out/utils/operations/getUsdValue.cjs.map +7 -0
- package/out/utils/operations/pluralize.cjs +29 -0
- package/out/utils/operations/pluralize.cjs.map +7 -0
- package/out/utils/operations/timeRemaining.cjs +110 -0
- package/out/utils/operations/timeRemaining.cjs.map +7 -0
- package/out/utils/operations/trimAmountDecimals.cjs +60 -0
- package/out/utils/operations/trimAmountDecimals.cjs.map +7 -0
- package/out/utils/retryMultipleTimes.cjs +45 -0
- package/out/utils/retryMultipleTimes.cjs.map +7 -0
- package/out/utils/transactions/explorerUrlBuilder.cjs +54 -0
- package/out/utils/transactions/explorerUrlBuilder.cjs.map +7 -0
- package/out/utils/transactions/getActiveTransactionsStatus.cjs +47 -0
- package/out/utils/transactions/getActiveTransactionsStatus.cjs.map +7 -0
- package/out/utils/transactions/getActiveTransactionsStatus.mjs +1 -1
- package/out/utils/transactions/getExplorerLink.cjs +50 -0
- package/out/utils/transactions/getExplorerLink.cjs.map +7 -0
- package/out/utils/transactions/getHumanReadableTimeFormat.cjs +47 -0
- package/out/utils/transactions/getHumanReadableTimeFormat.cjs.map +7 -0
- package/out/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.cjs +110 -0
- package/out/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.cjs.map +7 -0
- package/out/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/constants.cjs +50 -0
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/constants.cjs.map +7 -0
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/getTransactionValue.cjs +107 -0
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/getTransactionValue.cjs.map +7 -0
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getEgldValueData.cjs +36 -0
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getEgldValueData.cjs.map +7 -0
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTitleText.cjs +55 -0
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTitleText.cjs.map +7 -0
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTransactionActionNftText.cjs +71 -0
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTransactionActionNftText.cjs.map +7 -0
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTransactionTokens.cjs +41 -0
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTransactionTokens.cjs.map +7 -0
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromActions.cjs +54 -0
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromActions.cjs.map +7 -0
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromDataField.cjs +60 -0
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromDataField.cjs.map +7 -0
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromOperations.cjs +53 -0
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromOperations.cjs.map +7 -0
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getVisibleOperations.cjs +37 -0
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getVisibleOperations.cjs.map +7 -0
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/index.cjs +33 -0
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/index.cjs.map +7 -0
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/index.cjs +23 -0
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/index.cjs.map +7 -0
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/types.cjs +17 -0
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/types.cjs.map +7 -0
- package/out/utils/transactions/getInterpretedTransaction/helpers/getLockedAccountName.cjs +83 -0
- package/out/utils/transactions/getInterpretedTransaction/helpers/getLockedAccountName.cjs.map +7 -0
- package/out/utils/transactions/getInterpretedTransaction/helpers/getLockedAccountName.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getOperationsMessages.cjs +31 -0
- package/out/utils/transactions/getInterpretedTransaction/helpers/getOperationsMessages.cjs.map +7 -0
- package/out/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.cjs +66 -0
- package/out/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.cjs.map +7 -0
- package/out/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getScResultsMessages.cjs +31 -0
- package/out/utils/transactions/getInterpretedTransaction/helpers/getScResultsMessages.cjs.map +7 -0
- package/out/utils/transactions/getInterpretedTransaction/helpers/getShardText.cjs +44 -0
- package/out/utils/transactions/getInterpretedTransaction/helpers/getShardText.cjs.map +7 -0
- package/out/utils/transactions/getInterpretedTransaction/helpers/getShardText.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTokenFromData.cjs +122 -0
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTokenFromData.cjs.map +7 -0
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionIconInfo.cjs +47 -0
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionIconInfo.cjs.map +7 -0
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionIconInfo.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionMessages.cjs +40 -0
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionMessages.cjs.map +7 -0
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionMessages.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionMethod.cjs +44 -0
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionMethod.cjs.map +7 -0
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionReceiver.cjs +35 -0
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionReceiver.cjs.map +7 -0
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionReceiverAssets.cjs +33 -0
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionReceiverAssets.cjs.map +7 -0
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionStatus.cjs +42 -0
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionStatus.cjs.map +7 -0
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionTokens.cjs +41 -0
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionTokens.cjs.map +7 -0
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionTransferType.cjs +50 -0
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionTransferType.cjs.map +7 -0
- package/out/utils/transactions/getInterpretedTransaction/helpers/index.cjs +47 -0
- package/out/utils/transactions/getInterpretedTransaction/helpers/index.cjs.map +7 -0
- package/out/utils/transactions/getInterpretedTransaction/helpers/index.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/index.cjs +25 -0
- package/out/utils/transactions/getInterpretedTransaction/index.cjs.map +7 -0
- package/out/utils/transactions/getInterpretedTransaction/index.mjs +1 -1
- package/out/utils/transactions/getScamFlag.cjs +88 -0
- package/out/utils/transactions/getScamFlag.cjs.map +7 -0
- package/out/utils/transactions/getTransactionsHistory/getTransactionsHistory.cjs +57 -0
- package/out/utils/transactions/getTransactionsHistory/getTransactionsHistory.cjs.map +7 -0
- package/out/utils/transactions/getTransactionsHistory/getTransactionsHistory.mjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/createTransactionsHistoryFromSessions.cjs +40 -0
- package/out/utils/transactions/getTransactionsHistory/helpers/createTransactionsHistoryFromSessions.cjs.map +7 -0
- package/out/utils/transactions/getTransactionsHistory/helpers/getAssetAmount.cjs +64 -0
- package/out/utils/transactions/getTransactionsHistory/helpers/getAssetAmount.cjs.map +7 -0
- package/out/utils/transactions/getTransactionsHistory/helpers/getAssetPrice.cjs +53 -0
- package/out/utils/transactions/getTransactionsHistory/helpers/getAssetPrice.cjs.map +7 -0
- package/out/utils/transactions/getTransactionsHistory/helpers/getCachedTransactionListItem.cjs +36 -0
- package/out/utils/transactions/getTransactionsHistory/helpers/getCachedTransactionListItem.cjs.map +7 -0
- package/out/utils/transactions/getTransactionsHistory/helpers/getCachedTransactionListItem.mjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getIsTransactionInvalidOrFailed.cjs +39 -0
- package/out/utils/transactions/getTransactionsHistory/helpers/getIsTransactionInvalidOrFailed.cjs.map +7 -0
- package/out/utils/transactions/getTransactionsHistory/helpers/getReceiverData.cjs +37 -0
- package/out/utils/transactions/getTransactionsHistory/helpers/getReceiverData.cjs.map +7 -0
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAction.cjs +113 -0
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAction.cjs.map +7 -0
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionActionDirectionLabel.cjs +59 -0
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionActionDirectionLabel.cjs.map +7 -0
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionActionTransferLabel.cjs +75 -0
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionActionTransferLabel.cjs.map +7 -0
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAmount.cjs +63 -0
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAmount.cjs.map +7 -0
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAsset.cjs +91 -0
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAsset.cjs.map +7 -0
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAsset.mjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAssets.cjs +66 -0
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAssets.cjs.map +7 -0
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAvatar.cjs +38 -0
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAvatar.cjs.map +7 -0
- package/out/utils/transactions/getTransactionsHistory/helpers/index.cjs +50 -0
- package/out/utils/transactions/getTransactionsHistory/helpers/index.cjs.map +7 -0
- package/out/utils/transactions/getTransactionsHistory/helpers/index.mjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/isTransferNftOrSft.cjs +38 -0
- package/out/utils/transactions/getTransactionsHistory/helpers/isTransferNftOrSft.cjs.map +7 -0
- package/out/utils/transactions/getTransactionsHistory/helpers/mapServerTransactionsToListItems.cjs +95 -0
- package/out/utils/transactions/getTransactionsHistory/helpers/mapServerTransactionsToListItems.cjs.map +7 -0
- package/out/utils/transactions/getTransactionsHistory/helpers/mapServerTransactionsToListItems.mjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/mapTransactionToListItem.cjs +81 -0
- package/out/utils/transactions/getTransactionsHistory/helpers/mapTransactionToListItem.cjs.map +7 -0
- package/out/utils/transactions/getTransactionsHistory/helpers/mapTransactionToListItem.mjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/index.cjs +25 -0
- package/out/utils/transactions/getTransactionsHistory/index.cjs.map +7 -0
- package/out/utils/transactions/getTransactionsHistory/index.mjs +1 -1
- package/out/utils/transactions/index.cjs +29 -0
- package/out/utils/transactions/index.cjs.map +7 -0
- package/out/utils/transactions/index.mjs +1 -1
- package/out/utils/transactions/isGuardianTx.cjs +43 -0
- package/out/utils/transactions/isGuardianTx.cjs.map +7 -0
- package/out/utils/validation/addressIsValid.cjs +40 -0
- package/out/utils/validation/addressIsValid.cjs.map +7 -0
- package/out/utils/validation/getIdentifierType.cjs +54 -0
- package/out/utils/validation/getIdentifierType.cjs.map +7 -0
- package/out/utils/validation/hex.cjs +36 -0
- package/out/utils/validation/hex.cjs.map +7 -0
- package/out/utils/validation/index.cjs +31 -0
- package/out/utils/validation/index.cjs.map +7 -0
- package/out/utils/validation/index.mjs +1 -1
- package/out/utils/validation/isContract.cjs +96 -0
- package/out/utils/validation/isContract.cjs.map +7 -0
- package/out/utils/validation/isContract.mjs +1 -1
- package/out/utils/validation/maxDecimals.cjs +34 -0
- package/out/utils/validation/maxDecimals.cjs.map +7 -0
- package/out/utils/visual/index.cjs +23 -0
- package/out/utils/visual/index.cjs.map +7 -0
- package/out/utils/visual/index.mjs +1 -1
- package/out/utils/visual/switchTheme.cjs +38 -0
- package/out/utils/visual/switchTheme.cjs.map +7 -0
- package/out/utils/visual/switchTheme.mjs +1 -1
- package/out/utils/walletconnect/__mocks__/sdkWalletconnectProvider.cjs +36 -0
- package/out/utils/walletconnect/__mocks__/sdkWalletconnectProvider.cjs.map +7 -0
- package/out/utils/walletconnect/__mocks__/sdkWalletconnectProvider.mjs +1 -1
- package/out/utils/walletconnect/__sdkWalletconnectProvider.cjs +34 -0
- package/out/utils/walletconnect/__sdkWalletconnectProvider.cjs.map +7 -0
- package/out/utils/window/buildUrlParams.cjs +37 -0
- package/out/utils/window/buildUrlParams.cjs.map +7 -0
- package/out/utils/window/getIsAuthRoute.cjs +38 -0
- package/out/utils/window/getIsAuthRoute.cjs.map +7 -0
- package/out/utils/window/getIsInIframe.cjs +44 -0
- package/out/utils/window/getIsInIframe.cjs.map +7 -0
- package/out/utils/window/getIsInIframe.mjs +1 -1
- package/out/utils/window/getWindowLocation.cjs +56 -0
- package/out/utils/window/getWindowLocation.cjs.map +7 -0
- package/out/utils/window/getWindowParentOrigin.cjs +47 -0
- package/out/utils/window/getWindowParentOrigin.cjs.map +7 -0
- package/out/utils/window/getWindowParentOrigin.mjs +1 -1
- package/out/utils/window/index.cjs +33 -0
- package/out/utils/window/index.cjs.map +7 -0
- package/out/utils/window/index.mjs +1 -1
- package/out/utils/window/isWindowAvailable.cjs +29 -0
- package/out/utils/window/isWindowAvailable.cjs.map +7 -0
- package/out/utils/window/matchPath.cjs +114 -0
- package/out/utils/window/matchPath.cjs.map +7 -0
- package/out/utils/window/sanitizeCallbackUrl.cjs +39 -0
- package/out/utils/window/sanitizeCallbackUrl.cjs.map +7 -0
- package/package.json +3 -3
- package/out/__chunks__/chunk-2S4GDHPC.mjs +0 -2
- package/out/__chunks__/chunk-3AALZJXX.mjs +0 -2
- package/out/__chunks__/chunk-3IKGFPT3.mjs +0 -2
- package/out/__chunks__/chunk-3OZWOKL7.mjs +0 -2
- package/out/__chunks__/chunk-5AGNJNHL.mjs +0 -2
- package/out/__chunks__/chunk-5AITBRJM.mjs +0 -2
- package/out/__chunks__/chunk-5IKWP24U.mjs +0 -2
- package/out/__chunks__/chunk-5J6OW5XP.mjs +0 -2
- package/out/__chunks__/chunk-5P5FMYGA.mjs +0 -2
- package/out/__chunks__/chunk-66LM6A7E.mjs +0 -2
- package/out/__chunks__/chunk-6JIZDYQM.mjs +0 -2
- package/out/__chunks__/chunk-6K6VHJWQ.mjs +0 -2
- package/out/__chunks__/chunk-7YHMRUFS.mjs +0 -2
- package/out/__chunks__/chunk-AWVWVATR.mjs +0 -2
- package/out/__chunks__/chunk-BYJK2EOI.mjs +0 -2
- package/out/__chunks__/chunk-C7NS47QA.mjs +0 -2
- package/out/__chunks__/chunk-CC4DXLNZ.mjs +0 -2
- package/out/__chunks__/chunk-CETMI3F5.mjs +0 -2
- package/out/__chunks__/chunk-DF5ZV5BO.mjs +0 -2
- package/out/__chunks__/chunk-DJWI5LZX.mjs +0 -2
- package/out/__chunks__/chunk-DOU66R4K.mjs +0 -2
- package/out/__chunks__/chunk-EJ2HUL6D.mjs +0 -2
- package/out/__chunks__/chunk-F5Q64A5W.mjs +0 -2
- package/out/__chunks__/chunk-GDF5AJ5S.mjs +0 -2
- package/out/__chunks__/chunk-GMX4XDVR.mjs +0 -2
- package/out/__chunks__/chunk-GSMTFDRE.mjs +0 -2
- package/out/__chunks__/chunk-GUNYJMJE.mjs +0 -2
- package/out/__chunks__/chunk-GUNYJMJE.mjs.map +0 -7
- package/out/__chunks__/chunk-GY2WKBFX.mjs +0 -2
- package/out/__chunks__/chunk-H7E4BCEJ.mjs +0 -2
- package/out/__chunks__/chunk-HIKIVTTW.mjs +0 -2
- package/out/__chunks__/chunk-HLORMFN4.mjs +0 -2
- package/out/__chunks__/chunk-I5OYRIZC.mjs +0 -2
- package/out/__chunks__/chunk-IFIL5YA5.mjs +0 -2
- package/out/__chunks__/chunk-IFIL5YA5.mjs.map +0 -7
- package/out/__chunks__/chunk-IINL5CEU.mjs +0 -2
- package/out/__chunks__/chunk-IVSP42IE.mjs +0 -2
- package/out/__chunks__/chunk-IWHUAAVD.mjs +0 -2
- package/out/__chunks__/chunk-IXGPMW52.mjs +0 -2
- package/out/__chunks__/chunk-J6N7KVXV.mjs +0 -2
- package/out/__chunks__/chunk-JIAKT3GI.mjs +0 -2
- package/out/__chunks__/chunk-JIAKT3GI.mjs.map +0 -7
- package/out/__chunks__/chunk-JR23TXKP.mjs +0 -2
- package/out/__chunks__/chunk-JR23TXKP.mjs.map +0 -7
- package/out/__chunks__/chunk-K7R2V5KX.mjs +0 -2
- package/out/__chunks__/chunk-KXK3FLN2.mjs +0 -2
- package/out/__chunks__/chunk-LM2GCQL5.mjs +0 -2
- package/out/__chunks__/chunk-LWDK4NX3.mjs +0 -2
- package/out/__chunks__/chunk-M2ZSNGPS.mjs +0 -2
- package/out/__chunks__/chunk-M5T2OACP.mjs +0 -2
- package/out/__chunks__/chunk-ML7FXWAD.mjs +0 -2
- package/out/__chunks__/chunk-MSQGMOCS.mjs +0 -2
- package/out/__chunks__/chunk-N5DIMOWZ.mjs +0 -2
- package/out/__chunks__/chunk-NEHR66XQ.mjs +0 -2
- package/out/__chunks__/chunk-NKUK5GFB.mjs +0 -2
- package/out/__chunks__/chunk-NVE5YTZK.mjs +0 -2
- package/out/__chunks__/chunk-ODPJDT5F.mjs +0 -2
- package/out/__chunks__/chunk-ODPJDT5F.mjs.map +0 -7
- package/out/__chunks__/chunk-OX6DILCF.mjs +0 -2
- package/out/__chunks__/chunk-OZ4ZZI3H.mjs +0 -2
- package/out/__chunks__/chunk-P4QMB34E.mjs +0 -2
- package/out/__chunks__/chunk-P4QMB34E.mjs.map +0 -7
- package/out/__chunks__/chunk-PDEIJQWE.mjs +0 -2
- package/out/__chunks__/chunk-PWXGNRYT.mjs +0 -2
- package/out/__chunks__/chunk-PWXGNRYT.mjs.map +0 -7
- package/out/__chunks__/chunk-QAHFVBCD.mjs +0 -2
- package/out/__chunks__/chunk-QGNMCCFK.mjs +0 -2
- package/out/__chunks__/chunk-QS2RBVTW.mjs +0 -2
- package/out/__chunks__/chunk-QWV25ZSJ.mjs +0 -2
- package/out/__chunks__/chunk-RD2EB7NA.mjs +0 -2
- package/out/__chunks__/chunk-RHCAOCW3.mjs +0 -2
- package/out/__chunks__/chunk-RPTQJKFR.mjs +0 -2
- package/out/__chunks__/chunk-RSVM3MZD.mjs +0 -2
- package/out/__chunks__/chunk-RU7UYXPW.mjs +0 -2
- package/out/__chunks__/chunk-S2FQWSUO.mjs +0 -2
- package/out/__chunks__/chunk-S2FQWSUO.mjs.map +0 -7
- package/out/__chunks__/chunk-S5VF4GWN.mjs +0 -2
- package/out/__chunks__/chunk-S6EACMBJ.mjs +0 -2
- package/out/__chunks__/chunk-SKCBMUQL.mjs +0 -2
- package/out/__chunks__/chunk-TI73UXGG.mjs +0 -2
- package/out/__chunks__/chunk-TRIPQLQM.mjs +0 -2
- package/out/__chunks__/chunk-TZ2EDK3R.mjs +0 -2
- package/out/__chunks__/chunk-U7E2AVPF.mjs +0 -2
- package/out/__chunks__/chunk-UCJMQJM4.mjs +0 -2
- package/out/__chunks__/chunk-UKGXMWHE.mjs +0 -2
- package/out/__chunks__/chunk-UO4CECP4.mjs +0 -2
- package/out/__chunks__/chunk-UTN4SJ54.mjs +0 -2
- package/out/__chunks__/chunk-UVN6CHEM.mjs +0 -2
- package/out/__chunks__/chunk-VG7UDG2S.mjs +0 -2
- package/out/__chunks__/chunk-WBPXPWSV.mjs +0 -2
- package/out/__chunks__/chunk-WIHG6SHO.mjs +0 -2
- package/out/__chunks__/chunk-WTBHS6AM.mjs +0 -2
- package/out/__chunks__/chunk-XFYYVB6G.mjs +0 -2
- package/out/__chunks__/chunk-YTA6XGBJ.mjs +0 -2
- package/out/__chunks__/chunk-YVVAPGXF.mjs +0 -2
- /package/out/__chunks__/{chunk-EJ2HUL6D.mjs.map → chunk-22CLXEB2.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-2S4GDHPC.mjs.map → chunk-3FX5RTHT.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-BYJK2EOI.mjs.map → chunk-456YSI54.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-HLORMFN4.mjs.map → chunk-4ZQAHMC7.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-DJWI5LZX.mjs.map → chunk-5HV6ENMZ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-UO4CECP4.mjs.map → chunk-5HWBV7UA.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-N5DIMOWZ.mjs.map → chunk-5ZNSOJRW.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-3IKGFPT3.mjs.map → chunk-653M72HI.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-NKUK5GFB.mjs.map → chunk-6LQPIIN7.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-QWV25ZSJ.mjs.map → chunk-76URRONH.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-3OZWOKL7.mjs.map → chunk-AAT5TA2C.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-CC4DXLNZ.mjs.map → chunk-AOT45CLU.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-S6EACMBJ.mjs.map → chunk-BIKDLBHK.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-6K6VHJWQ.mjs.map → chunk-BLNUEDNB.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-TI73UXGG.mjs.map → chunk-CDQ2BNUD.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-LWDK4NX3.mjs.map → chunk-CQFFB5WA.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-HIKIVTTW.mjs.map → chunk-EHU6U444.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-5P5FMYGA.mjs.map → chunk-EQSRTMFM.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-M2ZSNGPS.mjs.map → chunk-F7TDWWAZ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-IVSP42IE.mjs.map → chunk-FWC42IFM.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-IWHUAAVD.mjs.map → chunk-FYA6M3N3.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-OZ4ZZI3H.mjs.map → chunk-G4Z3ZQR6.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-XFYYVB6G.mjs.map → chunk-HF5UK7AF.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-5J6OW5XP.mjs.map → chunk-HLBGYEYU.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-GSMTFDRE.mjs.map → chunk-HLNCW36T.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-I5OYRIZC.mjs.map → chunk-IRLEEOUA.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-GY2WKBFX.mjs.map → chunk-J55M6HRJ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ML7FXWAD.mjs.map → chunk-JBF4OOHG.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-M5T2OACP.mjs.map → chunk-JIDXMYLT.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-QGNMCCFK.mjs.map → chunk-JQ6DWF4A.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-J6N7KVXV.mjs.map → chunk-KE7YRXWM.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-NEHR66XQ.mjs.map → chunk-KIU22HW5.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-AWVWVATR.mjs.map → chunk-KK2BMMWL.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-MSQGMOCS.mjs.map → chunk-KZAQIHS2.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-UTN4SJ54.mjs.map → chunk-LG4JGQOF.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-YVVAPGXF.mjs.map → chunk-MOJR7L2A.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-S5VF4GWN.mjs.map → chunk-MSYOA2HY.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-UCJMQJM4.mjs.map → chunk-N6PKXG4Q.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-U7E2AVPF.mjs.map → chunk-NDIJUIRP.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-GMX4XDVR.mjs.map → chunk-NTGUPGTV.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-RHCAOCW3.mjs.map → chunk-NVLWSC4J.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-YTA6XGBJ.mjs.map → chunk-OIJVN33N.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-WBPXPWSV.mjs.map → chunk-OLPUNT27.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-KXK3FLN2.mjs.map → chunk-P5RC6PN5.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-DF5ZV5BO.mjs.map → chunk-PJAESU4Q.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-VG7UDG2S.mjs.map → chunk-PZYLVHXW.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-RD2EB7NA.mjs.map → chunk-RJKYCUB2.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-WTBHS6AM.mjs.map → chunk-RQ5H245L.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-SKCBMUQL.mjs.map → chunk-S75Q25RY.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-UKGXMWHE.mjs.map → chunk-SF4BD7ZP.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-IINL5CEU.mjs.map → chunk-SIRUYWHD.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-PDEIJQWE.mjs.map → chunk-SMLKNW6G.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-OX6DILCF.mjs.map → chunk-SXX3XHAW.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-TZ2EDK3R.mjs.map → chunk-TUKLXZGE.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-RU7UYXPW.mjs.map → chunk-TX6KTAJL.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-IXGPMW52.mjs.map → chunk-UJJ2TXN5.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-K7R2V5KX.mjs.map → chunk-UOUYS55Y.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-TRIPQLQM.mjs.map → chunk-UZOPRGVU.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-6JIZDYQM.mjs.map → chunk-UZV2AYS7.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-RSVM3MZD.mjs.map → chunk-V3FPOJA5.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-C7NS47QA.mjs.map → chunk-V7PT3KKW.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-DOU66R4K.mjs.map → chunk-VBMIE7MG.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-NVE5YTZK.mjs.map → chunk-VJOUHZ3O.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-5AITBRJM.mjs.map → chunk-VPS6ARX6.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-UVN6CHEM.mjs.map → chunk-VWJRTO5A.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-CETMI3F5.mjs.map → chunk-WJ7ALCIQ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-LM2GCQL5.mjs.map → chunk-WJCTIZ2A.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-WIHG6SHO.mjs.map → chunk-WONHL4N2.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-3AALZJXX.mjs.map → chunk-WZRJWY5M.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-5IKWP24U.mjs.map → chunk-X7R7RLVZ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-QAHFVBCD.mjs.map → chunk-XIR5WVK3.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-H7E4BCEJ.mjs.map → chunk-XKOP7FDQ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-F5Q64A5W.mjs.map → chunk-XNLP533V.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-GDF5AJ5S.mjs.map → chunk-XRMMQJV3.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-66LM6A7E.mjs.map → chunk-Y7IZFCJ5.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-RPTQJKFR.mjs.map → chunk-YLOVIFPG.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-7YHMRUFS.mjs.map → chunk-YRZADY4X.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-5AGNJNHL.mjs.map → chunk-YTYVQKLJ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-QS2RBVTW.mjs.map → chunk-ZC2OOJ2D.mjs.map} +0 -0
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var useGetSuccessfulTransactionsSessions_exports = {};
|
|
20
|
+
__export(useGetSuccessfulTransactionsSessions_exports, {
|
|
21
|
+
useGetSuccessfulTransactionsSessions: () => useGetSuccessfulTransactionsSessions
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(useGetSuccessfulTransactionsSessions_exports);
|
|
24
|
+
var import_transactionsSelector = require("../../store/selectors/transactionsSelector");
|
|
25
|
+
var import_useSelector = require("../store/useSelector");
|
|
26
|
+
function useGetSuccessfulTransactionsSessions() {
|
|
27
|
+
const successfulSessions = (0, import_useSelector.useSelector)(
|
|
28
|
+
import_transactionsSelector.successfulTransactionsSessionsSelector
|
|
29
|
+
);
|
|
30
|
+
return successfulSessions;
|
|
31
|
+
}
|
|
32
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
33
|
+
0 && (module.exports = {
|
|
34
|
+
useGetSuccessfulTransactionsSessions
|
|
35
|
+
});
|
|
36
|
+
//# sourceMappingURL=useGetSuccessfulTransactionsSessions.cjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/react/transactions/useGetSuccessfulTransactionsSessions.ts"],
|
|
4
|
+
"sourcesContent": ["import { successfulTransactionsSessionsSelector } from '../../store/selectors/transactionsSelector';\nimport { useSelector } from '../store/useSelector';\n\nexport function useGetSuccessfulTransactionsSessions() {\n const successfulSessions = useSelector(\n successfulTransactionsSessionsSelector\n );\n return successfulSessions;\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kCAAuD;AACvD,yBAA4B;AAErB,SAAS,uCAAuC;AACrD,QAAM,yBAAqB;AAAA,IACzB;AAAA,EACF;AACA,SAAO;AACT;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as e}from"../../__chunks__/chunk-
|
|
1
|
+
import{a as e}from"../../__chunks__/chunk-JBF4OOHG.mjs";import"../../__chunks__/chunk-PJAESU4Q.mjs";import"../../__chunks__/chunk-EMIDMARK.mjs";import{c as s}from"../../__chunks__/chunk-TQA3JDNV.mjs";import"../../__chunks__/chunk-JIDXMYLT.mjs";import"../../__chunks__/chunk-T4FRQ4JG.mjs";import"../../__chunks__/chunk-UERJ6AKK.mjs";import"../../__chunks__/chunk-KPK72MOE.mjs";import"../../__chunks__/chunk-SAAOQW7P.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-XKOP7FDQ.mjs";import"../../__chunks__/chunk-KRWR77QE.mjs";import"../../__chunks__/chunk-B7YCKWDU.mjs";import"../../__chunks__/chunk-HDJOER66.mjs";import"../../__chunks__/chunk-A7FTKX2A.mjs";import"../../__chunks__/chunk-XKU5QBXG.mjs";import"../../__chunks__/chunk-WZGG2YKQ.mjs";import"../../__chunks__/chunk-JMC7CMTU.mjs";import"../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../__chunks__/chunk-T2YPFNVM.mjs";import"../../__chunks__/chunk-X4XULIVT.mjs";import"../../__chunks__/chunk-5N4F5T5L.mjs";import"../../__chunks__/chunk-CYCS3K6Q.mjs";import"../../__chunks__/chunk-YMPZDHKF.mjs";import"../../__chunks__/chunk-VKEESSBI.mjs";import"../../__chunks__/chunk-2DNGCNYM.mjs";import"../../__chunks__/chunk-SQVKVA7X.mjs";import"../../__chunks__/chunk-I24YBVHK.mjs";import"../../__chunks__/chunk-NB7A4C7L.mjs";import"../../__chunks__/chunk-PJWJZHIS.mjs";import"../../__chunks__/chunk-NTEMINYA.mjs";import"../../__chunks__/chunk-MGFIOCA4.mjs";import"../../__chunks__/chunk-GGBMHKR4.mjs";import"../../__chunks__/chunk-GLXG5BES.mjs";import"../../__chunks__/chunk-HCKBJTY3.mjs";function u(){return e(s)}export{u as useGetSuccessfulTransactionsSessions};
|
|
2
2
|
//# sourceMappingURL=useGetSuccessfulTransactionsSessions.mjs.map
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var useGetTransactionSessions_exports = {};
|
|
20
|
+
__export(useGetTransactionSessions_exports, {
|
|
21
|
+
useGetTransactionSessions: () => useGetTransactionSessions
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(useGetTransactionSessions_exports);
|
|
24
|
+
var import_transactionsSelector = require("../../store/selectors/transactionsSelector");
|
|
25
|
+
var import_useSelector = require("../store/useSelector");
|
|
26
|
+
function useGetTransactionSessions() {
|
|
27
|
+
const sessions = (0, import_useSelector.useSelector)(import_transactionsSelector.transactionsSliceSelector);
|
|
28
|
+
return sessions;
|
|
29
|
+
}
|
|
30
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
31
|
+
0 && (module.exports = {
|
|
32
|
+
useGetTransactionSessions
|
|
33
|
+
});
|
|
34
|
+
//# sourceMappingURL=useGetTransactionSessions.cjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/react/transactions/useGetTransactionSessions.ts"],
|
|
4
|
+
"sourcesContent": ["import { transactionsSliceSelector } from '../../store/selectors/transactionsSelector';\nimport { useSelector } from '../store/useSelector';\n\nexport function useGetTransactionSessions() {\n const sessions = useSelector(transactionsSliceSelector);\n return sessions;\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kCAA0C;AAC1C,yBAA4B;AAErB,SAAS,4BAA4B;AAC1C,QAAM,eAAW,gCAAY,qDAAyB;AACtD,SAAO;AACT;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as o}from"../../__chunks__/chunk-
|
|
1
|
+
import{a as o}from"../../__chunks__/chunk-JBF4OOHG.mjs";import"../../__chunks__/chunk-PJAESU4Q.mjs";import"../../__chunks__/chunk-EMIDMARK.mjs";import{a as s}from"../../__chunks__/chunk-TQA3JDNV.mjs";import"../../__chunks__/chunk-JIDXMYLT.mjs";import"../../__chunks__/chunk-T4FRQ4JG.mjs";import"../../__chunks__/chunk-UERJ6AKK.mjs";import"../../__chunks__/chunk-KPK72MOE.mjs";import"../../__chunks__/chunk-SAAOQW7P.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-XKOP7FDQ.mjs";import"../../__chunks__/chunk-KRWR77QE.mjs";import"../../__chunks__/chunk-B7YCKWDU.mjs";import"../../__chunks__/chunk-HDJOER66.mjs";import"../../__chunks__/chunk-A7FTKX2A.mjs";import"../../__chunks__/chunk-XKU5QBXG.mjs";import"../../__chunks__/chunk-WZGG2YKQ.mjs";import"../../__chunks__/chunk-JMC7CMTU.mjs";import"../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../__chunks__/chunk-T2YPFNVM.mjs";import"../../__chunks__/chunk-X4XULIVT.mjs";import"../../__chunks__/chunk-5N4F5T5L.mjs";import"../../__chunks__/chunk-CYCS3K6Q.mjs";import"../../__chunks__/chunk-YMPZDHKF.mjs";import"../../__chunks__/chunk-VKEESSBI.mjs";import"../../__chunks__/chunk-2DNGCNYM.mjs";import"../../__chunks__/chunk-SQVKVA7X.mjs";import"../../__chunks__/chunk-I24YBVHK.mjs";import"../../__chunks__/chunk-NB7A4C7L.mjs";import"../../__chunks__/chunk-PJWJZHIS.mjs";import"../../__chunks__/chunk-NTEMINYA.mjs";import"../../__chunks__/chunk-MGFIOCA4.mjs";import"../../__chunks__/chunk-GGBMHKR4.mjs";import"../../__chunks__/chunk-GLXG5BES.mjs";import"../../__chunks__/chunk-HCKBJTY3.mjs";function r(){return o(s)}export{r as useGetTransactionSessions};
|
|
2
2
|
//# sourceMappingURL=useGetTransactionSessions.mjs.map
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
15
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
16
|
+
var services_exports = {};
|
|
17
|
+
module.exports = __toCommonJS(services_exports);
|
|
18
|
+
__reExport(services_exports, require("./nativeAuth"), module.exports);
|
|
19
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
20
|
+
0 && (module.exports = {
|
|
21
|
+
...require("./nativeAuth")
|
|
22
|
+
});
|
|
23
|
+
//# sourceMappingURL=index.cjs.map
|
package/out/services/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import"../__chunks__/chunk-7BRIA6SS.mjs";import"../__chunks__/chunk-NWEUIK3A.mjs";import{a}from"../__chunks__/chunk-
|
|
1
|
+
import"../__chunks__/chunk-7BRIA6SS.mjs";import"../__chunks__/chunk-NWEUIK3A.mjs";import{a}from"../__chunks__/chunk-S75Q25RY.mjs";import"../__chunks__/chunk-OJX2TSAZ.mjs";import"../__chunks__/chunk-QTKK6OSJ.mjs";import"../__chunks__/chunk-X7R7RLVZ.mjs";import"../__chunks__/chunk-EHU6U444.mjs";import"../__chunks__/chunk-3S57OP4Z.mjs";import"../__chunks__/chunk-6ACLOUQ3.mjs";import"../__chunks__/chunk-WE7YOBO7.mjs";import"../__chunks__/chunk-YSCND2MX.mjs";import"../__chunks__/chunk-JIDXMYLT.mjs";import"../__chunks__/chunk-T4FRQ4JG.mjs";import"../__chunks__/chunk-UERJ6AKK.mjs";import"../__chunks__/chunk-KPK72MOE.mjs";import"../__chunks__/chunk-SAAOQW7P.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-XKOP7FDQ.mjs";import"../__chunks__/chunk-KRWR77QE.mjs";import"../__chunks__/chunk-B7YCKWDU.mjs";import"../__chunks__/chunk-HDJOER66.mjs";import"../__chunks__/chunk-A7FTKX2A.mjs";import"../__chunks__/chunk-XKU5QBXG.mjs";import"../__chunks__/chunk-WZGG2YKQ.mjs";import"../__chunks__/chunk-JMC7CMTU.mjs";import"../__chunks__/chunk-S2B2ZKIJ.mjs";import"../__chunks__/chunk-T2YPFNVM.mjs";import"../__chunks__/chunk-X4XULIVT.mjs";import"../__chunks__/chunk-5N4F5T5L.mjs";import"../__chunks__/chunk-CYCS3K6Q.mjs";import"../__chunks__/chunk-YMPZDHKF.mjs";import"../__chunks__/chunk-VKEESSBI.mjs";import"../__chunks__/chunk-2DNGCNYM.mjs";import"../__chunks__/chunk-SQVKVA7X.mjs";import"../__chunks__/chunk-I24YBVHK.mjs";import"../__chunks__/chunk-NB7A4C7L.mjs";import"../__chunks__/chunk-PJWJZHIS.mjs";import"../__chunks__/chunk-KD2IQ32V.mjs";import"../__chunks__/chunk-TI37DKBT.mjs";import"../__chunks__/chunk-NTEMINYA.mjs";import"../__chunks__/chunk-MGQ373AO.mjs";import"../__chunks__/chunk-RPTH42EF.mjs";import"../__chunks__/chunk-3UNGCOKO.mjs";import"../__chunks__/chunk-MGFIOCA4.mjs";import"../__chunks__/chunk-GGBMHKR4.mjs";import"../__chunks__/chunk-CKTFPRJS.mjs";import"../__chunks__/chunk-HCKBJTY3.mjs";import"../__chunks__/chunk-B2UIPHJ3.mjs";export{a as nativeAuth};
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __export = (target, all) => {
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
+
};
|
|
12
|
+
var __copyProps = (to, from, except, desc) => {
|
|
13
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(from))
|
|
15
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
+
mod
|
|
27
|
+
));
|
|
28
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
+
var decodeLoginToken_exports = {};
|
|
30
|
+
__export(decodeLoginToken_exports, {
|
|
31
|
+
decodeLoginToken: () => decodeLoginToken
|
|
32
|
+
});
|
|
33
|
+
module.exports = __toCommonJS(decodeLoginToken_exports);
|
|
34
|
+
var import_lodash = __toESM(require("lodash.isstring"));
|
|
35
|
+
var import_base64Utils = require("../../../utils/decoders/base64Utils");
|
|
36
|
+
const decodeLoginToken = (loginToken) => {
|
|
37
|
+
if (!loginToken || !(0, import_lodash.default)(loginToken)) {
|
|
38
|
+
return null;
|
|
39
|
+
}
|
|
40
|
+
const parts = loginToken.split(".");
|
|
41
|
+
if (parts.length !== 4) {
|
|
42
|
+
return null;
|
|
43
|
+
}
|
|
44
|
+
try {
|
|
45
|
+
const [origin, blockHash, ttl, extraInfo] = parts;
|
|
46
|
+
const parsedExtraInfo = JSON.parse((0, import_base64Utils.decodeBase64)(extraInfo));
|
|
47
|
+
const parsedOrigin = (0, import_base64Utils.decodeBase64)(origin);
|
|
48
|
+
return {
|
|
49
|
+
ttl: Number(ttl),
|
|
50
|
+
extraInfo: parsedExtraInfo,
|
|
51
|
+
origin: parsedOrigin,
|
|
52
|
+
blockHash
|
|
53
|
+
};
|
|
54
|
+
} catch (e) {
|
|
55
|
+
console.error(`Error trying to decode ${loginToken}:`, e);
|
|
56
|
+
return null;
|
|
57
|
+
}
|
|
58
|
+
};
|
|
59
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
60
|
+
0 && (module.exports = {
|
|
61
|
+
decodeLoginToken
|
|
62
|
+
});
|
|
63
|
+
//# sourceMappingURL=decodeLoginToken.cjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../src/services/nativeAuth/helpers/decodeLoginToken.ts"],
|
|
4
|
+
"sourcesContent": ["import isString from 'lodash.isstring';\nimport { decodeBase64 } from 'utils/decoders/base64Utils';\n\nexport interface DecodedLoginTokenType {\n blockHash: string;\n extraInfo?: { timestamp: number };\n origin: string;\n ttl: number;\n}\n\nexport const decodeLoginToken = (\n loginToken: string\n): DecodedLoginTokenType | null => {\n if (!loginToken || !isString(loginToken)) {\n return null;\n }\n\n const parts = loginToken.split('.');\n\n if (parts.length !== 4) {\n return null;\n }\n\n try {\n const [origin, blockHash, ttl, extraInfo] = parts;\n const parsedExtraInfo = JSON.parse(decodeBase64(extraInfo));\n const parsedOrigin = decodeBase64(origin);\n\n return {\n ttl: Number(ttl),\n extraInfo: parsedExtraInfo,\n origin: parsedOrigin,\n blockHash\n };\n } catch (e) {\n console.error(`Error trying to decode ${loginToken}:`, e);\n\n return null;\n }\n};\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,oBAAqB;AACrB,yBAA6B;AAStB,MAAM,mBAAmB,CAC9B,eACiC;AACjC,MAAI,CAAC,cAAc,KAAC,cAAAA,SAAS,UAAU,GAAG;AACxC,WAAO;AAAA,EACT;AAEA,QAAM,QAAQ,WAAW,MAAM,GAAG;AAElC,MAAI,MAAM,WAAW,GAAG;AACtB,WAAO;AAAA,EACT;AAEA,MAAI;AACF,UAAM,CAAC,QAAQ,WAAW,KAAK,SAAS,IAAI;AAC5C,UAAM,kBAAkB,KAAK,UAAM,iCAAa,SAAS,CAAC;AAC1D,UAAM,mBAAe,iCAAa,MAAM;AAExC,WAAO;AAAA,MACL,KAAK,OAAO,GAAG;AAAA,MACf,WAAW;AAAA,MACX,QAAQ;AAAA,MACR;AAAA,IACF;AAAA,EACF,SAAS,GAAG;AACV,YAAQ,MAAM,0BAA0B,UAAU,KAAK,CAAC;AAExD,WAAO;AAAA,EACT;AACF;",
|
|
6
|
+
"names": ["isString"]
|
|
7
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var decodeNativeAuthToken_exports = {};
|
|
20
|
+
__export(decodeNativeAuthToken_exports, {
|
|
21
|
+
decodeNativeAuthToken: () => decodeNativeAuthToken
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(decodeNativeAuthToken_exports);
|
|
24
|
+
var import_base64Utils = require("../../../utils/decoders/base64Utils");
|
|
25
|
+
var import_decodeLoginToken = require("./decodeLoginToken");
|
|
26
|
+
function isString(x) {
|
|
27
|
+
return Object.prototype.toString.call(x) === "[object String]";
|
|
28
|
+
}
|
|
29
|
+
const decodeNativeAuthToken = (accessToken) => {
|
|
30
|
+
if (!accessToken || !isString(accessToken)) {
|
|
31
|
+
return null;
|
|
32
|
+
}
|
|
33
|
+
const parts = accessToken.split(".");
|
|
34
|
+
if (parts.length !== 3) {
|
|
35
|
+
console.error(
|
|
36
|
+
"Invalid nativeAuthToken. You may be trying to decode a loginToken. Try using decodeLoginToken method instead"
|
|
37
|
+
);
|
|
38
|
+
return null;
|
|
39
|
+
}
|
|
40
|
+
try {
|
|
41
|
+
const [address, body, signature] = parts;
|
|
42
|
+
const parsedAddress = (0, import_base64Utils.decodeBase64)(address);
|
|
43
|
+
const parsedBody = (0, import_base64Utils.decodeBase64)(body);
|
|
44
|
+
const parsedInitToken = (0, import_decodeLoginToken.decodeLoginToken)(parsedBody);
|
|
45
|
+
if (!parsedInitToken) {
|
|
46
|
+
return {
|
|
47
|
+
address: parsedAddress,
|
|
48
|
+
body: parsedBody,
|
|
49
|
+
signature,
|
|
50
|
+
blockHash: "",
|
|
51
|
+
origin: "",
|
|
52
|
+
ttl: 0
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
const result = {
|
|
56
|
+
...parsedInitToken,
|
|
57
|
+
address: parsedAddress,
|
|
58
|
+
body: parsedBody,
|
|
59
|
+
signature
|
|
60
|
+
};
|
|
61
|
+
if (!parsedInitToken.extraInfo?.timestamp) {
|
|
62
|
+
delete result.extraInfo;
|
|
63
|
+
}
|
|
64
|
+
return result;
|
|
65
|
+
} catch (_err) {
|
|
66
|
+
return null;
|
|
67
|
+
}
|
|
68
|
+
};
|
|
69
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
70
|
+
0 && (module.exports = {
|
|
71
|
+
decodeNativeAuthToken
|
|
72
|
+
});
|
|
73
|
+
//# sourceMappingURL=decodeNativeAuthToken.cjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../src/services/nativeAuth/helpers/decodeNativeAuthToken.ts"],
|
|
4
|
+
"sourcesContent": ["import { decodeBase64 } from 'utils/decoders/base64Utils';\nimport { DecodedLoginTokenType, decodeLoginToken } from './decodeLoginToken';\n\nfunction isString(x: any) {\n return Object.prototype.toString.call(x) === '[object String]';\n}\n\ninterface DecodedNativeAuthTokenType extends DecodedLoginTokenType {\n address: string;\n body: string;\n signature: string;\n}\n\nexport const decodeNativeAuthToken = (\n accessToken?: string\n): DecodedNativeAuthTokenType | null => {\n if (!accessToken || !isString(accessToken)) {\n return null;\n }\n\n const parts = accessToken.split('.');\n\n if (parts.length !== 3) {\n console.error(\n 'Invalid nativeAuthToken. You may be trying to decode a loginToken. Try using decodeLoginToken method instead'\n );\n return null;\n }\n\n try {\n const [address, body, signature] = parts;\n const parsedAddress = decodeBase64(address);\n const parsedBody = decodeBase64(body);\n const parsedInitToken = decodeLoginToken(parsedBody);\n\n if (!parsedInitToken) {\n return {\n address: parsedAddress,\n body: parsedBody,\n signature,\n blockHash: '',\n origin: '',\n ttl: 0\n };\n }\n\n const result = {\n ...parsedInitToken,\n address: parsedAddress,\n body: parsedBody,\n signature\n };\n\n // if empty object, delete extraInfo\n if (!parsedInitToken.extraInfo?.timestamp) {\n delete result.extraInfo;\n }\n\n return result;\n } catch (_err) {\n return null;\n }\n};\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,yBAA6B;AAC7B,8BAAwD;AAExD,SAAS,SAAS,GAAQ;AACxB,SAAO,OAAO,UAAU,SAAS,KAAK,CAAC,MAAM;AAC/C;AAQO,MAAM,wBAAwB,CACnC,gBACsC;AACtC,MAAI,CAAC,eAAe,CAAC,SAAS,WAAW,GAAG;AAC1C,WAAO;AAAA,EACT;AAEA,QAAM,QAAQ,YAAY,MAAM,GAAG;AAEnC,MAAI,MAAM,WAAW,GAAG;AACtB,YAAQ;AAAA,MACN;AAAA,IACF;AACA,WAAO;AAAA,EACT;AAEA,MAAI;AACF,UAAM,CAAC,SAAS,MAAM,SAAS,IAAI;AACnC,UAAM,oBAAgB,iCAAa,OAAO;AAC1C,UAAM,iBAAa,iCAAa,IAAI;AACpC,UAAM,sBAAkB,0CAAiB,UAAU;AAEnD,QAAI,CAAC,iBAAiB;AACpB,aAAO;AAAA,QACL,SAAS;AAAA,QACT,MAAM;AAAA,QACN;AAAA,QACA,WAAW;AAAA,QACX,QAAQ;AAAA,QACR,KAAK;AAAA,MACP;AAAA,IACF;AAEA,UAAM,SAAS;AAAA,MACb,GAAG;AAAA,MACH,SAAS;AAAA,MACT,MAAM;AAAA,MACN;AAAA,IACF;AAGA,QAAI,CAAC,gBAAgB,WAAW,WAAW;AACzC,aAAO,OAAO;AAAA,IAChB;AAEA,WAAO;AAAA,EACT,SAAS,MAAM;AACb,WAAO;AAAA,EACT;AACF;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __export = (target, all) => {
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
+
};
|
|
12
|
+
var __copyProps = (to, from, except, desc) => {
|
|
13
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(from))
|
|
15
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
+
mod
|
|
27
|
+
));
|
|
28
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
+
var getLatestBlockHash_exports = {};
|
|
30
|
+
__export(getLatestBlockHash_exports, {
|
|
31
|
+
getLatestBlockHash: () => getLatestBlockHash
|
|
32
|
+
});
|
|
33
|
+
module.exports = __toCommonJS(getLatestBlockHash_exports);
|
|
34
|
+
var import_axios = __toESM(require("axios"));
|
|
35
|
+
var import_endpoints = require("../../../apiCalls/endpoints");
|
|
36
|
+
var import_retryMultipleTimes = require("../../../utils/retryMultipleTimes");
|
|
37
|
+
const getBlockFromPosition = 4;
|
|
38
|
+
const cachingDurationMs = 3e4;
|
|
39
|
+
const cachedResponse = {
|
|
40
|
+
current: null
|
|
41
|
+
};
|
|
42
|
+
const requestPromise = {
|
|
43
|
+
current: null
|
|
44
|
+
};
|
|
45
|
+
const getLatestBlockHashFromServer = (0, import_retryMultipleTimes.retryMultipleTimes)(
|
|
46
|
+
async (apiUrl, blockHashShard, getBlockHash) => {
|
|
47
|
+
if (getBlockHash) {
|
|
48
|
+
const timestamp = Math.floor(Date.now() / 1e3);
|
|
49
|
+
const hash = await getBlockHash();
|
|
50
|
+
return { hash, timestamp };
|
|
51
|
+
}
|
|
52
|
+
const { data } = await import_axios.default.get(
|
|
53
|
+
`${apiUrl}/${import_endpoints.BLOCKS_ENDPOINT}?from=${getBlockFromPosition}&size=1&fields=hash,timestamp${blockHashShard ? "&shard=" + blockHashShard : ""}`
|
|
54
|
+
);
|
|
55
|
+
const [latestBlock] = data;
|
|
56
|
+
return latestBlock;
|
|
57
|
+
}
|
|
58
|
+
);
|
|
59
|
+
async function getLatestBlockHash({
|
|
60
|
+
apiAddress,
|
|
61
|
+
noCache,
|
|
62
|
+
blockHashShard,
|
|
63
|
+
getBlockHash
|
|
64
|
+
}) {
|
|
65
|
+
if (apiAddress == null) {
|
|
66
|
+
throw new Error("missing api url");
|
|
67
|
+
}
|
|
68
|
+
const currentTimestampMs = Date.now();
|
|
69
|
+
if (cachedResponse.current != null && currentTimestampMs < cachedResponse.current.timestamp * 1e3 + cachingDurationMs && !noCache) {
|
|
70
|
+
return cachedResponse.current;
|
|
71
|
+
}
|
|
72
|
+
if (requestPromise.current != null) {
|
|
73
|
+
return await requestPromise.current;
|
|
74
|
+
}
|
|
75
|
+
requestPromise.current = getLatestBlockHashFromServer(
|
|
76
|
+
apiAddress,
|
|
77
|
+
blockHashShard,
|
|
78
|
+
getBlockHash
|
|
79
|
+
);
|
|
80
|
+
try {
|
|
81
|
+
const response = await requestPromise.current;
|
|
82
|
+
if (response == null) {
|
|
83
|
+
requestPromise.current = null;
|
|
84
|
+
throw new Error("could not get block hash");
|
|
85
|
+
}
|
|
86
|
+
cachedResponse.current = {
|
|
87
|
+
hash: response.hash,
|
|
88
|
+
timestamp: response.timestamp
|
|
89
|
+
};
|
|
90
|
+
requestPromise.current = null;
|
|
91
|
+
return response;
|
|
92
|
+
} catch (_error) {
|
|
93
|
+
requestPromise.current = null;
|
|
94
|
+
return null;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
98
|
+
0 && (module.exports = {
|
|
99
|
+
getLatestBlockHash
|
|
100
|
+
});
|
|
101
|
+
//# sourceMappingURL=getLatestBlockHash.cjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../src/services/nativeAuth/helpers/getLatestBlockHash.ts"],
|
|
4
|
+
"sourcesContent": ["import axios from 'axios';\nimport { BLOCKS_ENDPOINT } from 'apiCalls/endpoints';\nimport { retryMultipleTimes } from 'utils/retryMultipleTimes';\n\nexport interface LatestBlockHashType {\n hash: string;\n timestamp: number;\n}\n\nconst getBlockFromPosition = 4;\nconst cachingDurationMs = 30000; // 30 seconds, a block hash is valid for 1 minute from its generation\n//this is an object with .current, so it doesn't get affected by closure and is always a fresh value\nconst cachedResponse: Record<string, LatestBlockHashType | null> = {\n current: null\n};\n\nconst requestPromise: {\n current: Promise<LatestBlockHashType> | null;\n} = {\n current: null\n};\n\nconst getLatestBlockHashFromServer = retryMultipleTimes(\n async (\n apiUrl: string,\n blockHashShard?: number,\n getBlockHash?: () => Promise<string>\n ): Promise<LatestBlockHashType | null> => {\n // get current block hash\n if (getBlockHash) {\n const timestamp = Math.floor(Date.now() / 1000);\n const hash = await getBlockHash();\n\n return { hash, timestamp };\n }\n\n //get the penultimate block hash (3 shards + the meta chain) to make sure that the block is seen by auth server\n const { data } = await axios.get<Array<LatestBlockHashType>>(\n `${apiUrl}/${BLOCKS_ENDPOINT}?from=${getBlockFromPosition}&size=1&fields=hash,timestamp${\n blockHashShard ? '&shard=' + blockHashShard : ''\n }`\n );\n const [latestBlock] = data;\n return latestBlock;\n }\n);\n\ntype GetLatestBlockHashType = {\n apiAddress: string;\n blockHashShard?: number;\n getBlockHash: () => Promise<string>;\n noCache?: boolean;\n};\n\nexport async function getLatestBlockHash({\n apiAddress,\n noCache,\n blockHashShard,\n getBlockHash\n}: GetLatestBlockHashType): Promise<LatestBlockHashType> {\n if (apiAddress == null) {\n throw new Error('missing api url');\n }\n\n const currentTimestampMs = Date.now();\n if (\n cachedResponse.current != null &&\n currentTimestampMs <\n cachedResponse.current.timestamp * 1000 + cachingDurationMs &&\n !noCache\n ) {\n return cachedResponse.current;\n }\n //this will prevent multiple calls to this function from generating multiple hashes\n if (requestPromise.current != null) {\n //if there is already an await in progress for the API, just return the result of that promise\n return await requestPromise.current;\n }\n\n //if a promise is not in progress, get a new promise and add it to the promise\n requestPromise.current = getLatestBlockHashFromServer(\n apiAddress,\n blockHashShard,\n getBlockHash\n );\n\n try {\n const response = await requestPromise.current;\n if (response == null) {\n requestPromise.current = null;\n throw new Error('could not get block hash');\n }\n //set the new response, the new expiry and unlock the regeneration flow for the next expiration period\n cachedResponse.current = {\n hash: response.hash,\n timestamp: response.timestamp\n };\n\n requestPromise.current = null;\n return response;\n } catch (_error) {\n requestPromise.current = null;\n return null as any;\n }\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAAkB;AAClB,uBAAgC;AAChC,gCAAmC;AAOnC,MAAM,uBAAuB;AAC7B,MAAM,oBAAoB;AAE1B,MAAM,iBAA6D;AAAA,EACjE,SAAS;AACX;AAEA,MAAM,iBAEF;AAAA,EACF,SAAS;AACX;AAEA,MAAM,mCAA+B;AAAA,EACnC,OACE,QACA,gBACA,iBACwC;AAExC,QAAI,cAAc;AAChB,YAAM,YAAY,KAAK,MAAM,KAAK,IAAI,IAAI,GAAI;AAC9C,YAAM,OAAO,MAAM,aAAa;AAEhC,aAAO,EAAE,MAAM,UAAU;AAAA,IAC3B;AAGA,UAAM,EAAE,KAAK,IAAI,MAAM,aAAAA,QAAM;AAAA,MAC3B,GAAG,MAAM,IAAI,gCAAe,SAAS,oBAAoB,gCACvD,iBAAiB,YAAY,iBAAiB,EAChD;AAAA,IACF;AACA,UAAM,CAAC,WAAW,IAAI;AACtB,WAAO;AAAA,EACT;AACF;AASA,eAAsB,mBAAmB;AAAA,EACvC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,GAAyD;AACvD,MAAI,cAAc,MAAM;AACtB,UAAM,IAAI,MAAM,iBAAiB;AAAA,EACnC;AAEA,QAAM,qBAAqB,KAAK,IAAI;AACpC,MACE,eAAe,WAAW,QAC1B,qBACE,eAAe,QAAQ,YAAY,MAAO,qBAC5C,CAAC,SACD;AACA,WAAO,eAAe;AAAA,EACxB;AAEA,MAAI,eAAe,WAAW,MAAM;AAElC,WAAO,MAAM,eAAe;AAAA,EAC9B;AAGA,iBAAe,UAAU;AAAA,IACvB;AAAA,IACA;AAAA,IACA;AAAA,EACF;AAEA,MAAI;AACF,UAAM,WAAW,MAAM,eAAe;AACtC,QAAI,YAAY,MAAM;AACpB,qBAAe,UAAU;AACzB,YAAM,IAAI,MAAM,0BAA0B;AAAA,IAC5C;AAEA,mBAAe,UAAU;AAAA,MACvB,MAAM,SAAS;AAAA,MACf,WAAW,SAAS;AAAA,IACtB;AAEA,mBAAe,UAAU;AACzB,WAAO;AAAA,EACT,SAAS,QAAQ;AACf,mBAAe,UAAU;AACzB,WAAO;AAAA,EACT;AACF;",
|
|
6
|
+
"names": ["axios"]
|
|
7
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
15
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
16
|
+
var helpers_exports = {};
|
|
17
|
+
module.exports = __toCommonJS(helpers_exports);
|
|
18
|
+
__reExport(helpers_exports, require("./decodeLoginToken"), module.exports);
|
|
19
|
+
__reExport(helpers_exports, require("./decodeNativeAuthToken"), module.exports);
|
|
20
|
+
__reExport(helpers_exports, require("./getLatestBlockHash"), module.exports);
|
|
21
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
22
|
+
0 && (module.exports = {
|
|
23
|
+
...require("./decodeLoginToken"),
|
|
24
|
+
...require("./decodeNativeAuthToken"),
|
|
25
|
+
...require("./getLatestBlockHash")
|
|
26
|
+
});
|
|
27
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../src/services/nativeAuth/helpers/index.ts"],
|
|
4
|
+
"sourcesContent": ["export * from './decodeLoginToken';\nexport * from './decodeNativeAuthToken';\nexport * from './getLatestBlockHash';\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAAA,4BAAc,+BAAd;AACA,4BAAc,oCADd;AAEA,4BAAc,iCAFd;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
15
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
16
|
+
var nativeAuth_exports = {};
|
|
17
|
+
module.exports = __toCommonJS(nativeAuth_exports);
|
|
18
|
+
__reExport(nativeAuth_exports, require("./nativeAuth"), module.exports);
|
|
19
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
20
|
+
0 && (module.exports = {
|
|
21
|
+
...require("./nativeAuth")
|
|
22
|
+
});
|
|
23
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import"../../__chunks__/chunk-NWEUIK3A.mjs";import{a}from"../../__chunks__/chunk-
|
|
1
|
+
import"../../__chunks__/chunk-NWEUIK3A.mjs";import{a}from"../../__chunks__/chunk-S75Q25RY.mjs";import"../../__chunks__/chunk-OJX2TSAZ.mjs";import"../../__chunks__/chunk-QTKK6OSJ.mjs";import"../../__chunks__/chunk-X7R7RLVZ.mjs";import"../../__chunks__/chunk-EHU6U444.mjs";import"../../__chunks__/chunk-3S57OP4Z.mjs";import"../../__chunks__/chunk-6ACLOUQ3.mjs";import"../../__chunks__/chunk-WE7YOBO7.mjs";import"../../__chunks__/chunk-YSCND2MX.mjs";import"../../__chunks__/chunk-JIDXMYLT.mjs";import"../../__chunks__/chunk-T4FRQ4JG.mjs";import"../../__chunks__/chunk-UERJ6AKK.mjs";import"../../__chunks__/chunk-KPK72MOE.mjs";import"../../__chunks__/chunk-SAAOQW7P.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-XKOP7FDQ.mjs";import"../../__chunks__/chunk-KRWR77QE.mjs";import"../../__chunks__/chunk-B7YCKWDU.mjs";import"../../__chunks__/chunk-HDJOER66.mjs";import"../../__chunks__/chunk-A7FTKX2A.mjs";import"../../__chunks__/chunk-XKU5QBXG.mjs";import"../../__chunks__/chunk-WZGG2YKQ.mjs";import"../../__chunks__/chunk-JMC7CMTU.mjs";import"../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../__chunks__/chunk-T2YPFNVM.mjs";import"../../__chunks__/chunk-X4XULIVT.mjs";import"../../__chunks__/chunk-5N4F5T5L.mjs";import"../../__chunks__/chunk-CYCS3K6Q.mjs";import"../../__chunks__/chunk-YMPZDHKF.mjs";import"../../__chunks__/chunk-VKEESSBI.mjs";import"../../__chunks__/chunk-2DNGCNYM.mjs";import"../../__chunks__/chunk-SQVKVA7X.mjs";import"../../__chunks__/chunk-I24YBVHK.mjs";import"../../__chunks__/chunk-NB7A4C7L.mjs";import"../../__chunks__/chunk-PJWJZHIS.mjs";import"../../__chunks__/chunk-KD2IQ32V.mjs";import"../../__chunks__/chunk-TI37DKBT.mjs";import"../../__chunks__/chunk-NTEMINYA.mjs";import"../../__chunks__/chunk-MGQ373AO.mjs";import"../../__chunks__/chunk-RPTH42EF.mjs";import"../../__chunks__/chunk-3UNGCOKO.mjs";import"../../__chunks__/chunk-MGFIOCA4.mjs";import"../../__chunks__/chunk-GGBMHKR4.mjs";import"../../__chunks__/chunk-CKTFPRJS.mjs";import"../../__chunks__/chunk-HCKBJTY3.mjs";import"../../__chunks__/chunk-B2UIPHJ3.mjs";export{a as nativeAuth};
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var buildNativeAuthConfig_exports = {};
|
|
20
|
+
__export(buildNativeAuthConfig_exports, {
|
|
21
|
+
buildNativeAuthConfig: () => buildNativeAuthConfig
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(buildNativeAuthConfig_exports);
|
|
24
|
+
var import_getDefaultNativeAuthConfig = require("./getDefaultNativeAuthConfig");
|
|
25
|
+
const buildNativeAuthConfig = (config) => {
|
|
26
|
+
const defaultNativeAuthConfig = (0, import_getDefaultNativeAuthConfig.getDefaultNativeAuthConfig)();
|
|
27
|
+
return {
|
|
28
|
+
origin: config?.origin ?? defaultNativeAuthConfig.origin,
|
|
29
|
+
blockHashShard: config?.blockHashShard,
|
|
30
|
+
expirySeconds: config?.expirySeconds ?? defaultNativeAuthConfig.expirySeconds,
|
|
31
|
+
apiAddress: config?.apiAddress ?? defaultNativeAuthConfig.apiAddress,
|
|
32
|
+
tokenExpirationToastWarningSeconds: config?.tokenExpirationToastWarningSeconds ?? defaultNativeAuthConfig.tokenExpirationToastWarningSeconds,
|
|
33
|
+
extraInfo: config?.extraInfo ?? {},
|
|
34
|
+
gatewayUrl: config?.gatewayUrl,
|
|
35
|
+
extraRequestHeaders: config?.extraRequestHeaders ?? {}
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
39
|
+
0 && (module.exports = {
|
|
40
|
+
buildNativeAuthConfig
|
|
41
|
+
});
|
|
42
|
+
//# sourceMappingURL=buildNativeAuthConfig.cjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../src/services/nativeAuth/methods/buildNativeAuthConfig.ts"],
|
|
4
|
+
"sourcesContent": ["import { NativeAuthConfigType } from '../nativeAuth.types';\nimport { getDefaultNativeAuthConfig } from './getDefaultNativeAuthConfig';\n\nexport const buildNativeAuthConfig = (config?: NativeAuthConfigType) => {\n const defaultNativeAuthConfig = getDefaultNativeAuthConfig();\n\n return {\n origin: config?.origin ?? defaultNativeAuthConfig.origin,\n blockHashShard: config?.blockHashShard,\n expirySeconds:\n config?.expirySeconds ?? defaultNativeAuthConfig.expirySeconds,\n apiAddress: config?.apiAddress ?? defaultNativeAuthConfig.apiAddress,\n tokenExpirationToastWarningSeconds:\n config?.tokenExpirationToastWarningSeconds ??\n defaultNativeAuthConfig.tokenExpirationToastWarningSeconds,\n extraInfo: config?.extraInfo ?? {},\n gatewayUrl: config?.gatewayUrl,\n extraRequestHeaders: config?.extraRequestHeaders ?? {}\n };\n};\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AACA,wCAA2C;AAEpC,MAAM,wBAAwB,CAAC,WAAkC;AACtE,QAAM,8BAA0B,8DAA2B;AAE3D,SAAO;AAAA,IACL,QAAQ,QAAQ,UAAU,wBAAwB;AAAA,IAClD,gBAAgB,QAAQ;AAAA,IACxB,eACE,QAAQ,iBAAiB,wBAAwB;AAAA,IACnD,YAAY,QAAQ,cAAc,wBAAwB;AAAA,IAC1D,oCACE,QAAQ,sCACR,wBAAwB;AAAA,IAC1B,WAAW,QAAQ,aAAa,CAAC;AAAA,IACjC,YAAY,QAAQ;AAAA,IACpB,qBAAqB,QAAQ,uBAAuB,CAAC;AAAA,EACvD;AACF;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../../__chunks__/chunk-
|
|
1
|
+
import{a}from"../../../__chunks__/chunk-X7R7RLVZ.mjs";import"../../../__chunks__/chunk-EHU6U444.mjs";import"../../../__chunks__/chunk-JIDXMYLT.mjs";import"../../../__chunks__/chunk-T4FRQ4JG.mjs";import"../../../__chunks__/chunk-UERJ6AKK.mjs";import"../../../__chunks__/chunk-KPK72MOE.mjs";import"../../../__chunks__/chunk-SAAOQW7P.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-XKOP7FDQ.mjs";import"../../../__chunks__/chunk-KRWR77QE.mjs";import"../../../__chunks__/chunk-B7YCKWDU.mjs";import"../../../__chunks__/chunk-HDJOER66.mjs";import"../../../__chunks__/chunk-A7FTKX2A.mjs";import"../../../__chunks__/chunk-XKU5QBXG.mjs";import"../../../__chunks__/chunk-WZGG2YKQ.mjs";import"../../../__chunks__/chunk-JMC7CMTU.mjs";import"../../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../../__chunks__/chunk-T2YPFNVM.mjs";import"../../../__chunks__/chunk-X4XULIVT.mjs";import"../../../__chunks__/chunk-5N4F5T5L.mjs";import"../../../__chunks__/chunk-CYCS3K6Q.mjs";import"../../../__chunks__/chunk-YMPZDHKF.mjs";import"../../../__chunks__/chunk-VKEESSBI.mjs";import"../../../__chunks__/chunk-2DNGCNYM.mjs";import"../../../__chunks__/chunk-SQVKVA7X.mjs";import"../../../__chunks__/chunk-I24YBVHK.mjs";import"../../../__chunks__/chunk-NB7A4C7L.mjs";import"../../../__chunks__/chunk-PJWJZHIS.mjs";import"../../../__chunks__/chunk-NTEMINYA.mjs";import"../../../__chunks__/chunk-MGFIOCA4.mjs";import"../../../__chunks__/chunk-GGBMHKR4.mjs";import"../../../__chunks__/chunk-CKTFPRJS.mjs";import"../../../__chunks__/chunk-HCKBJTY3.mjs";import"../../../__chunks__/chunk-B2UIPHJ3.mjs";export{a as buildNativeAuthConfig};
|
|
2
2
|
//# sourceMappingURL=buildNativeAuthConfig.mjs.map
|