@carrot-protocol/boost-http-client 0.4.6 → 0.4.7-feat-http-client-performance-flow-values-dev-0127d3b
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.
|
@@ -23,6 +23,8 @@ class PositionChartingExtension extends api_1.ApiClient {
|
|
|
23
23
|
netLiabilityBalanceValue: Number(balance.net_liability_balance_value),
|
|
24
24
|
netValueValue: Number(balance.net_value_value),
|
|
25
25
|
notionalLeverage: Number(balance.notional_leverage),
|
|
26
|
+
netAssetFlowValue: Number(balance.net_asset_flow_value),
|
|
27
|
+
netLiabilityFlowValue: Number(balance.net_liability_flow_value),
|
|
26
28
|
}));
|
|
27
29
|
return response;
|
|
28
30
|
}
|
package/package.json
CHANGED
|
@@ -33,12 +33,16 @@ export class PositionChartingExtension extends ApiClient {
|
|
|
33
33
|
net_liability_balance_value: string;
|
|
34
34
|
net_value_value: string;
|
|
35
35
|
notional_leverage: string;
|
|
36
|
+
net_asset_flow_value: string;
|
|
37
|
+
net_liability_flow_value: string;
|
|
36
38
|
}) => ({
|
|
37
39
|
time: new Date(balance.time),
|
|
38
40
|
netAssetBalanceValue: Number(balance.net_asset_balance_value),
|
|
39
41
|
netLiabilityBalanceValue: Number(balance.net_liability_balance_value),
|
|
40
42
|
netValueValue: Number(balance.net_value_value),
|
|
41
43
|
notionalLeverage: Number(balance.notional_leverage),
|
|
44
|
+
netAssetFlowValue: Number(balance.net_asset_flow_value),
|
|
45
|
+
netLiabilityFlowValue: Number(balance.net_liability_flow_value),
|
|
42
46
|
}),
|
|
43
47
|
);
|
|
44
48
|
return response;
|