@rabby-wallet/hyperliquid-sdk 1.0.0-beta.8 → 1.0.0-beta.9
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.
|
@@ -502,10 +502,11 @@ class ExchangeClient {
|
|
|
502
502
|
*/
|
|
503
503
|
sendApproveBuilderFee(params) {
|
|
504
504
|
return __awaiter(this, void 0, void 0, function* () {
|
|
505
|
+
const splitSignature = (0, signer_1.splitSig)(params.signature);
|
|
505
506
|
return this.httpClient.exchange({
|
|
506
507
|
action: params.action,
|
|
507
508
|
nonce: params.nonce,
|
|
508
|
-
signature:
|
|
509
|
+
signature: splitSignature,
|
|
509
510
|
});
|
|
510
511
|
});
|
|
511
512
|
}
|
|
@@ -544,10 +545,11 @@ class ExchangeClient {
|
|
|
544
545
|
};
|
|
545
546
|
}
|
|
546
547
|
sendWithdraw(params) {
|
|
548
|
+
const splitSignature = (0, signer_1.splitSig)(params.signature);
|
|
547
549
|
return this.httpClient.exchange({
|
|
548
550
|
action: params.action,
|
|
549
551
|
nonce: params.nonce,
|
|
550
|
-
signature:
|
|
552
|
+
signature: splitSignature,
|
|
551
553
|
});
|
|
552
554
|
}
|
|
553
555
|
}
|
package/package.json
CHANGED