@sonarwatch/portfolio-core 0.12.12 → 0.12.14
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 +9 -1
- package/package.json +1 -1
- package/src/Portfolio.d.ts +1 -16
package/CHANGELOG.md
CHANGED
|
@@ -2,10 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
|
|
4
4
|
|
|
5
|
-
## [0.12.
|
|
5
|
+
## [0.12.14](https://github.com/sonarwatch/portfolio/compare/core-0.12.13...core-0.12.14) (2024-06-05)
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
+
## [0.12.13](https://github.com/sonarwatch/portfolio/compare/core-0.12.12...core-0.12.13) (2024-06-04)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
## [0.12.12](https://github.com/sonarwatch/portfolio/compare/core-0.12.11...core-0.12.12) (2024-06-04)
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
9
17
|
## [0.12.11](https://github.com/sonarwatch/portfolio/compare/core-0.12.10...core-0.12.11) (2024-06-04)
|
|
10
18
|
|
|
11
19
|
|
package/package.json
CHANGED
package/src/Portfolio.d.ts
CHANGED
|
@@ -168,21 +168,6 @@ export type PortfolioElementCommon = {
|
|
|
168
168
|
proxyInfo?: ProxyInfo;
|
|
169
169
|
service?: Service;
|
|
170
170
|
};
|
|
171
|
-
/**
|
|
172
|
-
* @deprecated
|
|
173
|
-
* Represents the data of a single portfolio element.
|
|
174
|
-
*/
|
|
175
|
-
export type PortfolioElementSingleData = {
|
|
176
|
-
asset: PortfolioAsset;
|
|
177
|
-
};
|
|
178
|
-
/**
|
|
179
|
-
* @deprecated
|
|
180
|
-
* Represents a single portfolio element.
|
|
181
|
-
*/
|
|
182
|
-
export type PortfolioElementSingle = PortfolioElementCommon & {
|
|
183
|
-
type: 'single';
|
|
184
|
-
data: PortfolioElementSingleData;
|
|
185
|
-
};
|
|
186
171
|
/**
|
|
187
172
|
* Represents the data of a multiple portfolio element.
|
|
188
173
|
*/
|
|
@@ -287,7 +272,7 @@ export type PortfolioElementBorrowLend = PortfolioElementCommon & {
|
|
|
287
272
|
/**
|
|
288
273
|
* Represents a portfolio element.
|
|
289
274
|
*/
|
|
290
|
-
export type PortfolioElement =
|
|
275
|
+
export type PortfolioElement = PortfolioElementMultiple | PortfolioElementLiquidity | PortfolioElementBorrowLend;
|
|
291
276
|
/**
|
|
292
277
|
* Represents the result of a fetcher.
|
|
293
278
|
*/
|