@iotexproject/kit 0.2.8 → 0.2.10

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 -0
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -6902,6 +6902,7 @@ export interface Bucket {
6902
6902
  stakeStartBlockHeight: bigint;
6903
6903
  unstakeStartBlockHeight: bigint;
6904
6904
  isSelfStakingBucket: boolean;
6905
+ endorsementExpireBlockHeight: bigint;
6905
6906
  }
6906
6907
  declare class Staking {
6907
6908
  compositeBucketsByVoter(args: {
@@ -6970,6 +6971,12 @@ declare class Staking {
6970
6971
  bucketIndex: string;
6971
6972
  endorse: boolean;
6972
6973
  }, ctx?: ConfigContext): Promise<any>;
6974
+ intentToRevokeEndorsement(args: {
6975
+ bucketIndex: string;
6976
+ }, ctx?: ConfigContext): Promise<any>;
6977
+ revokeEndorsement(args: {
6978
+ bucketIndex: string;
6979
+ }, ctx?: ConfigContext): Promise<any>;
6973
6980
  nftV2StakingConfig(args?: any, ctx?: ConfigContext): Promise<{
6974
6981
  min_amount: any;
6975
6982
  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.10",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
8
8
  "scripts": {