@iotexproject/kit 0.0.83 → 0.0.84

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 +7 -19
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -3487,7 +3487,7 @@ declare class GaugeEntity {
3487
3487
  };
3488
3488
  rewardsUSD: string;
3489
3489
  }>;
3490
- dailyRewrads(account: `0x${string}`): Promise<{
3490
+ userDailyRewards(account: `0x${string}`): Promise<{
3491
3491
  rewards: {
3492
3492
  value: string;
3493
3493
  format: string;
@@ -3496,29 +3496,16 @@ declare class GaugeEntity {
3496
3496
  isZero: boolean;
3497
3497
  };
3498
3498
  rewardsUSD: string;
3499
- gaugeDailyRewards?: undefined;
3500
- gaugeDailyRewardsUSD?: undefined;
3501
- userDailyRewards?: undefined;
3502
- userDailyRewardsUSD?: undefined;
3503
- } | {
3504
- gaugeDailyRewards: {
3505
- value: string;
3506
- format: string;
3507
- originFormat: string;
3508
- decimals: string;
3509
- isZero: boolean;
3510
- };
3511
- gaugeDailyRewardsUSD: string;
3512
- userDailyRewards: {
3499
+ }>;
3500
+ gaugeDailyRewards(): Promise<{
3501
+ rewards: {
3513
3502
  value: string;
3514
3503
  format: string;
3515
3504
  originFormat: string;
3516
3505
  decimals: string;
3517
3506
  isZero: boolean;
3518
3507
  };
3519
- userDailyRewardsUSD: string;
3520
- rewards?: undefined;
3521
- rewardsUSD?: undefined;
3508
+ rewardsUSD: string;
3522
3509
  }>;
3523
3510
  votes(account: `0x${string}`): Promise<{
3524
3511
  votes: string;
@@ -5423,9 +5410,10 @@ declare class MarshallDao {
5423
5410
  rewards: false | [
5424
5411
  `0x${string}`
5425
5412
  ];
5426
- dailyRewrads: false | [
5413
+ userDailyRewards: false | [
5427
5414
  `0x${string}`
5428
5415
  ];
5416
+ gaugeDailyRewards: true;
5429
5417
  gaugeCurrentRewards: true;
5430
5418
  balanceOf: false | [
5431
5419
  `0x${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.83",
5
+ "version": "v0.0.84",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
8
8
  "scripts": {