@sonarwatch/portfolio-core 0.11.216 → 0.11.218

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,14 @@
2
2
 
3
3
  This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
4
 
5
+ ## [0.11.218](https://github.com/sonarwatch/portfolio/compare/core-0.11.217...core-0.11.218) (2024-05-27)
6
+
7
+
8
+
9
+ ## [0.11.217](https://github.com/sonarwatch/portfolio/compare/core-0.11.216...core-0.11.217) (2024-05-27)
10
+
11
+
12
+
5
13
  ## [0.11.216](https://github.com/sonarwatch/portfolio/compare/core-0.11.215...core-0.11.216) (2024-05-24)
6
14
 
7
15
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sonarwatch/portfolio-core",
3
- "version": "0.11.216",
3
+ "version": "0.11.218",
4
4
  "type": "commonjs",
5
5
  "dependencies": {
6
6
  "@ethersproject/address": "^5.7.0",
@@ -2,6 +2,7 @@ import { UsdValue } from './UsdValue';
2
2
  import { NetworkIdType } from './Network';
3
3
  import { Yield } from './Yield';
4
4
  import { AddressSystemType } from './Address';
5
+ import { TokenInfo } from './TokenList';
5
6
  /**
6
7
  * Represents the type of a portfolio asset.
7
8
  */
@@ -316,4 +317,5 @@ export type FetchersResult = {
316
317
  fetcherReports: FetcherReport[];
317
318
  value: UsdValue;
318
319
  elements: PortfolioElement[];
320
+ tokenInfo?: Partial<Record<NetworkIdType, Record<string, TokenInfo>>>;
319
321
  };
@@ -1 +1 @@
1
- {"version":3,"file":"Portfolio.js","sourceRoot":"","sources":["../../../../packages/core/src/Portfolio.ts"],"names":[],"mappings":";;;AAKA;;GAEG;AACU,QAAA,kBAAkB,GAAG;IAChC,OAAO,EAAE,SAAS;IAClB,KAAK,EAAE,OAAO;IACd,WAAW,EAAE,aAAa;CAClB,CAAC;AAyCX;;GAEG;AACU,QAAA,oBAAoB,GAAG;IAClC,MAAM,EAAE,QAAQ;IAChB,QAAQ,EAAE,UAAU;IACpB,SAAS,EAAE,WAAW;IACtB,UAAU,EAAE,YAAY;CAChB,CAAC"}
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;AAyCX;;GAEG;AACU,QAAA,oBAAoB,GAAG;IAClC,MAAM,EAAE,QAAQ;IAChB,QAAQ,EAAE,UAAU;IACpB,SAAS,EAAE,WAAW;IACtB,UAAU,EAAE,YAAY;CAChB,CAAC"}