@iotexproject/kit 0.1.42 → 0.1.43
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 +17 -13
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -4114,6 +4114,7 @@ declare class VerifyingProxyEntity {
|
|
|
4114
4114
|
verifier: () => Promise<any>;
|
|
4115
4115
|
deviceGauge: GaugeEntity;
|
|
4116
4116
|
projectDeviceAllowance(): Promise<number | null>;
|
|
4117
|
+
projectInvalidDevice(): Promise<number | null>;
|
|
4117
4118
|
projectMetadata(name: string, projectId: string): Promise<ProjectMetadata | null>;
|
|
4118
4119
|
projectAppliedAmount(): Promise<string>;
|
|
4119
4120
|
projectActivedAmount(): Promise<string>;
|
|
@@ -4150,6 +4151,7 @@ declare class IoID {
|
|
|
4150
4151
|
projectType: true;
|
|
4151
4152
|
deviceNFT: true;
|
|
4152
4153
|
projectDeviceAllowance: true;
|
|
4154
|
+
projectInvalidDevice: true;
|
|
4153
4155
|
verifier: true;
|
|
4154
4156
|
deviceGauge: {
|
|
4155
4157
|
address: true;
|
|
@@ -9437,22 +9439,16 @@ declare class LearnToEarn extends BaseDBModule {
|
|
|
9437
9439
|
}): Promise<{
|
|
9438
9440
|
ok: boolean;
|
|
9439
9441
|
message: string;
|
|
9440
|
-
data: null;
|
|
9441
|
-
msg?: undefined;
|
|
9442
|
-
} | {
|
|
9443
|
-
ok: boolean;
|
|
9444
|
-
msg: string;
|
|
9445
|
-
message?: undefined;
|
|
9446
9442
|
data?: undefined;
|
|
9447
9443
|
} | {
|
|
9448
9444
|
data: import("postgres").RowList<import("postgres").Row[]>;
|
|
9449
9445
|
ok: boolean;
|
|
9450
|
-
message
|
|
9451
|
-
msg?: undefined;
|
|
9446
|
+
message?: undefined;
|
|
9452
9447
|
}>;
|
|
9453
|
-
reply({
|
|
9454
|
-
|
|
9448
|
+
reply({ post_id, ids, answers }: {
|
|
9449
|
+
post_id: string;
|
|
9455
9450
|
ids: number[];
|
|
9451
|
+
answers: string[];
|
|
9456
9452
|
}, ctx?: {
|
|
9457
9453
|
authData?: {
|
|
9458
9454
|
app_id: string;
|
|
@@ -9460,14 +9456,22 @@ declare class LearnToEarn extends BaseDBModule {
|
|
|
9460
9456
|
}): Promise<{
|
|
9461
9457
|
ok: boolean;
|
|
9462
9458
|
message: string;
|
|
9463
|
-
data: null;
|
|
9464
9459
|
msg?: undefined;
|
|
9460
|
+
isCorrect?: undefined;
|
|
9461
|
+
wrongIds?: undefined;
|
|
9465
9462
|
} | {
|
|
9466
9463
|
ok: boolean;
|
|
9467
9464
|
msg: string;
|
|
9468
9465
|
message?: undefined;
|
|
9469
|
-
|
|
9470
|
-
|
|
9466
|
+
isCorrect?: undefined;
|
|
9467
|
+
wrongIds?: undefined;
|
|
9468
|
+
} | {
|
|
9469
|
+
isCorrect: boolean;
|
|
9470
|
+
wrongIds: number[];
|
|
9471
|
+
ok: boolean;
|
|
9472
|
+
message?: undefined;
|
|
9473
|
+
msg?: undefined;
|
|
9474
|
+
}>;
|
|
9471
9475
|
}
|
|
9472
9476
|
declare const modules$1: {
|
|
9473
9477
|
account: Account;
|