@iotexproject/kit 0.2.3 → 0.2.5

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 +17 -3
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -7056,9 +7056,9 @@ declare class Staking {
7056
7056
  getRewardDistribution(args: {
7057
7057
  ownerAddress: `0x${string}` | `io${string}`;
7058
7058
  }, ctx?: ConfigContext): Promise<{
7059
- foundationRewardPortion: any;
7060
- epochRewardPortion: any;
7061
- blockRewardPortion: any;
7059
+ foundationRewardPortion: number;
7060
+ epochRewardPortion: number;
7061
+ blockRewardPortion: number;
7062
7062
  } | null>;
7063
7063
  candidateUpdate({ name, operatorAddress, rewardAddress }: {
7064
7064
  name: string;
@@ -9473,6 +9473,20 @@ declare class Delegate$1 extends BaseDBModule {
9473
9473
  status: string;
9474
9474
  data: MyProfileListItem[];
9475
9475
  }>;
9476
+ updateDelegateBanner({ banner_url, temp_eth_address }: {
9477
+ banner_url: string;
9478
+ temp_eth_address: string;
9479
+ }): Promise<{
9480
+ status: string;
9481
+ data: null;
9482
+ }>;
9483
+ updateDelegateLogo({ logo, temp_eth_address }: {
9484
+ logo: string;
9485
+ temp_eth_address: string;
9486
+ }): Promise<{
9487
+ status: string;
9488
+ data: null;
9489
+ }>;
9476
9490
  }
9477
9491
  declare const modules$1: {
9478
9492
  account: Account;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@iotexproject/kit",
3
3
  "module": "index.ts",
4
4
  "type": "module",
5
- "version": "0.2.3",
5
+ "version": "0.2.5",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
8
8
  "scripts": {