@rabby-wallet/rabby-api 0.9.12-alpha.2 → 0.9.12-alpha.3

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
@@ -881,8 +881,12 @@ export declare class OpenApiService {
881
881
  }) => Promise<{
882
882
  account: GasAccountInfo;
883
883
  }>;
884
+ createGasAccountPayInfo: (postData: {
885
+ id: string;
886
+ }) => Promise<{
887
+ account: GasAccountInfo;
888
+ }>;
884
889
  confirmIapOrder: (postData: {
885
- user_id: string;
886
890
  transaction_id: string;
887
891
  device_type: 'android' | 'ios';
888
892
  product_id: string;
package/dist/index.js CHANGED
@@ -1254,6 +1254,10 @@ export class OpenApiService {
1254
1254
  });
1255
1255
  return data;
1256
1256
  });
1257
+ this.createGasAccountPayInfo = (postData) => __awaiter(this, void 0, void 0, function* () {
1258
+ const { data } = yield this.request.post('/v2/gas_account/pay_info', postData);
1259
+ return data;
1260
+ });
1257
1261
  this.confirmIapOrder = (postData) => __awaiter(this, void 0, void 0, function* () {
1258
1262
  const { data } = yield this.request.post('/v1/gas_account/confirm_iap_order', postData);
1259
1263
  return data;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rabby-wallet/rabby-api",
3
- "version": "0.9.12-alpha.2",
3
+ "version": "0.9.12-alpha.3",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [