@iotexproject/kit 0.1.98 → 0.1.99

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 -10
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -9364,8 +9364,8 @@ declare class Delegate$1 extends BaseDBModule {
9364
9364
  upsertCandidateProfile(args: ProfileMeta): Promise<{
9365
9365
  id: number;
9366
9366
  } | null>;
9367
- getCandidateByAddress({ delegate }: {
9368
- delegate: string;
9367
+ getCandidateByAddress({ address }: {
9368
+ address: string;
9369
9369
  }): Promise<CandidateProfile>;
9370
9370
  upsertCandidateSecret(args: Candidate$1): Promise<{
9371
9371
  success: boolean;
@@ -9378,24 +9378,24 @@ declare class Delegate$1 extends BaseDBModule {
9378
9378
  }): Promise<{
9379
9379
  block_height: string;
9380
9380
  }>;
9381
- getProductivityHistory({ startDate, endDate, delegate }: {
9381
+ getProductivityHistory({ startDate, endDate, candidate }: {
9382
9382
  startDate?: string;
9383
9383
  endDate: string;
9384
- delegate: string;
9384
+ candidate: string;
9385
9385
  }): Promise<import("postgres").RowList<ProductivityHistory[]>>;
9386
- getProbationHistory({ startDate, endDate, delegate }: {
9386
+ getProbationHistory({ startDate, endDate, candidate }: {
9387
9387
  startDate: string;
9388
9388
  endDate: string;
9389
- delegate: string;
9389
+ candidate: string;
9390
9390
  }): Promise<import("postgres").RowList<ProbationHistory[]>>;
9391
9391
  getDelegateLatestVersion(): Promise<NodeVersion>;
9392
- getDelegateRewards({ delegate }: {
9393
- delegate: string;
9392
+ getDelegateRewards({ candidate }: {
9393
+ candidate: string;
9394
9394
  }): Promise<DelegateRewards>;
9395
- getDelegateRewardsHistory({ startDate, endDate, delegate }: {
9395
+ getDelegateRewardsHistory({ startDate, endDate, candidate }: {
9396
9396
  startDate: string;
9397
9397
  endDate: string;
9398
- delegate: string;
9398
+ candidate: string;
9399
9399
  }): Promise<import("postgres").RowList<DelegateRewardsHistory[]>>;
9400
9400
  getDelegateMembers({ candidate_meta_id }: {
9401
9401
  candidate_meta_id: 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.1.98",
5
+ "version": "0.1.99",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
8
8
  "scripts": {