@rabby-wallet/rabby-swap 0.0.5 → 0.0.6

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.
@@ -78,6 +78,7 @@ export const getQuote = (options) => __awaiter(void 0, void 0, void 0, function*
78
78
  userAddress: options.userAddress,
79
79
  slippage: Math.floor(options.slippage * 100),
80
80
  priceRoute: priceRoute,
81
+ partner: 'Rabby',
81
82
  };
82
83
  if (options.feeRate) {
83
84
  params.partnerFeeBps = (options.feeRate * 100).toString();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rabby-wallet/rabby-swap",
3
- "version": "0.0.5",
3
+ "version": "0.0.6",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -92,6 +92,7 @@ interface SwapParams {
92
92
  userAddress: string;
93
93
  srcAmount: string;
94
94
  priceRoute: PriceRoute;
95
+ partner: string;
95
96
  }
96
97
 
97
98
  const getPriceRoute = async (params: PriceParams): Promise<PriceResponse> => {
@@ -138,6 +139,7 @@ export const getQuote = async (options: QuoteParams): Promise<QuoteResult> => {
138
139
  userAddress: options.userAddress,
139
140
  slippage: Math.floor(options.slippage * 100),
140
141
  priceRoute: priceRoute,
142
+ partner: 'Rabby',
141
143
  };
142
144
 
143
145
  if (options.feeRate) {