@iotexproject/kit 0.0.20 → 0.0.21
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 +18 -0
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -7719,6 +7719,23 @@ declare class utils {
|
|
|
7719
7719
|
];
|
|
7720
7720
|
}>>;
|
|
7721
7721
|
}
|
|
7722
|
+
export interface Dapp {
|
|
7723
|
+
id: string;
|
|
7724
|
+
chains: string;
|
|
7725
|
+
content: string;
|
|
7726
|
+
content_cn: string;
|
|
7727
|
+
img_url: string;
|
|
7728
|
+
popularity: string;
|
|
7729
|
+
source_priority: number;
|
|
7730
|
+
tags: string;
|
|
7731
|
+
title: string;
|
|
7732
|
+
url: string;
|
|
7733
|
+
weight: number;
|
|
7734
|
+
}
|
|
7735
|
+
declare class Explore {
|
|
7736
|
+
dapps(): Promise<Dapp[] | any>;
|
|
7737
|
+
dappCategorys(): Promise<any>;
|
|
7738
|
+
}
|
|
7722
7739
|
declare const modules: {
|
|
7723
7740
|
mimo: Mimo;
|
|
7724
7741
|
staking: Staking;
|
|
@@ -7726,6 +7743,7 @@ declare const modules: {
|
|
|
7726
7743
|
ioid: IoID;
|
|
7727
7744
|
msp: MSP;
|
|
7728
7745
|
utils: utils;
|
|
7746
|
+
explore: Explore;
|
|
7729
7747
|
};
|
|
7730
7748
|
export type ModuleType = typeof modules;
|
|
7731
7749
|
export declare const createClient: ({ url }?: {
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@iotexproject/kit",
|
|
3
3
|
"module": "index.ts",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"version": "v0.0.
|
|
5
|
+
"version": "v0.0.21",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
8
8
|
"scripts": {
|
|
@@ -14,7 +14,6 @@
|
|
|
14
14
|
"files": [
|
|
15
15
|
"dist"
|
|
16
16
|
],
|
|
17
|
-
"peerDependencies": {},
|
|
18
17
|
"dependencies": {
|
|
19
18
|
"@iotexproject/iotex-address-ts": "^1.0.4",
|
|
20
19
|
"axios": "^1.7.2",
|
|
@@ -23,6 +22,7 @@
|
|
|
23
22
|
"bignumber.js": "^9.1.2",
|
|
24
23
|
"dataloader": "^2.2.2",
|
|
25
24
|
"dayjs": "^1.11.12",
|
|
25
|
+
"graphql-request": "^7.1.0",
|
|
26
26
|
"lru-cache": "^11.0.0",
|
|
27
27
|
"reflect-metadata": "^0.2.2",
|
|
28
28
|
"viem": "^2.17.5"
|