@typus/typus-perp-sdk 1.1.32-codegen-exp30 → 1.1.32-codegen-exp32
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 +3 -4
- package/package.json +1 -1
package/dist/src/user/history.js
CHANGED
|
@@ -316,9 +316,9 @@ async function parseUserHistory(raw_events) {
|
|
|
316
316
|
side: undefined,
|
|
317
317
|
order_type: undefined,
|
|
318
318
|
status: 'Filled',
|
|
319
|
-
size:
|
|
320
|
-
base_token:
|
|
321
|
-
collateral:
|
|
319
|
+
size: undefined,
|
|
320
|
+
base_token: 'TYPUS',
|
|
321
|
+
collateral: profit,
|
|
322
322
|
collateral_token: profit_token,
|
|
323
323
|
price: undefined,
|
|
324
324
|
realized_pnl: undefined,
|
|
@@ -327,7 +327,6 @@ async function parseUserHistory(raw_events) {
|
|
|
327
327
|
dov_index: undefined,
|
|
328
328
|
sender: "user",
|
|
329
329
|
};
|
|
330
|
-
console.log(e);
|
|
331
330
|
events.push(e);
|
|
332
331
|
break;
|
|
333
332
|
}
|