@rabby-wallet/rabby-api 0.9.58 → 0.9.59-beta.1

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
@@ -1105,6 +1105,7 @@ export declare class OpenApiService {
1105
1105
  from_token_amount: number;
1106
1106
  from_usd_value: number;
1107
1107
  tx_id: string;
1108
+ scene: 'in_tx_flow' | 'recharge';
1108
1109
  }) => Promise<GasAccountBridgeCreateResponse>;
1109
1110
  getGasAccountBridgeStatus: (params: {
1110
1111
  from_chain_id: string;
package/dist/index.js CHANGED
@@ -1490,9 +1490,7 @@ export class OpenApiService {
1490
1490
  return data;
1491
1491
  });
1492
1492
  this.getGasAccountBridgeStatus = (params) => __awaiter(this, void 0, void 0, function* () {
1493
- const { data } = yield this.request.get('/v1/gas_account/recharge/status', {
1494
- params,
1495
- });
1493
+ const { data } = yield this.request.post('/v1/gas_account/recharge/status', params);
1496
1494
  return data;
1497
1495
  });
1498
1496
  this.rechargeGasAccount = (p) => __awaiter(this, void 0, void 0, function* () {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rabby-wallet/rabby-api",
3
- "version": "0.9.58",
3
+ "version": "0.9.59-beta.1",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [