@synthra-swap/smart-order-router 3.15.8 → 3.15.10

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.
@@ -20,8 +20,8 @@ export function buildTrade(tokenInCurrency, tokenOutCurrency, tradeType, routeAm
20
20
  console.log("route", route);
21
21
  console.log("amount", amount);
22
22
  console.log("quote", quote);
23
- console.log("instance OF ROUTE.POOLS", route.pools.constructor.name);
24
- console.log("TYPE OF NEEDED are same", route.pools instanceof Pool);
23
+ console.log("instance OF ROUTE.POOLS", route.pools[0].constructor.name);
24
+ console.log("TYPE OF NEEDED are same", route.pools[0] instanceof Pool);
25
25
  // The route, amount and quote are all in terms of wrapped tokens.
26
26
  // When constructing the Trade object the inputAmount/outputAmount must
27
27
  // use native currencies if specified by the user. This is so that the Trade knows to wrap/unwrap.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synthra-swap/smart-order-router",
3
- "version": "3.15.8",
3
+ "version": "3.15.10",
4
4
  "description": "Uniswap Smart Order Router",
5
5
  "main": "build/main/index.js",
6
6
  "typings": "build/main/index.d.ts",
@@ -27,9 +27,9 @@
27
27
  "node": ">=10"
28
28
  },
29
29
  "dependencies": {
30
- "@synthra-swap/sdk-core": "^4.2.1",
31
- "@synthra-swap/universal-router-sdk": "^1.9.2",
32
- "@synthra-swap/v3-sdk": "^3.11.0",
30
+ "@synthra-swap/sdk-core": "^4.2.2",
31
+ "@synthra-swap/universal-router-sdk": "^1.9.4",
32
+ "@synthra-swap/v3-sdk": "^3.11.2",
33
33
  "@uniswap/default-token-list": "^11.2.0",
34
34
  "@uniswap/permit2-sdk": "^1.2.0",
35
35
  "@uniswap/router-sdk": "1.6.0",
@@ -116,4 +116,4 @@
116
116
  "oclif": {
117
117
  "commands": "./cli/commands"
118
118
  }
119
- }
119
+ }