@iotexproject/kit 0.2.6 → 0.2.8

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 +6 -6
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -6865,8 +6865,9 @@ export interface Candidate {
6865
6865
  selfStakeBucketIdx: bigint;
6866
6866
  selfStakingTokens: bigint;
6867
6867
  }
6868
- export interface CandidateV3 extends Candidate {
6868
+ export interface CandidateV4 extends Candidate {
6869
6869
  id: string;
6870
+ blsPubKey: string;
6870
6871
  }
6871
6872
  export interface CompositeBucket {
6872
6873
  index: bigint;
@@ -7047,7 +7048,7 @@ declare class Staking {
7047
7048
  }>;
7048
7049
  getDelegateByAddress(args: {
7049
7050
  ownerAddress: `0x${string}` | `io${string}`;
7050
- }, ctx?: ConfigContext): Promise<CandidateV3>;
7051
+ }, ctx?: ConfigContext): Promise<CandidateV4>;
7051
7052
  upsertRewardDistribution(args: {
7052
7053
  foundationRewardPortion: number;
7053
7054
  epochRewardPortion: number;
@@ -8681,7 +8682,6 @@ declare class Delegate {
8681
8682
  operatorAddress: string;
8682
8683
  rewardAddress: string;
8683
8684
  ownerAddress: string;
8684
- amount: string;
8685
8685
  duration: string;
8686
8686
  autoStake: boolean;
8687
8687
  blsPubKey: string;
@@ -8695,7 +8695,7 @@ declare class Delegate {
8695
8695
  name: string;
8696
8696
  operatorAddress: string;
8697
8697
  rewardAddress: string;
8698
- blsPubKey?: string;
8698
+ blsPubKey: string;
8699
8699
  }, ctx?: ConfigContext): Promise<any>;
8700
8700
  }
8701
8701
  declare const modules: {
@@ -9312,8 +9312,8 @@ export type CandidateProfile = {
9312
9312
  tech_setup: string;
9313
9313
  community_plan: string;
9314
9314
  reward_plan: string;
9315
- created_at: Date;
9316
- updated_at: Date;
9315
+ created_at: string;
9316
+ updated_at: string;
9317
9317
  temp_eth_address: string;
9318
9318
  id: number;
9319
9319
  reward_distribution_details: 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": "0.2.6",
5
+ "version": "0.2.8",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
8
8
  "scripts": {