@iotexproject/kit 0.2.9 → 0.2.11

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 +3 -1
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -6903,7 +6903,6 @@ export interface Bucket {
6903
6903
  unstakeStartBlockHeight: bigint;
6904
6904
  isSelfStakingBucket: boolean;
6905
6905
  endorsementExpireBlockHeight: bigint;
6906
- endorsementExpireTime: bigint;
6907
6906
  }
6908
6907
  declare class Staking {
6909
6908
  compositeBucketsByVoter(args: {
@@ -7057,6 +7056,9 @@ declare class Staking {
7057
7056
  getDelegateByAddress(args: {
7058
7057
  ownerAddress: `0x${string}` | `io${string}`;
7059
7058
  }, ctx?: ConfigContext): Promise<CandidateV4>;
7059
+ getDelegateByName(args: {
7060
+ delegateName: string;
7061
+ }, ctx?: ConfigContext): Promise<CandidateV4>;
7060
7062
  upsertRewardDistribution(args: {
7061
7063
  foundationRewardPortion: number;
7062
7064
  epochRewardPortion: number;
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.9",
5
+ "version": "0.2.11",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
8
8
  "scripts": {