@iotexproject/kit 0.0.99 → 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 +10 -7
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -8468,14 +8468,17 @@ declare class Contract extends BaseDBModule {
|
|
|
8468
8468
|
address: string;
|
|
8469
8469
|
}): Promise<number>;
|
|
8470
8470
|
}
|
|
8471
|
+
export type ComponentType = "banner-latest" | "iotex-hub";
|
|
8472
|
+
export interface ComponentData {
|
|
8473
|
+
id: ComponentType;
|
|
8474
|
+
fullScreenData: string;
|
|
8475
|
+
mobileData?: string;
|
|
8476
|
+
}
|
|
8471
8477
|
declare class Resource {
|
|
8472
|
-
getComponent({ id }: {
|
|
8473
|
-
id:
|
|
8474
|
-
|
|
8475
|
-
|
|
8476
|
-
fullScreenData: string;
|
|
8477
|
-
mobileData: string;
|
|
8478
|
-
}>;
|
|
8478
|
+
getComponent({ id, mobile }: {
|
|
8479
|
+
id: ComponentType;
|
|
8480
|
+
mobile?: boolean;
|
|
8481
|
+
}): Promise<ComponentData>;
|
|
8479
8482
|
}
|
|
8480
8483
|
declare const modules$1: {
|
|
8481
8484
|
account: Account;
|