@rabby-wallet/rabby-api 0.7.1 → 0.7.2

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
@@ -409,6 +409,9 @@ export declare class OpenApiService {
409
409
  getDappsInfo: (params: {
410
410
  ids: string[];
411
411
  }) => Promise<BasicDappInfo[]>;
412
+ getDappHotTags: (params?: {
413
+ limit: number;
414
+ }) => Promise<string[]>;
412
415
  getHotDapps: (params?: {
413
416
  limit: number;
414
417
  }) => Promise<BasicDappInfo[]>;
package/dist/index.js CHANGED
@@ -819,6 +819,12 @@ export class OpenApiService {
819
819
  });
820
820
  return data;
821
821
  });
822
+ this.getDappHotTags = (params) => __awaiter(this, void 0, void 0, function* () {
823
+ const { data } = yield this.request.get('/v1/dapp/hot_tags', {
824
+ params,
825
+ });
826
+ return data;
827
+ });
822
828
  this.getHotDapps = (params) => __awaiter(this, void 0, void 0, function* () {
823
829
  const { data } = yield this.request.get('/v1/dapp/hot_list', { params });
824
830
  return data;
package/dist/types.d.ts CHANGED
@@ -1117,5 +1117,9 @@ export interface BasicDappInfo {
1117
1117
  user_range: string;
1118
1118
  tags: string[];
1119
1119
  chain_ids: string[];
1120
+ collected_list?: {
1121
+ name: string;
1122
+ logo_url: string;
1123
+ }[];
1120
1124
  }
1121
1125
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rabby-wallet/rabby-api",
3
- "version": "0.7.1",
3
+ "version": "0.7.2",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [