@iotexproject/kit 0.0.39 → 0.0.41

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 +11 -1
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -1046,7 +1046,17 @@ declare class IncentivesEntity {
1046
1046
  gauge: () => Promise<any>;
1047
1047
  voter: () => Promise<any>;
1048
1048
  earned: (_account: `0x${string}`, _token: `0x${string}`) => Promise<any>;
1049
- allRewards(account: `0x${string}`): Promise<any[]>;
1049
+ allRewards(account: `0x${string}`): Promise<{
1050
+ address: string;
1051
+ name: string;
1052
+ symbol: string;
1053
+ tokenUrl: string;
1054
+ rewards: {
1055
+ format: string;
1056
+ value: string;
1057
+ };
1058
+ rewardsUSD: string;
1059
+ }[]>;
1050
1060
  rewards(token: `0x${string}`, account: `0x${string}`): Promise<{
1051
1061
  value: string;
1052
1062
  format: string;
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.0.39",
5
+ "version": "v0.0.41",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
8
8
  "scripts": {