@proxyshard/shardx 0.1.2 → 0.1.5

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.
Files changed (2) hide show
  1. package/README.md +21 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # @proxyshard/shardx (Node)
2
2
 
3
3
  Self-contained Node/TypeScript SDK for the **ShardX anti-detect
4
- browser** by the [ProxyShard](https://proxyshard.com) team.
4
+ browser** by the [ProxyShard](https://proxyshard.com?utm_source=shardx&utm_medium=referral&utm_campaign=shardx-launcher) team.
5
5
 
6
6
  Does **not** depend on the desktop launcher. On first use it downloads
7
7
  the patched Chromium 148 engine, Widevine CDM, and the 170-profile
@@ -20,6 +20,26 @@ npm install @proxyshard/shardx
20
20
 
21
21
  Supported hosts: **macOS arm64**, **Windows x64**, **Linux x64**. Node ≥ 18.
22
22
 
23
+ ### Linux system dependencies
24
+
25
+ The bundled Chromium engine needs `unzip` + the standard set of shared
26
+ libraries any Chromium fork links against. On a fresh Debian / Ubuntu:
27
+
28
+ ```bash
29
+ sudo apt install -y \
30
+ unzip ca-certificates fonts-liberation \
31
+ libnss3 libnspr4 libatk1.0-0 libatk-bridge2.0-0 libcups2 \
32
+ libxkbcommon0 libxcomposite1 libxdamage1 libxfixes3 libxrandr2 \
33
+ libgbm1 libpango-1.0-0 libcairo2 libasound2 libxshmfence1
34
+ ```
35
+
36
+ When launching as **root** or inside **Docker**, pass `--no-sandbox` and
37
+ `--disable-dev-shm-usage` via `extraArgs`:
38
+
39
+ ```ts
40
+ await sdk.session({ ..., extraArgs: ["--no-sandbox", "--disable-dev-shm-usage"] });
41
+ ```
42
+
23
43
  ## Quick start
24
44
 
25
45
  ```ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@proxyshard/shardx",
3
- "version": "0.1.2",
3
+ "version": "0.1.5",
4
4
  "description": "Self-contained Node SDK for the ShardX anti-detect browser — downloads the engine + Widevine + fingerprint library on first use, launches isolated profiles.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",