@dynamic-labs/sdk-api-core 0.125.0 → 0.127.0
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/package.json +1 -1
- package/src/apis/SDKApi.d.ts +13 -12
- package/src/apis/SDKApi.js +15 -12
- package/src/apis/SDKApi.js.map +1 -1
- package/src/models/YieldEarnings.d.ts +1 -1
- package/src/models/YieldVaultEarnings.d.ts +5 -5
- package/src/models/YieldVaultPositionPerformance.d.ts +1 -1
- package/src/version.js +1 -1
|
@@ -17,7 +17,7 @@ import { YieldVaultEarnings } from './YieldVaultEarnings';
|
|
|
17
17
|
*/
|
|
18
18
|
export interface YieldEarnings {
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* Chain id the earnings were aggregated on: an EVM chain id, or the Solana cluster id.
|
|
21
21
|
* @type {number}
|
|
22
22
|
* @memberof YieldEarnings
|
|
23
23
|
*/
|
|
@@ -22,31 +22,31 @@ export interface YieldVaultEarnings {
|
|
|
22
22
|
*/
|
|
23
23
|
assets: string;
|
|
24
24
|
/**
|
|
25
|
-
* Position size in USD. Null when
|
|
25
|
+
* Position size in USD. Null when the provider has no price for the underlying token.
|
|
26
26
|
* @type {number}
|
|
27
27
|
* @memberof YieldVaultEarnings
|
|
28
28
|
*/
|
|
29
29
|
assetsUsd: number | null;
|
|
30
30
|
/**
|
|
31
|
-
* Earnings on the position, in raw units of the vault's underlying token. Null while the position has too little history to compute it.
|
|
31
|
+
* Earnings on the position, in raw units of the vault's underlying token. Null while the position has too little history to compute it, or when the provider reports no earnings (Aave).
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof YieldVaultEarnings
|
|
34
34
|
*/
|
|
35
35
|
pnl: string | null;
|
|
36
36
|
/**
|
|
37
|
-
* Earnings on the position in USD. Null when
|
|
37
|
+
* Earnings on the position in USD. Null when the provider has no price for the underlying token, or reports no earnings (Aave).
|
|
38
38
|
* @type {number}
|
|
39
39
|
* @memberof YieldVaultEarnings
|
|
40
40
|
*/
|
|
41
41
|
pnlUsd: number | null;
|
|
42
42
|
/**
|
|
43
|
-
* Time-weighted, non-annualized return on equity since inception, as a decimal. Null while the position has too little history to compute it.
|
|
43
|
+
* Time-weighted, non-annualized return on equity since inception, as a decimal. Null while the position has too little history to compute it, or when the provider reports none (Aave, Kamino).
|
|
44
44
|
* @type {number}
|
|
45
45
|
* @memberof YieldVaultEarnings
|
|
46
46
|
*/
|
|
47
47
|
roe: number | null;
|
|
48
48
|
/**
|
|
49
|
-
* Vault
|
|
49
|
+
* Vault address as reported by the provider.
|
|
50
50
|
* @type {string}
|
|
51
51
|
* @memberof YieldVaultEarnings
|
|
52
52
|
*/
|
|
@@ -28,7 +28,7 @@ export interface YieldVaultPositionPerformance {
|
|
|
28
28
|
*/
|
|
29
29
|
ownerAddress: string;
|
|
30
30
|
/**
|
|
31
|
-
* Time-weighted, non-annualized return on capital since inception, as a decimal. Null while the position has too little history to compute it.
|
|
31
|
+
* Time-weighted, non-annualized return on capital since inception, as a decimal. Null while the position has too little history to compute it, or when the provider reports none (Kamino).
|
|
32
32
|
* @type {number}
|
|
33
33
|
* @memberof YieldVaultPositionPerformance
|
|
34
34
|
*/
|
package/src/version.js
CHANGED