@rabby-wallet/rabby-api 0.7.34 → 0.7.35

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/index.d.ts CHANGED
@@ -783,6 +783,15 @@ export declare class OpenApiService {
783
783
  to_chain_id: string;
784
784
  to_token_id: string;
785
785
  }) => Promise<Omit<BridgeQuote, 'tx'>[]>;
786
+ getBridgeQuoteListV2: (params: {
787
+ aggregator_id: string;
788
+ user_addr: string;
789
+ from_chain_id: string;
790
+ from_token_id: string;
791
+ from_token_raw_amount: string;
792
+ to_chain_id: string;
793
+ to_token_id: string;
794
+ }) => Promise<Omit<BridgeQuote, 'tx'>[]>;
786
795
  getBridgeQuote: (params: {
787
796
  aggregator_id: string;
788
797
  bridge_id: string;
package/dist/index.js CHANGED
@@ -1152,6 +1152,12 @@ export class OpenApiService {
1152
1152
  });
1153
1153
  return data;
1154
1154
  });
1155
+ this.getBridgeQuoteListV2 = (params) => __awaiter(this, void 0, void 0, function* () {
1156
+ const { data } = yield this.request.get('/v2/bridge/quote_list', {
1157
+ params,
1158
+ });
1159
+ return data;
1160
+ });
1155
1161
  this.getBridgeQuote = (params) => __awaiter(this, void 0, void 0, function* () {
1156
1162
  const { data } = yield this.request.get('/v1/bridge/quote', {
1157
1163
  params,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rabby-wallet/rabby-api",
3
- "version": "0.7.34",
3
+ "version": "0.7.35",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [