@iotexproject/kit 0.0.98 → 0.0.100
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 +13 -10
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -8310,15 +8310,6 @@ declare class Health {
|
|
|
8310
8310
|
message: string;
|
|
8311
8311
|
};
|
|
8312
8312
|
}
|
|
8313
|
-
declare class Resource {
|
|
8314
|
-
getComponent({ id }: {
|
|
8315
|
-
id: "banner-latest";
|
|
8316
|
-
}): Promise<{
|
|
8317
|
-
id: "banner-latest";
|
|
8318
|
-
fullScreenData: string;
|
|
8319
|
-
mobileData: string;
|
|
8320
|
-
}>;
|
|
8321
|
-
}
|
|
8322
8313
|
declare const modules: {
|
|
8323
8314
|
mimo: Mimo;
|
|
8324
8315
|
staking: Staking;
|
|
@@ -8328,7 +8319,6 @@ declare const modules: {
|
|
|
8328
8319
|
utils: utils;
|
|
8329
8320
|
hub: UseHub;
|
|
8330
8321
|
health: Health;
|
|
8331
|
-
resource: Resource;
|
|
8332
8322
|
};
|
|
8333
8323
|
export type ModuleType = typeof modules;
|
|
8334
8324
|
declare class ClickHouseSDK {
|
|
@@ -8478,6 +8468,18 @@ declare class Contract extends BaseDBModule {
|
|
|
8478
8468
|
address: string;
|
|
8479
8469
|
}): Promise<number>;
|
|
8480
8470
|
}
|
|
8471
|
+
export type ComponentType = "banner-latest" | "iotex-hub";
|
|
8472
|
+
export interface ComponentData {
|
|
8473
|
+
id: ComponentType;
|
|
8474
|
+
fullScreenData: string;
|
|
8475
|
+
mobileData?: string;
|
|
8476
|
+
}
|
|
8477
|
+
declare class Resource {
|
|
8478
|
+
getComponent({ id, mobile }: {
|
|
8479
|
+
id: ComponentType;
|
|
8480
|
+
mobile?: boolean;
|
|
8481
|
+
}): Promise<ComponentData>;
|
|
8482
|
+
}
|
|
8481
8483
|
declare const modules$1: {
|
|
8482
8484
|
account: Account;
|
|
8483
8485
|
analyzer: Analyzer;
|
|
@@ -8487,6 +8489,7 @@ declare const modules$1: {
|
|
|
8487
8489
|
health: Health;
|
|
8488
8490
|
analysis: Analysis;
|
|
8489
8491
|
contract: Contract;
|
|
8492
|
+
resource: Resource;
|
|
8490
8493
|
};
|
|
8491
8494
|
export type DBModuleType = typeof modules$1;
|
|
8492
8495
|
export declare const createClient: ({ url }?: {
|