@iotexproject/kit 0.1.17 → 0.1.19

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +37 -1
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -2559,11 +2559,12 @@ export interface IoIDDevice {
2559
2559
  } | null;
2560
2560
  }
2561
2561
  export type ProjectMetadata = {
2562
- logo: string;
2562
+ logo?: string;
2563
2563
  twitter?: string;
2564
2564
  website?: string;
2565
2565
  desc?: string;
2566
2566
  github?: string;
2567
+ metadata?: any;
2567
2568
  };
2568
2569
  declare class GaugeEntity {
2569
2570
  address: `0x${string}`;
@@ -8301,6 +8302,38 @@ declare class Health {
8301
8302
  message: string;
8302
8303
  };
8303
8304
  }
8305
+ declare class PointsPlatform {
8306
+ userPoints(args: {
8307
+ user: string;
8308
+ }): Promise<{
8309
+ selfPoints: any;
8310
+ selfRank: any;
8311
+ dailyPoints: any;
8312
+ error?: undefined;
8313
+ } | {
8314
+ error: unknown;
8315
+ selfPoints?: undefined;
8316
+ selfRank?: undefined;
8317
+ dailyPoints?: undefined;
8318
+ }>;
8319
+ usersRank(args: {
8320
+ page: number;
8321
+ limit: number;
8322
+ }): Promise<{
8323
+ data: any;
8324
+ error?: undefined;
8325
+ } | {
8326
+ error: unknown;
8327
+ data?: undefined;
8328
+ }>;
8329
+ protocolsRank(): Promise<{
8330
+ data: any;
8331
+ error?: undefined;
8332
+ } | {
8333
+ error: unknown;
8334
+ data?: undefined;
8335
+ }>;
8336
+ }
8304
8337
  declare const modules: {
8305
8338
  mimo: Mimo;
8306
8339
  staking: Staking;
@@ -8310,6 +8343,7 @@ declare const modules: {
8310
8343
  utils: utils;
8311
8344
  hub: UseHub;
8312
8345
  health: Health;
8346
+ points: PointsPlatform;
8313
8347
  };
8314
8348
  export type ModuleType = typeof modules;
8315
8349
  declare class ClickHouseSDK {
@@ -8605,9 +8639,11 @@ declare class Ioid {
8605
8639
  error: any;
8606
8640
  ok?: undefined;
8607
8641
  hash?: undefined;
8642
+ cid?: undefined;
8608
8643
  } | {
8609
8644
  ok: boolean;
8610
8645
  hash: `0x${string}`;
8646
+ cid: string;
8611
8647
  error?: undefined;
8612
8648
  }>;
8613
8649
  verifier(args: {
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@iotexproject/kit",
3
3
  "module": "index.ts",
4
4
  "type": "module",
5
- "version": "v0.1.17",
5
+ "version": "v0.1.19",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
8
8
  "scripts": {