@iotexproject/kit 0.2.8 → 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 +8 -0
  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;
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.8",
5
+ "version": "0.2.9",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
8
8
  "scripts": {