rubic-sdk 4.47.2 → 4.47.3

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.
@@ -194201,15 +194201,9 @@ class CrossChainStatusManager {
194201
194201
  * @returns Cross-chain transaction status and hash.
194202
194202
  */
194203
194203
  async getLifiDstSwapStatus(data) {
194204
- if (!data.lifiBridgeType) {
194205
- return {
194206
- status: tx_status_1.TX_STATUS.PENDING,
194207
- hash: null
194208
- };
194209
- }
194210
194204
  try {
194211
194205
  const params = {
194212
- bridge: data.lifiBridgeType,
194206
+ ...(data.lifiBridgeType && { bridge: data.lifiBridgeType }),
194213
194207
  fromChain: blockchain_id_1.blockchainId[data.fromBlockchain],
194214
194208
  toChain: blockchain_id_1.blockchainId[data.toBlockchain],
194215
194209
  txHash: data.srcTxHash