@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.
- package/dist/index.d.ts +10 -10
- 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({
|
|
9368
|
-
|
|
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,
|
|
9381
|
+
getProductivityHistory({ startDate, endDate, candidate }: {
|
|
9382
9382
|
startDate?: string;
|
|
9383
9383
|
endDate: string;
|
|
9384
|
-
|
|
9384
|
+
candidate: string;
|
|
9385
9385
|
}): Promise<import("postgres").RowList<ProductivityHistory[]>>;
|
|
9386
|
-
getProbationHistory({ startDate, endDate,
|
|
9386
|
+
getProbationHistory({ startDate, endDate, candidate }: {
|
|
9387
9387
|
startDate: string;
|
|
9388
9388
|
endDate: string;
|
|
9389
|
-
|
|
9389
|
+
candidate: string;
|
|
9390
9390
|
}): Promise<import("postgres").RowList<ProbationHistory[]>>;
|
|
9391
9391
|
getDelegateLatestVersion(): Promise<NodeVersion>;
|
|
9392
|
-
getDelegateRewards({
|
|
9393
|
-
|
|
9392
|
+
getDelegateRewards({ candidate }: {
|
|
9393
|
+
candidate: string;
|
|
9394
9394
|
}): Promise<DelegateRewards>;
|
|
9395
|
-
getDelegateRewardsHistory({ startDate, endDate,
|
|
9395
|
+
getDelegateRewardsHistory({ startDate, endDate, candidate }: {
|
|
9396
9396
|
startDate: string;
|
|
9397
9397
|
endDate: string;
|
|
9398
|
-
|
|
9398
|
+
candidate: string;
|
|
9399
9399
|
}): Promise<import("postgres").RowList<DelegateRewardsHistory[]>>;
|
|
9400
9400
|
getDelegateMembers({ candidate_meta_id }: {
|
|
9401
9401
|
candidate_meta_id: number;
|