@multiversx/sdk-dapp-liquidity 0.2.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +186 -0
- package/all-networks-EJIVYZ_i.mjs +4 -0
- package/all-networks-NYACMyeN.js +4 -0
- package/api/confirmRate.d.ts +11 -0
- package/api/confirmRate.js +30 -0
- package/api/confirmRate.mjs +29 -0
- package/api/getChains.d.ts +6 -0
- package/api/getChains.js +12 -0
- package/api/getChains.mjs +11 -0
- package/api/getRate.d.ts +10 -0
- package/api/getRate.js +28 -0
- package/api/getRate.mjs +27 -0
- package/api/getTokens.d.ts +7 -0
- package/api/getTokens.js +14 -0
- package/api/getTokens.mjs +13 -0
- package/api/getTokensBalances.d.ts +8 -0
- package/api/getTokensBalances.js +17 -0
- package/api/getTokensBalances.mjs +16 -0
- package/api/getTransactions.d.ts +7 -0
- package/api/getTransactions.js +14 -0
- package/api/getTransactions.mjs +13 -0
- package/api/index.d.ts +7 -0
- package/api/index.js +17 -0
- package/api/index.mjs +16 -0
- package/api/sendTransactions.d.ts +11 -0
- package/api/sendTransactions.js +29 -0
- package/api/sendTransactions.mjs +28 -0
- package/api/tests/confirmRate.spec.d.ts +1 -0
- package/api/tests/confirmRate.spec.js +124 -0
- package/api/tests/confirmRate.spec.mjs +122 -0
- package/api/tests/getChains.spec.d.ts +1 -0
- package/api/tests/getChains.spec.js +37 -0
- package/api/tests/getChains.spec.mjs +35 -0
- package/api/tests/getRate.spec.d.ts +1 -0
- package/api/tests/getRate.spec.js +83 -0
- package/api/tests/getRate.spec.mjs +81 -0
- package/api/tests/getTokens.spec.d.ts +1 -0
- package/api/tests/getTokens.spec.js +60 -0
- package/api/tests/getTokens.spec.mjs +58 -0
- package/api/tests/getTransactions.spec.d.ts +1 -0
- package/api/tests/getTransactions.spec.js +89 -0
- package/api/tests/getTransactions.spec.mjs +87 -0
- package/api/tests/sendTransactions.spec.d.ts +1 -0
- package/api/tests/sendTransactions.spec.js +83 -0
- package/api/tests/sendTransactions.spec.mjs +81 -0
- package/bignumber-B8vjg9qn.js +1334 -0
- package/bignumber-CKZkoo0g.mjs +1334 -0
- package/constants/index.d.ts +1 -0
- package/constants/index.js +5 -0
- package/constants/index.mjs +4 -0
- package/default-BYtXv70Z.mjs +4 -0
- package/default-H3AbmzFV.js +4 -0
- package/dto/Chain.dto.d.ts +16 -0
- package/dto/Chain.dto.js +2 -0
- package/dto/Chain.dto.mjs +1 -0
- package/dto/ConfirmRate.dto.d.ts +11 -0
- package/dto/ConfirmRate.dto.js +2 -0
- package/dto/ConfirmRate.dto.mjs +1 -0
- package/dto/Token.dto.d.ts +14 -0
- package/dto/Token.dto.js +2 -0
- package/dto/Token.dto.mjs +1 -0
- package/dto/TokenBalance.dto.d.ts +4 -0
- package/dto/TokenBalance.dto.js +2 -0
- package/dto/TokenBalance.dto.mjs +1 -0
- package/dto/Transaction.dto.d.ts +14 -0
- package/dto/Transaction.dto.js +2 -0
- package/dto/Transaction.dto.mjs +1 -0
- package/dto/index.d.ts +5 -0
- package/dto/index.js +2 -0
- package/dto/index.mjs +1 -0
- package/helpers/base64Utils.d.ts +3 -0
- package/helpers/base64Utils.js +32 -0
- package/helpers/base64Utils.mjs +31 -0
- package/helpers/decodeLoginToken.d.ts +9 -0
- package/helpers/decodeLoginToken.js +28 -0
- package/helpers/decodeLoginToken.mjs +27 -0
- package/helpers/decodeToken.d.ts +11 -0
- package/helpers/decodeToken.js +40 -0
- package/helpers/decodeToken.mjs +39 -0
- package/helpers/getApiURL.d.ts +1 -0
- package/helpers/getApiURL.js +8 -0
- package/helpers/getApiURL.mjs +7 -0
- package/helpers/getBridgeURL.d.ts +1 -0
- package/helpers/getBridgeURL.js +8 -0
- package/helpers/getBridgeURL.mjs +7 -0
- package/helpers/getMvxApiURL.d.ts +1 -0
- package/helpers/getMvxApiURL.js +8 -0
- package/helpers/getMvxApiURL.mjs +7 -0
- package/helpers/getMvxChainId.d.ts +1 -0
- package/helpers/getMvxChainId.js +8 -0
- package/helpers/getMvxChainId.mjs +7 -0
- package/helpers/getMvxExplorerAddress.d.ts +1 -0
- package/helpers/getMvxExplorerAddress.js +8 -0
- package/helpers/getMvxExplorerAddress.mjs +7 -0
- package/helpers/index.d.ts +9 -0
- package/helpers/index.js +23 -0
- package/helpers/index.mjs +22 -0
- package/helpers/serializeTransaction.d.ts +3 -0
- package/helpers/serializeTransaction.js +9 -0
- package/helpers/serializeTransaction.mjs +8 -0
- package/helpers/tests/base64Utils.spec.d.ts +1 -0
- package/helpers/tests/base64Utils.spec.js +30 -0
- package/helpers/tests/base64Utils.spec.mjs +28 -0
- package/helpers/tests/decodeLoginToken.spec.d.ts +1 -0
- package/helpers/tests/decodeLoginToken.spec.js +35 -0
- package/helpers/tests/decodeLoginToken.spec.mjs +33 -0
- package/helpers/tests/decodeToken.spec.d.ts +1 -0
- package/helpers/tests/decodeToken.spec.js +28 -0
- package/helpers/tests/decodeToken.spec.mjs +26 -0
- package/index-B9WqxUXM.mjs +91 -0
- package/index-BXwpbIDQ.mjs +107 -0
- package/index-CnudU77V.js +329 -0
- package/index-DSnomXRI.mjs +68025 -0
- package/index-DZHiA1sX.js +107 -0
- package/index-cvy2-uZ_.js +67946 -0
- package/index.d.ts +6 -0
- package/index.js +189 -0
- package/index.mjs +185 -0
- package/package.json +107 -0
- package/react-B9sQBOh0.mjs +3040 -0
- package/react-BaXyw3AO.js +3040 -0
- package/react-CNXJSTCv.js +38 -0
- package/react-CSQpf1zk.mjs +38 -0
- package/reactjs/components/AccountAddress/AccountAddress.d.ts +6 -0
- package/reactjs/components/AccountAddress/AccountAddress.js +25 -0
- package/reactjs/components/AccountAddress/AccountAddress.mjs +24 -0
- package/reactjs/components/AccountAddress/index.d.ts +1 -0
- package/reactjs/components/AccountAddress/index.js +5 -0
- package/reactjs/components/AccountAddress/index.mjs +4 -0
- package/reactjs/components/AmountCard/AmountCard.d.ts +6 -0
- package/reactjs/components/AmountCard/AmountCard.js +33 -0
- package/reactjs/components/AmountCard/AmountCard.mjs +32 -0
- package/reactjs/components/AmountCard/index.d.ts +1 -0
- package/reactjs/components/AmountCard/index.js +5 -0
- package/reactjs/components/AmountCard/index.mjs +4 -0
- package/reactjs/components/AmountInput/AmountInput.d.ts +13 -0
- package/reactjs/components/AmountInput/AmountInput.js +61 -0
- package/reactjs/components/AmountInput/AmountInput.mjs +60 -0
- package/reactjs/components/AmountInput/index.d.ts +1 -0
- package/reactjs/components/AmountInput/index.js +5 -0
- package/reactjs/components/AmountInput/index.mjs +4 -0
- package/reactjs/components/BridgeForm/BridgeForm.d.ts +16 -0
- package/reactjs/components/BridgeForm/BridgeForm.js +680 -0
- package/reactjs/components/BridgeForm/BridgeForm.mjs +679 -0
- package/reactjs/components/BridgeForm/index.d.ts +1 -0
- package/reactjs/components/BridgeForm/index.js +5 -0
- package/reactjs/components/BridgeForm/index.mjs +4 -0
- package/reactjs/components/BridgeHistory/BridgeHistory.d.ts +4 -0
- package/reactjs/components/BridgeHistory/BridgeHistory.js +233 -0
- package/reactjs/components/BridgeHistory/BridgeHistory.mjs +232 -0
- package/reactjs/components/BridgeHistory/index.d.ts +1 -0
- package/reactjs/components/BridgeHistory/index.js +5 -0
- package/reactjs/components/BridgeHistory/index.mjs +4 -0
- package/reactjs/components/Connect/BridgeAccountDisplay.d.ts +6 -0
- package/reactjs/components/Connect/BridgeAccountDisplay.js +85 -0
- package/reactjs/components/Connect/BridgeAccountDisplay.mjs +84 -0
- package/reactjs/components/Connect/BridgeConnectButton.d.ts +7 -0
- package/reactjs/components/Connect/BridgeConnectButton.js +26 -0
- package/reactjs/components/Connect/BridgeConnectButton.mjs +25 -0
- package/reactjs/components/Connect/CustomConnectButton.d.ts +7 -0
- package/reactjs/components/Connect/CustomConnectButton.js +42 -0
- package/reactjs/components/Connect/CustomConnectButton.mjs +41 -0
- package/reactjs/components/Connect/MvxAccountDisplay.d.ts +9 -0
- package/reactjs/components/Connect/MvxAccountDisplay.js +75 -0
- package/reactjs/components/Connect/MvxAccountDisplay.mjs +74 -0
- package/reactjs/components/Connect/MvxConnectButton.d.ts +11 -0
- package/reactjs/components/Connect/MvxConnectButton.js +43 -0
- package/reactjs/components/Connect/MvxConnectButton.mjs +42 -0
- package/reactjs/components/Connect/SwitchChainButton.d.ts +7 -0
- package/reactjs/components/Connect/SwitchChainButton.js +33 -0
- package/reactjs/components/Connect/SwitchChainButton.mjs +32 -0
- package/reactjs/components/Connect/index.d.ts +6 -0
- package/reactjs/components/Connect/index.js +15 -0
- package/reactjs/components/Connect/index.mjs +14 -0
- package/reactjs/components/CopyButton/CopyButton.d.ts +6 -0
- package/reactjs/components/CopyButton/CopyButton.js +42 -0
- package/reactjs/components/CopyButton/CopyButton.mjs +41 -0
- package/reactjs/components/CopyButton/index.d.ts +1 -0
- package/reactjs/components/CopyButton/index.js +5 -0
- package/reactjs/components/CopyButton/index.mjs +4 -0
- package/reactjs/components/CopyButton/utils/copyToClipboard.d.ts +1 -0
- package/reactjs/components/CopyButton/utils/copyToClipboard.js +38 -0
- package/reactjs/components/CopyButton/utils/copyToClipboard.mjs +37 -0
- package/reactjs/components/CopyButton/utils/index.d.ts +1 -0
- package/reactjs/components/CopyButton/utils/index.js +5 -0
- package/reactjs/components/CopyButton/utils/index.mjs +4 -0
- package/reactjs/components/DisplayAmount/DisplayAmount.d.ts +21 -0
- package/reactjs/components/DisplayAmount/DisplayAmount.js +91 -0
- package/reactjs/components/DisplayAmount/DisplayAmount.mjs +90 -0
- package/reactjs/components/DisplayAmount/components/AnimateNumber/AnimateNumber.d.ts +7 -0
- package/reactjs/components/DisplayAmount/components/AnimateNumber/AnimateNumber.js +40 -0
- package/reactjs/components/DisplayAmount/components/AnimateNumber/AnimateNumber.mjs +39 -0
- package/reactjs/components/DisplayAmount/components/AnimateNumber/index.d.ts +0 -0
- package/reactjs/components/DisplayAmount/components/AnimateNumber/index.js +2 -0
- package/reactjs/components/DisplayAmount/components/AnimateNumber/index.mjs +1 -0
- package/reactjs/components/DisplayAmount/components/PrecisedAmount/PrecisedAmount.d.ts +14 -0
- package/reactjs/components/DisplayAmount/components/PrecisedAmount/PrecisedAmount.js +62 -0
- package/reactjs/components/DisplayAmount/components/PrecisedAmount/PrecisedAmount.mjs +61 -0
- package/reactjs/components/DisplayAmount/components/index.d.ts +0 -0
- package/reactjs/components/DisplayAmount/components/index.js +2 -0
- package/reactjs/components/DisplayAmount/components/index.mjs +1 -0
- package/reactjs/components/DisplayAmount/index.d.ts +1 -0
- package/reactjs/components/DisplayAmount/index.js +5 -0
- package/reactjs/components/DisplayAmount/index.mjs +4 -0
- package/reactjs/components/DisplayAmount/utils/index.d.ts +1 -0
- package/reactjs/components/DisplayAmount/utils/index.js +5 -0
- package/reactjs/components/DisplayAmount/utils/index.mjs +4 -0
- package/reactjs/components/DisplayAmount/utils/truncateAmount.d.ts +1 -0
- package/reactjs/components/DisplayAmount/utils/truncateAmount.js +22 -0
- package/reactjs/components/DisplayAmount/utils/truncateAmount.mjs +21 -0
- package/reactjs/components/SmallLoader/SmallLoader.d.ts +4 -0
- package/reactjs/components/SmallLoader/SmallLoader.js +22 -0
- package/reactjs/components/SmallLoader/SmallLoader.mjs +21 -0
- package/reactjs/components/SmallLoader/index.d.ts +1 -0
- package/reactjs/components/SmallLoader/index.js +5 -0
- package/reactjs/components/SmallLoader/index.mjs +4 -0
- package/reactjs/components/TokenSelector/TokenSelector.d.ts +16 -0
- package/reactjs/components/TokenSelector/TokenSelector.js +158 -0
- package/reactjs/components/TokenSelector/TokenSelector.mjs +157 -0
- package/reactjs/components/TokenSelector/components/ChainSelect/ChainSelect.d.ts +8 -0
- package/reactjs/components/TokenSelector/components/ChainSelect/ChainSelect.js +86 -0
- package/reactjs/components/TokenSelector/components/ChainSelect/ChainSelect.mjs +85 -0
- package/reactjs/components/TokenSelector/components/ChainSelect/components/ChainOptionLabel.d.ts +11 -0
- package/reactjs/components/TokenSelector/components/ChainSelect/components/ChainOptionLabel.js +45 -0
- package/reactjs/components/TokenSelector/components/ChainSelect/components/ChainOptionLabel.mjs +44 -0
- package/reactjs/components/TokenSelector/components/ChainSelect/components/FormatChainOptionLabel.d.ts +6 -0
- package/reactjs/components/TokenSelector/components/ChainSelect/components/FormatChainOptionLabel.js +19 -0
- package/reactjs/components/TokenSelector/components/ChainSelect/components/FormatChainOptionLabel.mjs +18 -0
- package/reactjs/components/TokenSelector/components/ChainSelect/components/IndicatorSeparator.d.ts +3 -0
- package/reactjs/components/TokenSelector/components/ChainSelect/components/IndicatorSeparator.js +7 -0
- package/reactjs/components/TokenSelector/components/ChainSelect/components/IndicatorSeparator.mjs +6 -0
- package/reactjs/components/TokenSelector/components/ChainSelect/components/SelectedChainOption.d.ts +4 -0
- package/reactjs/components/TokenSelector/components/ChainSelect/components/SelectedChainOption.js +33 -0
- package/reactjs/components/TokenSelector/components/ChainSelect/components/SelectedChainOption.mjs +32 -0
- package/reactjs/components/TokenSelector/components/ChainSelect/types/chainSelectOption.d.ts +10 -0
- package/reactjs/components/TokenSelector/components/ChainSelect/types/chainSelectOption.js +2 -0
- package/reactjs/components/TokenSelector/components/ChainSelect/types/chainSelectOption.mjs +1 -0
- package/reactjs/components/TokenSelector/components/ChainSelect/types/partialChainOption.d.ts +10 -0
- package/reactjs/components/TokenSelector/components/ChainSelect/types/partialChainOption.js +2 -0
- package/reactjs/components/TokenSelector/components/ChainSelect/types/partialChainOption.mjs +1 -0
- package/reactjs/components/TokenSelector/components/SelectContainer.d.ts +7 -0
- package/reactjs/components/TokenSelector/components/SelectContainer.js +41 -0
- package/reactjs/components/TokenSelector/components/SelectContainer.mjs +40 -0
- package/reactjs/components/TokenSelector/components/SelectContent.d.ts +10 -0
- package/reactjs/components/TokenSelector/components/SelectContent.js +93 -0
- package/reactjs/components/TokenSelector/components/SelectContent.mjs +92 -0
- package/reactjs/components/TokenSelector/components/SelectedOption.d.ts +5 -0
- package/reactjs/components/TokenSelector/components/SelectedOption.js +29 -0
- package/reactjs/components/TokenSelector/components/SelectedOption.mjs +28 -0
- package/reactjs/components/TokenSelector/components/TokenIcon.d.ts +8 -0
- package/reactjs/components/TokenSelector/components/TokenIcon.js +82 -0
- package/reactjs/components/TokenSelector/components/TokenIcon.mjs +81 -0
- package/reactjs/components/TokenSelector/components/TokenItem.d.ts +7 -0
- package/reactjs/components/TokenSelector/components/TokenItem.js +69 -0
- package/reactjs/components/TokenSelector/components/TokenItem.mjs +68 -0
- package/reactjs/components/TokenSelector/components/TokenList.d.ts +7 -0
- package/reactjs/components/TokenSelector/components/TokenList.js +21 -0
- package/reactjs/components/TokenSelector/components/TokenList.mjs +20 -0
- package/reactjs/components/TokenSelector/components/TokenSymbol.d.ts +9 -0
- package/reactjs/components/TokenSelector/components/TokenSymbol.js +26 -0
- package/reactjs/components/TokenSelector/components/TokenSymbol.mjs +25 -0
- package/reactjs/components/TokenSelector/index.d.ts +1 -0
- package/reactjs/components/TokenSelector/index.js +5 -0
- package/reactjs/components/TokenSelector/index.mjs +4 -0
- package/reactjs/components/TransactionToast/TransactionToast.d.ts +9 -0
- package/reactjs/components/TransactionToast/TransactionToast.js +54 -0
- package/reactjs/components/TransactionToast/TransactionToast.mjs +53 -0
- package/reactjs/components/TransactionToast/TransactionToastContainer.d.ts +3 -0
- package/reactjs/components/TransactionToast/TransactionToastContainer.js +21 -0
- package/reactjs/components/TransactionToast/TransactionToastContainer.mjs +20 -0
- package/reactjs/components/TransactionToast/index.d.ts +2 -0
- package/reactjs/components/TransactionToast/index.js +7 -0
- package/reactjs/components/TransactionToast/index.mjs +6 -0
- package/reactjs/components/TrimAddress/TrimAddress.d.ts +8 -0
- package/reactjs/components/TrimAddress/TrimAddress.js +26 -0
- package/reactjs/components/TrimAddress/TrimAddress.mjs +25 -0
- package/reactjs/components/TrimAddress/index.d.ts +1 -0
- package/reactjs/components/TrimAddress/index.js +5 -0
- package/reactjs/components/TrimAddress/index.mjs +4 -0
- package/reactjs/components/base/MxButton/MxButton.d.ts +13 -0
- package/reactjs/components/base/MxButton/MxButton.js +72 -0
- package/reactjs/components/base/MxButton/MxButton.mjs +71 -0
- package/reactjs/components/base/MxButton/index.d.ts +1 -0
- package/reactjs/components/base/MxButton/index.js +5 -0
- package/reactjs/components/base/MxButton/index.mjs +4 -0
- package/reactjs/components/base/MxCard/MxCard.d.ts +10 -0
- package/reactjs/components/base/MxCard/MxCard.js +55 -0
- package/reactjs/components/base/MxCard/MxCard.mjs +54 -0
- package/reactjs/components/base/MxCard/index.d.ts +1 -0
- package/reactjs/components/base/MxCard/index.js +5 -0
- package/reactjs/components/base/MxCard/index.mjs +4 -0
- package/reactjs/components/base/MxLink/MxLink.d.ts +10 -0
- package/reactjs/components/base/MxLink/MxLink.js +71 -0
- package/reactjs/components/base/MxLink/MxLink.mjs +70 -0
- package/reactjs/components/base/MxLink/index.d.ts +1 -0
- package/reactjs/components/base/MxLink/index.js +5 -0
- package/reactjs/components/base/MxLink/index.mjs +4 -0
- package/reactjs/components/base/MxSearch/MxSearch.d.ts +10 -0
- package/reactjs/components/base/MxSearch/MxSearch.js +70 -0
- package/reactjs/components/base/MxSearch/MxSearch.mjs +69 -0
- package/reactjs/components/base/MxSearch/index.d.ts +1 -0
- package/reactjs/components/base/MxSearch/index.js +5 -0
- package/reactjs/components/base/MxSearch/index.mjs +4 -0
- package/reactjs/components/base/MxSlideover/MxSlideover.d.ts +10 -0
- package/reactjs/components/base/MxSlideover/MxSlideover.js +79 -0
- package/reactjs/components/base/MxSlideover/MxSlideover.mjs +78 -0
- package/reactjs/components/base/MxSlideover/index.d.ts +1 -0
- package/reactjs/components/base/MxSlideover/index.js +5 -0
- package/reactjs/components/base/MxSlideover/index.mjs +4 -0
- package/reactjs/components/base/MxTooltip/MxTooltip.d.ts +23 -0
- package/reactjs/components/base/MxTooltip/MxTooltip.js +163 -0
- package/reactjs/components/base/MxTooltip/MxTooltip.mjs +162 -0
- package/reactjs/components/base/MxTooltip/components/TooltipContainer/TooltipContainer.d.ts +11 -0
- package/reactjs/components/base/MxTooltip/components/TooltipContainer/TooltipContainer.js +34 -0
- package/reactjs/components/base/MxTooltip/components/TooltipContainer/TooltipContainer.mjs +33 -0
- package/reactjs/components/base/MxTooltip/components/TooltipContainer/index.d.ts +1 -0
- package/reactjs/components/base/MxTooltip/components/TooltipContainer/index.js +5 -0
- package/reactjs/components/base/MxTooltip/components/TooltipContainer/index.mjs +4 -0
- package/reactjs/components/base/MxTooltip/components/TooltipContent/TooltipContent.d.ts +13 -0
- package/reactjs/components/base/MxTooltip/components/TooltipContent/TooltipContent.js +28 -0
- package/reactjs/components/base/MxTooltip/components/TooltipContent/TooltipContent.mjs +27 -0
- package/reactjs/components/base/MxTooltip/components/TooltipContent/index.d.ts +1 -0
- package/reactjs/components/base/MxTooltip/components/TooltipContent/index.js +5 -0
- package/reactjs/components/base/MxTooltip/components/TooltipContent/index.mjs +4 -0
- package/reactjs/components/base/MxTooltip/components/index.d.ts +2 -0
- package/reactjs/components/base/MxTooltip/components/index.js +7 -0
- package/reactjs/components/base/MxTooltip/components/index.mjs +6 -0
- package/reactjs/components/base/MxTooltip/index.d.ts +1 -0
- package/reactjs/components/base/MxTooltip/index.js +5 -0
- package/reactjs/components/base/MxTooltip/index.mjs +4 -0
- package/reactjs/components/base/index.d.ts +6 -0
- package/reactjs/components/base/index.js +15 -0
- package/reactjs/components/base/index.mjs +14 -0
- package/reactjs/components/index.d.ts +13 -0
- package/reactjs/components/index.js +51 -0
- package/reactjs/components/index.mjs +50 -0
- package/reactjs/constants/chains.d.ts +35 -0
- package/reactjs/constants/chains.js +38 -0
- package/reactjs/constants/chains.mjs +37 -0
- package/reactjs/constants/index.d.ts +3 -0
- package/reactjs/constants/index.js +12 -0
- package/reactjs/constants/index.mjs +11 -0
- package/reactjs/context/Web3AppProvider.d.ts +12 -0
- package/reactjs/context/Web3AppProvider.js +29 -0
- package/reactjs/context/Web3AppProvider.mjs +28 -0
- package/reactjs/context/queryClient.d.ts +3 -0
- package/reactjs/context/queryClient.js +12 -0
- package/reactjs/context/queryClient.mjs +11 -0
- package/reactjs/context/useWeb3App.d.ts +1 -0
- package/reactjs/context/useWeb3App.js +13 -0
- package/reactjs/context/useWeb3App.mjs +12 -0
- package/reactjs/hooks/index.d.ts +11 -0
- package/reactjs/hooks/index.js +32 -0
- package/reactjs/hooks/index.mjs +31 -0
- package/reactjs/hooks/useAccount.d.ts +77 -0
- package/reactjs/hooks/useAccount.js +18 -0
- package/reactjs/hooks/useAccount.mjs +17 -0
- package/reactjs/hooks/useBalances.d.ts +10 -0
- package/reactjs/hooks/useBalances.js +7 -0
- package/reactjs/hooks/useBalances.mjs +6 -0
- package/reactjs/hooks/useBridgeFormik.d.ts +98 -0
- package/reactjs/hooks/useBridgeFormik.js +182 -0
- package/reactjs/hooks/useBridgeFormik.mjs +181 -0
- package/reactjs/hooks/useDebounce.d.ts +1 -0
- package/reactjs/hooks/useDebounce.js +14 -0
- package/reactjs/hooks/useDebounce.mjs +13 -0
- package/reactjs/hooks/useFetchBridgeData.d.ts +45 -0
- package/reactjs/hooks/useFetchBridgeData.js +44 -0
- package/reactjs/hooks/useFetchBridgeData.mjs +43 -0
- package/reactjs/hooks/useFetchTokens.d.ts +42 -0
- package/reactjs/hooks/useFetchTokens.js +105 -0
- package/reactjs/hooks/useFetchTokens.mjs +104 -0
- package/reactjs/hooks/useGetChainId.d.ts +1 -0
- package/reactjs/hooks/useGetChainId.js +12 -0
- package/reactjs/hooks/useGetChainId.mjs +11 -0
- package/reactjs/hooks/useResolveTokenChain.d.ts +9 -0
- package/reactjs/hooks/useResolveTokenChain.js +21 -0
- package/reactjs/hooks/useResolveTokenChain.mjs +20 -0
- package/reactjs/hooks/useSendTransactions.d.ts +3 -0
- package/reactjs/hooks/useSendTransactions.js +19 -0
- package/reactjs/hooks/useSendTransactions.mjs +18 -0
- package/reactjs/hooks/useSignTransaction.d.ts +69 -0
- package/reactjs/hooks/useSignTransaction.js +17 -0
- package/reactjs/hooks/useSignTransaction.mjs +16 -0
- package/reactjs/hooks/validation/index.d.ts +4 -0
- package/reactjs/hooks/validation/index.js +11 -0
- package/reactjs/hooks/validation/index.mjs +10 -0
- package/reactjs/hooks/validation/useAmountSchema.d.ts +2 -0
- package/reactjs/hooks/validation/useAmountSchema.js +31 -0
- package/reactjs/hooks/validation/useAmountSchema.mjs +13 -0
- package/reactjs/hooks/validation/useSecondAmountSchema.d.ts +2 -0
- package/reactjs/hooks/validation/useSecondAmountSchema.js +27 -0
- package/reactjs/hooks/validation/useSecondAmountSchema.mjs +9 -0
- package/reactjs/hooks/validation/useTestHasEnoughFunds.d.ts +3 -0
- package/reactjs/hooks/validation/useTestHasEnoughFunds.js +38 -0
- package/reactjs/hooks/validation/useTestHasEnoughFunds.mjs +37 -0
- package/reactjs/hooks/validation/useTestIsConnected.d.ts +3 -0
- package/reactjs/hooks/validation/useTestIsConnected.js +21 -0
- package/reactjs/hooks/validation/useTestIsConnected.mjs +20 -0
- package/reactjs/index.d.ts +10 -0
- package/reactjs/index.js +153 -0
- package/reactjs/index.mjs +149 -0
- package/reactjs/init/index.d.ts +1 -0
- package/reactjs/init/index.js +5 -0
- package/reactjs/init/index.mjs +4 -0
- package/reactjs/init/init.d.ts +48 -0
- package/reactjs/init/init.js +53 -0
- package/reactjs/init/init.mjs +35 -0
- package/reactjs/init/tests/init.spec.d.ts +1 -0
- package/reactjs/init/tests/init.spec.js +108 -0
- package/reactjs/init/tests/init.spec.mjs +106 -0
- package/reactjs/queries/index.d.ts +7 -0
- package/reactjs/queries/index.js +20 -0
- package/reactjs/queries/index.mjs +19 -0
- package/reactjs/queries/useGetAllTokens.query.d.ts +3 -0
- package/reactjs/queries/useGetAllTokens.query.js +31 -0
- package/reactjs/queries/useGetAllTokens.query.mjs +30 -0
- package/reactjs/queries/useGetChains.query.d.ts +3 -0
- package/reactjs/queries/useGetChains.query.js +31 -0
- package/reactjs/queries/useGetChains.query.mjs +30 -0
- package/reactjs/queries/useGetEvmTokensBalances.query.d.ts +22 -0
- package/reactjs/queries/useGetEvmTokensBalances.query.js +78 -0
- package/reactjs/queries/useGetEvmTokensBalances.query.mjs +77 -0
- package/reactjs/queries/useGetHistory.query.d.ts +4 -0
- package/reactjs/queries/useGetHistory.query.js +47 -0
- package/reactjs/queries/useGetHistory.query.mjs +46 -0
- package/reactjs/queries/useGetMvxTokensBalances.query.d.ts +23 -0
- package/reactjs/queries/useGetMvxTokensBalances.query.js +60 -0
- package/reactjs/queries/useGetMvxTokensBalances.query.mjs +59 -0
- package/reactjs/queries/useGetRate.mutation.d.ts +6 -0
- package/reactjs/queries/useGetRate.mutation.js +19 -0
- package/reactjs/queries/useGetRate.mutation.mjs +18 -0
- package/reactjs/queries/useGetTokens.query.d.ts +3 -0
- package/reactjs/queries/useGetTokens.query.js +34 -0
- package/reactjs/queries/useGetTokens.query.mjs +33 -0
- package/reactjs/reexports.d.ts +6 -0
- package/reactjs/reexports.js +21 -0
- package/reactjs/reexports.mjs +17 -0
- package/reactjs/utils/delay.d.ts +1 -0
- package/reactjs/utils/delay.js +7 -0
- package/reactjs/utils/delay.mjs +6 -0
- package/reactjs/utils/formatAmount.d.ts +7 -0
- package/reactjs/utils/formatAmount.js +24 -0
- package/reactjs/utils/formatAmount.mjs +23 -0
- package/reactjs/utils/getCleanStringAmount.d.ts +4 -0
- package/reactjs/utils/getCleanStringAmount.js +12 -0
- package/reactjs/utils/getCleanStringAmount.mjs +11 -0
- package/reactjs/utils/getCompletePathname.d.ts +1 -0
- package/reactjs/utils/getCompletePathname.js +6 -0
- package/reactjs/utils/getCompletePathname.mjs +5 -0
- package/reactjs/utils/getInitialTokens.d.ts +8 -0
- package/reactjs/utils/getInitialTokens.js +13 -0
- package/reactjs/utils/getInitialTokens.mjs +12 -0
- package/reactjs/utils/hasEnoughFunds.d.ts +5 -0
- package/reactjs/utils/hasEnoughFunds.js +20 -0
- package/reactjs/utils/hasEnoughFunds.mjs +19 -0
- package/reactjs/utils/index.d.ts +12 -0
- package/reactjs/utils/index.js +27 -0
- package/reactjs/utils/index.mjs +26 -0
- package/reactjs/utils/isStringFloat.d.ts +1 -0
- package/reactjs/utils/isStringFloat.js +22 -0
- package/reactjs/utils/isStringFloat.mjs +21 -0
- package/reactjs/utils/mxClsx.d.ts +3 -0
- package/reactjs/utils/mxClsx.js +21 -0
- package/reactjs/utils/mxClsx.mjs +20 -0
- package/reactjs/utils/pipe.d.ts +7 -0
- package/reactjs/utils/pipe.js +26 -0
- package/reactjs/utils/pipe.mjs +25 -0
- package/reactjs/utils/removeCommas.d.ts +1 -0
- package/reactjs/utils/removeCommas.js +7 -0
- package/reactjs/utils/removeCommas.mjs +6 -0
- package/reactjs/utils/roundAmount.d.ts +1 -0
- package/reactjs/utils/roundAmount.js +41 -0
- package/reactjs/utils/roundAmount.mjs +40 -0
- package/reactjs/utils/testNumber.d.ts +1 -0
- package/reactjs/utils/testNumber.js +5 -0
- package/reactjs/utils/testNumber.mjs +4 -0
- package/store/inMemoryStore.d.ts +12 -0
- package/store/inMemoryStore.js +40 -0
- package/store/inMemoryStore.mjs +39 -0
- package/types/batchTransactions.d.ts +6 -0
- package/types/batchTransactions.js +2 -0
- package/types/batchTransactions.mjs +1 -0
- package/types/index.d.ts +4 -0
- package/types/index.js +2 -0
- package/types/index.mjs +1 -0
- package/types/rate.d.ts +11 -0
- package/types/rate.js +2 -0
- package/types/rate.mjs +1 -0
- package/types/token.d.ts +12 -0
- package/types/token.js +2 -0
- package/types/token.mjs +1 -0
- package/types/transaction.d.ts +14 -0
- package/types/transaction.js +2 -0
- package/types/transaction.mjs +1 -0
- package/useBalances-Bxtc4GNK.js +199 -0
- package/useBalances-DA3zEruz.mjs +199 -0
- package/w3m-modal-DCcF1qEB.js +356 -0
- package/w3m-modal-DK3G5GJp.mjs +356 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
"use strict";
|
|
3
|
+
const helpers_decodeLoginToken = require("../decodeLoginToken.js");
|
|
4
|
+
describe("decodeLoginToken", () => {
|
|
5
|
+
it("decodes a valid login token", () => {
|
|
6
|
+
const token = "aHR0cHM6Ly9kZXZuZXQudGVtcGxhdGUtZGFwcC5tdWx0aXZlcnN4LmNvbQ.ef76b4c76ef6e13a6390767fc78a88ca4bbb5918a2b9ddc44942927693650651.86400.eyJ0aW1lc3RhbXAiOjE3MzM0ODk0MDB9";
|
|
7
|
+
const expectedPayload = {
|
|
8
|
+
origin: "https://devnet.template-dapp.multiversx.com",
|
|
9
|
+
blockHash: "ef76b4c76ef6e13a6390767fc78a88ca4bbb5918a2b9ddc44942927693650651",
|
|
10
|
+
ttl: 86400,
|
|
11
|
+
extraInfo: { timestamp: 1733489400 }
|
|
12
|
+
};
|
|
13
|
+
expect(helpers_decodeLoginToken.decodeLoginToken(token)).toEqual(expectedPayload);
|
|
14
|
+
});
|
|
15
|
+
it("returns null for an invalid login token", () => {
|
|
16
|
+
const token = "invalid.token.here";
|
|
17
|
+
expect(helpers_decodeLoginToken.decodeLoginToken(token)).toBeNull();
|
|
18
|
+
});
|
|
19
|
+
it("returns null for an empty token", () => {
|
|
20
|
+
const token = "";
|
|
21
|
+
expect(helpers_decodeLoginToken.decodeLoginToken(token)).toBeNull();
|
|
22
|
+
});
|
|
23
|
+
it("returns null for a token with less than 4 parts", () => {
|
|
24
|
+
const token = "part1.part2.part3";
|
|
25
|
+
expect(helpers_decodeLoginToken.decodeLoginToken(token)).toBeNull();
|
|
26
|
+
});
|
|
27
|
+
it("returns null for a token with more than 4 parts", () => {
|
|
28
|
+
const token = "part1.part2.part3.part4.part5";
|
|
29
|
+
expect(helpers_decodeLoginToken.decodeLoginToken(token)).toBeNull();
|
|
30
|
+
});
|
|
31
|
+
it("returns null for a token with invalid JSON in extraInfo", () => {
|
|
32
|
+
const token = "b3JpZ2lu.blockHash.3600.invalidBase64";
|
|
33
|
+
expect(helpers_decodeLoginToken.decodeLoginToken(token)).toBeNull();
|
|
34
|
+
});
|
|
35
|
+
});
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { decodeLoginToken } from "../decodeLoginToken.mjs";
|
|
2
|
+
describe("decodeLoginToken", () => {
|
|
3
|
+
it("decodes a valid login token", () => {
|
|
4
|
+
const token = "aHR0cHM6Ly9kZXZuZXQudGVtcGxhdGUtZGFwcC5tdWx0aXZlcnN4LmNvbQ.ef76b4c76ef6e13a6390767fc78a88ca4bbb5918a2b9ddc44942927693650651.86400.eyJ0aW1lc3RhbXAiOjE3MzM0ODk0MDB9";
|
|
5
|
+
const expectedPayload = {
|
|
6
|
+
origin: "https://devnet.template-dapp.multiversx.com",
|
|
7
|
+
blockHash: "ef76b4c76ef6e13a6390767fc78a88ca4bbb5918a2b9ddc44942927693650651",
|
|
8
|
+
ttl: 86400,
|
|
9
|
+
extraInfo: { timestamp: 1733489400 }
|
|
10
|
+
};
|
|
11
|
+
expect(decodeLoginToken(token)).toEqual(expectedPayload);
|
|
12
|
+
});
|
|
13
|
+
it("returns null for an invalid login token", () => {
|
|
14
|
+
const token = "invalid.token.here";
|
|
15
|
+
expect(decodeLoginToken(token)).toBeNull();
|
|
16
|
+
});
|
|
17
|
+
it("returns null for an empty token", () => {
|
|
18
|
+
const token = "";
|
|
19
|
+
expect(decodeLoginToken(token)).toBeNull();
|
|
20
|
+
});
|
|
21
|
+
it("returns null for a token with less than 4 parts", () => {
|
|
22
|
+
const token = "part1.part2.part3";
|
|
23
|
+
expect(decodeLoginToken(token)).toBeNull();
|
|
24
|
+
});
|
|
25
|
+
it("returns null for a token with more than 4 parts", () => {
|
|
26
|
+
const token = "part1.part2.part3.part4.part5";
|
|
27
|
+
expect(decodeLoginToken(token)).toBeNull();
|
|
28
|
+
});
|
|
29
|
+
it("returns null for a token with invalid JSON in extraInfo", () => {
|
|
30
|
+
const token = "b3JpZ2lu.blockHash.3600.invalidBase64";
|
|
31
|
+
expect(decodeLoginToken(token)).toBeNull();
|
|
32
|
+
});
|
|
33
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
"use strict";
|
|
3
|
+
const helpers_decodeToken = require("../decodeToken.js");
|
|
4
|
+
describe("decodeToken", () => {
|
|
5
|
+
it("decodes a valid native auth token", async () => {
|
|
6
|
+
const token = "ZXJkMXdoOWMwc2pyMnhuOGh6ZjAybHd3Y3I0amsyczg0dGF0OXVkMmthcTZ6cjd4enB2bDlsNXE4YXdtZXg.YUhSMGNITTZMeTlrWlhadVpYUXVkR1Z0Y0d4aGRHVXRaR0Z3Y0M1dGRXeDBhWFpsY25ONExtTnZiUS5lZjc2YjRjNzZlZjZlMTNhNjM5MDc2N2ZjNzhhODhjYTRiYmI1OTE4YTJiOWRkYzQ0OTQyOTI3NjkzNjUwNjUxLjg2NDAwLmV5SjBhVzFsYzNSaGJYQWlPakUzTXpNME9EazBNREI5.04a986df7f0142837f9b1ca1ae4829f7b471e4c3470602ca6a16f2a4d7c6616c4e7628a93b4ce87d9534e95ab9215f893faeb9e0904e1d834007c16e43b12d01";
|
|
7
|
+
const expectedPayload = {
|
|
8
|
+
address: "erd1wh9c0sjr2xn8hzf02lwwcr4jk2s84tat9ud2kaq6zr7xzpvl9l5q8awmex",
|
|
9
|
+
blockHash: "ef76b4c76ef6e13a6390767fc78a88ca4bbb5918a2b9ddc44942927693650651",
|
|
10
|
+
body: "aHR0cHM6Ly9kZXZuZXQudGVtcGxhdGUtZGFwcC5tdWx0aXZlcnN4LmNvbQ.ef76b4c76ef6e13a6390767fc78a88ca4bbb5918a2b9ddc44942927693650651.86400.eyJ0aW1lc3RhbXAiOjE3MzM0ODk0MDB9",
|
|
11
|
+
extraInfo: {
|
|
12
|
+
timestamp: 1733489400
|
|
13
|
+
},
|
|
14
|
+
origin: "https://devnet.template-dapp.multiversx.com",
|
|
15
|
+
signature: "04a986df7f0142837f9b1ca1ae4829f7b471e4c3470602ca6a16f2a4d7c6616c4e7628a93b4ce87d9534e95ab9215f893faeb9e0904e1d834007c16e43b12d01",
|
|
16
|
+
ttl: 86400
|
|
17
|
+
};
|
|
18
|
+
expect(helpers_decodeToken.decodeToken(token)).toEqual(expectedPayload);
|
|
19
|
+
});
|
|
20
|
+
it("returns null for an invalid native auth token", async () => {
|
|
21
|
+
const token = "invalid.token.here";
|
|
22
|
+
expect(helpers_decodeToken.decodeToken(token)).toBeNull();
|
|
23
|
+
});
|
|
24
|
+
it("returns null for an empty token", async () => {
|
|
25
|
+
const token = "";
|
|
26
|
+
expect(helpers_decodeToken.decodeToken(token)).toBeNull();
|
|
27
|
+
});
|
|
28
|
+
});
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { decodeToken } from "../decodeToken.mjs";
|
|
2
|
+
describe("decodeToken", () => {
|
|
3
|
+
it("decodes a valid native auth token", async () => {
|
|
4
|
+
const token = "ZXJkMXdoOWMwc2pyMnhuOGh6ZjAybHd3Y3I0amsyczg0dGF0OXVkMmthcTZ6cjd4enB2bDlsNXE4YXdtZXg.YUhSMGNITTZMeTlrWlhadVpYUXVkR1Z0Y0d4aGRHVXRaR0Z3Y0M1dGRXeDBhWFpsY25ONExtTnZiUS5lZjc2YjRjNzZlZjZlMTNhNjM5MDc2N2ZjNzhhODhjYTRiYmI1OTE4YTJiOWRkYzQ0OTQyOTI3NjkzNjUwNjUxLjg2NDAwLmV5SjBhVzFsYzNSaGJYQWlPakUzTXpNME9EazBNREI5.04a986df7f0142837f9b1ca1ae4829f7b471e4c3470602ca6a16f2a4d7c6616c4e7628a93b4ce87d9534e95ab9215f893faeb9e0904e1d834007c16e43b12d01";
|
|
5
|
+
const expectedPayload = {
|
|
6
|
+
address: "erd1wh9c0sjr2xn8hzf02lwwcr4jk2s84tat9ud2kaq6zr7xzpvl9l5q8awmex",
|
|
7
|
+
blockHash: "ef76b4c76ef6e13a6390767fc78a88ca4bbb5918a2b9ddc44942927693650651",
|
|
8
|
+
body: "aHR0cHM6Ly9kZXZuZXQudGVtcGxhdGUtZGFwcC5tdWx0aXZlcnN4LmNvbQ.ef76b4c76ef6e13a6390767fc78a88ca4bbb5918a2b9ddc44942927693650651.86400.eyJ0aW1lc3RhbXAiOjE3MzM0ODk0MDB9",
|
|
9
|
+
extraInfo: {
|
|
10
|
+
timestamp: 1733489400
|
|
11
|
+
},
|
|
12
|
+
origin: "https://devnet.template-dapp.multiversx.com",
|
|
13
|
+
signature: "04a986df7f0142837f9b1ca1ae4829f7b471e4c3470602ca6a16f2a4d7c6616c4e7628a93b4ce87d9534e95ab9215f893faeb9e0904e1d834007c16e43b12d01",
|
|
14
|
+
ttl: 86400
|
|
15
|
+
};
|
|
16
|
+
expect(decodeToken(token)).toEqual(expectedPayload);
|
|
17
|
+
});
|
|
18
|
+
it("returns null for an invalid native auth token", async () => {
|
|
19
|
+
const token = "invalid.token.here";
|
|
20
|
+
expect(decodeToken(token)).toBeNull();
|
|
21
|
+
});
|
|
22
|
+
it("returns null for an empty token", async () => {
|
|
23
|
+
const token = "";
|
|
24
|
+
expect(decodeToken(token)).toBeNull();
|
|
25
|
+
});
|
|
26
|
+
});
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { M, T, U, n, Y, o, p, ac, ah, ai, q, W, t, r, au, as, u, af, ag, v, w, x, y, z, A, B, av, aw, e, C, ao, D, f, al, E, F, G, H, a7, an, ap, a8, ak, I, a9, aq, aj, L, aa, g, h, j, O, N, P, Q, a6, R, am, ad, ae, ab, S, V, ar, ax, k, X, at, Z, $, l, _, a1, a0, J, K, a2, m, a3, a5, a4, c, i, s, a, b, d } from "./index-DSnomXRI.mjs";
|
|
2
|
+
export {
|
|
3
|
+
M as MathUtil,
|
|
4
|
+
T as TransactionUtil,
|
|
5
|
+
U as UiHelperUtil,
|
|
6
|
+
n as WuiAccountButton,
|
|
7
|
+
Y as WuiAlertBar,
|
|
8
|
+
o as WuiAllWalletsImage,
|
|
9
|
+
p as WuiAvatar,
|
|
10
|
+
ac as WuiBalance,
|
|
11
|
+
ah as WuiBanner,
|
|
12
|
+
ai as WuiBannerImg,
|
|
13
|
+
q as WuiButton,
|
|
14
|
+
W as WuiCard,
|
|
15
|
+
t as WuiCardSelect,
|
|
16
|
+
r as WuiCardSelectLoader,
|
|
17
|
+
au as WuiCertifiedSwitch,
|
|
18
|
+
as as WuiCheckBox,
|
|
19
|
+
u as WuiChip,
|
|
20
|
+
af as WuiChipButton,
|
|
21
|
+
ag as WuiCompatibleNetwork,
|
|
22
|
+
v as WuiConnectButton,
|
|
23
|
+
w as WuiCtaButton,
|
|
24
|
+
x as WuiDetailsGroup,
|
|
25
|
+
y as WuiDetailsGroupItem,
|
|
26
|
+
z as WuiDropdownMenu,
|
|
27
|
+
A as WuiEmailInput,
|
|
28
|
+
B as WuiEnsInput,
|
|
29
|
+
av as WuiFlex,
|
|
30
|
+
aw as WuiGrid,
|
|
31
|
+
e as WuiIcon,
|
|
32
|
+
C as WuiIconBox,
|
|
33
|
+
ao as WuiIconButton,
|
|
34
|
+
D as WuiIconLink,
|
|
35
|
+
f as WuiImage,
|
|
36
|
+
al as WuiInputAmount,
|
|
37
|
+
E as WuiInputElement,
|
|
38
|
+
F as WuiInputNumeric,
|
|
39
|
+
G as WuiInputText,
|
|
40
|
+
H as WuiLink,
|
|
41
|
+
a7 as WuiListAccordion,
|
|
42
|
+
an as WuiListAccount,
|
|
43
|
+
ap as WuiListButton,
|
|
44
|
+
a8 as WuiListContent,
|
|
45
|
+
ak as WuiListDescription,
|
|
46
|
+
I as WuiListItem,
|
|
47
|
+
a9 as WuiListNetwork,
|
|
48
|
+
aq as WuiListSocial,
|
|
49
|
+
aj as WuiListToken,
|
|
50
|
+
L as WuiListWallet,
|
|
51
|
+
aa as WuiListWalletTransaction,
|
|
52
|
+
g as WuiLoadingHexagon,
|
|
53
|
+
h as WuiLoadingSpinner,
|
|
54
|
+
j as WuiLoadingThumbnail,
|
|
55
|
+
O as WuiLogo,
|
|
56
|
+
N as WuiLogoSelect,
|
|
57
|
+
P as WuiNetworkButton,
|
|
58
|
+
Q as WuiNetworkImage,
|
|
59
|
+
a6 as WuiNoticeCard,
|
|
60
|
+
R as WuiOtp,
|
|
61
|
+
am as WuiPreviewItem,
|
|
62
|
+
ad as WuiProfileButton,
|
|
63
|
+
ae as WuiProfileButtonV2,
|
|
64
|
+
ab as WuiPromo,
|
|
65
|
+
S as WuiQrCode,
|
|
66
|
+
V as WuiSearchBar,
|
|
67
|
+
ar as WuiSelect,
|
|
68
|
+
ax as WuiSeparator,
|
|
69
|
+
k as WuiShimmer,
|
|
70
|
+
X as WuiSnackbar,
|
|
71
|
+
at as WuiSwitch,
|
|
72
|
+
Z as WuiTabs,
|
|
73
|
+
$ as WuiTag,
|
|
74
|
+
l as WuiText,
|
|
75
|
+
_ as WuiTokenButton,
|
|
76
|
+
a1 as WuiTokenListItem,
|
|
77
|
+
a0 as WuiTooltip,
|
|
78
|
+
J as WuiTransactionListItem,
|
|
79
|
+
K as WuiTransactionListItemLoader,
|
|
80
|
+
a2 as WuiTransactionVisual,
|
|
81
|
+
m as WuiVisual,
|
|
82
|
+
a3 as WuiVisualThumbnail,
|
|
83
|
+
a5 as WuiWalletButton,
|
|
84
|
+
a4 as WuiWalletImage,
|
|
85
|
+
c as customElement,
|
|
86
|
+
i as initializeTheming,
|
|
87
|
+
s as setColorTheme,
|
|
88
|
+
a as setThemeVariables,
|
|
89
|
+
b as swapInputMaskBottomSvg,
|
|
90
|
+
d as swapInputMaskTopSvg
|
|
91
|
+
};
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import { useState, useEffect, useSyncExternalStore } from "react";
|
|
2
|
+
import { ay as useSnapshot, az as ProviderUtil } from "./index-DSnomXRI.mjs";
|
|
3
|
+
let modal = void 0;
|
|
4
|
+
function getAppKit(appKit) {
|
|
5
|
+
if (appKit) {
|
|
6
|
+
modal = appKit;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
function useAppKitProvider(chainNamespace) {
|
|
10
|
+
const { providers, providerIds } = useSnapshot(ProviderUtil.state);
|
|
11
|
+
const walletProvider = providers[chainNamespace];
|
|
12
|
+
const walletProviderType = providerIds[chainNamespace];
|
|
13
|
+
return {
|
|
14
|
+
walletProvider,
|
|
15
|
+
walletProviderType
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
function useAppKitTheme() {
|
|
19
|
+
if (!modal) {
|
|
20
|
+
throw new Error('Please call "createAppKit" before using "useAppKitTheme" hook');
|
|
21
|
+
}
|
|
22
|
+
function setThemeMode(themeMode2) {
|
|
23
|
+
if (themeMode2) {
|
|
24
|
+
modal == null ? void 0 : modal.setThemeMode(themeMode2);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
function setThemeVariables(themeVariables2) {
|
|
28
|
+
if (themeVariables2) {
|
|
29
|
+
modal == null ? void 0 : modal.setThemeVariables(themeVariables2);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
const [themeMode, setInternalThemeMode] = useState(modal.getThemeMode());
|
|
33
|
+
const [themeVariables, setInternalThemeVariables] = useState(modal.getThemeVariables());
|
|
34
|
+
useEffect(() => {
|
|
35
|
+
const unsubscribe = modal == null ? void 0 : modal.subscribeTheme((state) => {
|
|
36
|
+
setInternalThemeMode(state.themeMode);
|
|
37
|
+
setInternalThemeVariables(state.themeVariables);
|
|
38
|
+
});
|
|
39
|
+
return () => {
|
|
40
|
+
unsubscribe == null ? void 0 : unsubscribe();
|
|
41
|
+
};
|
|
42
|
+
}, []);
|
|
43
|
+
return {
|
|
44
|
+
themeMode,
|
|
45
|
+
themeVariables,
|
|
46
|
+
setThemeMode,
|
|
47
|
+
setThemeVariables
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
function useAppKit() {
|
|
51
|
+
if (!modal) {
|
|
52
|
+
throw new Error('Please call "createAppKit" before using "useAppKit" hook');
|
|
53
|
+
}
|
|
54
|
+
async function open(options) {
|
|
55
|
+
await (modal == null ? void 0 : modal.open(options));
|
|
56
|
+
}
|
|
57
|
+
async function close() {
|
|
58
|
+
await (modal == null ? void 0 : modal.close());
|
|
59
|
+
}
|
|
60
|
+
return { open, close };
|
|
61
|
+
}
|
|
62
|
+
function useWalletInfo() {
|
|
63
|
+
if (!modal) {
|
|
64
|
+
throw new Error('Please call "createAppKit" before using "useWalletInfo" hook');
|
|
65
|
+
}
|
|
66
|
+
const walletInfo = useSyncExternalStore(modal.subscribeWalletInfo, modal.getWalletInfo, modal.getWalletInfo);
|
|
67
|
+
return { walletInfo };
|
|
68
|
+
}
|
|
69
|
+
function useAppKitState() {
|
|
70
|
+
if (!modal) {
|
|
71
|
+
throw new Error('Please call "createAppKit" before using "useAppKitState" hook');
|
|
72
|
+
}
|
|
73
|
+
const [state, setState] = useState(modal.getState());
|
|
74
|
+
useEffect(() => {
|
|
75
|
+
const unsubscribe = modal == null ? void 0 : modal.subscribeState((newState) => {
|
|
76
|
+
setState({ ...newState });
|
|
77
|
+
});
|
|
78
|
+
return () => {
|
|
79
|
+
unsubscribe == null ? void 0 : unsubscribe();
|
|
80
|
+
};
|
|
81
|
+
}, []);
|
|
82
|
+
return state;
|
|
83
|
+
}
|
|
84
|
+
function useAppKitEvents() {
|
|
85
|
+
if (!modal) {
|
|
86
|
+
throw new Error('Please call "createAppKit" before using "useAppKitEvents" hook');
|
|
87
|
+
}
|
|
88
|
+
const [event, setEvents] = useState(modal.getEvent());
|
|
89
|
+
useEffect(() => {
|
|
90
|
+
const unsubscribe = modal == null ? void 0 : modal.subscribeEvents((newEvent) => {
|
|
91
|
+
setEvents({ ...newEvent });
|
|
92
|
+
});
|
|
93
|
+
return () => {
|
|
94
|
+
unsubscribe == null ? void 0 : unsubscribe();
|
|
95
|
+
};
|
|
96
|
+
}, []);
|
|
97
|
+
return event;
|
|
98
|
+
}
|
|
99
|
+
export {
|
|
100
|
+
useAppKitEvents as a,
|
|
101
|
+
useAppKitState as b,
|
|
102
|
+
useAppKitTheme as c,
|
|
103
|
+
useWalletInfo as d,
|
|
104
|
+
useAppKitProvider as e,
|
|
105
|
+
getAppKit as g,
|
|
106
|
+
useAppKit as u
|
|
107
|
+
};
|
|
@@ -0,0 +1,329 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
"use strict";
|
|
3
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
4
|
+
const index = require("./index-cvy2-uZ_.js");
|
|
5
|
+
exports.MathUtil = index.MathUtil;
|
|
6
|
+
exports.TransactionUtil = index.TransactionUtil;
|
|
7
|
+
exports.UiHelperUtil = index.UiHelperUtil;
|
|
8
|
+
Object.defineProperty(exports, "WuiAccountButton", {
|
|
9
|
+
enumerable: true,
|
|
10
|
+
get: () => index.WuiAccountButton
|
|
11
|
+
});
|
|
12
|
+
Object.defineProperty(exports, "WuiAlertBar", {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: () => index.WuiAlertBar
|
|
15
|
+
});
|
|
16
|
+
Object.defineProperty(exports, "WuiAllWalletsImage", {
|
|
17
|
+
enumerable: true,
|
|
18
|
+
get: () => index.WuiAllWalletsImage
|
|
19
|
+
});
|
|
20
|
+
Object.defineProperty(exports, "WuiAvatar", {
|
|
21
|
+
enumerable: true,
|
|
22
|
+
get: () => index.WuiAvatar
|
|
23
|
+
});
|
|
24
|
+
Object.defineProperty(exports, "WuiBalance", {
|
|
25
|
+
enumerable: true,
|
|
26
|
+
get: () => index.WuiBalance
|
|
27
|
+
});
|
|
28
|
+
Object.defineProperty(exports, "WuiBanner", {
|
|
29
|
+
enumerable: true,
|
|
30
|
+
get: () => index.WuiBanner
|
|
31
|
+
});
|
|
32
|
+
Object.defineProperty(exports, "WuiBannerImg", {
|
|
33
|
+
enumerable: true,
|
|
34
|
+
get: () => index.WuiBannerImg
|
|
35
|
+
});
|
|
36
|
+
Object.defineProperty(exports, "WuiButton", {
|
|
37
|
+
enumerable: true,
|
|
38
|
+
get: () => index.WuiButton
|
|
39
|
+
});
|
|
40
|
+
Object.defineProperty(exports, "WuiCard", {
|
|
41
|
+
enumerable: true,
|
|
42
|
+
get: () => index.WuiCard
|
|
43
|
+
});
|
|
44
|
+
Object.defineProperty(exports, "WuiCardSelect", {
|
|
45
|
+
enumerable: true,
|
|
46
|
+
get: () => index.WuiCardSelect
|
|
47
|
+
});
|
|
48
|
+
Object.defineProperty(exports, "WuiCardSelectLoader", {
|
|
49
|
+
enumerable: true,
|
|
50
|
+
get: () => index.WuiCardSelectLoader
|
|
51
|
+
});
|
|
52
|
+
Object.defineProperty(exports, "WuiCertifiedSwitch", {
|
|
53
|
+
enumerable: true,
|
|
54
|
+
get: () => index.WuiCertifiedSwitch
|
|
55
|
+
});
|
|
56
|
+
Object.defineProperty(exports, "WuiCheckBox", {
|
|
57
|
+
enumerable: true,
|
|
58
|
+
get: () => index.WuiCheckBox
|
|
59
|
+
});
|
|
60
|
+
Object.defineProperty(exports, "WuiChip", {
|
|
61
|
+
enumerable: true,
|
|
62
|
+
get: () => index.WuiChip
|
|
63
|
+
});
|
|
64
|
+
Object.defineProperty(exports, "WuiChipButton", {
|
|
65
|
+
enumerable: true,
|
|
66
|
+
get: () => index.WuiChipButton
|
|
67
|
+
});
|
|
68
|
+
Object.defineProperty(exports, "WuiCompatibleNetwork", {
|
|
69
|
+
enumerable: true,
|
|
70
|
+
get: () => index.WuiCompatibleNetwork
|
|
71
|
+
});
|
|
72
|
+
Object.defineProperty(exports, "WuiConnectButton", {
|
|
73
|
+
enumerable: true,
|
|
74
|
+
get: () => index.WuiConnectButton
|
|
75
|
+
});
|
|
76
|
+
Object.defineProperty(exports, "WuiCtaButton", {
|
|
77
|
+
enumerable: true,
|
|
78
|
+
get: () => index.WuiCtaButton
|
|
79
|
+
});
|
|
80
|
+
Object.defineProperty(exports, "WuiDetailsGroup", {
|
|
81
|
+
enumerable: true,
|
|
82
|
+
get: () => index.WuiDetailsGroup
|
|
83
|
+
});
|
|
84
|
+
Object.defineProperty(exports, "WuiDetailsGroupItem", {
|
|
85
|
+
enumerable: true,
|
|
86
|
+
get: () => index.WuiDetailsGroupItem
|
|
87
|
+
});
|
|
88
|
+
Object.defineProperty(exports, "WuiDropdownMenu", {
|
|
89
|
+
enumerable: true,
|
|
90
|
+
get: () => index.WuiDropdownMenu
|
|
91
|
+
});
|
|
92
|
+
Object.defineProperty(exports, "WuiEmailInput", {
|
|
93
|
+
enumerable: true,
|
|
94
|
+
get: () => index.WuiEmailInput
|
|
95
|
+
});
|
|
96
|
+
Object.defineProperty(exports, "WuiEnsInput", {
|
|
97
|
+
enumerable: true,
|
|
98
|
+
get: () => index.WuiEnsInput
|
|
99
|
+
});
|
|
100
|
+
Object.defineProperty(exports, "WuiFlex", {
|
|
101
|
+
enumerable: true,
|
|
102
|
+
get: () => index.WuiFlex
|
|
103
|
+
});
|
|
104
|
+
Object.defineProperty(exports, "WuiGrid", {
|
|
105
|
+
enumerable: true,
|
|
106
|
+
get: () => index.WuiGrid
|
|
107
|
+
});
|
|
108
|
+
Object.defineProperty(exports, "WuiIcon", {
|
|
109
|
+
enumerable: true,
|
|
110
|
+
get: () => index.WuiIcon
|
|
111
|
+
});
|
|
112
|
+
Object.defineProperty(exports, "WuiIconBox", {
|
|
113
|
+
enumerable: true,
|
|
114
|
+
get: () => index.WuiIconBox
|
|
115
|
+
});
|
|
116
|
+
Object.defineProperty(exports, "WuiIconButton", {
|
|
117
|
+
enumerable: true,
|
|
118
|
+
get: () => index.WuiIconButton
|
|
119
|
+
});
|
|
120
|
+
Object.defineProperty(exports, "WuiIconLink", {
|
|
121
|
+
enumerable: true,
|
|
122
|
+
get: () => index.WuiIconLink
|
|
123
|
+
});
|
|
124
|
+
Object.defineProperty(exports, "WuiImage", {
|
|
125
|
+
enumerable: true,
|
|
126
|
+
get: () => index.WuiImage
|
|
127
|
+
});
|
|
128
|
+
Object.defineProperty(exports, "WuiInputAmount", {
|
|
129
|
+
enumerable: true,
|
|
130
|
+
get: () => index.WuiInputAmount
|
|
131
|
+
});
|
|
132
|
+
Object.defineProperty(exports, "WuiInputElement", {
|
|
133
|
+
enumerable: true,
|
|
134
|
+
get: () => index.WuiInputElement
|
|
135
|
+
});
|
|
136
|
+
Object.defineProperty(exports, "WuiInputNumeric", {
|
|
137
|
+
enumerable: true,
|
|
138
|
+
get: () => index.WuiInputNumeric
|
|
139
|
+
});
|
|
140
|
+
Object.defineProperty(exports, "WuiInputText", {
|
|
141
|
+
enumerable: true,
|
|
142
|
+
get: () => index.WuiInputText
|
|
143
|
+
});
|
|
144
|
+
Object.defineProperty(exports, "WuiLink", {
|
|
145
|
+
enumerable: true,
|
|
146
|
+
get: () => index.WuiLink
|
|
147
|
+
});
|
|
148
|
+
Object.defineProperty(exports, "WuiListAccordion", {
|
|
149
|
+
enumerable: true,
|
|
150
|
+
get: () => index.WuiListAccordion
|
|
151
|
+
});
|
|
152
|
+
Object.defineProperty(exports, "WuiListAccount", {
|
|
153
|
+
enumerable: true,
|
|
154
|
+
get: () => index.WuiListAccount
|
|
155
|
+
});
|
|
156
|
+
Object.defineProperty(exports, "WuiListButton", {
|
|
157
|
+
enumerable: true,
|
|
158
|
+
get: () => index.WuiListButton
|
|
159
|
+
});
|
|
160
|
+
Object.defineProperty(exports, "WuiListContent", {
|
|
161
|
+
enumerable: true,
|
|
162
|
+
get: () => index.WuiListContent
|
|
163
|
+
});
|
|
164
|
+
Object.defineProperty(exports, "WuiListDescription", {
|
|
165
|
+
enumerable: true,
|
|
166
|
+
get: () => index.WuiListDescription
|
|
167
|
+
});
|
|
168
|
+
Object.defineProperty(exports, "WuiListItem", {
|
|
169
|
+
enumerable: true,
|
|
170
|
+
get: () => index.WuiListItem
|
|
171
|
+
});
|
|
172
|
+
Object.defineProperty(exports, "WuiListNetwork", {
|
|
173
|
+
enumerable: true,
|
|
174
|
+
get: () => index.WuiListNetwork
|
|
175
|
+
});
|
|
176
|
+
Object.defineProperty(exports, "WuiListSocial", {
|
|
177
|
+
enumerable: true,
|
|
178
|
+
get: () => index.WuiListSocial
|
|
179
|
+
});
|
|
180
|
+
Object.defineProperty(exports, "WuiListToken", {
|
|
181
|
+
enumerable: true,
|
|
182
|
+
get: () => index.WuiListToken
|
|
183
|
+
});
|
|
184
|
+
Object.defineProperty(exports, "WuiListWallet", {
|
|
185
|
+
enumerable: true,
|
|
186
|
+
get: () => index.WuiListWallet
|
|
187
|
+
});
|
|
188
|
+
Object.defineProperty(exports, "WuiListWalletTransaction", {
|
|
189
|
+
enumerable: true,
|
|
190
|
+
get: () => index.WuiListWalletTransaction
|
|
191
|
+
});
|
|
192
|
+
Object.defineProperty(exports, "WuiLoadingHexagon", {
|
|
193
|
+
enumerable: true,
|
|
194
|
+
get: () => index.WuiLoadingHexagon
|
|
195
|
+
});
|
|
196
|
+
Object.defineProperty(exports, "WuiLoadingSpinner", {
|
|
197
|
+
enumerable: true,
|
|
198
|
+
get: () => index.WuiLoadingSpinner
|
|
199
|
+
});
|
|
200
|
+
Object.defineProperty(exports, "WuiLoadingThumbnail", {
|
|
201
|
+
enumerable: true,
|
|
202
|
+
get: () => index.WuiLoadingThumbnail
|
|
203
|
+
});
|
|
204
|
+
Object.defineProperty(exports, "WuiLogo", {
|
|
205
|
+
enumerable: true,
|
|
206
|
+
get: () => index.WuiLogo
|
|
207
|
+
});
|
|
208
|
+
Object.defineProperty(exports, "WuiLogoSelect", {
|
|
209
|
+
enumerable: true,
|
|
210
|
+
get: () => index.WuiLogoSelect
|
|
211
|
+
});
|
|
212
|
+
Object.defineProperty(exports, "WuiNetworkButton", {
|
|
213
|
+
enumerable: true,
|
|
214
|
+
get: () => index.WuiNetworkButton
|
|
215
|
+
});
|
|
216
|
+
Object.defineProperty(exports, "WuiNetworkImage", {
|
|
217
|
+
enumerable: true,
|
|
218
|
+
get: () => index.WuiNetworkImage
|
|
219
|
+
});
|
|
220
|
+
Object.defineProperty(exports, "WuiNoticeCard", {
|
|
221
|
+
enumerable: true,
|
|
222
|
+
get: () => index.WuiNoticeCard
|
|
223
|
+
});
|
|
224
|
+
Object.defineProperty(exports, "WuiOtp", {
|
|
225
|
+
enumerable: true,
|
|
226
|
+
get: () => index.WuiOtp
|
|
227
|
+
});
|
|
228
|
+
Object.defineProperty(exports, "WuiPreviewItem", {
|
|
229
|
+
enumerable: true,
|
|
230
|
+
get: () => index.WuiPreviewItem
|
|
231
|
+
});
|
|
232
|
+
Object.defineProperty(exports, "WuiProfileButton", {
|
|
233
|
+
enumerable: true,
|
|
234
|
+
get: () => index.WuiProfileButton
|
|
235
|
+
});
|
|
236
|
+
Object.defineProperty(exports, "WuiProfileButtonV2", {
|
|
237
|
+
enumerable: true,
|
|
238
|
+
get: () => index.WuiProfileButtonV2
|
|
239
|
+
});
|
|
240
|
+
Object.defineProperty(exports, "WuiPromo", {
|
|
241
|
+
enumerable: true,
|
|
242
|
+
get: () => index.WuiPromo
|
|
243
|
+
});
|
|
244
|
+
Object.defineProperty(exports, "WuiQrCode", {
|
|
245
|
+
enumerable: true,
|
|
246
|
+
get: () => index.WuiQrCode
|
|
247
|
+
});
|
|
248
|
+
Object.defineProperty(exports, "WuiSearchBar", {
|
|
249
|
+
enumerable: true,
|
|
250
|
+
get: () => index.WuiSearchBar
|
|
251
|
+
});
|
|
252
|
+
Object.defineProperty(exports, "WuiSelect", {
|
|
253
|
+
enumerable: true,
|
|
254
|
+
get: () => index.WuiSelect
|
|
255
|
+
});
|
|
256
|
+
Object.defineProperty(exports, "WuiSeparator", {
|
|
257
|
+
enumerable: true,
|
|
258
|
+
get: () => index.WuiSeparator
|
|
259
|
+
});
|
|
260
|
+
Object.defineProperty(exports, "WuiShimmer", {
|
|
261
|
+
enumerable: true,
|
|
262
|
+
get: () => index.WuiShimmer
|
|
263
|
+
});
|
|
264
|
+
Object.defineProperty(exports, "WuiSnackbar", {
|
|
265
|
+
enumerable: true,
|
|
266
|
+
get: () => index.WuiSnackbar
|
|
267
|
+
});
|
|
268
|
+
Object.defineProperty(exports, "WuiSwitch", {
|
|
269
|
+
enumerable: true,
|
|
270
|
+
get: () => index.WuiSwitch
|
|
271
|
+
});
|
|
272
|
+
Object.defineProperty(exports, "WuiTabs", {
|
|
273
|
+
enumerable: true,
|
|
274
|
+
get: () => index.WuiTabs
|
|
275
|
+
});
|
|
276
|
+
Object.defineProperty(exports, "WuiTag", {
|
|
277
|
+
enumerable: true,
|
|
278
|
+
get: () => index.WuiTag
|
|
279
|
+
});
|
|
280
|
+
Object.defineProperty(exports, "WuiText", {
|
|
281
|
+
enumerable: true,
|
|
282
|
+
get: () => index.WuiText
|
|
283
|
+
});
|
|
284
|
+
Object.defineProperty(exports, "WuiTokenButton", {
|
|
285
|
+
enumerable: true,
|
|
286
|
+
get: () => index.WuiTokenButton
|
|
287
|
+
});
|
|
288
|
+
Object.defineProperty(exports, "WuiTokenListItem", {
|
|
289
|
+
enumerable: true,
|
|
290
|
+
get: () => index.WuiTokenListItem
|
|
291
|
+
});
|
|
292
|
+
Object.defineProperty(exports, "WuiTooltip", {
|
|
293
|
+
enumerable: true,
|
|
294
|
+
get: () => index.WuiTooltip
|
|
295
|
+
});
|
|
296
|
+
Object.defineProperty(exports, "WuiTransactionListItem", {
|
|
297
|
+
enumerable: true,
|
|
298
|
+
get: () => index.WuiTransactionListItem
|
|
299
|
+
});
|
|
300
|
+
Object.defineProperty(exports, "WuiTransactionListItemLoader", {
|
|
301
|
+
enumerable: true,
|
|
302
|
+
get: () => index.WuiTransactionListItemLoader
|
|
303
|
+
});
|
|
304
|
+
Object.defineProperty(exports, "WuiTransactionVisual", {
|
|
305
|
+
enumerable: true,
|
|
306
|
+
get: () => index.WuiTransactionVisual
|
|
307
|
+
});
|
|
308
|
+
Object.defineProperty(exports, "WuiVisual", {
|
|
309
|
+
enumerable: true,
|
|
310
|
+
get: () => index.WuiVisual
|
|
311
|
+
});
|
|
312
|
+
Object.defineProperty(exports, "WuiVisualThumbnail", {
|
|
313
|
+
enumerable: true,
|
|
314
|
+
get: () => index.WuiVisualThumbnail
|
|
315
|
+
});
|
|
316
|
+
Object.defineProperty(exports, "WuiWalletButton", {
|
|
317
|
+
enumerable: true,
|
|
318
|
+
get: () => index.WuiWalletButton
|
|
319
|
+
});
|
|
320
|
+
Object.defineProperty(exports, "WuiWalletImage", {
|
|
321
|
+
enumerable: true,
|
|
322
|
+
get: () => index.WuiWalletImage
|
|
323
|
+
});
|
|
324
|
+
exports.customElement = index.customElement;
|
|
325
|
+
exports.initializeTheming = index.initializeTheming;
|
|
326
|
+
exports.setColorTheme = index.setColorTheme;
|
|
327
|
+
exports.setThemeVariables = index.setThemeVariables;
|
|
328
|
+
exports.swapInputMaskBottomSvg = index.swapInputMaskBottomSvg;
|
|
329
|
+
exports.swapInputMaskTopSvg = index.swapInputMaskTopSvg;
|