@reyaxyz/common 0.261.1 → 0.262.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/dist/trading-api-types.js.map +1 -1
- package/dist/types/trading-api-types.d.ts +320 -360
- package/dist/types/trading-api-types.d.ts.map +1 -1
- package/dist/types/types.d.ts +3 -3
- package/dist/types/types.d.ts.map +1 -1
- package/dist/types.js.map +1 -1
- package/package.json +2 -2
- package/src/trading-api-types.ts +414 -341
- package/src/types.ts +5 -3
package/src/types.ts
CHANGED
|
@@ -1035,13 +1035,15 @@ export type TransactionExecutionOutput = {
|
|
|
1035
1035
|
base?: number;
|
|
1036
1036
|
};
|
|
1037
1037
|
positions?: Omit<
|
|
1038
|
-
Stringified<TradingApiSource['
|
|
1038
|
+
Stringified<TradingApiSource['wallet/:address/positions']['response'][0]>,
|
|
1039
1039
|
| 'realized_pnl_latest_snapshot'
|
|
1040
1040
|
| 'average_entry_price_off_chain_tracker'
|
|
1041
1041
|
| 'funding_value_off_chain_tracker'
|
|
1042
1042
|
>[];
|
|
1043
1043
|
orders?: Omit<
|
|
1044
|
-
Stringified<
|
|
1044
|
+
Stringified<
|
|
1045
|
+
TradingApiSource['market/:marketId/orders']['response']['data'][0]
|
|
1046
|
+
>,
|
|
1045
1047
|
| 'r_pnl'
|
|
1046
1048
|
| 'price_variation_pnl'
|
|
1047
1049
|
| 'funding_pnl'
|
|
@@ -1049,7 +1051,7 @@ export type TransactionExecutionOutput = {
|
|
|
1049
1051
|
| 'created_at'
|
|
1050
1052
|
>[];
|
|
1051
1053
|
accounts?: Omit<
|
|
1052
|
-
Stringified<TradingApiSource['
|
|
1054
|
+
Stringified<TradingApiSource['wallet/:address/accounts']['response'][0]>,
|
|
1053
1055
|
'status'
|
|
1054
1056
|
>[];
|
|
1055
1057
|
//orderAndPositionUpdate?: Stringified<PassivePerpOrderAndPositionUpdate>[];
|