@rabby-wallet/rabby-swap 0.0.14 → 0.0.15
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/dist/dexs/paraswap.js +1 -0
- package/package.json +1 -1
- package/src/dexs/paraswap.ts +2 -0
package/dist/dexs/paraswap.js
CHANGED
|
@@ -68,6 +68,7 @@ export const getQuote = (options) => __awaiter(void 0, void 0, void 0, function*
|
|
|
68
68
|
userAddress: options.userAddress,
|
|
69
69
|
network: chainId,
|
|
70
70
|
includeContractMethods: "simpleSwap,multiSwap,megaSwap",
|
|
71
|
+
excludeDEXS: 'ParaSwapPool,ParaSwapLimitOrders',
|
|
71
72
|
partner: "Rabby",
|
|
72
73
|
});
|
|
73
74
|
const params = {
|
package/package.json
CHANGED
package/src/dexs/paraswap.ts
CHANGED
|
@@ -56,6 +56,7 @@ interface PriceParams {
|
|
|
56
56
|
network: number;
|
|
57
57
|
includeContractMethods: string;
|
|
58
58
|
partner: string;
|
|
59
|
+
excludeDEXS: string;
|
|
59
60
|
}
|
|
60
61
|
|
|
61
62
|
interface PriceResponse {
|
|
@@ -127,6 +128,7 @@ export const getQuote = async (options: QuoteParams): Promise<QuoteResult> => {
|
|
|
127
128
|
userAddress: options.userAddress,
|
|
128
129
|
network: chainId,
|
|
129
130
|
includeContractMethods: "simpleSwap,multiSwap,megaSwap",
|
|
131
|
+
excludeDEXS: 'ParaSwapPool,ParaSwapLimitOrders',
|
|
130
132
|
partner: "Rabby",
|
|
131
133
|
});
|
|
132
134
|
|