@rabby-wallet/rabby-bridge 0.0.7 → 0.0.8-alpha.0

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/quote.d.ts CHANGED
@@ -8,6 +8,7 @@ export interface BridgeQuoteListParams {
8
8
  toChainId: string;
9
9
  toTokenId: string;
10
10
  slippage?: string;
11
+ feeRate?: number;
11
12
  }
12
13
  export interface BridgeBuildTxParams extends BridgeQuoteListParams {
13
14
  bridgeId: string;
package/dist/quote.js CHANGED
@@ -84,6 +84,7 @@ export const getQuote = async (aggregatorId, params, api) => {
84
84
  from_token_raw_amount: params.fromTokenRawAmount,
85
85
  to_chain_id: params.toChainId,
86
86
  to_token_id: params.toTokenId,
87
+ fee_rate: params.feeRate,
87
88
  };
88
89
  const quotes = api.getBridgeQuoteListV2
89
90
  ? await api.getBridgeQuoteListV2(baseParams)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rabby-wallet/rabby-bridge",
3
- "version": "0.0.7",
3
+ "version": "0.0.8-alpha.0",
4
4
  "description": "Bridge quote helpers and contract allowlists for Rabby",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",