@rabby-wallet/rabby-api 0.9.68 → 0.9.69-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/index.d.ts CHANGED
@@ -982,6 +982,11 @@ export declare class OpenApiService {
982
982
  history_list: BridgeHistory[];
983
983
  total_cnt: number;
984
984
  }>;
985
+ getBridgeHistoryListByTxIds: (params: {
986
+ from_tx_ids: string[];
987
+ }) => Promise<{
988
+ history_list: BridgeHistory[];
989
+ }>;
985
990
  buildBridgeTx: (params: {
986
991
  aggregator_id: string;
987
992
  bridge_id: string;
package/dist/index.js CHANGED
@@ -1372,6 +1372,10 @@ export class OpenApiService {
1372
1372
  });
1373
1373
  return data;
1374
1374
  });
1375
+ this.getBridgeHistoryListByTxIds = (params) => __awaiter(this, void 0, void 0, function* () {
1376
+ const { data } = yield this.request.post('/v1/bridge/history_list_by_tx_ids', params);
1377
+ return data;
1378
+ });
1375
1379
  this.buildBridgeTx = (params) => __awaiter(this, void 0, void 0, function* () {
1376
1380
  const { data } = yield this.request.get('/v2/bridge/build_tx', {
1377
1381
  params,
package/dist/types.d.ts CHANGED
@@ -1507,6 +1507,9 @@ export interface BridgeHistory {
1507
1507
  create_at: number;
1508
1508
  from_tx: {
1509
1509
  tx_id: string;
1510
+ chain_id: string;
1511
+ status: 'pending' | 'success' | 'failed';
1512
+ time_at?: number;
1510
1513
  };
1511
1514
  to_tx: {
1512
1515
  tx_id?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rabby-wallet/rabby-api",
3
- "version": "0.9.68",
3
+ "version": "0.9.69-alpha.0",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [