@xchainjs/xchain-thorchain-query 0.4.7 → 0.4.8

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/lib/index.esm.js CHANGED
@@ -1430,6 +1430,7 @@ class ThorchainQuery {
1430
1430
  outboundDelayBlocks: 0,
1431
1431
  streamingSlipBasisPoints: 0,
1432
1432
  streamingSwapBlocks: 0,
1433
+ streamingSwapSeconds: 0,
1433
1434
  totalSwapSeconds: 0,
1434
1435
  warning: '',
1435
1436
  },
@@ -1457,7 +1458,7 @@ class ThorchainQuery {
1457
1458
  },
1458
1459
  slipBasisPoints: swapQuote.slippage_bps,
1459
1460
  netOutput: new CryptoAmount(baseAmount(swapQuote.expected_amount_out), destinationAsset),
1460
- netOutputStreaming: new CryptoAmount(baseAmount(swapQuote.expected_amount_out), destinationAsset),
1461
+ netOutputStreaming: new CryptoAmount(baseAmount(swapQuote.expected_amount_out_streaming), destinationAsset),
1461
1462
  outboundDelaySeconds: swapQuote.outbound_delay_seconds,
1462
1463
  inboundConfirmationSeconds: swapQuote.inbound_confirmation_seconds,
1463
1464
  recommendedMinAmountIn: swapQuote.recommended_min_amount_in,
@@ -1465,6 +1466,7 @@ class ThorchainQuery {
1465
1466
  outboundDelayBlocks: swapQuote.outbound_delay_blocks,
1466
1467
  streamingSlipBasisPoints: swapQuote.streaming_slippage_bps,
1467
1468
  streamingSwapBlocks: swapQuote.streaming_swap_blocks ? swapQuote.streaming_swap_blocks : 0,
1469
+ streamingSwapSeconds: swapQuote.streaming_swap_seconds ? swapQuote.streaming_swap_seconds : 0,
1468
1470
  totalSwapSeconds: swapQuote.total_swap_seconds ? swapQuote.total_swap_seconds : 0,
1469
1471
  canSwap: !swapQuote.memo || errors.length > 0 ? false : true,
1470
1472
  errors,