@typus/typus-perp-sdk 1.0.54 → 1.0.55
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/src/user/history.js +1 -3
- package/package.json +2 -2
package/dist/src/user/history.js
CHANGED
|
@@ -338,7 +338,6 @@ function getLiquidateFromSentio(userAddress, startTimestamp, events) {
|
|
|
338
338
|
case 1:
|
|
339
339
|
datas = _a.sent();
|
|
340
340
|
liquidate = datas.map(function (x) {
|
|
341
|
-
console.log(x);
|
|
342
341
|
var collateral = Number(x.liquidator_fee) + Number(x.value_for_lp_pool);
|
|
343
342
|
var base_token = toToken(x.base_token);
|
|
344
343
|
var txHistory = {
|
|
@@ -500,8 +499,7 @@ function getRealizeOptionFromSentio(userAddress, startTimestamp, events) {
|
|
|
500
499
|
});
|
|
501
500
|
});
|
|
502
501
|
}
|
|
503
|
-
//
|
|
504
|
-
// getOrderMatchFromSentio("0x95f26ce574fc9ace2608807648d99a4dce17f1be8964613d5b972edc82849e9e", 0, []);
|
|
502
|
+
// getOrderMatchFromSentio("0x95f26ce574fc9ace2608807648d99a4dce17f1be8964613d5b972edc82849e9e", 0);
|
|
505
503
|
// getRealizeOptionFromSentio("0x95f26ce574fc9ace2608807648d99a4dce17f1be8964613d5b972edc82849e9e", 0);
|
|
506
504
|
function toToken(name) {
|
|
507
505
|
switch (name) {
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@typus/typus-perp-sdk",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.55",
|
|
4
4
|
"repository": "https://github.com/Typus-Lab/typus-perp-sdk.git",
|
|
5
5
|
"author": "Typus",
|
|
6
6
|
"description": "typus perp sdk",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"@typus/typus-sdk": "1.6.
|
|
9
|
+
"@typus/typus-sdk": "1.6.18"
|
|
10
10
|
},
|
|
11
11
|
"devDependencies": {
|
|
12
12
|
"@types/bs58": "^4.0.1",
|