@iotexproject/kit 0.1.33 → 0.1.34
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 +5 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2573,7 +2573,9 @@ export type ProjectMetadata = {
|
|
|
2573
2573
|
website?: string;
|
|
2574
2574
|
desc?: string;
|
|
2575
2575
|
github?: string;
|
|
2576
|
-
|
|
2576
|
+
name?: string;
|
|
2577
|
+
version?: string;
|
|
2578
|
+
url?: string;
|
|
2577
2579
|
};
|
|
2578
2580
|
declare class GaugeEntity {
|
|
2579
2581
|
address: `0x${string}`;
|
|
@@ -4112,7 +4114,7 @@ declare class VerifyingProxyEntity {
|
|
|
4112
4114
|
verifier: () => Promise<any>;
|
|
4113
4115
|
deviceGauge: GaugeEntity;
|
|
4114
4116
|
projectDeviceAllowance(): Promise<number | null>;
|
|
4115
|
-
projectMetadata(name: string): Promise<ProjectMetadata | null>;
|
|
4117
|
+
projectMetadata(name: string, projectId: string): Promise<ProjectMetadata | null>;
|
|
4116
4118
|
projectAppliedAmount(): Promise<string>;
|
|
4117
4119
|
projectActivedAmount(): Promise<string>;
|
|
4118
4120
|
ioIDStore(): Promise<"" | `0x${string}`>;
|
|
@@ -4244,6 +4246,7 @@ declare class IoID {
|
|
|
4244
4246
|
get_project_metadata(args: {
|
|
4245
4247
|
address: `0x${string}`;
|
|
4246
4248
|
keys: string[];
|
|
4249
|
+
projectId: string;
|
|
4247
4250
|
}, ctx?: ConfigContext): Promise<{
|
|
4248
4251
|
address: `0x${string}`;
|
|
4249
4252
|
data: Record<string, any>;
|