@uniswap/router-sdk 2.0.3 → 2.0.4

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.
@@ -4,6 +4,7 @@ import { MixedRouteSDK } from '../entities/mixedRoute/route';
4
4
  * Converts a route to a hex encoded path
5
5
  * @notice only supports exactIn route encodings
6
6
  * @param route the mixed path to convert to an encoded path
7
+ * @param useMixedRouterQuoteV2 if true, uses the Mixed Quoter V2 encoding for v4 pools. By default, we do not set it. This is only used in SOR for explicit setting during onchain quoting.
7
8
  * @returns the exactIn encoded path
8
9
  */
9
- export declare function encodeMixedRouteToPath(route: MixedRouteSDK<Currency, Currency>): string;
10
+ export declare function encodeMixedRouteToPath(route: MixedRouteSDK<Currency, Currency>, useMixedRouterQuoteV2?: boolean): string;
package/package.json CHANGED
@@ -70,5 +70,5 @@
70
70
  ]
71
71
  ]
72
72
  },
73
- "version": "2.0.3"
73
+ "version": "2.0.4"
74
74
  }