@talismn/chaindata-provider 0.4.3 → 0.4.4
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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @talismn/chaindata-provider
|
|
2
2
|
|
|
3
|
+
## 0.4.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- f7aca48b: eslint rules
|
|
8
|
+
- 48f0222e: fix: removed some explicit `any`s
|
|
9
|
+
- 01bf239b: fix: packages publishing with incorrect interdependency versions
|
|
10
|
+
|
|
3
11
|
## 0.4.3
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -9,9 +9,9 @@ export type Chain = {
|
|
|
9
9
|
genesisHash: string | null;
|
|
10
10
|
prefix: number | null;
|
|
11
11
|
name: string | null;
|
|
12
|
-
themeColor
|
|
12
|
+
themeColor: string | null;
|
|
13
13
|
logo: string | null;
|
|
14
|
-
chainName: string;
|
|
14
|
+
chainName: string | null;
|
|
15
15
|
implName: string | null;
|
|
16
16
|
specName: string | null;
|
|
17
17
|
specVersion: string | null;
|
|
@@ -30,13 +30,10 @@ export type Chain = {
|
|
|
30
30
|
evmNetworks: Array<{
|
|
31
31
|
id: EvmNetworkId;
|
|
32
32
|
}>;
|
|
33
|
-
parathreads
|
|
33
|
+
parathreads: Array<Pick<Chain, "id" | "paraId" | "name">> | null;
|
|
34
34
|
paraId: number | null;
|
|
35
|
-
relay
|
|
36
|
-
balanceMetadata: Array<
|
|
37
|
-
moduleType: string;
|
|
38
|
-
metadata: any;
|
|
39
|
-
}>;
|
|
35
|
+
relay: Pick<Chain, "id"> | null;
|
|
36
|
+
balanceMetadata: Array<BalanceMetadata>;
|
|
40
37
|
};
|
|
41
38
|
export type CustomChain = Chain & {
|
|
42
39
|
isCustom: true;
|
|
@@ -45,3 +42,7 @@ export type SubstrateRpc = {
|
|
|
45
42
|
url: string;
|
|
46
43
|
isHealthy: boolean;
|
|
47
44
|
};
|
|
45
|
+
export type BalanceMetadata = {
|
|
46
|
+
moduleType: string;
|
|
47
|
+
metadata: unknown;
|
|
48
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@talismn/chaindata-provider",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.4",
|
|
4
4
|
"author": "Talisman",
|
|
5
5
|
"homepage": "https://talisman.xyz",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -23,12 +23,12 @@
|
|
|
23
23
|
},
|
|
24
24
|
"scripts": {
|
|
25
25
|
"test": "jest",
|
|
26
|
-
"lint": "eslint
|
|
26
|
+
"lint": "eslint src --max-warnings 0",
|
|
27
27
|
"clean": "rm -rf dist && rm -rf .turbo rm -rf node_modules"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@talismn/eslint-config": "
|
|
31
|
-
"@talismn/tsconfig": "
|
|
30
|
+
"@talismn/eslint-config": "0.0.2",
|
|
31
|
+
"@talismn/tsconfig": "0.0.2",
|
|
32
32
|
"@types/jest": "^27.5.1",
|
|
33
33
|
"eslint": "^8.4.0",
|
|
34
34
|
"jest": "^28.1.0",
|