@iotexproject/kit 0.2.7 → 0.2.9

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 +10 -2
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -6902,6 +6902,8 @@ export interface Bucket {
6902
6902
  stakeStartBlockHeight: bigint;
6903
6903
  unstakeStartBlockHeight: bigint;
6904
6904
  isSelfStakingBucket: boolean;
6905
+ endorsementExpireBlockHeight: bigint;
6906
+ endorsementExpireTime: bigint;
6905
6907
  }
6906
6908
  declare class Staking {
6907
6909
  compositeBucketsByVoter(args: {
@@ -6970,6 +6972,12 @@ declare class Staking {
6970
6972
  bucketIndex: string;
6971
6973
  endorse: boolean;
6972
6974
  }, ctx?: ConfigContext): Promise<any>;
6975
+ intentToRevokeEndorsement(args: {
6976
+ bucketIndex: string;
6977
+ }, ctx?: ConfigContext): Promise<any>;
6978
+ revokeEndorsement(args: {
6979
+ bucketIndex: string;
6980
+ }, ctx?: ConfigContext): Promise<any>;
6973
6981
  nftV2StakingConfig(args?: any, ctx?: ConfigContext): Promise<{
6974
6982
  min_amount: any;
6975
6983
  max_duration: any;
@@ -9312,8 +9320,8 @@ export type CandidateProfile = {
9312
9320
  tech_setup: string;
9313
9321
  community_plan: string;
9314
9322
  reward_plan: string;
9315
- created_at: Date;
9316
- updated_at: Date;
9323
+ created_at: string;
9324
+ updated_at: string;
9317
9325
  temp_eth_address: string;
9318
9326
  id: number;
9319
9327
  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.7",
5
+ "version": "0.2.9",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
8
8
  "scripts": {