@sonarwatch/portfolio-core 0.14.140 → 0.14.141

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
@@ -2,6 +2,10 @@
2
2
 
3
3
  This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
4
 
5
+ ## [0.14.141](https://github.com/sonarwatch/portfolio/compare/core-0.14.140...core-0.14.141) (2025-02-28)
6
+
7
+
8
+
5
9
  ## [0.14.140](https://github.com/sonarwatch/portfolio/compare/core-0.14.139...core-0.14.140) (2025-02-27)
6
10
 
7
11
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sonarwatch/portfolio-core",
3
- "version": "0.14.140",
3
+ "version": "0.14.141",
4
4
  "type": "commonjs",
5
5
  "types": "./src/index.d.ts",
6
6
  "dependencies": {
@@ -224,6 +224,7 @@ export type PortfolioElementTradeData = {
224
224
  * Expire at timestamp in ms
225
225
  */
226
226
  expireAt?: number;
227
+ contract?: string;
227
228
  ref?: string;
228
229
  sourceRefs?: SourceRef[];
229
230
  link?: string;
@@ -246,6 +247,7 @@ export type PortfolioLiquidity = {
246
247
  value: UsdValue;
247
248
  yields: Yield[];
248
249
  name?: string;
250
+ contract?: string;
249
251
  ref?: string;
250
252
  sourceRefs?: SourceRef[];
251
253
  link?: string;
@@ -319,6 +321,7 @@ export type PortfolioElementLeverageData = {
319
321
  * Total value (total equity)
320
322
  */
321
323
  value: UsdValue;
324
+ contract?: string;
322
325
  ref?: string;
323
326
  sourceRefs?: SourceRef[];
324
327
  link?: string;
@@ -396,6 +399,7 @@ export type PortfolioElementBorrowLendData = {
396
399
  * undefined means the loan has no expiration.
397
400
  */
398
401
  expireOn?: number;
402
+ contract?: string;
399
403
  ref?: string;
400
404
  sourceRefs?: SourceRef[];
401
405
  link?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"Portfolio.js","sourceRoot":"","sources":["../../../../packages/core/src/Portfolio.ts"],"names":[],"mappings":";;;AAMA;;GAEG;AACU,QAAA,kBAAkB,GAAG;IAChC,OAAO,EAAE,SAAS;IAClB,KAAK,EAAE,OAAO;IACd,WAAW,EAAE,aAAa;CAClB,CAAC;AA6CX;;GAEG;AACU,QAAA,oBAAoB,GAAG;IAClC,QAAQ,EAAE,UAAU;IACpB,SAAS,EAAE,WAAW;IACtB,UAAU,EAAE,YAAY;IACxB,QAAQ,EAAE,UAAU;IACpB,KAAK,EAAE,OAAO;CACN,CAAC;AAgQX,IAAY,YAGX;AAHD,WAAY,YAAY;IACtB,6BAAa,CAAA;IACb,+BAAe,CAAA;AACjB,CAAC,EAHW,YAAY,4BAAZ,YAAY,QAGvB"}
1
+ {"version":3,"file":"Portfolio.js","sourceRoot":"","sources":["../../../../packages/core/src/Portfolio.ts"],"names":[],"mappings":";;;AAMA;;GAEG;AACU,QAAA,kBAAkB,GAAG;IAChC,OAAO,EAAE,SAAS;IAClB,KAAK,EAAE,OAAO;IACd,WAAW,EAAE,aAAa;CAClB,CAAC;AA6CX;;GAEG;AACU,QAAA,oBAAoB,GAAG;IAClC,QAAQ,EAAE,UAAU;IACpB,SAAS,EAAE,WAAW;IACtB,UAAU,EAAE,YAAY;IACxB,QAAQ,EAAE,UAAU;IACpB,KAAK,EAAE,OAAO;CACN,CAAC;AAoQX,IAAY,YAGX;AAHD,WAAY,YAAY;IACtB,6BAAa,CAAA;IACb,+BAAe,CAAA;AACjB,CAAC,EAHW,YAAY,4BAAZ,YAAY,QAGvB"}