@rabbitio/ui-kit 1.0.0-beta.70 → 1.0.0-beta.72
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/coverage/clover.xml +7803 -7729
- package/coverage/coverage-final.json +91 -95
- package/coverage/index.html +182 -272
- package/coverage/rabbit-ui-kit/index.html +1 -1
- package/coverage/rabbit-ui-kit/index.js.html +1 -1
- package/coverage/rabbit-ui-kit/src/{common → common-apis}/adapters/axiosAdapter.js.html +3 -3
- package/coverage/rabbit-ui-kit/src/{common → common-apis}/adapters/index.html +3 -3
- package/coverage/rabbit-ui-kit/src/{common → common-apis}/adapters/qrUtils.js.html +3 -3
- package/coverage/rabbit-ui-kit/src/{common → common-apis}/amountUtils.js.html +3 -3
- package/coverage/rabbit-ui-kit/src/{common → common-apis}/errorUtils.js.html +3 -3
- package/coverage/rabbit-ui-kit/src/{common → common-apis}/external-apis/apiGroups.js.html +3 -3
- package/coverage/rabbit-ui-kit/src/{common → common-apis}/external-apis/index.html +3 -3
- package/coverage/rabbit-ui-kit/src/{common → common-apis}/external-apis/ipAddressProviders.js.html +5 -5
- package/coverage/rabbit-ui-kit/src/{common → common-apis}/fiatCurrenciesService.js.html +3 -3
- package/coverage/rabbit-ui-kit/src/{constants → common-apis}/globalConstants.jsx.html +3 -3
- package/coverage/rabbit-ui-kit/src/{common → common-apis}/index.html +22 -7
- package/coverage/rabbit-ui-kit/src/{common → common-apis}/models/blockchain.js.html +3 -3
- package/coverage/rabbit-ui-kit/src/{common → common-apis}/models/coin.js.html +3 -3
- package/coverage/rabbit-ui-kit/src/{common → common-apis}/models/index.html +3 -3
- package/coverage/rabbit-ui-kit/src/{common → common-apis}/models/protocol.js.html +3 -3
- package/coverage/rabbit-ui-kit/src/{common → common-apis}/utils/cache.js.html +8 -8
- package/coverage/rabbit-ui-kit/src/{common → common-apis}/utils/emailAPI.js.html +3 -3
- package/coverage/rabbit-ui-kit/src/{common → common-apis}/utils/index.html +3 -3
- package/coverage/rabbit-ui-kit/src/{common → common-apis}/utils/logging/index.html +3 -3
- package/coverage/rabbit-ui-kit/src/{common → common-apis}/utils/logging/logger.js.html +6 -6
- package/coverage/rabbit-ui-kit/src/{common → common-apis}/utils/logging/logsStorage.js.html +5 -5
- package/coverage/rabbit-ui-kit/src/{common → common-apis}/utils/postponeExecution.js.html +3 -3
- package/coverage/rabbit-ui-kit/src/{common → common-apis}/utils/safeStringify.js.html +29 -29
- package/coverage/rabbit-ui-kit/src/index.html +5 -5
- package/coverage/rabbit-ui-kit/src/index.js.html +66 -78
- package/coverage/rabbit-ui-kit/src/{robustExteranlApiCallerService → robust-api-caller}/cacheAndConcurrentRequestsResolver.js.html +5 -5
- package/coverage/rabbit-ui-kit/src/{robustExteranlApiCallerService → robust-api-caller}/cachedRobustExternalApiCallerService.js.html +6 -6
- package/coverage/rabbit-ui-kit/src/{robustExteranlApiCallerService → robust-api-caller}/cancelProcessing.js.html +3 -3
- package/coverage/rabbit-ui-kit/src/{robustExteranlApiCallerService → robust-api-caller}/concurrentCalculationsMetadataHolder.js.html +4 -4
- package/coverage/rabbit-ui-kit/src/{robustExteranlApiCallerService → robust-api-caller}/externalApiProvider.js.html +3 -3
- package/coverage/rabbit-ui-kit/src/{robustExteranlApiCallerService → robust-api-caller}/externalServicesStatsCollector.js.html +5 -5
- package/coverage/rabbit-ui-kit/src/{robustExteranlApiCallerService → robust-api-caller}/index.html +3 -3
- package/coverage/rabbit-ui-kit/src/{robustExteranlApiCallerService → robust-api-caller}/robustExternalAPICallerService.js.html +8 -8
- package/coverage/rabbit-ui-kit/src/swaps-lib/external-apis/index.html +24 -24
- package/coverage/rabbit-ui-kit/src/swaps-lib/external-apis/swapProvider.js.html +9 -6
- package/coverage/rabbit-ui-kit/src/swaps-lib/external-apis/swapspaceSwapProvider.js.html +190 -130
- package/coverage/rabbit-ui-kit/src/swaps-lib/models/baseSwapCreationInfo.js.html +14 -5
- package/coverage/rabbit-ui-kit/src/swaps-lib/models/existingSwap.js.html +1 -1
- package/coverage/rabbit-ui-kit/src/swaps-lib/models/existingSwapWithFiatData.js.html +1 -1
- package/coverage/rabbit-ui-kit/src/swaps-lib/models/index.html +7 -7
- package/coverage/rabbit-ui-kit/src/swaps-lib/services/index.html +5 -5
- package/coverage/rabbit-ui-kit/src/swaps-lib/services/publicSwapService.js.html +14 -11
- package/coverage/rabbit-ui-kit/src/swaps-lib/utils/index.html +1 -1
- package/coverage/rabbit-ui-kit/src/swaps-lib/utils/swapUtils.js.html +7 -7
- package/coverage/rabbit-ui-kit/src/{assets → ui-kit/assets}/wrappedImages/arrowIcon.jsx.html +10 -10
- package/coverage/rabbit-ui-kit/src/{assets → ui-kit/assets}/wrappedImages/arrowTosca.jsx.html +10 -10
- package/coverage/rabbit-ui-kit/src/{assets → ui-kit/assets}/wrappedImages/arrowWhite.jsx.html +11 -11
- package/coverage/rabbit-ui-kit/src/{assets → ui-kit/assets}/wrappedImages/darkRectangle.jsx.html +10 -10
- package/coverage/rabbit-ui-kit/src/{assets → ui-kit/assets}/wrappedImages/determinedError.jsx.html +10 -10
- package/coverage/rabbit-ui-kit/src/{assets → ui-kit/assets}/wrappedImages/failedValidationIcon.jsx.html +10 -10
- package/coverage/rabbit-ui-kit/src/{assets → ui-kit/assets}/wrappedImages/index.html +10 -10
- package/coverage/rabbit-ui-kit/src/{assets → ui-kit/assets}/wrappedImages/infoIcon.jsx.html +10 -10
- package/coverage/rabbit-ui-kit/src/{assets → ui-kit/assets}/wrappedImages/noticeQuestionIcon.jsx.html +10 -10
- package/coverage/rabbit-ui-kit/src/{assets → ui-kit/assets}/wrappedImages/successfulValidationIcon.jsx.html +10 -10
- package/coverage/rabbit-ui-kit/src/{assets → ui-kit/assets}/wrappedImages/walletIcon.jsx.html +10 -10
- package/coverage/rabbit-ui-kit/src/{components → ui-kit/components}/atoms/AssetIcon/AssetIcon.jsx.html +20 -17
- package/coverage/rabbit-ui-kit/src/{constants/organisms/dialog/DialogStep → ui-kit/components/atoms/AssetIcon}/index.html +8 -8
- package/coverage/rabbit-ui-kit/src/{components → ui-kit/components}/atoms/AssetSelection/AssetSelection.jsx.html +23 -20
- package/coverage/rabbit-ui-kit/src/ui-kit/components/atoms/AssetSelection/index.html +116 -0
- package/coverage/rabbit-ui-kit/src/{components → ui-kit/components}/atoms/BackgroundTitle/BackgroundTitle.jsx.html +10 -10
- package/coverage/rabbit-ui-kit/src/ui-kit/components/atoms/BackgroundTitle/index.html +116 -0
- package/coverage/rabbit-ui-kit/src/{components → ui-kit/components}/atoms/InformationMessage/InformationMessage.jsx.html +21 -18
- package/coverage/rabbit-ui-kit/src/ui-kit/components/atoms/InformationMessage/index.html +116 -0
- package/coverage/rabbit-ui-kit/src/{components → ui-kit/components}/atoms/Input/Input.jsx.html +38 -35
- package/coverage/rabbit-ui-kit/src/{components/atoms/buttons/Button → ui-kit/components/atoms/Input}/index.html +8 -8
- package/coverage/rabbit-ui-kit/src/{components → ui-kit/components}/atoms/LoadingDots/LoadingDots.jsx.html +10 -10
- package/coverage/rabbit-ui-kit/src/{components/atoms/buttons/LinkButton → ui-kit/components/atoms/LoadingDots}/index.html +8 -8
- package/coverage/rabbit-ui-kit/src/{components → ui-kit/components}/atoms/NoticeIcon/NoticeIcon.jsx.html +19 -22
- package/coverage/rabbit-ui-kit/src/ui-kit/components/atoms/NoticeIcon/index.html +116 -0
- package/coverage/rabbit-ui-kit/src/{components → ui-kit/components}/atoms/QrCode/QrCode.jsx.html +18 -15
- package/coverage/rabbit-ui-kit/src/{components/atoms/buttons/Close → ui-kit/components/atoms/QrCode}/index.html +8 -8
- package/coverage/rabbit-ui-kit/src/{components → ui-kit/components}/atoms/RateSelector/RateSelector.jsx.html +16 -13
- package/coverage/rabbit-ui-kit/src/ui-kit/components/atoms/RateSelector/index.html +116 -0
- package/coverage/rabbit-ui-kit/src/{components → ui-kit/components}/atoms/SupportChat/SupportChat.jsx.html +16 -13
- package/coverage/rabbit-ui-kit/src/ui-kit/components/atoms/SupportChat/index.html +116 -0
- package/coverage/rabbit-ui-kit/src/{components → ui-kit/components}/atoms/Textarea/Textarea.jsx.html +36 -30
- package/coverage/rabbit-ui-kit/src/ui-kit/components/atoms/Textarea/index.html +116 -0
- package/coverage/rabbit-ui-kit/src/{components → ui-kit/components}/atoms/TitleBox/TitleBox.jsx.html +29 -29
- package/coverage/rabbit-ui-kit/src/ui-kit/components/atoms/TitleBox/index.html +116 -0
- package/coverage/rabbit-ui-kit/src/{components → ui-kit/components}/atoms/Tooltip/Tooltip.jsx.html +48 -21
- package/coverage/rabbit-ui-kit/src/ui-kit/components/atoms/Tooltip/index.html +116 -0
- package/coverage/rabbit-ui-kit/src/{components → ui-kit/components}/atoms/TwoLinesOfText/LinesOfText.jsx.html +29 -23
- package/coverage/rabbit-ui-kit/src/ui-kit/components/atoms/TwoLinesOfText/index.html +116 -0
- package/coverage/rabbit-ui-kit/src/{components → ui-kit/components}/atoms/Validation/Validation.jsx.html +13 -13
- package/coverage/rabbit-ui-kit/src/ui-kit/components/atoms/Validation/index.html +116 -0
- package/coverage/rabbit-ui-kit/src/{components → ui-kit/components}/atoms/buttons/Button/Button.jsx.html +10 -10
- package/coverage/rabbit-ui-kit/src/{components/atoms/AssetSelection → ui-kit/components/atoms/buttons/Button}/index.html +15 -15
- package/coverage/rabbit-ui-kit/src/{components → ui-kit/components}/atoms/buttons/Close/Close.jsx.html +30 -15
- package/coverage/rabbit-ui-kit/src/{components/atoms/InformationMessage → ui-kit/components/atoms/buttons/Close}/index.html +15 -15
- package/coverage/rabbit-ui-kit/src/{components → ui-kit/components}/atoms/buttons/LinkButton/LinkButton.jsx.html +34 -16
- package/coverage/rabbit-ui-kit/src/{components/atoms/BackgroundTitle → ui-kit/components/atoms/buttons/LinkButton}/index.html +15 -15
- package/coverage/rabbit-ui-kit/src/{components → ui-kit/components}/atoms/buttons/RadioButtonWithText/RadioButtonWithText.jsx.html +11 -11
- package/coverage/rabbit-ui-kit/src/ui-kit/components/atoms/buttons/RadioButtonWithText/index.html +116 -0
- package/coverage/rabbit-ui-kit/src/{components → ui-kit/components}/molecules/AmountInput/AmountInput.jsx.html +20 -17
- package/coverage/rabbit-ui-kit/src/ui-kit/components/molecules/AmountInput/index.html +116 -0
- package/coverage/rabbit-ui-kit/src/{components → ui-kit/components}/molecules/CoinPicker/CoinPicker.jsx.html +44 -38
- package/coverage/rabbit-ui-kit/src/{components/organisms/Dialog/DialogStep → ui-kit/components/molecules/CoinPicker}/index.html +8 -8
- package/coverage/rabbit-ui-kit/src/{components → ui-kit/components}/molecules/LineWithIconLink/LineWithIconLink.jsx.html +10 -10
- package/coverage/rabbit-ui-kit/src/{components/organisms/Dialog/DialogButtons → ui-kit/components/molecules/LineWithIconLink}/index.html +8 -8
- package/coverage/rabbit-ui-kit/src/{components → ui-kit/components}/molecules/TitledLineWithIconLink/TitledLineWithIconLink.jsx.html +25 -19
- package/coverage/rabbit-ui-kit/src/ui-kit/components/molecules/TitledLineWithIconLink/index.html +116 -0
- package/coverage/rabbit-ui-kit/src/{components → ui-kit/components}/organisms/CoinPickerDialogStep/CoinPickerDialogStep.jsx.html +20 -14
- package/coverage/rabbit-ui-kit/src/{components/atoms/buttons/RadioButtonWithText → ui-kit/components/organisms/CoinPickerDialogStep}/index.html +8 -8
- package/coverage/rabbit-ui-kit/src/{components → ui-kit/components}/organisms/Dialog/Dialog.jsx.html +106 -19
- package/coverage/rabbit-ui-kit/src/{components → ui-kit/components}/organisms/Dialog/DialogButtons/DialogButtons.jsx.html +13 -13
- package/coverage/rabbit-ui-kit/src/ui-kit/components/organisms/Dialog/DialogButtons/index.html +116 -0
- package/coverage/rabbit-ui-kit/src/{components → ui-kit/components}/organisms/Dialog/DialogStep/DialogStep.jsx.html +66 -60
- package/coverage/rabbit-ui-kit/src/ui-kit/components/organisms/Dialog/DialogStep/index.html +116 -0
- package/coverage/rabbit-ui-kit/src/ui-kit/components/organisms/Dialog/index.html +116 -0
- package/coverage/rabbit-ui-kit/src/{components → ui-kit/components}/organisms/SwapForm/SwapForm.jsx.html +361 -76
- package/coverage/rabbit-ui-kit/src/ui-kit/components/organisms/SwapForm/index.html +116 -0
- package/coverage/rabbit-ui-kit/src/{components → ui-kit/components}/templates/DeterminedErrorDialogStep/DeterminedErrorDialogStep.jsx.html +12 -12
- package/coverage/rabbit-ui-kit/src/ui-kit/components/templates/DeterminedErrorDialogStep/index.html +116 -0
- package/coverage/rabbit-ui-kit/src/{components → ui-kit}/hooks/index.html +22 -7
- package/coverage/rabbit-ui-kit/src/{components → ui-kit}/hooks/useCallHandlingErrors.js.html +4 -4
- package/coverage/rabbit-ui-kit/src/ui-kit/hooks/useIsHydrated.js.html +121 -0
- package/coverage/rabbit-ui-kit/src/{components → ui-kit}/hooks/useReferredState.js.html +3 -3
- package/coverage/rabbit-ui-kit/src/{components → ui-kit}/utils/index.html +3 -3
- package/coverage/rabbit-ui-kit/src/{components → ui-kit}/utils/inputValueProviders.js.html +3 -3
- package/coverage/rabbit-ui-kit/src/{components → ui-kit}/utils/textUtils.js.html +4 -4
- package/coverage/rabbit-ui-kit/src/{components → ui-kit}/utils/uiUtils.js.html +3 -3
- package/coverage/rabbit-ui-kit/src/{components → ui-kit}/utils/urlQueryUtils.js.html +3 -3
- package/coverage/rabbit-ui-kit/stories/atoms/BackgroundTitle.stories.jsx.html +2 -2
- package/coverage/rabbit-ui-kit/stories/atoms/LinesOfText.stories.jsx.html +4 -4
- package/coverage/rabbit-ui-kit/stories/atoms/LoadingDots.stories.jsx.html +3 -3
- package/coverage/rabbit-ui-kit/stories/atoms/QrCode.stories.jsx.html +3 -3
- package/coverage/rabbit-ui-kit/stories/atoms/RateSelector.stories.jsx.html +2 -2
- package/coverage/rabbit-ui-kit/stories/atoms/Validation.stories.jsx.html +2 -2
- package/coverage/rabbit-ui-kit/stories/atoms/buttons/Button.stories.jsx.html +27 -90
- package/coverage/rabbit-ui-kit/stories/atoms/buttons/Close.stories.jsx.html +7 -10
- package/coverage/rabbit-ui-kit/stories/atoms/buttons/LinkButton.stories.jsx.html +13 -7
- package/coverage/rabbit-ui-kit/stories/atoms/buttons/index.html +9 -9
- package/coverage/rabbit-ui-kit/stories/atoms/index.html +1 -1
- package/coverage/rabbit-ui-kit/stories/molecules/LineWithIconLink.stories.jsx.html +3 -3
- package/coverage/rabbit-ui-kit/stories/molecules/TitledLineWithIconLink.stories.jsx.html +2 -2
- package/coverage/rabbit-ui-kit/stories/molecules/index.html +1 -1
- package/coverage/rabbit-ui-kit/stories/organisms/Dialog/Dialog.stories.jsx.html +13 -79
- package/coverage/rabbit-ui-kit/stories/organisms/Dialog/DialogButtons/DialogButtons.stories.jsx.html +3 -3
- package/coverage/rabbit-ui-kit/stories/organisms/Dialog/DialogButtons/index.html +1 -1
- package/coverage/rabbit-ui-kit/stories/organisms/Dialog/DialogStep/DialogStep.stories.jsx.html +4 -4
- package/coverage/rabbit-ui-kit/stories/organisms/Dialog/DialogStep/index.html +1 -1
- package/coverage/rabbit-ui-kit/stories/organisms/Dialog/index.html +5 -5
- package/coverage/rabbit-ui-kit/stories/stubs/exampleContent.jsx.html +1 -1
- package/coverage/rabbit-ui-kit/stories/stubs/index.html +1 -1
- package/coverage/rabbit-ui-kit/stories/templates/DeterminedErrorDialogStep.stories.jsx.html +7 -10
- package/coverage/rabbit-ui-kit/stories/templates/index.html +5 -5
- package/dist/index.cjs +488 -301
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +21029 -21029
- package/dist/index.modern.js +346 -219
- package/dist/index.modern.js.map +1 -1
- package/dist/index.module.js +487 -302
- package/dist/index.module.js.map +1 -1
- package/dist/index.umd.js +488 -301
- package/dist/index.umd.js.map +1 -1
- package/package.json +3 -3
- package/src/{common → common-apis}/external-apis/ipAddressProviders.js +2 -2
- package/src/index.js +62 -66
- package/src/{robustExteranlApiCallerService → robust-api-caller}/cacheAndConcurrentRequestsResolver.js +2 -2
- package/src/{robustExteranlApiCallerService → robust-api-caller}/cachedRobustExternalApiCallerService.js +3 -3
- package/src/{robustExteranlApiCallerService → robust-api-caller}/concurrentCalculationsMetadataHolder.js +1 -1
- package/src/{robustExteranlApiCallerService → robust-api-caller}/externalServicesStatsCollector.js +2 -2
- package/src/{robustExteranlApiCallerService → robust-api-caller}/robustExternalAPICallerService.js +5 -5
- package/src/{robustExteranlApiCallerService → robust-api-caller}/tests/robustExternalAPICallerService/robustExternalAPICallerService/callExternalAPI/_performCallAttempt.test.js +2 -2
- package/src/{robustExteranlApiCallerService → robust-api-caller}/tests/robustExternalAPICallerService/robustExternalAPICallerService/callExternalAPI/callExternalAPI.test.js +1 -1
- package/src/{robustExteranlApiCallerService → robust-api-caller}/tests/robustExternalAPICallerService/robustExternalAPICallerService/constructor.test.js +1 -1
- package/src/swaps-lib/external-apis/swapProvider.js +1 -0
- package/src/swaps-lib/external-apis/swapspaceSwapProvider.js +27 -7
- package/src/swaps-lib/models/baseSwapCreationInfo.js +4 -1
- package/src/swaps-lib/services/publicSwapService.js +8 -7
- package/src/swaps-lib/test/external-apis/swapspaceSwapProvider/_fetchSupportedCurrenciesIfNeeded.test.js +3 -3
- package/src/swaps-lib/test/external-apis/swapspaceSwapProvider/createSwap.test.js +3 -3
- package/src/swaps-lib/test/external-apis/swapspaceSwapProvider/getAllSupportedCurrencies.test.js +1 -1
- package/src/swaps-lib/test/external-apis/swapspaceSwapProvider/getDepositCurrencies.test.js +1 -1
- package/src/swaps-lib/test/external-apis/swapspaceSwapProvider/getSwapInfo.test.js +124 -4
- package/src/swaps-lib/test/external-apis/swapspaceSwapProvider/getWithdrawalCurrencies.test.js +1 -1
- package/src/swaps-lib/test/utils/swapUtils/safeHandleRequestsLimitExceeding.test.js +2 -2
- package/src/swaps-lib/utils/swapUtils.js +6 -6
- package/{styles → src/ui-kit/assets/styles}/index.scss +1 -1
- package/src/{assets → ui-kit/assets}/wrappedImages/arrowWhite.jsx +1 -1
- package/src/{components → ui-kit/components}/atoms/AssetIcon/AssetIcon.jsx +5 -4
- package/src/{components → ui-kit/components}/atoms/AssetIcon/asset-icon.module.scss +1 -1
- package/src/{components → ui-kit/components}/atoms/AssetSelection/AssetSelection.jsx +8 -7
- package/src/{components → ui-kit/components}/atoms/AssetSelection/asset-selection.module.scss +1 -1
- package/src/{components → ui-kit/components}/atoms/BackgroundTitle/background-title.module.scss +1 -1
- package/src/{components → ui-kit/components}/atoms/InformationMessage/InformationMessage.jsx +6 -5
- package/src/{components → ui-kit/components}/atoms/InformationMessage/information-message.module.scss +1 -1
- package/src/{components → ui-kit/components}/atoms/Input/Input.jsx +23 -22
- package/src/{components → ui-kit/components}/atoms/Input/input.module.scss +1 -1
- package/src/{components → ui-kit/components}/atoms/LoadingDots/LoadingDots.module.scss +1 -1
- package/src/{components → ui-kit/components}/atoms/NoticeIcon/NoticeIcon.jsx +6 -7
- package/src/{components → ui-kit/components}/atoms/NoticeIcon/notice-icon.module.scss +1 -1
- package/src/{components → ui-kit/components}/atoms/QrCode/QrCode.jsx +3 -2
- package/src/{components → ui-kit/components}/atoms/QrCode/qr-code.module.scss +1 -1
- package/src/{components → ui-kit/components}/atoms/RateSelector/RateSelector.jsx +1 -0
- package/src/{components → ui-kit/components}/atoms/RateSelector/rate-selector.module.scss +1 -1
- package/src/{components → ui-kit/components}/atoms/SupportChat/SupportChat.jsx +1 -0
- package/src/{components → ui-kit/components}/atoms/Textarea/Textarea.jsx +19 -17
- package/src/{components → ui-kit/components}/atoms/Textarea/textarea.module.scss +1 -1
- package/src/{components → ui-kit/components}/atoms/TitleBox/TitleBox.jsx +19 -19
- package/src/{components → ui-kit/components}/atoms/TitleBox/title-box.module.scss +1 -1
- package/src/{components → ui-kit/components}/atoms/Tooltip/Tooltip.jsx +17 -8
- package/src/{components → ui-kit/components}/atoms/Tooltip/tooltip.module.scss +1 -1
- package/src/{components → ui-kit/components}/atoms/TwoLinesOfText/LinesOfText.jsx +11 -9
- package/src/{components → ui-kit/components}/atoms/TwoLinesOfText/lines-of-text.module.scss +1 -1
- package/src/{components → ui-kit/components}/atoms/Validation/Validation.jsx +2 -2
- package/src/{components → ui-kit/components}/atoms/Validation/validation.module.scss +1 -1
- package/src/{components → ui-kit/components}/atoms/buttons/Button/Button.module.scss +1 -1
- package/src/{components → ui-kit/components}/atoms/buttons/Close/Close.jsx +7 -2
- package/src/{components → ui-kit/components}/atoms/buttons/Close/close.module.scss +1 -1
- package/src/{components → ui-kit/components}/atoms/buttons/LinkButton/LinkButton.jsx +9 -3
- package/src/{components → ui-kit/components}/atoms/buttons/LinkButton/link-button.module.scss +1 -1
- package/src/{components → ui-kit/components}/atoms/buttons/RadioButtonWithText/RadioButtonWithText.jsx +1 -1
- package/src/{components → ui-kit/components}/atoms/buttons/RadioButtonWithText/radio-button-with-text.module.scss +1 -1
- package/src/{components → ui-kit/components}/molecules/AmountInput/AmountInput.jsx +5 -4
- package/src/{components → ui-kit/components}/molecules/AmountInput/amount-input.module.scss +1 -1
- package/src/{components → ui-kit/components}/molecules/CoinPicker/CoinPicker.jsx +27 -25
- package/src/{components → ui-kit/components}/molecules/CoinPicker/coin-picker.module.scss +1 -1
- package/src/{components → ui-kit/components}/molecules/LineWithIconLink/line-with-icon-link.module.scss +1 -1
- package/src/{components → ui-kit/components}/molecules/TitledLineWithIconLink/TitledLineWithIconLink.jsx +8 -6
- package/src/{components → ui-kit/components}/organisms/CoinPickerDialogStep/CoinPickerDialogStep.jsx +3 -1
- package/src/{components → ui-kit/components}/organisms/Dialog/Dialog.jsx +35 -6
- package/src/{components → ui-kit/components}/organisms/Dialog/DialogButtons/DialogButtons.jsx +3 -3
- package/src/{components → ui-kit/components}/organisms/Dialog/DialogButtons/dialog-buttons.module.scss +1 -1
- package/src/{components → ui-kit/components}/organisms/Dialog/DialogStep/DialogStep.jsx +49 -47
- package/src/{components → ui-kit/components}/organisms/Dialog/DialogStep/dialog-step.module.scss +1 -1
- package/src/{components → ui-kit/components}/organisms/Dialog/dialog.module.scss +1 -1
- package/src/{components → ui-kit/components}/organisms/SwapForm/SwapForm.jsx +158 -63
- package/src/{components → ui-kit/components}/organisms/SwapForm/swap-form.module.scss +1 -1
- package/src/{components → ui-kit/components}/templates/DeterminedErrorDialogStep/DeterminedErrorDialogStep.jsx +2 -2
- package/src/{components → ui-kit}/hooks/useCallHandlingErrors.js +1 -1
- package/src/ui-kit/hooks/useIsHydrated.js +12 -0
- package/src/{components → ui-kit}/utils/textUtils.js +1 -1
- package/coverage/rabbit-ui-kit/src/components/atoms/AssetIcon/index.html +0 -116
- package/coverage/rabbit-ui-kit/src/components/atoms/Input/index.html +0 -116
- package/coverage/rabbit-ui-kit/src/components/atoms/LoadingDots/index.html +0 -116
- package/coverage/rabbit-ui-kit/src/components/atoms/NoticeIcon/index.html +0 -116
- package/coverage/rabbit-ui-kit/src/components/atoms/QrCode/index.html +0 -116
- package/coverage/rabbit-ui-kit/src/components/atoms/RateSelector/index.html +0 -116
- package/coverage/rabbit-ui-kit/src/components/atoms/SupportChat/index.html +0 -116
- package/coverage/rabbit-ui-kit/src/components/atoms/Textarea/index.html +0 -116
- package/coverage/rabbit-ui-kit/src/components/atoms/TitleBox/index.html +0 -116
- package/coverage/rabbit-ui-kit/src/components/atoms/Tooltip/index.html +0 -116
- package/coverage/rabbit-ui-kit/src/components/atoms/TwoLinesOfText/index.html +0 -116
- package/coverage/rabbit-ui-kit/src/components/atoms/Validation/index.html +0 -116
- package/coverage/rabbit-ui-kit/src/components/molecules/AmountInput/index.html +0 -116
- package/coverage/rabbit-ui-kit/src/components/molecules/CoinPicker/index.html +0 -116
- package/coverage/rabbit-ui-kit/src/components/molecules/LineWithIconLink/index.html +0 -116
- package/coverage/rabbit-ui-kit/src/components/molecules/TitledLineWithIconLink/index.html +0 -116
- package/coverage/rabbit-ui-kit/src/components/organisms/CoinPickerDialogStep/index.html +0 -116
- package/coverage/rabbit-ui-kit/src/components/organisms/Dialog/index.html +0 -116
- package/coverage/rabbit-ui-kit/src/components/organisms/SwapForm/index.html +0 -116
- package/coverage/rabbit-ui-kit/src/components/templates/DeterminedErrorDialogStep/index.html +0 -116
- package/coverage/rabbit-ui-kit/src/constants/atoms/Close/close.jsx.html +0 -100
- package/coverage/rabbit-ui-kit/src/constants/atoms/Close/index.html +0 -116
- package/coverage/rabbit-ui-kit/src/constants/atoms/LinkButton/index.html +0 -116
- package/coverage/rabbit-ui-kit/src/constants/atoms/LinkButton/linkButton.jsx.html +0 -103
- package/coverage/rabbit-ui-kit/src/constants/atoms/Tooltip/index.html +0 -116
- package/coverage/rabbit-ui-kit/src/constants/atoms/Tooltip/tooltip.jsx.html +0 -109
- package/coverage/rabbit-ui-kit/src/constants/index.html +0 -116
- package/coverage/rabbit-ui-kit/src/constants/organisms/dialog/DialogStep/dialogStep.js.html +0 -88
- package/coverage/rabbit-ui-kit/src/constants/organisms/dialog/dialog.js.html +0 -172
- package/coverage/rabbit-ui-kit/src/constants/organisms/dialog/index.html +0 -116
- package/src/assets/image/icons/arrow-tosca.svg +0 -3
- package/src/constants/atoms/Close/close.jsx +0 -5
- package/src/constants/atoms/LinkButton/linkButton.jsx +0 -6
- package/src/constants/atoms/Tooltip/tooltip.jsx +0 -8
- package/src/constants/organisms/dialog/DialogStep/dialogStep.js +0 -1
- package/src/constants/organisms/dialog/dialog.js +0 -29
- /package/src/{common → common-apis}/adapters/axiosAdapter.js +0 -0
- /package/src/{common → common-apis}/adapters/qrUtils.js +0 -0
- /package/src/{common → common-apis}/amountUtils.js +0 -0
- /package/src/{common → common-apis}/errorUtils.js +0 -0
- /package/src/{common → common-apis}/external-apis/apiGroups.js +0 -0
- /package/src/{common → common-apis}/fiatCurrenciesService.js +0 -0
- /package/src/{constants → common-apis}/globalConstants.jsx +0 -0
- /package/src/{common → common-apis}/models/blockchain.js +0 -0
- /package/src/{common → common-apis}/models/coin.js +0 -0
- /package/src/{common → common-apis}/models/protocol.js +0 -0
- /package/src/{common → common-apis}/tests/amountUtils/composeRateText.test.js +0 -0
- /package/src/{common → common-apis}/tests/integration/external-apis/ipAddressProviders/getClientIpAddress.test.js +0 -0
- /package/src/{common → common-apis}/utils/cache.js +0 -0
- /package/src/{common → common-apis}/utils/emailAPI.js +0 -0
- /package/src/{common → common-apis}/utils/logging/logger.js +0 -0
- /package/src/{common → common-apis}/utils/logging/logsStorage.js +0 -0
- /package/src/{common → common-apis}/utils/postponeExecution.js +0 -0
- /package/src/{common → common-apis}/utils/safeStringify.js +0 -0
- /package/src/{robustExteranlApiCallerService → robust-api-caller}/cancelProcessing.js +0 -0
- /package/src/{robustExteranlApiCallerService → robust-api-caller}/externalApiProvider.js +0 -0
- /package/{styles → src/ui-kit/assets/styles}/_functions.scss +0 -0
- /package/{styles → src/ui-kit/assets/styles}/_global-classes.scss +0 -0
- /package/{styles → src/ui-kit/assets/styles}/_mixins.scss +0 -0
- /package/{styles → src/ui-kit/assets/styles}/_placeholder.scss +0 -0
- /package/{styles → src/ui-kit/assets/styles}/_variables.scss +0 -0
- /package/{styles → src/ui-kit/assets/styles}/colors/_light-colors.scss +0 -0
- /package/{styles → src/ui-kit/assets/styles}/colors/_solid-colors.scss +0 -0
- /package/{styles → src/ui-kit/assets/styles}/fonts/NunitoSans-Bold.ttf +0 -0
- /package/{styles → src/ui-kit/assets/styles}/fonts/NunitoSans-ExtraBold.ttf +0 -0
- /package/{styles → src/ui-kit/assets/styles}/fonts/NunitoSans-Light.ttf +0 -0
- /package/{styles → src/ui-kit/assets/styles}/fonts/NunitoSans-Regular.ttf +0 -0
- /package/{styles → src/ui-kit/assets/styles}/fonts/NunitoSans-SemiBold.ttf +0 -0
- /package/{styles → src/ui-kit/assets/styles}/global-styles-index.scss +0 -0
- /package/{styles → src/ui-kit/assets/styles}/size/_margin-size.scss +0 -0
- /package/{styles → src/ui-kit/assets/styles}/size/_padding-size.scss +0 -0
- /package/src/{assets → ui-kit/assets}/wrappedImages/arrowIcon.jsx +0 -0
- /package/src/{assets → ui-kit/assets}/wrappedImages/arrowTosca.jsx +0 -0
- /package/src/{assets → ui-kit/assets}/wrappedImages/darkRectangle.jsx +0 -0
- /package/src/{assets → ui-kit/assets}/wrappedImages/determinedError.jsx +0 -0
- /package/src/{assets → ui-kit/assets}/wrappedImages/failedValidationIcon.jsx +0 -0
- /package/src/{assets → ui-kit/assets}/wrappedImages/infoIcon.jsx +0 -0
- /package/src/{assets → ui-kit/assets}/wrappedImages/noticeQuestionIcon.jsx +0 -0
- /package/src/{assets → ui-kit/assets}/wrappedImages/successfulValidationIcon.jsx +0 -0
- /package/src/{assets → ui-kit/assets}/wrappedImages/walletIcon.jsx +0 -0
- /package/src/{components → ui-kit/components}/atoms/BackgroundTitle/BackgroundTitle.jsx +0 -0
- /package/src/{components → ui-kit/components}/atoms/LoadingDots/LoadingDots.jsx +0 -0
- /package/src/{components → ui-kit/components}/atoms/buttons/Button/Button.jsx +0 -0
- /package/src/{components → ui-kit/components}/molecules/LineWithIconLink/LineWithIconLink.jsx +0 -0
- /package/src/{components → ui-kit}/hooks/useReferredState.js +0 -0
- /package/src/{components → ui-kit}/tests/utils/inputValueProviders/provideFormatOfFloatValueByInputString.test.js +0 -0
- /package/src/{components → ui-kit}/tests/utils/urlQueryUtils/getQueryParameterValues.test.js +0 -0
- /package/src/{components → ui-kit}/tests/utils/urlQueryUtils/saveQueryParameterAndValues.test.js +0 -0
- /package/src/{components → ui-kit}/utils/inputValueProviders.js +0 -0
- /package/src/{components → ui-kit}/utils/uiUtils.js +0 -0
- /package/src/{components → ui-kit}/utils/urlQueryUtils.js +0 -0
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<html lang="en">
|
|
4
4
|
|
|
5
5
|
<head>
|
|
6
|
-
<title>Code coverage report for rabbit-ui-kit/src/common/utils/logging/logger.js</title>
|
|
6
|
+
<title>Code coverage report for rabbit-ui-kit/src/common-apis/utils/logging/logger.js</title>
|
|
7
7
|
<meta charset="utf-8" />
|
|
8
8
|
<link rel="stylesheet" href="../../../../../prettify.css" />
|
|
9
9
|
<link rel="stylesheet" href="../../../../../base.css" />
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
<body>
|
|
20
20
|
<div class='wrapper'>
|
|
21
21
|
<div class='pad1'>
|
|
22
|
-
<h1><a href="../../../../../index.html">All files</a> / <a href="index.html">rabbit-ui-kit/src/common/utils/logging</a> logger.js</h1>
|
|
22
|
+
<h1><a href="../../../../../index.html">All files</a> / <a href="index.html">rabbit-ui-kit/src/common-apis/utils/logging</a> logger.js</h1>
|
|
23
23
|
<div class='clearfix'>
|
|
24
24
|
|
|
25
25
|
<div class='fl pad1y space-right2'>
|
|
@@ -117,9 +117,9 @@
|
|
|
117
117
|
<span class="cline-any cline-yes">1x</span>
|
|
118
118
|
<span class="cline-any cline-yes">1x</span>
|
|
119
119
|
<span class="cline-any cline-yes">1x</span>
|
|
120
|
-
<span class="cline-any cline-yes">
|
|
121
|
-
<span class="cline-any cline-yes">
|
|
122
|
-
<span class="cline-any cline-yes">
|
|
120
|
+
<span class="cline-any cline-yes">436x</span>
|
|
121
|
+
<span class="cline-any cline-yes">436x</span>
|
|
122
|
+
<span class="cline-any cline-yes">436x</span>
|
|
123
123
|
<span class="cline-any cline-yes">1x</span>
|
|
124
124
|
<span class="cline-any cline-yes">1x</span>
|
|
125
125
|
<span class="cline-any cline-yes">44x</span>
|
|
@@ -193,7 +193,7 @@ export class Logger {
|
|
|
193
193
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
194
194
|
Code coverage generated by
|
|
195
195
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
196
|
-
at 2024-
|
|
196
|
+
at 2024-06-03T13:53:18.820Z
|
|
197
197
|
</div>
|
|
198
198
|
<script src="../../../../../prettify.js"></script>
|
|
199
199
|
<script>
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<html lang="en">
|
|
4
4
|
|
|
5
5
|
<head>
|
|
6
|
-
<title>Code coverage report for rabbit-ui-kit/src/common/utils/logging/logsStorage.js</title>
|
|
6
|
+
<title>Code coverage report for rabbit-ui-kit/src/common-apis/utils/logging/logsStorage.js</title>
|
|
7
7
|
<meta charset="utf-8" />
|
|
8
8
|
<link rel="stylesheet" href="../../../../../prettify.css" />
|
|
9
9
|
<link rel="stylesheet" href="../../../../../base.css" />
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
<body>
|
|
20
20
|
<div class='wrapper'>
|
|
21
21
|
<div class='pad1'>
|
|
22
|
-
<h1><a href="../../../../../index.html">All files</a> / <a href="index.html">rabbit-ui-kit/src/common/utils/logging</a> logsStorage.js</h1>
|
|
22
|
+
<h1><a href="../../../../../index.html">All files</a> / <a href="index.html">rabbit-ui-kit/src/common-apis/utils/logging</a> logsStorage.js</h1>
|
|
23
23
|
<div class='clearfix'>
|
|
24
24
|
|
|
25
25
|
<div class='fl pad1y space-right2'>
|
|
@@ -129,8 +129,8 @@
|
|
|
129
129
|
<span class="cline-any cline-yes">1x</span>
|
|
130
130
|
<span class="cline-any cline-yes">1x</span>
|
|
131
131
|
<span class="cline-any cline-yes">1x</span>
|
|
132
|
-
<span class="cline-any cline-yes">
|
|
133
|
-
<span class="cline-any cline-yes">
|
|
132
|
+
<span class="cline-any cline-yes">436x</span>
|
|
133
|
+
<span class="cline-any cline-yes">436x</span>
|
|
134
134
|
<span class="cline-any cline-yes">1x</span>
|
|
135
135
|
<span class="cline-any cline-yes">1x</span>
|
|
136
136
|
<span class="cline-any cline-no"> </span>
|
|
@@ -253,7 +253,7 @@
|
|
|
253
253
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
254
254
|
Code coverage generated by
|
|
255
255
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
256
|
-
at 2024-
|
|
256
|
+
at 2024-06-03T13:53:18.820Z
|
|
257
257
|
</div>
|
|
258
258
|
<script src="../../../../../prettify.js"></script>
|
|
259
259
|
<script>
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<html lang="en">
|
|
4
4
|
|
|
5
5
|
<head>
|
|
6
|
-
<title>Code coverage report for rabbit-ui-kit/src/common/utils/postponeExecution.js</title>
|
|
6
|
+
<title>Code coverage report for rabbit-ui-kit/src/common-apis/utils/postponeExecution.js</title>
|
|
7
7
|
<meta charset="utf-8" />
|
|
8
8
|
<link rel="stylesheet" href="../../../../prettify.css" />
|
|
9
9
|
<link rel="stylesheet" href="../../../../base.css" />
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
<body>
|
|
20
20
|
<div class='wrapper'>
|
|
21
21
|
<div class='pad1'>
|
|
22
|
-
<h1><a href="../../../../index.html">All files</a> / <a href="index.html">rabbit-ui-kit/src/common/utils</a> postponeExecution.js</h1>
|
|
22
|
+
<h1><a href="../../../../index.html">All files</a> / <a href="index.html">rabbit-ui-kit/src/common-apis/utils</a> postponeExecution.js</h1>
|
|
23
23
|
<div class='clearfix'>
|
|
24
24
|
|
|
25
25
|
<div class='fl pad1y space-right2'>
|
|
@@ -103,7 +103,7 @@
|
|
|
103
103
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
104
104
|
Code coverage generated by
|
|
105
105
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
106
|
-
at 2024-
|
|
106
|
+
at 2024-06-03T13:53:18.820Z
|
|
107
107
|
</div>
|
|
108
108
|
<script src="../../../../prettify.js"></script>
|
|
109
109
|
<script>
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<html lang="en">
|
|
4
4
|
|
|
5
5
|
<head>
|
|
6
|
-
<title>Code coverage report for rabbit-ui-kit/src/common/utils/safeStringify.js</title>
|
|
6
|
+
<title>Code coverage report for rabbit-ui-kit/src/common-apis/utils/safeStringify.js</title>
|
|
7
7
|
<meta charset="utf-8" />
|
|
8
8
|
<link rel="stylesheet" href="../../../../prettify.css" />
|
|
9
9
|
<link rel="stylesheet" href="../../../../base.css" />
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
<body>
|
|
20
20
|
<div class='wrapper'>
|
|
21
21
|
<div class='pad1'>
|
|
22
|
-
<h1><a href="../../../../index.html">All files</a> / <a href="index.html">rabbit-ui-kit/src/common/utils</a> safeStringify.js</h1>
|
|
22
|
+
<h1><a href="../../../../index.html">All files</a> / <a href="index.html">rabbit-ui-kit/src/common-apis/utils</a> safeStringify.js</h1>
|
|
23
23
|
<div class='clearfix'>
|
|
24
24
|
|
|
25
25
|
<div class='fl pad1y space-right2'>
|
|
@@ -122,28 +122,28 @@
|
|
|
122
122
|
<span class="cline-any cline-yes">1x</span>
|
|
123
123
|
<span class="cline-any cline-yes">1x</span>
|
|
124
124
|
<span class="cline-any cline-yes">1x</span>
|
|
125
|
-
<span class="cline-any cline-yes">
|
|
126
|
-
<span class="cline-any cline-yes">
|
|
127
|
-
<span class="cline-any cline-yes">
|
|
128
|
-
<span class="cline-any cline-yes">
|
|
129
|
-
<span class="cline-any cline-yes">
|
|
130
|
-
<span class="cline-any cline-yes">
|
|
131
|
-
<span class="cline-any cline-yes">
|
|
132
|
-
<span class="cline-any cline-yes">
|
|
125
|
+
<span class="cline-any cline-yes">284x</span>
|
|
126
|
+
<span class="cline-any cline-yes">284x</span>
|
|
127
|
+
<span class="cline-any cline-yes">284x</span>
|
|
128
|
+
<span class="cline-any cline-yes">284x</span>
|
|
129
|
+
<span class="cline-any cline-yes">284x</span>
|
|
130
|
+
<span class="cline-any cline-yes">284x</span>
|
|
131
|
+
<span class="cline-any cline-yes">284x</span>
|
|
132
|
+
<span class="cline-any cline-yes">284x</span>
|
|
133
133
|
<span class="cline-any cline-no"> </span>
|
|
134
134
|
<span class="cline-any cline-no"> </span>
|
|
135
|
-
<span class="cline-any cline-yes">
|
|
136
|
-
<span class="cline-any cline-yes">
|
|
137
|
-
<span class="cline-any cline-yes">
|
|
138
|
-
<span class="cline-any cline-yes">
|
|
135
|
+
<span class="cline-any cline-yes">284x</span>
|
|
136
|
+
<span class="cline-any cline-yes">284x</span>
|
|
137
|
+
<span class="cline-any cline-yes">284x</span>
|
|
138
|
+
<span class="cline-any cline-yes">1739x</span>
|
|
139
139
|
<span class="cline-any cline-no"> </span>
|
|
140
140
|
<span class="cline-any cline-no"> </span>
|
|
141
141
|
<span class="cline-any cline-no"> </span>
|
|
142
142
|
<span class="cline-any cline-no"> </span>
|
|
143
143
|
<span class="cline-any cline-no"> </span>
|
|
144
144
|
<span class="cline-any cline-no"> </span>
|
|
145
|
-
<span class="cline-any cline-yes">
|
|
146
|
-
<span class="cline-any cline-yes">
|
|
145
|
+
<span class="cline-any cline-yes">1739x</span>
|
|
146
|
+
<span class="cline-any cline-yes">1739x</span>
|
|
147
147
|
<span class="cline-any cline-yes">23x</span>
|
|
148
148
|
<span class="cline-any cline-yes">23x</span>
|
|
149
149
|
<span class="cline-any cline-yes">23x</span>
|
|
@@ -151,18 +151,18 @@
|
|
|
151
151
|
<span class="cline-any cline-yes">23x</span>
|
|
152
152
|
<span class="cline-any cline-yes">23x</span>
|
|
153
153
|
<span class="cline-any cline-yes">23x</span>
|
|
154
|
-
<span class="cline-any cline-yes">
|
|
155
|
-
<span class="cline-any cline-yes">
|
|
156
|
-
<span class="cline-any cline-yes">
|
|
157
|
-
<span class="cline-any cline-yes">
|
|
158
|
-
<span class="cline-any cline-yes">
|
|
159
|
-
<span class="cline-any cline-yes">
|
|
160
|
-
<span class="cline-any cline-yes">
|
|
161
|
-
<span class="cline-any cline-yes">
|
|
162
|
-
<span class="cline-any cline-yes">
|
|
163
|
-
<span class="cline-any cline-yes">
|
|
164
|
-
<span class="cline-any cline-yes">
|
|
165
|
-
<span class="cline-any cline-yes">
|
|
154
|
+
<span class="cline-any cline-yes">1716x</span>
|
|
155
|
+
<span class="cline-any cline-yes">1739x</span>
|
|
156
|
+
<span class="cline-any cline-yes">1739x</span>
|
|
157
|
+
<span class="cline-any cline-yes">386x</span>
|
|
158
|
+
<span class="cline-any cline-yes">1739x</span>
|
|
159
|
+
<span class="cline-any cline-yes">1739x</span>
|
|
160
|
+
<span class="cline-any cline-yes">284x</span>
|
|
161
|
+
<span class="cline-any cline-yes">284x</span>
|
|
162
|
+
<span class="cline-any cline-yes">284x</span>
|
|
163
|
+
<span class="cline-any cline-yes">284x</span>
|
|
164
|
+
<span class="cline-any cline-yes">284x</span>
|
|
165
|
+
<span class="cline-any cline-yes">284x</span>
|
|
166
166
|
<span class="cline-any cline-neutral"> </span></td><td class="text"><pre class="prettyprint lang-js">/**
|
|
167
167
|
* Stringify given object by use of JSON.stringify but handles circular structures and "response", "request" properties
|
|
168
168
|
* to avoid stringing redundant data when printing errors containing request/response objects.
|
|
@@ -220,7 +220,7 @@ export function safeStringify(object, indent = 2) {
|
|
|
220
220
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
221
221
|
Code coverage generated by
|
|
222
222
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
223
|
-
at 2024-
|
|
223
|
+
at 2024-06-03T13:53:18.820Z
|
|
224
224
|
</div>
|
|
225
225
|
<script src="../../../../prettify.js"></script>
|
|
226
226
|
<script>
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
<div class='fl pad1y space-right2'>
|
|
26
26
|
<span class="strong">0% </span>
|
|
27
27
|
<span class="quiet">Statements</span>
|
|
28
|
-
<span class='fraction'>0/
|
|
28
|
+
<span class='fraction'>0/84</span>
|
|
29
29
|
</div>
|
|
30
30
|
|
|
31
31
|
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
<div class='fl pad1y space-right2'>
|
|
47
47
|
<span class="strong">0% </span>
|
|
48
48
|
<span class="quiet">Lines</span>
|
|
49
|
-
<span class='fraction'>0/
|
|
49
|
+
<span class='fraction'>0/84</span>
|
|
50
50
|
</div>
|
|
51
51
|
|
|
52
52
|
|
|
@@ -84,13 +84,13 @@
|
|
|
84
84
|
<div class="chart"><div class="cover-fill" style="width: 0%"></div><div class="cover-empty" style="width: 100%"></div></div>
|
|
85
85
|
</td>
|
|
86
86
|
<td data-value="0" class="pct low">0%</td>
|
|
87
|
-
<td data-value="
|
|
87
|
+
<td data-value="84" class="abs low">0/84</td>
|
|
88
88
|
<td data-value="0" class="pct low">0%</td>
|
|
89
89
|
<td data-value="1" class="abs low">0/1</td>
|
|
90
90
|
<td data-value="0" class="pct low">0%</td>
|
|
91
91
|
<td data-value="1" class="abs low">0/1</td>
|
|
92
92
|
<td data-value="0" class="pct low">0%</td>
|
|
93
|
-
<td data-value="
|
|
93
|
+
<td data-value="84" class="abs low">0/84</td>
|
|
94
94
|
</tr>
|
|
95
95
|
|
|
96
96
|
</tbody>
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
102
102
|
Code coverage generated by
|
|
103
103
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
104
|
-
at 2024-
|
|
104
|
+
at 2024-06-03T13:53:18.820Z
|
|
105
105
|
</div>
|
|
106
106
|
<script src="../../prettify.js"></script>
|
|
107
107
|
<script>
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
<div class='fl pad1y space-right2'>
|
|
26
26
|
<span class="strong">0% </span>
|
|
27
27
|
<span class="quiet">Statements</span>
|
|
28
|
-
<span class='fraction'>0/
|
|
28
|
+
<span class='fraction'>0/84</span>
|
|
29
29
|
</div>
|
|
30
30
|
|
|
31
31
|
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
<div class='fl pad1y space-right2'>
|
|
47
47
|
<span class="strong">0% </span>
|
|
48
48
|
<span class="quiet">Lines</span>
|
|
49
|
-
<span class='fraction'>0/
|
|
49
|
+
<span class='fraction'>0/84</span>
|
|
50
50
|
</div>
|
|
51
51
|
|
|
52
52
|
|
|
@@ -147,15 +147,7 @@
|
|
|
147
147
|
<a name='L82'></a><a href='#L82'>82</a>
|
|
148
148
|
<a name='L83'></a><a href='#L83'>83</a>
|
|
149
149
|
<a name='L84'></a><a href='#L84'>84</a>
|
|
150
|
-
<a name='L85'></a><a href='#L85'>85</a>
|
|
151
|
-
<a name='L86'></a><a href='#L86'>86</a>
|
|
152
|
-
<a name='L87'></a><a href='#L87'>87</a>
|
|
153
|
-
<a name='L88'></a><a href='#L88'>88</a>
|
|
154
|
-
<a name='L89'></a><a href='#L89'>89</a></td><td class="line-coverage quiet"><span class="cline-any cline-no"> </span>
|
|
155
|
-
<span class="cline-any cline-no"> </span>
|
|
156
|
-
<span class="cline-any cline-no"> </span>
|
|
157
|
-
<span class="cline-any cline-no"> </span>
|
|
158
|
-
<span class="cline-any cline-no"> </span>
|
|
150
|
+
<a name='L85'></a><a href='#L85'>85</a></td><td class="line-coverage quiet"><span class="cline-any cline-no"> </span>
|
|
159
151
|
<span class="cline-any cline-no"> </span>
|
|
160
152
|
<span class="cline-any cline-no"> </span>
|
|
161
153
|
<span class="cline-any cline-no"> </span>
|
|
@@ -240,84 +232,80 @@
|
|
|
240
232
|
<span class="cline-any cline-no"> </span>
|
|
241
233
|
<span class="cline-any cline-no"> </span>
|
|
242
234
|
<span class="cline-any cline-neutral"> </span></td><td class="text"><pre class="prettyprint lang-js"><span class="cstat-no" title="statement not covered" >// UI-KIT components<span class="fstat-no" title="function not covered" ><span class="branch-0 cbranch-no" title="branch not covered" ></span></span></span>
|
|
243
|
-
<span class="cstat-no" title="statement not covered" >export { Button } from "./components/atoms/buttons/Button/Button.jsx";</span>
|
|
244
|
-
<span class="cstat-no" title="statement not covered" >export { LoadingDots } from "./components/atoms/LoadingDots/LoadingDots.jsx";</span>
|
|
245
|
-
<span class="cstat-no" title="statement not covered" >export { SupportChat } from "./components/atoms/SupportChat/SupportChat.jsx";</span>
|
|
246
|
-
<span class="cstat-no" title="statement not covered" >export { AssetIcon } from "./components/atoms/AssetIcon/AssetIcon.jsx";</span>
|
|
247
|
-
<span class="cstat-no" title="statement not covered" >export { LinkButton } from "./components/atoms/buttons/LinkButton/LinkButton.jsx";</span>
|
|
248
|
-
<span class="cstat-no" title="statement not covered" >export { DialogButtons } from "./components/organisms/Dialog/DialogButtons/DialogButtons.jsx";</span>
|
|
249
|
-
<span class="cstat-no" title="statement not covered" >export { BackgroundTitle } from "./components/atoms/BackgroundTitle/BackgroundTitle.jsx";</span>
|
|
250
|
-
<span class="cstat-no" title="statement not covered" >export { Close } from "./components/atoms/buttons/Close/Close.jsx";</span>
|
|
251
|
-
<span class="cstat-no" title="statement not covered" >export { Validation } from "./components/atoms/Validation/Validation.jsx";</span>
|
|
252
|
-
<span class="cstat-no" title="statement not covered" >export { Dialog } from "./components/organisms/Dialog/Dialog.jsx";</span>
|
|
253
|
-
<span class="cstat-no" title="statement not covered" >export { DialogStep } from "./components/organisms/Dialog/DialogStep/DialogStep.jsx";</span>
|
|
254
|
-
<span class="cstat-no" title="statement not covered" >export { AssetSelection } from "./components/atoms/AssetSelection/AssetSelection.jsx";</span>
|
|
255
|
-
<span class="cstat-no" title="statement not covered" >export { Tooltip } from "./components/atoms/Tooltip/Tooltip.jsx";</span>
|
|
256
|
-
<span class="cstat-no" title="statement not covered" >export { NoticeIcon } from "./components/atoms/NoticeIcon/NoticeIcon.jsx";</span>
|
|
257
|
-
<span class="cstat-no" title="statement not covered" >export { TitleBox } from "./components/atoms/TitleBox/TitleBox.jsx";</span>
|
|
258
|
-
<span class="cstat-no" title="statement not covered" >export { AmountInput } from "./components/molecules/AmountInput/AmountInput.jsx";</span>
|
|
259
|
-
<span class="cstat-no" title="statement not covered" >export { SwapForm } from "./components/organisms/SwapForm/SwapForm.jsx";</span>
|
|
260
|
-
<span class="cstat-no" title="statement not covered" >export { Textarea } from "./components/atoms/Textarea/Textarea.jsx";</span>
|
|
261
|
-
<span class="cstat-no" title="statement not covered" >export { QrCode } from "./components/atoms/QrCode/QrCode.jsx";</span>
|
|
262
|
-
<span class="cstat-no" title="statement not covered" >export { LinesOfText } from "./components/atoms/TwoLinesOfText/LinesOfText.jsx";</span>
|
|
263
|
-
<span class="cstat-no" title="statement not covered" >export { LineWithIconLink } from "./components/molecules/LineWithIconLink/LineWithIconLink.jsx";</span>
|
|
264
|
-
<span class="cstat-no" title="statement not covered" >export { DeterminedErrorDialogStep } from "./components/templates/DeterminedErrorDialogStep/DeterminedErrorDialogStep.jsx";</span>
|
|
265
|
-
<span class="cstat-no" title="statement not covered" >export { TitledLineWithIconLink } from "./components/molecules/TitledLineWithIconLink/TitledLineWithIconLink.jsx";</span>
|
|
266
|
-
<span class="cstat-no" title="statement not covered" >export { RadioButtonWithText } from "./components/atoms/buttons/RadioButtonWithText/RadioButtonWithText.jsx";</span>
|
|
267
|
-
<span class="cstat-no" title="statement not covered" >export { InformationMessage } from "./components/atoms/InformationMessage/InformationMessage.jsx";</span>
|
|
268
|
-
<span class="cstat-no" title="statement not covered" >export { Input } from "./components/atoms/Input/Input.jsx";</span>
|
|
269
|
-
<span class="cstat-no" title="statement not covered" >export { COIN_PICKER_MODES, CoinPicker } from "./components/molecules/CoinPicker/CoinPicker.jsx";</span>
|
|
270
|
-
<span class="cstat-no" title="statement not covered" >export { CoinPickerDialogStep } from "./components/organisms/CoinPickerDialogStep/CoinPickerDialogStep.jsx";</span>
|
|
235
|
+
<span class="cstat-no" title="statement not covered" >export { Button } from "./ui-kit/components/atoms/buttons/Button/Button.jsx";</span>
|
|
236
|
+
<span class="cstat-no" title="statement not covered" >export { LoadingDots } from "./ui-kit/components/atoms/LoadingDots/LoadingDots.jsx";</span>
|
|
237
|
+
<span class="cstat-no" title="statement not covered" >export { SupportChat } from "./ui-kit/components/atoms/SupportChat/SupportChat.jsx";</span>
|
|
238
|
+
<span class="cstat-no" title="statement not covered" >export { AssetIcon } from "./ui-kit/components/atoms/AssetIcon/AssetIcon.jsx";</span>
|
|
239
|
+
<span class="cstat-no" title="statement not covered" >export { LinkButton, ICON_ROTATE_OPTIONS } from "./ui-kit/components/atoms/buttons/LinkButton/LinkButton.jsx";</span>
|
|
240
|
+
<span class="cstat-no" title="statement not covered" >export { DialogButtons } from "./ui-kit/components/organisms/Dialog/DialogButtons/DialogButtons.jsx";</span>
|
|
241
|
+
<span class="cstat-no" title="statement not covered" >export { BackgroundTitle } from "./ui-kit/components/atoms/BackgroundTitle/BackgroundTitle.jsx";</span>
|
|
242
|
+
<span class="cstat-no" title="statement not covered" >export { Close, CLOSE_COLORS } from "./ui-kit/components/atoms/buttons/Close/Close.jsx";</span>
|
|
243
|
+
<span class="cstat-no" title="statement not covered" >export { Validation } from "./ui-kit/components/atoms/Validation/Validation.jsx";</span>
|
|
244
|
+
<span class="cstat-no" title="statement not covered" >export { Dialog, DIALOG_SIZES, DIALOG_TRANSITION_STEP_DURATION } from "./ui-kit/components/organisms/Dialog/Dialog.jsx";</span>
|
|
245
|
+
<span class="cstat-no" title="statement not covered" >export { DialogStep, DIALOG_STEP_CLASS } from "./ui-kit/components/organisms/Dialog/DialogStep/DialogStep.jsx";</span>
|
|
246
|
+
<span class="cstat-no" title="statement not covered" >export { AssetSelection } from "./ui-kit/components/atoms/AssetSelection/AssetSelection.jsx";</span>
|
|
247
|
+
<span class="cstat-no" title="statement not covered" >export { Tooltip, TOOLTIP_POSITIONS } from "./ui-kit/components/atoms/Tooltip/Tooltip.jsx";</span>
|
|
248
|
+
<span class="cstat-no" title="statement not covered" >export { NoticeIcon } from "./ui-kit/components/atoms/NoticeIcon/NoticeIcon.jsx";</span>
|
|
249
|
+
<span class="cstat-no" title="statement not covered" >export { TitleBox } from "./ui-kit/components/atoms/TitleBox/TitleBox.jsx";</span>
|
|
250
|
+
<span class="cstat-no" title="statement not covered" >export { AmountInput } from "./ui-kit/components/molecules/AmountInput/AmountInput.jsx";</span>
|
|
251
|
+
<span class="cstat-no" title="statement not covered" >export { SwapForm } from "./ui-kit/components/organisms/SwapForm/SwapForm.jsx";</span>
|
|
252
|
+
<span class="cstat-no" title="statement not covered" >export { Textarea } from "./ui-kit/components/atoms/Textarea/Textarea.jsx";</span>
|
|
253
|
+
<span class="cstat-no" title="statement not covered" >export { QrCode } from "./ui-kit/components/atoms/QrCode/QrCode.jsx";</span>
|
|
254
|
+
<span class="cstat-no" title="statement not covered" >export { LinesOfText } from "./ui-kit/components/atoms/TwoLinesOfText/LinesOfText.jsx";</span>
|
|
255
|
+
<span class="cstat-no" title="statement not covered" >export { LineWithIconLink } from "./ui-kit/components/molecules/LineWithIconLink/LineWithIconLink.jsx";</span>
|
|
256
|
+
<span class="cstat-no" title="statement not covered" >export { DeterminedErrorDialogStep } from "./ui-kit/components/templates/DeterminedErrorDialogStep/DeterminedErrorDialogStep.jsx";</span>
|
|
257
|
+
<span class="cstat-no" title="statement not covered" >export { TitledLineWithIconLink } from "./ui-kit/components/molecules/TitledLineWithIconLink/TitledLineWithIconLink.jsx";</span>
|
|
258
|
+
<span class="cstat-no" title="statement not covered" >export { RadioButtonWithText } from "./ui-kit/components/atoms/buttons/RadioButtonWithText/RadioButtonWithText.jsx";</span>
|
|
259
|
+
<span class="cstat-no" title="statement not covered" >export { InformationMessage } from "./ui-kit/components/atoms/InformationMessage/InformationMessage.jsx";</span>
|
|
260
|
+
<span class="cstat-no" title="statement not covered" >export { Input } from "./ui-kit/components/atoms/Input/Input.jsx";</span>
|
|
261
|
+
<span class="cstat-no" title="statement not covered" >export { COIN_PICKER_MODES, CoinPicker } from "./ui-kit/components/molecules/CoinPicker/CoinPicker.jsx";</span>
|
|
262
|
+
<span class="cstat-no" title="statement not covered" >export { CoinPickerDialogStep } from "./ui-kit/components/organisms/CoinPickerDialogStep/CoinPickerDialogStep.jsx";</span>
|
|
271
263
|
<span class="cstat-no" title="statement not covered" ></span>
|
|
272
264
|
<span class="cstat-no" title="statement not covered" >// UI-KIT constants</span>
|
|
273
|
-
<span class="cstat-no" title="statement not covered" >export {
|
|
274
|
-
<span class="cstat-no" title="statement not covered" >export { DIALOG_STEP_CLASS } from "./constants/organisms/dialog/DialogStep/dialogStep.js";</span>
|
|
275
|
-
<span class="cstat-no" title="statement not covered" >export { ICON_ROTATE_OPTIONS } from "./constants/atoms/LinkButton/linkButton.jsx";</span>
|
|
276
|
-
<span class="cstat-no" title="statement not covered" >export { TOOLTIP_POSITIONS } from "./constants/atoms/Tooltip/tooltip.jsx";</span>
|
|
277
|
-
<span class="cstat-no" title="statement not covered" >export { CLOSE_COLORS } from "./constants/atoms/Close/close.jsx";</span>
|
|
278
|
-
<span class="cstat-no" title="statement not covered" >export { FALLBACK_ASSET_ICON_URL, DEFAULT_CRYPTO_DECIMAL_COUNT } from "./constants/globalConstants.jsx";</span>
|
|
265
|
+
<span class="cstat-no" title="statement not covered" >export { FALLBACK_ASSET_ICON_URL, DEFAULT_CRYPTO_DECIMAL_COUNT } from "./common-apis/globalConstants.jsx";</span>
|
|
279
266
|
<span class="cstat-no" title="statement not covered" ></span>
|
|
280
|
-
<span class="cstat-no" title="statement not covered" >export { useCallHandlingErrors } from "./
|
|
281
|
-
<span class="cstat-no" title="statement not covered" >export { useReferredState } from "./
|
|
282
|
-
<span class="cstat-no" title="statement not covered" >export { handleClickOutside } from "./
|
|
283
|
-
<span class="cstat-no" title="statement not covered" >export { InputValuesProviders } from "./
|
|
284
|
-
<span class="cstat-no" title="statement not covered" >export { copyBrowserTextToClipboard } from "./
|
|
267
|
+
<span class="cstat-no" title="statement not covered" >export { useCallHandlingErrors } from "./ui-kit/hooks/useCallHandlingErrors.js";</span>
|
|
268
|
+
<span class="cstat-no" title="statement not covered" >export { useReferredState } from "./ui-kit/hooks/useReferredState.js";</span>
|
|
269
|
+
<span class="cstat-no" title="statement not covered" >export { handleClickOutside } from "./ui-kit/utils/uiUtils.js";</span>
|
|
270
|
+
<span class="cstat-no" title="statement not covered" >export { InputValuesProviders } from "./ui-kit/utils/inputValueProviders.js";</span>
|
|
271
|
+
<span class="cstat-no" title="statement not covered" >export { copyBrowserTextToClipboard } from "./ui-kit/utils/textUtils.js";</span>
|
|
272
|
+
<span class="cstat-no" title="statement not covered" >export { useIsHydrated } from "./ui-kit/hooks/useIsHydrated.js";</span>
|
|
285
273
|
<span class="cstat-no" title="statement not covered" ></span>
|
|
286
|
-
<span class="cstat-no" title="statement not covered" >export { saveQueryParameterAndValues } from "./
|
|
287
|
-
<span class="cstat-no" title="statement not covered" >export { removeQueryParameterAndValues } from "./
|
|
288
|
-
<span class="cstat-no" title="statement not covered" >export { getQueryParameterSingleValue } from "./
|
|
289
|
-
<span class="cstat-no" title="statement not covered" >export { getQueryParameterValues } from "./
|
|
274
|
+
<span class="cstat-no" title="statement not covered" >export { saveQueryParameterAndValues } from "./ui-kit/utils/urlQueryUtils.js";</span>
|
|
275
|
+
<span class="cstat-no" title="statement not covered" >export { removeQueryParameterAndValues } from "./ui-kit/utils/urlQueryUtils.js";</span>
|
|
276
|
+
<span class="cstat-no" title="statement not covered" >export { getQueryParameterSingleValue } from "./ui-kit/utils/urlQueryUtils.js";</span>
|
|
277
|
+
<span class="cstat-no" title="statement not covered" >export { getQueryParameterValues } from "./ui-kit/utils/urlQueryUtils.js";</span>
|
|
290
278
|
<span class="cstat-no" title="statement not covered" ></span>
|
|
291
279
|
<span class="cstat-no" title="statement not covered" >// Common code lib (to be extracted later to dedicated lib)</span>
|
|
292
|
-
<span class="cstat-no" title="statement not covered" >export { improveAndRethrow } from "./common/errorUtils.js";</span>
|
|
293
|
-
<span class="cstat-no" title="statement not covered" >export { logErrorOrOutputToConsole } from "./common/errorUtils.js";</span>
|
|
294
|
-
<span class="cstat-no" title="statement not covered" >export { FiatCurrenciesService } from "./common/fiatCurrenciesService.js";</span>
|
|
295
|
-
<span class="cstat-no" title="statement not covered" >export { AmountUtils } from "./common/amountUtils.js";</span>
|
|
280
|
+
<span class="cstat-no" title="statement not covered" >export { improveAndRethrow } from "./common-apis/errorUtils.js";</span>
|
|
281
|
+
<span class="cstat-no" title="statement not covered" >export { logErrorOrOutputToConsole } from "./common-apis/errorUtils.js";</span>
|
|
282
|
+
<span class="cstat-no" title="statement not covered" >export { FiatCurrenciesService } from "./common-apis/fiatCurrenciesService.js";</span>
|
|
283
|
+
<span class="cstat-no" title="statement not covered" >export { AmountUtils } from "./common-apis/amountUtils.js";</span>
|
|
296
284
|
<span class="cstat-no" title="statement not covered" ></span>
|
|
297
|
-
<span class="cstat-no" title="statement not covered" >export { Blockchain } from "./common/models/blockchain.js";</span>
|
|
298
|
-
<span class="cstat-no" title="statement not covered" >export { Protocol } from "./common/models/protocol.js";</span>
|
|
299
|
-
<span class="cstat-no" title="statement not covered" >export { Coin } from "./common/models/coin.js";</span>
|
|
285
|
+
<span class="cstat-no" title="statement not covered" >export { Blockchain } from "./common-apis/models/blockchain.js";</span>
|
|
286
|
+
<span class="cstat-no" title="statement not covered" >export { Protocol } from "./common-apis/models/protocol.js";</span>
|
|
287
|
+
<span class="cstat-no" title="statement not covered" >export { Coin } from "./common-apis/models/coin.js";</span>
|
|
300
288
|
<span class="cstat-no" title="statement not covered" ></span>
|
|
301
|
-
<span class="cstat-no" title="statement not covered" >export { Cache } from "./common/utils/cache.js";</span>
|
|
302
|
-
<span class="cstat-no" title="statement not covered" >export { safeStringify } from "./common/utils/safeStringify.js";</span>
|
|
303
|
-
<span class="cstat-no" title="statement not covered" >export { LogsStorage } from "./common/utils/logging/logsStorage.js";</span>
|
|
304
|
-
<span class="cstat-no" title="statement not covered" >export { Logger } from "./common/utils/logging/logger.js";</span>
|
|
305
|
-
<span class="cstat-no" title="statement not covered" >export { postponeExecution } from "./common/utils/postponeExecution.js";</span>
|
|
306
|
-
<span class="cstat-no" title="statement not covered" >export { AxiosAdapter } from "./common/adapters/axiosAdapter.js";</span>
|
|
289
|
+
<span class="cstat-no" title="statement not covered" >export { Cache } from "./common-apis/utils/cache.js";</span>
|
|
290
|
+
<span class="cstat-no" title="statement not covered" >export { safeStringify } from "./common-apis/utils/safeStringify.js";</span>
|
|
291
|
+
<span class="cstat-no" title="statement not covered" >export { LogsStorage } from "./common-apis/utils/logging/logsStorage.js";</span>
|
|
292
|
+
<span class="cstat-no" title="statement not covered" >export { Logger } from "./common-apis/utils/logging/logger.js";</span>
|
|
293
|
+
<span class="cstat-no" title="statement not covered" >export { postponeExecution } from "./common-apis/utils/postponeExecution.js";</span>
|
|
294
|
+
<span class="cstat-no" title="statement not covered" >export { AxiosAdapter } from "./common-apis/adapters/axiosAdapter.js";</span>
|
|
307
295
|
<span class="cstat-no" title="statement not covered" ></span>
|
|
308
|
-
<span class="cstat-no" title="statement not covered" >export { EmailsApi } from "./common/utils/emailAPI.js";</span>
|
|
309
|
-
<span class="cstat-no" title="statement not covered" >export { IpAddressProvider } from "./common/external-apis/ipAddressProviders.js";</span>
|
|
296
|
+
<span class="cstat-no" title="statement not covered" >export { EmailsApi } from "./common-apis/utils/emailAPI.js";</span>
|
|
297
|
+
<span class="cstat-no" title="statement not covered" >export { IpAddressProvider } from "./common-apis/external-apis/ipAddressProviders.js";</span>
|
|
310
298
|
<span class="cstat-no" title="statement not covered" ></span>
|
|
311
299
|
<span class="cstat-no" title="statement not covered" >// Robust data retriever service and related APIs (to be extracted later to dedicated lib)</span>
|
|
312
|
-
<span class="cstat-no" title="statement not covered" >export { CacheAndConcurrentRequestsResolver } from "./
|
|
313
|
-
<span class="cstat-no" title="statement not covered" >export { CachedRobustExternalApiCallerService } from "./
|
|
314
|
-
<span class="cstat-no" title="statement not covered" >export { CancelProcessing } from "./
|
|
315
|
-
<span class="cstat-no" title="statement not covered" >export { ExternalApiProvider } from "./
|
|
316
|
-
<span class="cstat-no" title="statement not covered" >export { RobustExternalAPICallerService } from "./
|
|
317
|
-
<span class="cstat-no" title="statement not covered" >export { ConcurrentCalculationsMetadataHolder } from "./
|
|
300
|
+
<span class="cstat-no" title="statement not covered" >export { CacheAndConcurrentRequestsResolver } from "./robust-api-caller/cacheAndConcurrentRequestsResolver.js";</span>
|
|
301
|
+
<span class="cstat-no" title="statement not covered" >export { CachedRobustExternalApiCallerService } from "./robust-api-caller/cachedRobustExternalApiCallerService.js";</span>
|
|
302
|
+
<span class="cstat-no" title="statement not covered" >export { CancelProcessing } from "./robust-api-caller/cancelProcessing.js";</span>
|
|
303
|
+
<span class="cstat-no" title="statement not covered" >export { ExternalApiProvider } from "./robust-api-caller/externalApiProvider.js";</span>
|
|
304
|
+
<span class="cstat-no" title="statement not covered" >export { RobustExternalAPICallerService } from "./robust-api-caller/robustExternalAPICallerService.js";</span>
|
|
305
|
+
<span class="cstat-no" title="statement not covered" >export { ConcurrentCalculationsMetadataHolder } from "./robust-api-caller/concurrentCalculationsMetadataHolder.js";</span>
|
|
318
306
|
<span class="cstat-no" title="statement not covered" ></span>
|
|
319
|
-
<span class="cstat-no" title="statement not covered" >export { ApiGroups } from "./common/external-apis/apiGroups.js";</span>
|
|
320
|
-
<span class="cstat-no" title="statement not covered" >export { ApiGroup } from "./common/external-apis/apiGroups.js";</span>
|
|
307
|
+
<span class="cstat-no" title="statement not covered" >export { ApiGroups } from "./common-apis/external-apis/apiGroups.js";</span>
|
|
308
|
+
<span class="cstat-no" title="statement not covered" >export { ApiGroup } from "./common-apis/external-apis/apiGroups.js";</span>
|
|
321
309
|
<span class="cstat-no" title="statement not covered" ></span>
|
|
322
310
|
<span class="cstat-no" title="statement not covered" >// Swaps lib (to be extracted later to dedicated lib)</span>
|
|
323
311
|
<span class="cstat-no" title="statement not covered" >export { ExistingSwap } from "./swaps-lib/models/existingSwap.js";</span>
|
|
@@ -334,7 +322,7 @@
|
|
|
334
322
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
335
323
|
Code coverage generated by
|
|
336
324
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
337
|
-
at 2024-
|
|
325
|
+
at 2024-06-03T13:53:18.820Z
|
|
338
326
|
</div>
|
|
339
327
|
<script src="../../prettify.js"></script>
|
|
340
328
|
<script>
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<html lang="en">
|
|
4
4
|
|
|
5
5
|
<head>
|
|
6
|
-
<title>Code coverage report for rabbit-ui-kit/src/
|
|
6
|
+
<title>Code coverage report for rabbit-ui-kit/src/robust-api-caller/cacheAndConcurrentRequestsResolver.js</title>
|
|
7
7
|
<meta charset="utf-8" />
|
|
8
8
|
<link rel="stylesheet" href="../../../prettify.css" />
|
|
9
9
|
<link rel="stylesheet" href="../../../base.css" />
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
<body>
|
|
20
20
|
<div class='wrapper'>
|
|
21
21
|
<div class='pad1'>
|
|
22
|
-
<h1><a href="../../../index.html">All files</a> / <a href="index.html">rabbit-ui-kit/src/
|
|
22
|
+
<h1><a href="../../../index.html">All files</a> / <a href="index.html">rabbit-ui-kit/src/robust-api-caller</a> cacheAndConcurrentRequestsResolver.js</h1>
|
|
23
23
|
<div class='clearfix'>
|
|
24
24
|
|
|
25
25
|
<div class='fl pad1y space-right2'>
|
|
@@ -1055,8 +1055,8 @@
|
|
|
1055
1055
|
<span class="cline-any cline-yes">1x</span>
|
|
1056
1056
|
<span class="cline-any cline-neutral"> </span></td><td class="text"><pre class="prettyprint lang-js">import { v4 } from "uuid";
|
|
1057
1057
|
|
|
1058
|
-
import { improveAndRethrow } from "../common/errorUtils.js";
|
|
1059
|
-
import { Logger } from "../common/utils/logging/logger.js";
|
|
1058
|
+
import { improveAndRethrow } from "../common-apis/errorUtils.js";
|
|
1059
|
+
import { Logger } from "../common-apis/utils/logging/logger.js";
|
|
1060
1060
|
|
|
1061
1061
|
/**
|
|
1062
1062
|
* This util helps to avoid duplicated calls to a shared resource.
|
|
@@ -1555,7 +1555,7 @@ class ManagerOfRequestsToTheSameResource {
|
|
|
1555
1555
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
1556
1556
|
Code coverage generated by
|
|
1557
1557
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
1558
|
-
at 2024-
|
|
1558
|
+
at 2024-06-03T13:53:18.820Z
|
|
1559
1559
|
</div>
|
|
1560
1560
|
<script src="../../../prettify.js"></script>
|
|
1561
1561
|
<script>
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<html lang="en">
|
|
4
4
|
|
|
5
5
|
<head>
|
|
6
|
-
<title>Code coverage report for rabbit-ui-kit/src/
|
|
6
|
+
<title>Code coverage report for rabbit-ui-kit/src/robust-api-caller/cachedRobustExternalApiCallerService.js</title>
|
|
7
7
|
<meta charset="utf-8" />
|
|
8
8
|
<link rel="stylesheet" href="../../../prettify.css" />
|
|
9
9
|
<link rel="stylesheet" href="../../../base.css" />
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
<body>
|
|
20
20
|
<div class='wrapper'>
|
|
21
21
|
<div class='pad1'>
|
|
22
|
-
<h1><a href="../../../index.html">All files</a> / <a href="index.html">rabbit-ui-kit/src/
|
|
22
|
+
<h1><a href="../../../index.html">All files</a> / <a href="index.html">rabbit-ui-kit/src/robust-api-caller</a> cachedRobustExternalApiCallerService.js</h1>
|
|
23
23
|
<div class='clearfix'>
|
|
24
24
|
|
|
25
25
|
<div class='fl pad1y space-right2'>
|
|
@@ -359,9 +359,9 @@
|
|
|
359
359
|
<span class="cline-any cline-yes">1x</span>
|
|
360
360
|
<span class="cline-any cline-neutral"> </span></td><td class="text"><pre class="prettyprint lang-js">import Hashes from "jshashes";
|
|
361
361
|
|
|
362
|
-
import { improveAndRethrow } from "../common/errorUtils.js";
|
|
363
|
-
import { safeStringify } from "../common/utils/safeStringify.js";
|
|
364
|
-
import { Logger } from "../common/utils/logging/logger.js";
|
|
362
|
+
import { improveAndRethrow } from "../common-apis/errorUtils.js";
|
|
363
|
+
import { safeStringify } from "../common-apis/utils/safeStringify.js";
|
|
364
|
+
import { Logger } from "../common-apis/utils/logging/logger.js";
|
|
365
365
|
|
|
366
366
|
import { RobustExternalAPICallerService } from "./robustExternalAPICallerService.js";
|
|
367
367
|
import { CacheAndConcurrentRequestsResolver } from "./cacheAndConcurrentRequestsResolver.js";
|
|
@@ -511,7 +511,7 @@ export class CachedRobustExternalApiCallerService {
|
|
|
511
511
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
512
512
|
Code coverage generated by
|
|
513
513
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
514
|
-
at 2024-
|
|
514
|
+
at 2024-06-03T13:53:18.820Z
|
|
515
515
|
</div>
|
|
516
516
|
<script src="../../../prettify.js"></script>
|
|
517
517
|
<script>
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<html lang="en">
|
|
4
4
|
|
|
5
5
|
<head>
|
|
6
|
-
<title>Code coverage report for rabbit-ui-kit/src/
|
|
6
|
+
<title>Code coverage report for rabbit-ui-kit/src/robust-api-caller/cancelProcessing.js</title>
|
|
7
7
|
<meta charset="utf-8" />
|
|
8
8
|
<link rel="stylesheet" href="../../../prettify.css" />
|
|
9
9
|
<link rel="stylesheet" href="../../../base.css" />
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
<body>
|
|
20
20
|
<div class='wrapper'>
|
|
21
21
|
<div class='pad1'>
|
|
22
|
-
<h1><a href="../../../index.html">All files</a> / <a href="index.html">rabbit-ui-kit/src/
|
|
22
|
+
<h1><a href="../../../index.html">All files</a> / <a href="index.html">rabbit-ui-kit/src/robust-api-caller</a> cancelProcessing.js</h1>
|
|
23
23
|
<div class='clearfix'>
|
|
24
24
|
|
|
25
25
|
<div class='fl pad1y space-right2'>
|
|
@@ -157,7 +157,7 @@
|
|
|
157
157
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
158
158
|
Code coverage generated by
|
|
159
159
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
160
|
-
at 2024-
|
|
160
|
+
at 2024-06-03T13:53:18.820Z
|
|
161
161
|
</div>
|
|
162
162
|
<script src="../../../prettify.js"></script>
|
|
163
163
|
<script>
|