From b3a8a7f17907799be6077b8da8f356ff6e86659a Mon Sep 17 00:00:00 2001 From: "Tiago Siebler @ Siebly.io" Date: Tue, 27 Oct 2026 11:12:16 +0000 Subject: [PATCH 1/3] chore: allow Node.js 22 --- README.md | 2 +- package-lock.json | 2 +- package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 22d0d5c..03f8684 100644 --- a/README.md +++ b/README.md @@ -89,7 +89,7 @@ Professional Node.js, JavaScript & TypeScript SDK for the HyperLiquid REST APIs, npm install @siebly/hyperliquid-api ``` -Node.js 24 or newer and npm 11 or newer are supported. +Node.js 22 or newer and npm 11 or newer are supported. ## Documentation diff --git a/package-lock.json b/package-lock.json index 9bb8204..eb09a2f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -35,7 +35,7 @@ "typescript": "^6.0.3" }, "engines": { - "node": ">=24.0.0", + "node": ">=22.0.0", "npm": ">=11.0.0" }, "funding": { diff --git a/package.json b/package.json index f31910d..383e891 100644 --- a/package.json +++ b/package.json @@ -104,7 +104,7 @@ }, "homepage": "https://github.com/sieblyio/hyperliquid-api#readme", "engines": { - "node": ">=24.0.0", + "node": ">=22.0.0", "npm": ">=11.0.0" } } From 9597ce0756fd7763ce8e9004f7843de99ab0b802 Mon Sep 17 00:00:00 2001 From: "Tiago Siebler @ Siebly.io" Date: Tue, 27 Oct 2026 11:27:54 +0000 Subject: [PATCH 2/3] chore: readme phrasing --- README.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 03f8684..92747a9 100644 --- a/README.md +++ b/README.md @@ -517,13 +517,11 @@ Use [llms.txt](./llms.txt) for packaged SDK context, the [endpoint map](./docs/e --- -## Referral & Builder Codes +## Referral & Builder Codes, 4% fee discount -On the first order, cancellation, or modification from a client instance, the SDK passively attempts to set the `SIEBLY` referral code. It does not query the existing referral first, delay the triggering request, or retry repeatedly. If the account already has a referrer or the request fails, trading continues normally. +Accounts without an existing referrer currently receive a 4% referral fee discount when `SIEBLY` is set while using this HyperLiquid JavaScript SDK. The referral also supports ongoing SDK maintenance. On the first order, cancellation, or modification from a client instance, the SDK passively attempts to set the `SIEBLY` referral code. It does not query the existing referral first, delay the triggering request, or retry repeatedly. If the account already has a referrer or the request fails, trading continues normally. -Accounts without an existing referrer currently receive a 4% referral fee discount when `SIEBLY` is set. The referral also supports ongoing SDK maintenance. Referral rules are controlled by Hyperliquid; see the [referral terms](https://hyperliquid.gitbook.io/hyperliquid-docs/referrals) before trading. - -Orders include the fixed Siebly builder code only after the SDK confirms that the account's main wallet has approved it. If an approval check fails, the order continues without the builder code and the SDK emits a warning. When a main-wallet private key is configured and approval is missing, the SDK attempts approval in the background. API and agent wallets cannot grant builder approval themselves. +Referral rules are controlled by Hyperliquid; see the [referral terms](https://hyperliquid.gitbook.io/hyperliquid-docs/referrals) before trading. Orders include the fixed Siebly builder code only after the SDK confirms that the account's main wallet has approved it. If an approval check fails, the order continues without the builder code and the SDK emits a warning. When a main-wallet private key is configured and approval is missing, the SDK attempts approval in the background. API and agent wallets cannot grant builder approval themselves. Please consider approving our HyperLiquid builder address to further support our work. This approval must be signed by your Hyperliquid main wallet, not an API or agent wallet. Create a RestClient using your main-wallet private key or signer, then call `approveBuilderFee()` once. For example: From b03b01c7311fe61cc2a5919756a8564d1f696962 Mon Sep 17 00:00:00 2001 From: "Tiago Siebler @ Siebly.io" Date: Tue, 27 Oct 2026 11:30:01 +0000 Subject: [PATCH 3/3] chore: remove npm requirement for SDK users --- README.md | 2 +- package-lock.json | 3 +-- package.json | 3 +-- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 92747a9..bc7b7ed 100644 --- a/README.md +++ b/README.md @@ -89,7 +89,7 @@ Professional Node.js, JavaScript & TypeScript SDK for the HyperLiquid REST APIs, npm install @siebly/hyperliquid-api ``` -Node.js 22 or newer and npm 11 or newer are supported. +Node.js 22 or newer is supported. ## Documentation diff --git a/package-lock.json b/package-lock.json index eb09a2f..4a8f69f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -35,8 +35,7 @@ "typescript": "^6.0.3" }, "engines": { - "node": ">=22.0.0", - "npm": ">=11.0.0" + "node": ">=22.0.0" }, "funding": { "type": "individual", diff --git a/package.json b/package.json index 383e891..9d3e7e3 100644 --- a/package.json +++ b/package.json @@ -104,7 +104,6 @@ }, "homepage": "https://github.com/sieblyio/hyperliquid-api#readme", "engines": { - "node": ">=22.0.0", - "npm": ">=11.0.0" + "node": ">=22.0.0" } }