@rabby-wallet/rabby-swap 0.0.8 → 0.0.9

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.
@@ -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
+ partner: "Rabby",
71
72
  });
72
73
  const params = {
73
74
  srcToken: options.fromToken === CHAINS[options.chain].nativeTokenAddress
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rabby-wallet/rabby-swap",
3
- "version": "0.0.8",
3
+ "version": "0.0.9",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -55,6 +55,7 @@ interface PriceParams {
55
55
  userAddress: string;
56
56
  network: number;
57
57
  includeContractMethods: string;
58
+ partner: string;
58
59
  }
59
60
 
60
61
  interface PriceResponse {
@@ -126,6 +127,7 @@ export const getQuote = async (options: QuoteParams): Promise<QuoteResult> => {
126
127
  userAddress: options.userAddress,
127
128
  network: chainId,
128
129
  includeContractMethods: "simpleSwap,multiSwap,megaSwap",
130
+ partner: "Rabby",
129
131
  });
130
132
 
131
133
  const params: SwapParams = {