From 430c70144a58d3d55d9d261739f3a7c526ee16c8 Mon Sep 17 00:00:00 2001 From: Velenir Date: Thu, 24 Oct 2024 16:49:15 +0200 Subject: [PATCH 1/2] getRate(options: {excludeRFQ}) --- src/methods/swap/rates.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/methods/swap/rates.ts b/src/methods/swap/rates.ts index 623ca4c6..d321404b 100644 --- a/src/methods/swap/rates.ts +++ b/src/methods/swap/rates.ts @@ -137,6 +137,10 @@ type RateQueryParams = { * @description If tokens USD prices are not available, `Bad USD Price` error will be thrown. Use this param to skip this check. Default: `false`. */ ignoreBadUsdPrice?: boolean; + /** + * @description Exclude all RFQs from pricing, e.g.: AugustusRFQ, Hashflow. Default: false + */ + excludeRFQ?: boolean; }; // more details in the docs https://developers.paraswap.network/api/get-rate-for-a-token-pair#query-parameters @@ -154,6 +158,8 @@ export type RateOptions = { otherExchangePrices?: boolean; /** @description proceed with priceRoute building even when tokens don't have USD price. Default: false */ ignoreBadUsdPrice?: boolean; + /** @description Exclude all RFQs from pricing, e.g.: AugustusRFQ, Hashflow. Default: false */ + excludeRFQ?: boolean; /** @description Specify that methods without fee support should be excluded from the price route. Default: false */ excludeContractMethodsWithoutFeeModel?: boolean; /** @description If the source token is a tax token, you should specify the tax amount in BPS. */ From a3413329b7e4a6aa1e836d70394946eec8fdd7cf Mon Sep 17 00:00:00 2001 From: Velenir Date: Thu, 24 Oct 2024 17:01:51 +0200 Subject: [PATCH 2/2] Release 6.12.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 5b782175..1628b5fc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@paraswap/sdk", - "version": "6.11.0", + "version": "6.12.0", "main": "dist/index.js", "module": "dist/sdk.esm.js", "typings": "dist/index.d.ts",