@sonarwatch/portfolio-core 0.9.3 → 0.9.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 +4 -0
- package/package.json +1 -1
- package/src/TokenList.d.ts +6 -5
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
|
|
4
4
|
|
|
5
|
+
## [0.9.4](https://github.com/sonarwatch/portfolio/compare/core-0.9.3...core-0.9.4) (2023-12-10)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
5
9
|
## [0.9.3](https://github.com/sonarwatch/portfolio/compare/core-0.9.2...core-0.9.3) (2023-12-10)
|
|
6
10
|
|
|
7
11
|
|
package/package.json
CHANGED
package/src/TokenList.d.ts
CHANGED
|
@@ -10,17 +10,18 @@ export interface UniTokenInfo {
|
|
|
10
10
|
readonly tags?: string[];
|
|
11
11
|
readonly extensions?: Record<string, UniTokenInfoExtensionValue>;
|
|
12
12
|
}
|
|
13
|
+
export type UniTokenListVersion = {
|
|
14
|
+
major: number;
|
|
15
|
+
minor: number;
|
|
16
|
+
patch: number;
|
|
17
|
+
};
|
|
13
18
|
export type UniTokenList = {
|
|
14
19
|
name: string;
|
|
15
20
|
logoURI?: string;
|
|
16
21
|
keywords: string[];
|
|
17
22
|
timestamp: string;
|
|
18
23
|
tokens: UniTokenInfo[];
|
|
19
|
-
version:
|
|
20
|
-
major: number;
|
|
21
|
-
minor: number;
|
|
22
|
-
patch: number;
|
|
23
|
-
};
|
|
24
|
+
version: UniTokenListVersion;
|
|
24
25
|
};
|
|
25
26
|
export interface TokenInfo extends Omit<UniTokenInfo, 'chainId'> {
|
|
26
27
|
readonly networkId: NetworkIdType;
|