@ecency/sdk 2.2.2 → 2.2.4

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/README.md CHANGED
@@ -210,6 +210,20 @@ function PostPage({ author, permlink }) {
210
210
 
211
211
  **Zero manual cache management. Zero custom fetch logic. Production-ready data layer.**
212
212
 
213
+ ## Server-Side / Non-React Usage
214
+
215
+ For server-side tools, CLI scripts, or any environment that doesn't use React, import from `@ecency/sdk/hive` to avoid pulling in React and React Query dependencies:
216
+
217
+ ```ts
218
+ import { Transaction, PrivateKey, callRPC, config } from "@ecency/sdk/hive";
219
+
220
+ // Sign and broadcast a transaction without React
221
+ const tx = new Transaction();
222
+ // ... build and sign
223
+ ```
224
+
225
+ The `@ecency/sdk/hive` entry point exports the built-in transaction engine (signing, serialization, RPC, crypto) with zero React dependencies. This keeps your server bundle lean.
226
+
213
227
  ## Installation
214
228
 
215
229
  ```sh