@rabby-wallet/rabby-api 0.9.26 → 0.9.27-beta.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
@@ -1223,5 +1223,12 @@ export declare class OpenApiService {
1223
1223
  }>;
1224
1224
  getCexSupportList: () => Promise<ProjectItem[]>;
1225
1225
  getAppChainList: (id: string) => Promise<AppChainListResponse>;
1226
+ checkCex: (postData: {
1227
+ chain_id: string;
1228
+ id: string;
1229
+ cex_id: string;
1230
+ }) => Promise<{
1231
+ success: boolean;
1232
+ }>;
1226
1233
  }
1227
1234
  export {};
package/dist/index.js CHANGED
@@ -1589,6 +1589,10 @@ export class OpenApiService {
1589
1589
  });
1590
1590
  return data;
1591
1591
  });
1592
+ this.checkCex = (postData) => __awaiter(this, void 0, void 0, function* () {
1593
+ const { data } = yield this.request.post('/v1/token/check_cex', postData);
1594
+ return data;
1595
+ });
1592
1596
  if (store instanceof Promise) {
1593
1597
  store.then((resolvedStore) => {
1594
1598
  this.store = resolvedStore;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rabby-wallet/rabby-api",
3
- "version": "0.9.26",
3
+ "version": "0.9.27-beta.0",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [