@rabby-wallet/hyperliquid-sdk 1.1.7-beta.2 → 1.1.7-beta.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.
|
@@ -1126,8 +1126,8 @@ class ExchangeClient {
|
|
|
1126
1126
|
const orderRequest = {
|
|
1127
1127
|
a: assetIndex,
|
|
1128
1128
|
b: isBuy,
|
|
1129
|
-
p: limitPx,
|
|
1130
|
-
s: size,
|
|
1129
|
+
p: (0, number_1.removeTrailingZeros)(limitPx),
|
|
1130
|
+
s: (0, number_1.removeTrailingZeros)(size),
|
|
1131
1131
|
r: false,
|
|
1132
1132
|
t: {
|
|
1133
1133
|
limit: { tif },
|
package/dist/types/index.d.ts
CHANGED
|
@@ -221,6 +221,11 @@ export type UserNonFundingLedgerUpdates = {
|
|
|
221
221
|
basis?: string;
|
|
222
222
|
netWithdrawnUsd?: string;
|
|
223
223
|
toPerp?: boolean;
|
|
224
|
+
destination?: string;
|
|
225
|
+
destinationDex?: string;
|
|
226
|
+
sourceDex?: string;
|
|
227
|
+
source?: string;
|
|
228
|
+
fee?: string;
|
|
224
229
|
};
|
|
225
230
|
};
|
|
226
231
|
export interface OrderResponse {
|
package/package.json
CHANGED