@carrot-protocol/boost-http-client 0.2.3-withdraw-jlp-dev-a8ece5c → 0.2.3
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/dist/index.js +1 -0
- package/dist/types.d.ts +1 -0
- package/package.json +1 -1
- package/src/index.ts +3 -0
- package/src/types.ts +1 -0
package/dist/index.js
CHANGED
|
@@ -132,6 +132,7 @@ class Client {
|
|
|
132
132
|
notionalLeverage: Number(jsonRawResponse.clendAccount.notionalLeverage),
|
|
133
133
|
riskAdjustedLeverage: Number(jsonRawResponse.clendAccount.riskAdjustedLeverage),
|
|
134
134
|
liquidationPrice: Number(jsonRawResponse.clendAccount.liquidationPrice),
|
|
135
|
+
liquidationPriceChangePercentage: Number(jsonRawResponse.clendAccount.liquidationPriceChangePercentage),
|
|
135
136
|
ltv: Number(jsonRawResponse.clendAccount.ltv),
|
|
136
137
|
};
|
|
137
138
|
// get events for account
|
package/dist/types.d.ts
CHANGED
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -165,6 +165,9 @@ export class Client {
|
|
|
165
165
|
jsonRawResponse.clendAccount.riskAdjustedLeverage,
|
|
166
166
|
),
|
|
167
167
|
liquidationPrice: Number(jsonRawResponse.clendAccount.liquidationPrice),
|
|
168
|
+
liquidationPriceChangePercentage: Number(
|
|
169
|
+
jsonRawResponse.clendAccount.liquidationPriceChangePercentage,
|
|
170
|
+
),
|
|
168
171
|
ltv: Number(jsonRawResponse.clendAccount.ltv),
|
|
169
172
|
};
|
|
170
173
|
|