@silentswap/sdk 0.1.77 → 0.1.78

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.
Files changed (2) hide show
  1. package/dist/bridge.js +2 -0
  2. package/package.json +1 -1
package/dist/bridge.js CHANGED
@@ -399,10 +399,12 @@ async function fetchDebridgeSingleChainOrder(params, signal) {
399
399
  estimation: {
400
400
  protocolFeeUsd,
401
401
  srcChainTokenIn: {
402
+ chainId: params.srcChainId,
402
403
  amount: data.tokenIn?.amount || '',
403
404
  approximateUsdValue: data.tokenIn?.approximateUsdValue || 0,
404
405
  },
405
406
  dstChainTokenOut: {
407
+ chainId: params.dstChainId,
406
408
  amount: data.tokenOut?.amount || '',
407
409
  approximateUsdValue: data.tokenOut?.approximateUsdValue || 0,
408
410
  },
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@silentswap/sdk",
3
3
  "type": "module",
4
- "version": "0.1.77",
4
+ "version": "0.1.78",
5
5
  "license": "MIT",
6
6
  "sideEffects": false,
7
7
  "main": "dist/index.js",