@sonarwatch/portfolio-core 0.16.69 → 0.16.70
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 -0
- package/package.json +1 -1
- package/src/Portfolio.d.ts +10 -1
- package/src/Portfolio.js.map +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
|
|
4
4
|
|
|
5
|
+
## [0.16.70](https://github.com/sonarwatch/portfolio/compare/core-0.16.69...core-0.16.70) (2025-09-24)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* **plugins:** validator info ([09693b9](https://github.com/sonarwatch/portfolio/commit/09693b9c3fe682d2b64f6f55b20814bb27a9281b))
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
5
14
|
## [0.16.69](https://github.com/sonarwatch/portfolio/compare/core-0.16.68...core-0.16.69) (2025-09-22)
|
|
6
15
|
|
|
7
16
|
|
package/package.json
CHANGED
package/src/Portfolio.d.ts
CHANGED
|
@@ -33,6 +33,15 @@ export type PortfolioAssetAttributes = {
|
|
|
33
33
|
* Represents the tags of the asset.
|
|
34
34
|
*/
|
|
35
35
|
tags?: string[];
|
|
36
|
+
/**
|
|
37
|
+
* Represents Validator for Native Staking
|
|
38
|
+
*/
|
|
39
|
+
validator?: {
|
|
40
|
+
name?: string;
|
|
41
|
+
imageUri?: string;
|
|
42
|
+
address: string;
|
|
43
|
+
yields: Yield[];
|
|
44
|
+
};
|
|
36
45
|
};
|
|
37
46
|
/**
|
|
38
47
|
* Represents the type of a portfolio element.
|
|
@@ -138,7 +147,7 @@ export type ProxyInfo = {
|
|
|
138
147
|
id: string;
|
|
139
148
|
address: string;
|
|
140
149
|
};
|
|
141
|
-
export type SourceRefName = 'Pool' | 'Farm' | 'Market' | 'Vault' | 'Lending Market' | 'Strategy' | 'NFT Mint' | 'Reserve' | 'Proposal' | 'Distributor' | 'Locker' | 'Custody' | 'Pair' | 'Borrow Token' | 'Collateral Token' | 'Elevation Group';
|
|
150
|
+
export type SourceRefName = 'Pool' | 'Farm' | 'Market' | 'Vault' | 'Lending Market' | 'Strategy' | 'NFT Mint' | 'Reserve' | 'Proposal' | 'Distributor' | 'Locker' | 'Custody' | 'Pair' | 'Borrow Token' | 'Collateral Token' | 'Elevation Group' | 'Validator';
|
|
142
151
|
/**
|
|
143
152
|
* Represents references to on-chain accounts.
|
|
144
153
|
*/
|
package/src/Portfolio.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Portfolio.js","sourceRoot":"","sources":["../../../../packages/core/src/Portfolio.ts"],"names":[],"mappings":";;;AAIA;;GAEG;AACU,QAAA,kBAAkB,GAAG;IAChC,OAAO,EAAE,SAAS;IAClB,KAAK,EAAE,OAAO;IACd,WAAW,EAAE,aAAa;CAClB,CAAC;
|
|
1
|
+
{"version":3,"file":"Portfolio.js","sourceRoot":"","sources":["../../../../packages/core/src/Portfolio.ts"],"names":[],"mappings":";;;AAIA;;GAEG;AACU,QAAA,kBAAkB,GAAG;IAChC,OAAO,EAAE,SAAS;IAClB,KAAK,EAAE,OAAO;IACd,WAAW,EAAE,aAAa;CAClB,CAAC;AAsDX;;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;AA6PX,IAAY,YAGX;AAHD,WAAY,YAAY;IACtB,6BAAa,CAAA;IACb,+BAAe,CAAA;AACjB,CAAC,EAHW,YAAY,4BAAZ,YAAY,QAGvB"}
|