@sonarwatch/portfolio-core 0.14.139 → 0.14.140
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 +4 -0
- package/package.json +1 -1
- package/src/Portfolio.d.ts +2 -6
- package/src/Portfolio.js.map +1 -1
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.140](https://github.com/sonarwatch/portfolio/compare/core-0.14.139...core-0.14.140) (2025-02-27)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
5
9
|
## [0.14.139](https://github.com/sonarwatch/portfolio/compare/core-0.14.138...core-0.14.139) (2025-02-27)
|
|
6
10
|
|
|
7
11
|
|
package/package.json
CHANGED
package/src/Portfolio.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ export type PortfolioAssetTypeType = (typeof PortfolioAssetType)[keyof typeof Po
|
|
|
15
15
|
/**
|
|
16
16
|
* Represents the label of a portfolio element.
|
|
17
17
|
*/
|
|
18
|
-
export type PortfolioElementLabel = 'Wallet' | 'Staked' | 'LiquidityPool' | 'Farming' | 'Vault' | 'Lending' | 'Vesting' | 'Deposit' | 'Rewards' | 'Airdrop' | 'Margin' | 'LimitOrder' | 'DCA' | 'Leverage';
|
|
18
|
+
export type PortfolioElementLabel = 'Wallet' | 'Staked' | 'LiquidityPool' | 'Farming' | 'Vault' | 'Lending' | 'Vesting' | 'Deposit' | 'Rewards' | 'Airdrop' | 'Margin' | 'LimitOrder' | 'DCA' | 'SmartDCA' | 'Leverage';
|
|
19
19
|
export type PortfolioAssetAttributes = {
|
|
20
20
|
/**
|
|
21
21
|
* Represents the date (in ms) when the asset will be unlocked.
|
|
@@ -98,10 +98,6 @@ export type PortfolioAssetCollectibleData = {
|
|
|
98
98
|
address: string;
|
|
99
99
|
amount: number;
|
|
100
100
|
price: UsdValue;
|
|
101
|
-
/**
|
|
102
|
-
* @deprecated
|
|
103
|
-
* This params has been deprecated. Use name from PortfolioAssetCommon instead.
|
|
104
|
-
*/
|
|
105
101
|
name?: string;
|
|
106
102
|
description?: string;
|
|
107
103
|
imageUri?: string;
|
|
@@ -110,7 +106,7 @@ export type PortfolioAssetCollectibleData = {
|
|
|
110
106
|
collection?: CollectibleCollection;
|
|
111
107
|
};
|
|
112
108
|
export type CollectibleCollection = {
|
|
113
|
-
id
|
|
109
|
+
id?: string;
|
|
114
110
|
floorPrice: UsdValue;
|
|
115
111
|
name?: string;
|
|
116
112
|
};
|
package/src/Portfolio.js.map
CHANGED
|
@@ -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;
|
|
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"}
|