@rango-dev/queue-manager-rango-preset 0.61.2-next.5 → 0.62.1-next.0
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/CHANGELOG.md +15 -0
- package/dist/helpers.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +3 -3
- package/dist/queue-manager-rango-preset.build.json +1 -1
- package/dist/shared.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/helpers.ts +1 -5
- package/src/shared.ts +0 -7
|
@@ -1 +1 @@
|
|
|
1
|
-
{"inputs":{"src/env.ts":{"bytes":1074,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/configs.ts":{"bytes":733,"imports":[{"path":"src/env.ts","kind":"import-statement","original":"./env"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/types.ts":{"bytes":8061,"imports":[],"format":"esm"},"src/actions/checkPrerequisites/utils.ts":{"bytes":3605,"imports":[{"path":"rango-types","kind":"import-statement","external":true},{"path":"ts-results","kind":"import-statement","external":true},{"path":"src/types.ts","kind":"import-statement","original":"../../types"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/constants.ts":{"bytes":742,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/services/httpService.ts":{"bytes":284,"imports":[{"path":"rango-sdk","kind":"import-statement","external":true},{"path":"src/configs.ts","kind":"import-statement","original":"../configs"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/services/index.ts":{"bytes":45,"imports":[{"path":"src/services/httpService.ts","kind":"import-statement","original":"./httpService"}],"format":"esm"},"src/numbers.ts":{"bytes":1637,"imports":[{"path":"bignumber.js","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/shared-errors.ts":{"bytes":4547,"imports":[{"path":"rango-types","kind":"import-statement","external":true},{"path":"src/constants.ts","kind":"import-statement","original":"./constants"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/shared.ts":{"bytes":13263,"imports":[{"path":"bignumber.js","kind":"import-statement","external":true},{"path":"src/numbers.ts","kind":"import-statement","original":"./numbers"},{"path":"src/shared-errors.ts","kind":"import-statement","original":"./shared-errors"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/services/eventEmitter.ts":{"bytes":8276,"imports":[{"path":"src/configs.ts","kind":"import-statement","original":"../configs"},{"path":"src/helpers.ts","kind":"import-statement","original":"../helpers"},{"path":"src/shared.ts","kind":"import-statement","original":"../shared"},{"path":"src/types.ts","kind":"import-statement","original":"../types"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/helpers.ts":{"bytes":47084,"imports":[{"path":"@rango-dev/logging-core","kind":"import-statement","external":true},{"path":"@rango-dev/queue-manager-core","kind":"import-statement","external":true},{"path":"@rango-dev/wallets-core/legacy","kind":"import-statement","external":true},{"path":"@rango-dev/wallets-shared","kind":"import-statement","external":true},{"path":"bignumber.js","kind":"import-statement","external":true},{"path":"rango-types","kind":"import-statement","external":true},{"path":"src/actions/checkPrerequisites/utils.ts","kind":"import-statement","original":"./actions/checkPrerequisites/utils"},{"path":"src/constants.ts","kind":"import-statement","original":"./constants"},{"path":"src/services/index.ts","kind":"import-statement","original":"./services"},{"path":"src/services/eventEmitter.ts","kind":"import-statement","original":"./services/eventEmitter"},{"path":"src/shared.ts","kind":"import-statement","original":"./shared"},{"path":"src/shared-errors.ts","kind":"import-statement","original":"./shared-errors"},{"path":"src/types.ts","kind":"import-statement","original":"./types"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/actions/common/produceNextStateForTransaction.ts":{"bytes":4611,"imports":[{"path":"ts-results","kind":"import-statement","external":true},{"path":"src/constants.ts","kind":"import-statement","original":"../../constants"},{"path":"src/helpers.ts","kind":"import-statement","original":"../../helpers"},{"path":"src/services/eventEmitter.ts","kind":"import-statement","original":"../../services/eventEmitter"},{"path":"src/shared.ts","kind":"import-statement","original":"../../shared"},{"path":"src/types.ts","kind":"import-statement","original":"../../types"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/actions/checkPrerequisites/checkPrerequisites.ts":{"bytes":3276,"imports":[{"path":"@rango-dev/wallets-shared","kind":"import-statement","external":true},{"path":"rango-types","kind":"import-statement","external":true},{"path":"ts-results","kind":"import-statement","external":true},{"path":"src/helpers.ts","kind":"import-statement","original":"../../helpers"},{"path":"src/types.ts","kind":"import-statement","original":"../../types"},{"path":"src/actions/common/produceNextStateForTransaction.ts","kind":"import-statement","original":"../common/produceNextStateForTransaction"},{"path":"src/actions/checkPrerequisites/utils.ts","kind":"import-statement","original":"./utils"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/actions/checkPrerequisites/index.ts":{"bytes":59,"imports":[{"path":"src/actions/checkPrerequisites/checkPrerequisites.ts","kind":"import-statement","original":"./checkPrerequisites"}],"format":"esm"},"src/actions/checkStatus.ts":{"bytes":17008,"imports":[{"path":"@rango-dev/logging-core","kind":"import-statement","external":true},{"path":"rango-types","kind":"import-statement","external":true},{"path":"src/helpers.ts","kind":"import-statement","original":"../helpers"},{"path":"src/services/index.ts","kind":"import-statement","original":"../services"},{"path":"src/services/eventEmitter.ts","kind":"import-statement","original":"../services/eventEmitter"},{"path":"src/shared.ts","kind":"import-statement","original":"../shared"},{"path":"src/shared-errors.ts","kind":"import-statement","original":"../shared-errors"},{"path":"src/types.ts","kind":"import-statement","original":"../types"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/actions/common/utils.ts":{"bytes":645,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/actions/checkStellarTrustline/constants.ts":{"bytes":162,"imports":[],"format":"esm"},"src/actions/checkStellarTrustline/utils.ts":{"bytes":5737,"imports":[{"path":"@rango-dev/wallets-core/legacy","kind":"import-statement","external":true},{"path":"@stellar/stellar-sdk","kind":"import-statement","external":true},{"path":"bignumber.js","kind":"import-statement","external":true},{"path":"rango-types","kind":"import-statement","external":true},{"path":"ts-results","kind":"import-statement","external":true},{"path":"src/constants.ts","kind":"import-statement","original":"../../constants"},{"path":"src/types.ts","kind":"import-statement","original":"../../types"},{"path":"src/actions/checkStellarTrustline/constants.ts","kind":"import-statement","original":"./constants"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/actions/checkStellarTrustline/checkStellarTrustline.ts":{"bytes":6490,"imports":[{"path":"rango-types","kind":"import-statement","external":true},{"path":"ts-results","kind":"import-statement","external":true},{"path":"src/helpers.ts","kind":"import-statement","original":"../../helpers"},{"path":"src/types.ts","kind":"import-statement","original":"../../types"},{"path":"src/actions/common/produceNextStateForTransaction.ts","kind":"import-statement","original":"../common/produceNextStateForTransaction"},{"path":"src/actions/common/utils.ts","kind":"import-statement","original":"../common/utils"},{"path":"src/actions/checkStellarTrustline/utils.ts","kind":"import-statement","original":"./utils"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/actions/checkStellarTrustline/index.ts":{"bytes":200,"imports":[{"path":"src/actions/checkStellarTrustline/checkStellarTrustline.ts","kind":"import-statement","original":"./checkStellarTrustline.js"},{"path":"src/actions/checkStellarTrustline/utils.ts","kind":"import-statement","original":"./utils.js"}],"format":"esm"},"src/actions/checkXrplTrustline/constants.ts":{"bytes":59,"imports":[],"format":"esm"},"src/actions/checkXrplTrustline/utils.ts":{"bytes":4694,"imports":[{"path":"@rango-dev/wallets-core/legacy","kind":"import-statement","external":true},{"path":"bignumber.js","kind":"import-statement","external":true},{"path":"rango-types","kind":"import-statement","external":true},{"path":"ts-results","kind":"import-statement","external":true},{"path":"src/constants.ts","kind":"import-statement","original":"../../constants"},{"path":"src/types.ts","kind":"import-statement","original":"../../types"},{"path":"src/actions/checkXrplTrustline/constants.ts","kind":"import-statement","original":"./constants"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/actions/checkXrplTrustline/checkXrplTrustline.ts":{"bytes":6317,"imports":[{"path":"rango-types","kind":"import-statement","external":true},{"path":"ts-results","kind":"import-statement","external":true},{"path":"src/helpers.ts","kind":"import-statement","original":"../../helpers"},{"path":"src/types.ts","kind":"import-statement","original":"../../types"},{"path":"src/actions/common/produceNextStateForTransaction.ts","kind":"import-statement","original":"../common/produceNextStateForTransaction"},{"path":"src/actions/common/utils.ts","kind":"import-statement","original":"../common/utils"},{"path":"src/actions/checkXrplTrustline/utils.ts","kind":"import-statement","original":"./utils"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/actions/checkXrplTrustline/index.ts":{"bytes":185,"imports":[{"path":"src/actions/checkXrplTrustline/checkXrplTrustline.ts","kind":"import-statement","original":"./checkXrplTrustline.js"},{"path":"src/actions/checkXrplTrustline/utils.ts","kind":"import-statement","original":"./utils.js"}],"format":"esm"},"src/actions/checkXrplTrustlineTransactionStatus/constants.ts":{"bytes":135,"imports":[],"format":"esm"},"src/actions/checkXrplTrustlineTransactionStatus/checkXrplTrustlineTransactionStatus.ts":{"bytes":4462,"imports":[{"path":"rango-types","kind":"import-statement","external":true},{"path":"ts-results","kind":"import-statement","external":true},{"path":"xrpl","kind":"import-statement","external":true},{"path":"src/helpers.ts","kind":"import-statement","original":"../../helpers"},{"path":"src/types.ts","kind":"import-statement","original":"../../types"},{"path":"src/actions/common/produceNextStateForTransaction.ts","kind":"import-statement","original":"../common/produceNextStateForTransaction"},{"path":"src/actions/checkXrplTrustlineTransactionStatus/constants.ts","kind":"import-statement","original":"./constants"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/actions/checkXrplTrustlineTransactionStatus/index.ts":{"bytes":93,"imports":[{"path":"src/actions/checkXrplTrustlineTransactionStatus/checkXrplTrustlineTransactionStatus.ts","kind":"import-statement","original":"./checkXrplTrustlineTransactionStatus"}],"format":"esm"},"src/actions/createTransaction.ts":{"bytes":3220,"imports":[{"path":"@rango-dev/logging-core","kind":"import-statement","external":true},{"path":"src/helpers.ts","kind":"import-statement","original":"../helpers"},{"path":"src/services/index.ts","kind":"import-statement","original":"../services"},{"path":"src/services/eventEmitter.ts","kind":"import-statement","original":"../services/eventEmitter"},{"path":"src/shared-errors.ts","kind":"import-statement","original":"../shared-errors"},{"path":"src/types.ts","kind":"import-statement","original":"../types"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/actions/executeStellarTransaction/helpers.ts":{"bytes":1354,"imports":[{"path":"rango-types","kind":"import-statement","external":true},{"path":"ts-results","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/actions/executeStellarTransaction/executeStellarTransaction.ts":{"bytes":4201,"imports":[{"path":"rango-types","kind":"import-statement","external":true},{"path":"ts-results","kind":"import-statement","external":true},{"path":"src/helpers.ts","kind":"import-statement","original":"../../helpers"},{"path":"src/shared.ts","kind":"import-statement","original":"../../shared"},{"path":"src/actions/checkStellarTrustline/index.ts","kind":"import-statement","original":"../checkStellarTrustline"},{"path":"src/actions/common/produceNextStateForTransaction.ts","kind":"import-statement","original":"../common/produceNextStateForTransaction"},{"path":"src/actions/common/utils.ts","kind":"import-statement","original":"../common/utils"},{"path":"src/actions/executeStellarTransaction/helpers.ts","kind":"import-statement","original":"./helpers"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/actions/executeStellarTransaction/index.ts":{"bytes":76,"imports":[{"path":"src/actions/executeStellarTransaction/executeStellarTransaction.ts","kind":"import-statement","original":"./executeStellarTransaction.js"}],"format":"esm"},"src/actions/common/checkEnvironmentBeforeExecuteTransaction.ts":{"bytes":4946,"imports":[{"path":"rango-types","kind":"import-statement","external":true},{"path":"ts-results","kind":"import-statement","external":true},{"path":"src/constants.ts","kind":"import-statement","original":"../../constants"},{"path":"src/helpers.ts","kind":"import-statement","original":"../../helpers"},{"path":"src/shared.ts","kind":"import-statement","original":"../../shared"},{"path":"src/types.ts","kind":"import-statement","original":"../../types"},{"path":"src/actions/common/utils.ts","kind":"import-statement","original":"./utils"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/actions/executeTransaction/executeTransaction.ts":{"bytes":3262,"imports":[{"path":"src/helpers.ts","kind":"import-statement","original":"../../helpers"},{"path":"src/shared.ts","kind":"import-statement","original":"../../shared"},{"path":"src/actions/common/checkEnvironmentBeforeExecuteTransaction.ts","kind":"import-statement","original":"../common/checkEnvironmentBeforeExecuteTransaction"},{"path":"src/actions/common/produceNextStateForTransaction.ts","kind":"import-statement","original":"../common/produceNextStateForTransaction"},{"path":"src/actions/common/utils.ts","kind":"import-statement","original":"../common/utils"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/actions/executeTransaction/index.ts":{"bytes":62,"imports":[{"path":"src/actions/executeTransaction/executeTransaction.ts","kind":"import-statement","original":"./executeTransaction.js"}],"format":"esm"},"src/actions/executeXrplTransaction/helpers.ts":{"bytes":1650,"imports":[{"path":"rango-types","kind":"import-statement","external":true},{"path":"ts-results","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/actions/executeXrplTransaction/executeXrplTransaction.ts":{"bytes":4151,"imports":[{"path":"rango-types","kind":"import-statement","external":true},{"path":"ts-results","kind":"import-statement","external":true},{"path":"src/helpers.ts","kind":"import-statement","original":"../../helpers"},{"path":"src/shared.ts","kind":"import-statement","original":"../../shared"},{"path":"src/actions/checkXrplTrustline/index.ts","kind":"import-statement","original":"../checkXrplTrustline"},{"path":"src/actions/common/produceNextStateForTransaction.ts","kind":"import-statement","original":"../common/produceNextStateForTransaction"},{"path":"src/actions/common/utils.ts","kind":"import-statement","original":"../common/utils"},{"path":"src/actions/executeXrplTransaction/helpers.ts","kind":"import-statement","original":"./helpers"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/actions/executeXrplTransaction/index.ts":{"bytes":70,"imports":[{"path":"src/actions/executeXrplTransaction/executeXrplTransaction.ts","kind":"import-statement","original":"./executeXrplTransaction.js"}],"format":"esm"},"src/actions/scheduleNextStep.ts":{"bytes":2759,"imports":[{"path":"rango-types","kind":"import-statement","external":true},{"path":"src/helpers.ts","kind":"import-statement","original":"../helpers"},{"path":"src/services/eventEmitter.ts","kind":"import-statement","original":"../services/eventEmitter"},{"path":"src/types.ts","kind":"import-statement","original":"../types"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/actions/start.ts":{"bytes":484,"imports":[{"path":"@rango-dev/queue-manager-core","kind":"import-statement","external":true},{"path":"src/types.ts","kind":"import-statement","original":"../types"},{"path":"src/services/eventEmitter.ts","kind":"import-statement","original":"../services/eventEmitter"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/queueDef.ts":{"bytes":2472,"imports":[{"path":"src/actions/checkPrerequisites/index.ts","kind":"import-statement","original":"./actions/checkPrerequisites"},{"path":"src/actions/checkStatus.ts","kind":"import-statement","original":"./actions/checkStatus"},{"path":"src/actions/checkStellarTrustline/index.ts","kind":"import-statement","original":"./actions/checkStellarTrustline"},{"path":"src/actions/checkXrplTrustline/index.ts","kind":"import-statement","original":"./actions/checkXrplTrustline"},{"path":"src/actions/checkXrplTrustlineTransactionStatus/index.ts","kind":"import-statement","original":"./actions/checkXrplTrustlineTransactionStatus"},{"path":"src/actions/createTransaction.ts","kind":"import-statement","original":"./actions/createTransaction"},{"path":"src/actions/executeStellarTransaction/index.ts","kind":"import-statement","original":"./actions/executeStellarTransaction"},{"path":"src/actions/executeTransaction/index.ts","kind":"import-statement","original":"./actions/executeTransaction"},{"path":"src/actions/executeXrplTransaction/index.ts","kind":"import-statement","original":"./actions/executeXrplTransaction"},{"path":"src/actions/scheduleNextStep.ts","kind":"import-statement","original":"./actions/scheduleNextStep"},{"path":"src/actions/start.ts","kind":"import-statement","original":"./actions/start"},{"path":"src/helpers.ts","kind":"import-statement","original":"./helpers"},{"path":"src/types.ts","kind":"import-statement","original":"./types"}],"format":"esm"},"src/migration.ts":{"bytes":3321,"imports":[{"path":"@rango-dev/queue-manager-core","kind":"import-statement","external":true},{"path":"uuid","kind":"import-statement","external":true},{"path":"src/types.ts","kind":"import-statement","original":"./types"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/hooks.ts":{"bytes":2290,"imports":[{"path":"@rango-dev/queue-manager-react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"src/helpers.ts","kind":"import-statement","original":"./helpers"},{"path":"src/migration.ts","kind":"import-statement","original":"./migration"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/index.ts":{"bytes":1522,"imports":[{"path":"src/configs.ts","kind":"import-statement","original":"./configs"},{"path":"src/queueDef.ts","kind":"import-statement","original":"./queueDef"},{"path":"src/shared-errors.ts","kind":"import-statement","original":"./shared-errors"},{"path":"src/types.ts","kind":"import-statement","original":"./types"},{"path":"src/shared.ts","kind":"import-statement","original":"./shared"},{"path":"src/helpers.ts","kind":"import-statement","original":"./helpers"},{"path":"src/hooks.ts","kind":"import-statement","original":"./hooks"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"}},"outputs":{"dist/index.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":269320},"dist/index.js":{"imports":[{"path":"@rango-dev/wallets-shared","kind":"import-statement","external":true},{"path":"rango-types","kind":"import-statement","external":true},{"path":"ts-results","kind":"import-statement","external":true},{"path":"@rango-dev/logging-core","kind":"import-statement","external":true},{"path":"@rango-dev/queue-manager-core","kind":"import-statement","external":true},{"path":"@rango-dev/wallets-core/legacy","kind":"import-statement","external":true},{"path":"@rango-dev/wallets-shared","kind":"import-statement","external":true},{"path":"bignumber.js","kind":"import-statement","external":true},{"path":"rango-types","kind":"import-statement","external":true},{"path":"rango-types","kind":"import-statement","external":true},{"path":"ts-results","kind":"import-statement","external":true},{"path":"rango-sdk","kind":"import-statement","external":true},{"path":"bignumber.js","kind":"import-statement","external":true},{"path":"bignumber.js","kind":"import-statement","external":true},{"path":"rango-types","kind":"import-statement","external":true},{"path":"ts-results","kind":"import-statement","external":true},{"path":"@rango-dev/logging-core","kind":"import-statement","external":true},{"path":"rango-types","kind":"import-statement","external":true},{"path":"rango-types","kind":"import-statement","external":true},{"path":"ts-results","kind":"import-statement","external":true},{"path":"@rango-dev/wallets-core/legacy","kind":"import-statement","external":true},{"path":"@stellar/stellar-sdk","kind":"import-statement","external":true},{"path":"bignumber.js","kind":"import-statement","external":true},{"path":"rango-types","kind":"import-statement","external":true},{"path":"ts-results","kind":"import-statement","external":true},{"path":"rango-types","kind":"import-statement","external":true},{"path":"ts-results","kind":"import-statement","external":true},{"path":"@rango-dev/wallets-core/legacy","kind":"import-statement","external":true},{"path":"bignumber.js","kind":"import-statement","external":true},{"path":"rango-types","kind":"import-statement","external":true},{"path":"ts-results","kind":"import-statement","external":true},{"path":"rango-types","kind":"import-statement","external":true},{"path":"ts-results","kind":"import-statement","external":true},{"path":"xrpl","kind":"import-statement","external":true},{"path":"@rango-dev/logging-core","kind":"import-statement","external":true},{"path":"rango-types","kind":"import-statement","external":true},{"path":"ts-results","kind":"import-statement","external":true},{"path":"rango-types","kind":"import-statement","external":true},{"path":"ts-results","kind":"import-statement","external":true},{"path":"rango-types","kind":"import-statement","external":true},{"path":"ts-results","kind":"import-statement","external":true},{"path":"rango-types","kind":"import-statement","external":true},{"path":"ts-results","kind":"import-statement","external":true},{"path":"rango-types","kind":"import-statement","external":true},{"path":"ts-results","kind":"import-statement","external":true},{"path":"@rango-dev/queue-manager-react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@rango-dev/queue-manager-core","kind":"import-statement","external":true},{"path":"uuid","kind":"import-statement","external":true}],"exports":["EventSeverity","MessageSeverity","PrettyError","RouteEventType","StepEventType","StepExecutionBlockedEventStatus","StepExecutionEventStatus","WidgetEvents","calculatePendingSwap","cancelSwap","checkWaitingForNetworkChange","getCurrentNamespaceOfOrNull","getCurrentStep","getLastSuccessfulStep","getRelatedWallet","getRelatedWalletOrNull","getRequiredWallet","getRunningSwaps","getUsdPrice","isApprovalTX","makeQueueDefinition","prettifyErrorMessage","resetRunningSwapNotifsOnPageLoad","updateSwapStatus","useMigration","useQueueManager"],"entryPoint":"src/index.ts","inputs":{"src/env.ts":{"bytesInOutput":152},"src/configs.ts":{"bytesInOutput":127},"src/actions/checkPrerequisites/checkPrerequisites.ts":{"bytesInOutput":1134},"src/helpers.ts":{"bytesInOutput":16252},"src/actions/checkPrerequisites/utils.ts":{"bytesInOutput":1821},"src/types.ts":{"bytesInOutput":848},"src/constants.ts":{"bytesInOutput":430},"src/services/httpService.ts":{"bytesInOutput":118},"src/services/index.ts":{"bytesInOutput":0},"src/shared.ts":{"bytesInOutput":5688},"src/numbers.ts":{"bytesInOutput":689},"src/shared-errors.ts":{"bytesInOutput":2212},"src/services/eventEmitter.ts":{"bytesInOutput":3595},"src/actions/common/produceNextStateForTransaction.ts":{"bytesInOutput":1763},"src/actions/checkPrerequisites/index.ts":{"bytesInOutput":0},"src/actions/checkStatus.ts":{"bytesInOutput":6239},"src/actions/checkStellarTrustline/checkStellarTrustline.ts":{"bytesInOutput":1793},"src/actions/common/utils.ts":{"bytesInOutput":201},"src/actions/checkStellarTrustline/utils.ts":{"bytesInOutput":2057},"src/actions/checkStellarTrustline/constants.ts":{"bytesInOutput":30},"src/actions/checkStellarTrustline/index.ts":{"bytesInOutput":0},"src/actions/checkXrplTrustline/checkXrplTrustline.ts":{"bytesInOutput":1776},"src/actions/checkXrplTrustline/utils.ts":{"bytesInOutput":1665},"src/actions/checkXrplTrustline/constants.ts":{"bytesInOutput":24},"src/actions/checkXrplTrustline/index.ts":{"bytesInOutput":0},"src/actions/checkXrplTrustlineTransactionStatus/checkXrplTrustlineTransactionStatus.ts":{"bytesInOutput":1406},"src/actions/checkXrplTrustlineTransactionStatus/constants.ts":{"bytesInOutput":32},"src/actions/checkXrplTrustlineTransactionStatus/index.ts":{"bytesInOutput":0},"src/actions/createTransaction.ts":{"bytesInOutput":1035},"src/actions/executeStellarTransaction/executeStellarTransaction.ts":{"bytesInOutput":1135},"src/actions/executeStellarTransaction/helpers.ts":{"bytesInOutput":533},"src/actions/executeStellarTransaction/index.ts":{"bytesInOutput":0},"src/actions/common/checkEnvironmentBeforeExecuteTransaction.ts":{"bytesInOutput":1326},"src/actions/executeTransaction/executeTransaction.ts":{"bytesInOutput":553},"src/actions/executeTransaction/index.ts":{"bytesInOutput":0},"src/actions/executeXrplTransaction/executeXrplTransaction.ts":{"bytesInOutput":1163},"src/actions/executeXrplTransaction/helpers.ts":{"bytesInOutput":751},"src/actions/executeXrplTransaction/index.ts":{"bytesInOutput":0},"src/actions/scheduleNextStep.ts":{"bytesInOutput":805},"src/actions/start.ts":{"bytesInOutput":155},"src/queueDef.ts":{"bytesInOutput":516},"src/index.ts":{"bytesInOutput":59},"src/hooks.ts":{"bytesInOutput":652},"src/migration.ts":{"bytesInOutput":1138}},"bytes":60631}}}
|
|
1
|
+
{"inputs":{"src/env.ts":{"bytes":1074,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/configs.ts":{"bytes":733,"imports":[{"path":"src/env.ts","kind":"import-statement","original":"./env"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/types.ts":{"bytes":8061,"imports":[],"format":"esm"},"src/actions/checkPrerequisites/utils.ts":{"bytes":3605,"imports":[{"path":"rango-types","kind":"import-statement","external":true},{"path":"ts-results","kind":"import-statement","external":true},{"path":"src/types.ts","kind":"import-statement","original":"../../types"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/constants.ts":{"bytes":742,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/services/httpService.ts":{"bytes":284,"imports":[{"path":"rango-sdk","kind":"import-statement","external":true},{"path":"src/configs.ts","kind":"import-statement","original":"../configs"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/services/index.ts":{"bytes":45,"imports":[{"path":"src/services/httpService.ts","kind":"import-statement","original":"./httpService"}],"format":"esm"},"src/numbers.ts":{"bytes":1637,"imports":[{"path":"bignumber.js","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/shared-errors.ts":{"bytes":4547,"imports":[{"path":"rango-types","kind":"import-statement","external":true},{"path":"src/constants.ts","kind":"import-statement","original":"./constants"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/shared.ts":{"bytes":13034,"imports":[{"path":"bignumber.js","kind":"import-statement","external":true},{"path":"src/numbers.ts","kind":"import-statement","original":"./numbers"},{"path":"src/shared-errors.ts","kind":"import-statement","original":"./shared-errors"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/services/eventEmitter.ts":{"bytes":8276,"imports":[{"path":"src/configs.ts","kind":"import-statement","original":"../configs"},{"path":"src/helpers.ts","kind":"import-statement","original":"../helpers"},{"path":"src/shared.ts","kind":"import-statement","original":"../shared"},{"path":"src/types.ts","kind":"import-statement","original":"../types"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/helpers.ts":{"bytes":46981,"imports":[{"path":"@rango-dev/logging-core","kind":"import-statement","external":true},{"path":"@rango-dev/queue-manager-core","kind":"import-statement","external":true},{"path":"@rango-dev/wallets-core/legacy","kind":"import-statement","external":true},{"path":"@rango-dev/wallets-shared","kind":"import-statement","external":true},{"path":"bignumber.js","kind":"import-statement","external":true},{"path":"rango-types","kind":"import-statement","external":true},{"path":"src/actions/checkPrerequisites/utils.ts","kind":"import-statement","original":"./actions/checkPrerequisites/utils"},{"path":"src/constants.ts","kind":"import-statement","original":"./constants"},{"path":"src/services/index.ts","kind":"import-statement","original":"./services"},{"path":"src/services/eventEmitter.ts","kind":"import-statement","original":"./services/eventEmitter"},{"path":"src/shared.ts","kind":"import-statement","original":"./shared"},{"path":"src/shared-errors.ts","kind":"import-statement","original":"./shared-errors"},{"path":"src/types.ts","kind":"import-statement","original":"./types"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/actions/common/produceNextStateForTransaction.ts":{"bytes":4611,"imports":[{"path":"ts-results","kind":"import-statement","external":true},{"path":"src/constants.ts","kind":"import-statement","original":"../../constants"},{"path":"src/helpers.ts","kind":"import-statement","original":"../../helpers"},{"path":"src/services/eventEmitter.ts","kind":"import-statement","original":"../../services/eventEmitter"},{"path":"src/shared.ts","kind":"import-statement","original":"../../shared"},{"path":"src/types.ts","kind":"import-statement","original":"../../types"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/actions/checkPrerequisites/checkPrerequisites.ts":{"bytes":3276,"imports":[{"path":"@rango-dev/wallets-shared","kind":"import-statement","external":true},{"path":"rango-types","kind":"import-statement","external":true},{"path":"ts-results","kind":"import-statement","external":true},{"path":"src/helpers.ts","kind":"import-statement","original":"../../helpers"},{"path":"src/types.ts","kind":"import-statement","original":"../../types"},{"path":"src/actions/common/produceNextStateForTransaction.ts","kind":"import-statement","original":"../common/produceNextStateForTransaction"},{"path":"src/actions/checkPrerequisites/utils.ts","kind":"import-statement","original":"./utils"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/actions/checkPrerequisites/index.ts":{"bytes":59,"imports":[{"path":"src/actions/checkPrerequisites/checkPrerequisites.ts","kind":"import-statement","original":"./checkPrerequisites"}],"format":"esm"},"src/actions/checkStatus.ts":{"bytes":17008,"imports":[{"path":"@rango-dev/logging-core","kind":"import-statement","external":true},{"path":"rango-types","kind":"import-statement","external":true},{"path":"src/helpers.ts","kind":"import-statement","original":"../helpers"},{"path":"src/services/index.ts","kind":"import-statement","original":"../services"},{"path":"src/services/eventEmitter.ts","kind":"import-statement","original":"../services/eventEmitter"},{"path":"src/shared.ts","kind":"import-statement","original":"../shared"},{"path":"src/shared-errors.ts","kind":"import-statement","original":"../shared-errors"},{"path":"src/types.ts","kind":"import-statement","original":"../types"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/actions/common/utils.ts":{"bytes":645,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/actions/checkStellarTrustline/constants.ts":{"bytes":162,"imports":[],"format":"esm"},"src/actions/checkStellarTrustline/utils.ts":{"bytes":5737,"imports":[{"path":"@rango-dev/wallets-core/legacy","kind":"import-statement","external":true},{"path":"@stellar/stellar-sdk","kind":"import-statement","external":true},{"path":"bignumber.js","kind":"import-statement","external":true},{"path":"rango-types","kind":"import-statement","external":true},{"path":"ts-results","kind":"import-statement","external":true},{"path":"src/constants.ts","kind":"import-statement","original":"../../constants"},{"path":"src/types.ts","kind":"import-statement","original":"../../types"},{"path":"src/actions/checkStellarTrustline/constants.ts","kind":"import-statement","original":"./constants"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/actions/checkStellarTrustline/checkStellarTrustline.ts":{"bytes":6490,"imports":[{"path":"rango-types","kind":"import-statement","external":true},{"path":"ts-results","kind":"import-statement","external":true},{"path":"src/helpers.ts","kind":"import-statement","original":"../../helpers"},{"path":"src/types.ts","kind":"import-statement","original":"../../types"},{"path":"src/actions/common/produceNextStateForTransaction.ts","kind":"import-statement","original":"../common/produceNextStateForTransaction"},{"path":"src/actions/common/utils.ts","kind":"import-statement","original":"../common/utils"},{"path":"src/actions/checkStellarTrustline/utils.ts","kind":"import-statement","original":"./utils"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/actions/checkStellarTrustline/index.ts":{"bytes":200,"imports":[{"path":"src/actions/checkStellarTrustline/checkStellarTrustline.ts","kind":"import-statement","original":"./checkStellarTrustline.js"},{"path":"src/actions/checkStellarTrustline/utils.ts","kind":"import-statement","original":"./utils.js"}],"format":"esm"},"src/actions/checkXrplTrustline/constants.ts":{"bytes":59,"imports":[],"format":"esm"},"src/actions/checkXrplTrustline/utils.ts":{"bytes":4694,"imports":[{"path":"@rango-dev/wallets-core/legacy","kind":"import-statement","external":true},{"path":"bignumber.js","kind":"import-statement","external":true},{"path":"rango-types","kind":"import-statement","external":true},{"path":"ts-results","kind":"import-statement","external":true},{"path":"src/constants.ts","kind":"import-statement","original":"../../constants"},{"path":"src/types.ts","kind":"import-statement","original":"../../types"},{"path":"src/actions/checkXrplTrustline/constants.ts","kind":"import-statement","original":"./constants"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/actions/checkXrplTrustline/checkXrplTrustline.ts":{"bytes":6317,"imports":[{"path":"rango-types","kind":"import-statement","external":true},{"path":"ts-results","kind":"import-statement","external":true},{"path":"src/helpers.ts","kind":"import-statement","original":"../../helpers"},{"path":"src/types.ts","kind":"import-statement","original":"../../types"},{"path":"src/actions/common/produceNextStateForTransaction.ts","kind":"import-statement","original":"../common/produceNextStateForTransaction"},{"path":"src/actions/common/utils.ts","kind":"import-statement","original":"../common/utils"},{"path":"src/actions/checkXrplTrustline/utils.ts","kind":"import-statement","original":"./utils"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/actions/checkXrplTrustline/index.ts":{"bytes":185,"imports":[{"path":"src/actions/checkXrplTrustline/checkXrplTrustline.ts","kind":"import-statement","original":"./checkXrplTrustline.js"},{"path":"src/actions/checkXrplTrustline/utils.ts","kind":"import-statement","original":"./utils.js"}],"format":"esm"},"src/actions/checkXrplTrustlineTransactionStatus/constants.ts":{"bytes":135,"imports":[],"format":"esm"},"src/actions/checkXrplTrustlineTransactionStatus/checkXrplTrustlineTransactionStatus.ts":{"bytes":4462,"imports":[{"path":"rango-types","kind":"import-statement","external":true},{"path":"ts-results","kind":"import-statement","external":true},{"path":"xrpl","kind":"import-statement","external":true},{"path":"src/helpers.ts","kind":"import-statement","original":"../../helpers"},{"path":"src/types.ts","kind":"import-statement","original":"../../types"},{"path":"src/actions/common/produceNextStateForTransaction.ts","kind":"import-statement","original":"../common/produceNextStateForTransaction"},{"path":"src/actions/checkXrplTrustlineTransactionStatus/constants.ts","kind":"import-statement","original":"./constants"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/actions/checkXrplTrustlineTransactionStatus/index.ts":{"bytes":93,"imports":[{"path":"src/actions/checkXrplTrustlineTransactionStatus/checkXrplTrustlineTransactionStatus.ts","kind":"import-statement","original":"./checkXrplTrustlineTransactionStatus"}],"format":"esm"},"src/actions/createTransaction.ts":{"bytes":3220,"imports":[{"path":"@rango-dev/logging-core","kind":"import-statement","external":true},{"path":"src/helpers.ts","kind":"import-statement","original":"../helpers"},{"path":"src/services/index.ts","kind":"import-statement","original":"../services"},{"path":"src/services/eventEmitter.ts","kind":"import-statement","original":"../services/eventEmitter"},{"path":"src/shared-errors.ts","kind":"import-statement","original":"../shared-errors"},{"path":"src/types.ts","kind":"import-statement","original":"../types"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/actions/executeStellarTransaction/helpers.ts":{"bytes":1354,"imports":[{"path":"rango-types","kind":"import-statement","external":true},{"path":"ts-results","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/actions/executeStellarTransaction/executeStellarTransaction.ts":{"bytes":4201,"imports":[{"path":"rango-types","kind":"import-statement","external":true},{"path":"ts-results","kind":"import-statement","external":true},{"path":"src/helpers.ts","kind":"import-statement","original":"../../helpers"},{"path":"src/shared.ts","kind":"import-statement","original":"../../shared"},{"path":"src/actions/checkStellarTrustline/index.ts","kind":"import-statement","original":"../checkStellarTrustline"},{"path":"src/actions/common/produceNextStateForTransaction.ts","kind":"import-statement","original":"../common/produceNextStateForTransaction"},{"path":"src/actions/common/utils.ts","kind":"import-statement","original":"../common/utils"},{"path":"src/actions/executeStellarTransaction/helpers.ts","kind":"import-statement","original":"./helpers"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/actions/executeStellarTransaction/index.ts":{"bytes":76,"imports":[{"path":"src/actions/executeStellarTransaction/executeStellarTransaction.ts","kind":"import-statement","original":"./executeStellarTransaction.js"}],"format":"esm"},"src/actions/common/checkEnvironmentBeforeExecuteTransaction.ts":{"bytes":4946,"imports":[{"path":"rango-types","kind":"import-statement","external":true},{"path":"ts-results","kind":"import-statement","external":true},{"path":"src/constants.ts","kind":"import-statement","original":"../../constants"},{"path":"src/helpers.ts","kind":"import-statement","original":"../../helpers"},{"path":"src/shared.ts","kind":"import-statement","original":"../../shared"},{"path":"src/types.ts","kind":"import-statement","original":"../../types"},{"path":"src/actions/common/utils.ts","kind":"import-statement","original":"./utils"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/actions/executeTransaction/executeTransaction.ts":{"bytes":3262,"imports":[{"path":"src/helpers.ts","kind":"import-statement","original":"../../helpers"},{"path":"src/shared.ts","kind":"import-statement","original":"../../shared"},{"path":"src/actions/common/checkEnvironmentBeforeExecuteTransaction.ts","kind":"import-statement","original":"../common/checkEnvironmentBeforeExecuteTransaction"},{"path":"src/actions/common/produceNextStateForTransaction.ts","kind":"import-statement","original":"../common/produceNextStateForTransaction"},{"path":"src/actions/common/utils.ts","kind":"import-statement","original":"../common/utils"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/actions/executeTransaction/index.ts":{"bytes":62,"imports":[{"path":"src/actions/executeTransaction/executeTransaction.ts","kind":"import-statement","original":"./executeTransaction.js"}],"format":"esm"},"src/actions/executeXrplTransaction/helpers.ts":{"bytes":1650,"imports":[{"path":"rango-types","kind":"import-statement","external":true},{"path":"ts-results","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/actions/executeXrplTransaction/executeXrplTransaction.ts":{"bytes":4151,"imports":[{"path":"rango-types","kind":"import-statement","external":true},{"path":"ts-results","kind":"import-statement","external":true},{"path":"src/helpers.ts","kind":"import-statement","original":"../../helpers"},{"path":"src/shared.ts","kind":"import-statement","original":"../../shared"},{"path":"src/actions/checkXrplTrustline/index.ts","kind":"import-statement","original":"../checkXrplTrustline"},{"path":"src/actions/common/produceNextStateForTransaction.ts","kind":"import-statement","original":"../common/produceNextStateForTransaction"},{"path":"src/actions/common/utils.ts","kind":"import-statement","original":"../common/utils"},{"path":"src/actions/executeXrplTransaction/helpers.ts","kind":"import-statement","original":"./helpers"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/actions/executeXrplTransaction/index.ts":{"bytes":70,"imports":[{"path":"src/actions/executeXrplTransaction/executeXrplTransaction.ts","kind":"import-statement","original":"./executeXrplTransaction.js"}],"format":"esm"},"src/actions/scheduleNextStep.ts":{"bytes":2759,"imports":[{"path":"rango-types","kind":"import-statement","external":true},{"path":"src/helpers.ts","kind":"import-statement","original":"../helpers"},{"path":"src/services/eventEmitter.ts","kind":"import-statement","original":"../services/eventEmitter"},{"path":"src/types.ts","kind":"import-statement","original":"../types"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/actions/start.ts":{"bytes":484,"imports":[{"path":"@rango-dev/queue-manager-core","kind":"import-statement","external":true},{"path":"src/types.ts","kind":"import-statement","original":"../types"},{"path":"src/services/eventEmitter.ts","kind":"import-statement","original":"../services/eventEmitter"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/queueDef.ts":{"bytes":2472,"imports":[{"path":"src/actions/checkPrerequisites/index.ts","kind":"import-statement","original":"./actions/checkPrerequisites"},{"path":"src/actions/checkStatus.ts","kind":"import-statement","original":"./actions/checkStatus"},{"path":"src/actions/checkStellarTrustline/index.ts","kind":"import-statement","original":"./actions/checkStellarTrustline"},{"path":"src/actions/checkXrplTrustline/index.ts","kind":"import-statement","original":"./actions/checkXrplTrustline"},{"path":"src/actions/checkXrplTrustlineTransactionStatus/index.ts","kind":"import-statement","original":"./actions/checkXrplTrustlineTransactionStatus"},{"path":"src/actions/createTransaction.ts","kind":"import-statement","original":"./actions/createTransaction"},{"path":"src/actions/executeStellarTransaction/index.ts","kind":"import-statement","original":"./actions/executeStellarTransaction"},{"path":"src/actions/executeTransaction/index.ts","kind":"import-statement","original":"./actions/executeTransaction"},{"path":"src/actions/executeXrplTransaction/index.ts","kind":"import-statement","original":"./actions/executeXrplTransaction"},{"path":"src/actions/scheduleNextStep.ts","kind":"import-statement","original":"./actions/scheduleNextStep"},{"path":"src/actions/start.ts","kind":"import-statement","original":"./actions/start"},{"path":"src/helpers.ts","kind":"import-statement","original":"./helpers"},{"path":"src/types.ts","kind":"import-statement","original":"./types"}],"format":"esm"},"src/migration.ts":{"bytes":3321,"imports":[{"path":"@rango-dev/queue-manager-core","kind":"import-statement","external":true},{"path":"uuid","kind":"import-statement","external":true},{"path":"src/types.ts","kind":"import-statement","original":"./types"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/hooks.ts":{"bytes":2290,"imports":[{"path":"@rango-dev/queue-manager-react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"src/helpers.ts","kind":"import-statement","original":"./helpers"},{"path":"src/migration.ts","kind":"import-statement","original":"./migration"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/index.ts":{"bytes":1522,"imports":[{"path":"src/configs.ts","kind":"import-statement","original":"./configs"},{"path":"src/queueDef.ts","kind":"import-statement","original":"./queueDef"},{"path":"src/shared-errors.ts","kind":"import-statement","original":"./shared-errors"},{"path":"src/types.ts","kind":"import-statement","original":"./types"},{"path":"src/shared.ts","kind":"import-statement","original":"./shared"},{"path":"src/helpers.ts","kind":"import-statement","original":"./helpers"},{"path":"src/hooks.ts","kind":"import-statement","original":"./hooks"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"}},"outputs":{"dist/index.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":268768},"dist/index.js":{"imports":[{"path":"@rango-dev/wallets-shared","kind":"import-statement","external":true},{"path":"rango-types","kind":"import-statement","external":true},{"path":"ts-results","kind":"import-statement","external":true},{"path":"@rango-dev/logging-core","kind":"import-statement","external":true},{"path":"@rango-dev/queue-manager-core","kind":"import-statement","external":true},{"path":"@rango-dev/wallets-core/legacy","kind":"import-statement","external":true},{"path":"@rango-dev/wallets-shared","kind":"import-statement","external":true},{"path":"bignumber.js","kind":"import-statement","external":true},{"path":"rango-types","kind":"import-statement","external":true},{"path":"rango-types","kind":"import-statement","external":true},{"path":"ts-results","kind":"import-statement","external":true},{"path":"rango-sdk","kind":"import-statement","external":true},{"path":"bignumber.js","kind":"import-statement","external":true},{"path":"bignumber.js","kind":"import-statement","external":true},{"path":"rango-types","kind":"import-statement","external":true},{"path":"ts-results","kind":"import-statement","external":true},{"path":"@rango-dev/logging-core","kind":"import-statement","external":true},{"path":"rango-types","kind":"import-statement","external":true},{"path":"rango-types","kind":"import-statement","external":true},{"path":"ts-results","kind":"import-statement","external":true},{"path":"@rango-dev/wallets-core/legacy","kind":"import-statement","external":true},{"path":"@stellar/stellar-sdk","kind":"import-statement","external":true},{"path":"bignumber.js","kind":"import-statement","external":true},{"path":"rango-types","kind":"import-statement","external":true},{"path":"ts-results","kind":"import-statement","external":true},{"path":"rango-types","kind":"import-statement","external":true},{"path":"ts-results","kind":"import-statement","external":true},{"path":"@rango-dev/wallets-core/legacy","kind":"import-statement","external":true},{"path":"bignumber.js","kind":"import-statement","external":true},{"path":"rango-types","kind":"import-statement","external":true},{"path":"ts-results","kind":"import-statement","external":true},{"path":"rango-types","kind":"import-statement","external":true},{"path":"ts-results","kind":"import-statement","external":true},{"path":"xrpl","kind":"import-statement","external":true},{"path":"@rango-dev/logging-core","kind":"import-statement","external":true},{"path":"rango-types","kind":"import-statement","external":true},{"path":"ts-results","kind":"import-statement","external":true},{"path":"rango-types","kind":"import-statement","external":true},{"path":"ts-results","kind":"import-statement","external":true},{"path":"rango-types","kind":"import-statement","external":true},{"path":"ts-results","kind":"import-statement","external":true},{"path":"rango-types","kind":"import-statement","external":true},{"path":"ts-results","kind":"import-statement","external":true},{"path":"rango-types","kind":"import-statement","external":true},{"path":"ts-results","kind":"import-statement","external":true},{"path":"@rango-dev/queue-manager-react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@rango-dev/queue-manager-core","kind":"import-statement","external":true},{"path":"uuid","kind":"import-statement","external":true}],"exports":["EventSeverity","MessageSeverity","PrettyError","RouteEventType","StepEventType","StepExecutionBlockedEventStatus","StepExecutionEventStatus","WidgetEvents","calculatePendingSwap","cancelSwap","checkWaitingForNetworkChange","getCurrentNamespaceOfOrNull","getCurrentStep","getLastSuccessfulStep","getRelatedWallet","getRelatedWalletOrNull","getRequiredWallet","getRunningSwaps","getUsdPrice","isApprovalTX","makeQueueDefinition","prettifyErrorMessage","resetRunningSwapNotifsOnPageLoad","updateSwapStatus","useMigration","useQueueManager"],"entryPoint":"src/index.ts","inputs":{"src/env.ts":{"bytesInOutput":152},"src/configs.ts":{"bytesInOutput":127},"src/actions/checkPrerequisites/checkPrerequisites.ts":{"bytesInOutput":1134},"src/helpers.ts":{"bytesInOutput":16217},"src/actions/checkPrerequisites/utils.ts":{"bytesInOutput":1821},"src/types.ts":{"bytesInOutput":848},"src/constants.ts":{"bytesInOutput":430},"src/services/httpService.ts":{"bytesInOutput":118},"src/services/index.ts":{"bytesInOutput":0},"src/shared.ts":{"bytesInOutput":5564},"src/numbers.ts":{"bytesInOutput":689},"src/shared-errors.ts":{"bytesInOutput":2212},"src/services/eventEmitter.ts":{"bytesInOutput":3595},"src/actions/common/produceNextStateForTransaction.ts":{"bytesInOutput":1763},"src/actions/checkPrerequisites/index.ts":{"bytesInOutput":0},"src/actions/checkStatus.ts":{"bytesInOutput":6239},"src/actions/checkStellarTrustline/checkStellarTrustline.ts":{"bytesInOutput":1793},"src/actions/common/utils.ts":{"bytesInOutput":201},"src/actions/checkStellarTrustline/utils.ts":{"bytesInOutput":2057},"src/actions/checkStellarTrustline/constants.ts":{"bytesInOutput":30},"src/actions/checkStellarTrustline/index.ts":{"bytesInOutput":0},"src/actions/checkXrplTrustline/checkXrplTrustline.ts":{"bytesInOutput":1776},"src/actions/checkXrplTrustline/utils.ts":{"bytesInOutput":1665},"src/actions/checkXrplTrustline/constants.ts":{"bytesInOutput":24},"src/actions/checkXrplTrustline/index.ts":{"bytesInOutput":0},"src/actions/checkXrplTrustlineTransactionStatus/checkXrplTrustlineTransactionStatus.ts":{"bytesInOutput":1406},"src/actions/checkXrplTrustlineTransactionStatus/constants.ts":{"bytesInOutput":32},"src/actions/checkXrplTrustlineTransactionStatus/index.ts":{"bytesInOutput":0},"src/actions/createTransaction.ts":{"bytesInOutput":1035},"src/actions/executeStellarTransaction/executeStellarTransaction.ts":{"bytesInOutput":1135},"src/actions/executeStellarTransaction/helpers.ts":{"bytesInOutput":533},"src/actions/executeStellarTransaction/index.ts":{"bytesInOutput":0},"src/actions/common/checkEnvironmentBeforeExecuteTransaction.ts":{"bytesInOutput":1326},"src/actions/executeTransaction/executeTransaction.ts":{"bytesInOutput":553},"src/actions/executeTransaction/index.ts":{"bytesInOutput":0},"src/actions/executeXrplTransaction/executeXrplTransaction.ts":{"bytesInOutput":1163},"src/actions/executeXrplTransaction/helpers.ts":{"bytesInOutput":751},"src/actions/executeXrplTransaction/index.ts":{"bytesInOutput":0},"src/actions/scheduleNextStep.ts":{"bytesInOutput":805},"src/actions/start.ts":{"bytesInOutput":155},"src/queueDef.ts":{"bytesInOutput":516},"src/index.ts":{"bytesInOutput":59},"src/hooks.ts":{"bytesInOutput":652},"src/migration.ts":{"bytesInOutput":1138}},"bytes":60472}}}
|
package/dist/shared.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../src/shared.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,2CAA2C,CAAC;AAC1F,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACrE,OAAO,KAAK,EACV,cAAc,EACd,oBAAoB,EACpB,YAAY,EACZ,UAAU,EACV,KAAK,EACN,MAAM,WAAW,CAAC;AACnB,OAAO,KAAK,EACV,WAAW,EACX,eAAe,EACf,iBAAiB,EAEjB,oBAAoB,EACrB,MAAM,aAAa,CAAC;AAErB,OAAO,SAAS,MAAM,cAAc,CAAC;AAKrC,MAAM,WAAW,sBAAsB;IACrC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,WAAW,CAAC;CACnB;AAED,MAAM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Y,EAAE,aAAa,GAAG,QAAQ,CAAC,GAAG,IAAI,CAAC;IAC1D,QAAQ,CAAC,EAAE,MAAM,GAAG,QAAQ,CAAC;CAC9B,GAAG,WAAW,CAsFd"}
|
package/package.json
CHANGED
package/src/helpers.ts
CHANGED
|
@@ -167,7 +167,6 @@ export const getCurrentStepTx = (
|
|
|
167
167
|
const {
|
|
168
168
|
evmTransaction,
|
|
169
169
|
evmApprovalTransaction,
|
|
170
|
-
cosmosTransaction,
|
|
171
170
|
solanaTransaction,
|
|
172
171
|
transferTransaction,
|
|
173
172
|
starknetApprovalTransaction,
|
|
@@ -182,7 +181,6 @@ export const getCurrentStepTx = (
|
|
|
182
181
|
return (
|
|
183
182
|
evmTransaction ||
|
|
184
183
|
evmApprovalTransaction ||
|
|
185
|
-
cosmosTransaction ||
|
|
186
184
|
solanaTransaction ||
|
|
187
185
|
transferTransaction ||
|
|
188
186
|
starknetApprovalTransaction ||
|
|
@@ -243,8 +241,7 @@ export const setCurrentStepTx = (
|
|
|
243
241
|
}
|
|
244
242
|
break;
|
|
245
243
|
case TransactionType.COSMOS:
|
|
246
|
-
|
|
247
|
-
break;
|
|
244
|
+
throw new Error('Cosmos transactions are no longer supported.');
|
|
248
245
|
case TransactionType.SOLANA:
|
|
249
246
|
currentStep.solanaTransaction = transaction;
|
|
250
247
|
break;
|
|
@@ -784,7 +781,6 @@ export const isTxAlreadyCreated = (
|
|
|
784
781
|
swap.wallets[step.tronApprovalTransaction?.blockChain || ''] ||
|
|
785
782
|
swap.wallets[step.starknetTransaction?.blockChain || ''] ||
|
|
786
783
|
swap.wallets[step.starknetApprovalTransaction?.blockChain || ''] ||
|
|
787
|
-
swap.wallets[step.cosmosTransaction?.blockChain || ''] ||
|
|
788
784
|
swap.wallets[step.solanaTransaction?.blockChain || ''] ||
|
|
789
785
|
swap.wallets[step.tonTransaction?.blockChain || ''] ||
|
|
790
786
|
swap.wallets[step.suiTransaction?.blockChain || ''] ||
|
package/src/shared.ts
CHANGED
|
@@ -114,7 +114,6 @@ export const getCurrentNamespaceOf = (
|
|
|
114
114
|
const tronNetwork =
|
|
115
115
|
step.tronTransaction?.blockChain ||
|
|
116
116
|
step.tronApprovalTransaction?.blockChain;
|
|
117
|
-
const cosmosNetwork = step.cosmosTransaction?.blockChain;
|
|
118
117
|
const solanaNetwork = step.solanaTransaction?.blockChain;
|
|
119
118
|
const tonNetwork = step.tonTransaction?.blockChain;
|
|
120
119
|
const suiNetwork = step.suiTransaction?.blockChain;
|
|
@@ -136,11 +135,6 @@ export const getCurrentNamespaceOf = (
|
|
|
136
135
|
namespace: 'Tron',
|
|
137
136
|
network: tronNetwork,
|
|
138
137
|
};
|
|
139
|
-
} else if (cosmosNetwork) {
|
|
140
|
-
return {
|
|
141
|
-
namespace: 'Cosmos',
|
|
142
|
-
network: cosmosNetwork,
|
|
143
|
-
};
|
|
144
138
|
} else if (solanaNetwork) {
|
|
145
139
|
return {
|
|
146
140
|
namespace: 'Solana',
|
|
@@ -240,7 +234,6 @@ export const getCurrentWalletTypeAndAddress = (
|
|
|
240
234
|
swap.wallets[step.tronApprovalTransaction?.blockChain || ''] ||
|
|
241
235
|
swap.wallets[step.starknetTransaction?.blockChain || ''] ||
|
|
242
236
|
swap.wallets[step.starknetApprovalTransaction?.blockChain || ''] ||
|
|
243
|
-
swap.wallets[step.cosmosTransaction?.blockChain || ''] ||
|
|
244
237
|
swap.wallets[step.solanaTransaction?.blockChain || ''] ||
|
|
245
238
|
swap.wallets[step.tonTransaction?.blockChain || ''] ||
|
|
246
239
|
swap.wallets[step.suiTransaction?.blockChain || ''] ||
|