jiren 3.4.0 → 3.6.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/README.md CHANGED
@@ -57,31 +57,6 @@ Jiren outperforms top clients in every metric—throughput, latency, and stabili
57
57
  bun add jiren
58
58
  ```
59
59
 
60
- ### Windows native deps (curl-impersonate)
61
-
62
- To keep Windows performance on par with macOS, provide curl-impersonate binaries:
63
-
64
- ```bash
65
- # Option A: build from source in MSYS2 (MINGW64 shell)
66
- JIREN_IMPERSONATE_BUILD=1 bun run install-deps
67
-
68
- # Option B: download a prebuilt zip or tar.gz containing curl-impersonate.dll + import lib
69
- JIREN_IMPERSONATE_URL=https://example.com/curl-impersonate-win64.zip bun run install-deps
70
- ```
71
-
72
- MSYS2 packages usually required: `git`, `mingw-w64-x86_64-toolchain`, `mingw-w64-x86_64-cmake`, `mingw-w64-x86_64-ninja`.
73
-
74
- Expected files after install:
75
-
76
- - `jiren/lib/windows/curl-impersonate.dll`
77
- - `jiren/lib/windows/curl-impersonate.lib` (or `jiren/lib/windows/libcurl-impersonate.dll.a`)
78
-
79
- Then build with impersonation enabled:
80
-
81
- ```bash
82
- zig build -Dimpersonate=true
83
- ```
84
-
85
60
  ---
86
61
 
87
62
  ## 🚀 Quick Start
@@ -763,8 +738,16 @@ export async function GET() {
763
738
 
764
739
  - **Runtime**:
765
740
  - **Bun** v1.0.0+
766
- - **Node.js** v18.0.0+ (macOS/Linux)
767
- - **OS**: macOS (ARM64/x64) or Linux (x64)
741
+ - **Node.js** v18.0.0+ (macOS/Linux/Windows)
742
+ - **OS**:
743
+ - Native mode: macOS (ARM64/x64) or Linux (x64)
744
+ - Compatibility mode: Windows (fetch fallback, reduced performance/features)
745
+ - **Optional**: set `JIREN_FORCE_FETCH_FALLBACK=1` to force compatibility mode.
746
+
747
+ ### Node Entrypoints
748
+
749
+ - `import { JirenClient } from "jiren"`: compatibility mode (safe default)
750
+ - `import { JirenClient } from "jiren/native"`: native mode (max performance, supported CPUs only)
768
751
 
769
752
  ---
770
753