@sonarwatch/portfolio-core 0.11.30 → 0.11.32
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 +8 -0
- package/package.json +1 -1
- package/src/Portfolio.d.ts +6 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
|
|
4
4
|
|
|
5
|
+
## [0.11.32](https://github.com/sonarwatch/portfolio/compare/core-0.11.31...core-0.11.32) (2024-01-04)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
## [0.11.31](https://github.com/sonarwatch/portfolio/compare/core-0.11.30...core-0.11.31) (2024-01-04)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
5
13
|
## [0.11.30](https://github.com/sonarwatch/portfolio/compare/core-0.11.29...core-0.11.30) (2023-12-28)
|
|
6
14
|
|
|
7
15
|
|
package/package.json
CHANGED
package/src/Portfolio.d.ts
CHANGED
|
@@ -93,12 +93,18 @@ export type PortfolioAssetCollectibleData = {
|
|
|
93
93
|
description?: string;
|
|
94
94
|
imageUri?: string;
|
|
95
95
|
dataUri?: string;
|
|
96
|
+
attributes?: CollectibleAttribute[];
|
|
96
97
|
collection?: {
|
|
97
98
|
id: string;
|
|
98
99
|
floorPrice: UsdValue;
|
|
99
100
|
name?: string;
|
|
100
101
|
};
|
|
101
102
|
};
|
|
103
|
+
export type CollectibleAttribute = {
|
|
104
|
+
trait_type?: string;
|
|
105
|
+
value?: unknown;
|
|
106
|
+
[key: string]: unknown;
|
|
107
|
+
};
|
|
102
108
|
/**
|
|
103
109
|
* Represents a collectible portfolio asset.
|
|
104
110
|
*/
|