@sogni-ai/sogni-client 3.0.0-alpha.41 → 3.0.0-alpha.42

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 (3) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/README.md +1 -10
  3. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ # [3.0.0-alpha.42](https://github.com/Sogni-AI/sogni-client/compare/v3.0.0-alpha.41...v3.0.0-alpha.42) (2025-07-15)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * remove provider instance as it is not actually used ([62f384e](https://github.com/Sogni-AI/sogni-client/commit/62f384e82c4e5ae453bbec567ce58aa5ae1e7c72))
7
+ * update documentation ([5d09f39](https://github.com/Sogni-AI/sogni-client/commit/5d09f39181e058bd6d5706d8d919d7855bb6dd81))
8
+
1
9
  # [3.0.0-alpha.41](https://github.com/Sogni-AI/sogni-client/compare/v3.0.0-alpha.40...v3.0.0-alpha.41) (2025-07-15)
2
10
 
3
11
 
@@ -319,6 +327,20 @@
319
327
 
320
328
  * Add basic ControlNet support ([220991d](https://github.com/Sogni-AI/sogni-client/commit/220991db5b16740b159d2cb0c3e746141fa4906f))
321
329
 
330
+ ## [2.0.4](https://github.com/Sogni-AI/sogni-client/compare/v2.0.3...v2.0.4) (2025-05-14)
331
+
332
+
333
+ ### Bug Fixes
334
+
335
+ * update documentation ([5d09f39](https://github.com/Sogni-AI/sogni-client/commit/5d09f39181e058bd6d5706d8d919d7855bb6dd81))
336
+
337
+ ## [2.0.3](https://github.com/Sogni-AI/sogni-client/compare/v2.0.2...v2.0.3) (2025-05-14)
338
+
339
+
340
+ ### Bug Fixes
341
+
342
+ * remove provider instance as it is not actually used ([62f384e](https://github.com/Sogni-AI/sogni-client/commit/62f384e82c4e5ae453bbec567ce58aa5ae1e7c72))
343
+
322
344
  ## [2.0.2](https://github.com/Sogni-AI/sogni-client/compare/v2.0.1...v2.0.2) (2025-02-04)
323
345
 
324
346
 
package/README.md CHANGED
@@ -19,8 +19,6 @@ You can create a free account in our [Web App](https://app.sogni.ai) or [Mac App
19
19
 
20
20
  Your account is tied to a [Base](https://www.base.org/) Wallet that is created during signup. The current network is [Base Sepolia](https://chainlist.org/chain/84532) and will be [Base Mainnet](https://chainlist.org/chain/8453) after mainnet launch.
21
21
 
22
- The Library will use a default provider if none is provided, but note that it is not guaranteed to be always available. It is recommended to use your own Node endpoint such as alchemy.com (free and paid plans). You can specify your own node in `jsonRpcUrl` settings below.
23
-
24
22
  ### Supernet Types
25
23
  There are 2 worker network types available:
26
24
  - `fast` - this network runs on high-end GPUs and is optimized for speed. It is more expensive than `relaxed` network at roughly 1 $tSOGNI token per render.
@@ -44,17 +42,11 @@ import { SogniClient } from '@sogni-ai/sogni-client';
44
42
  const USERNAME = 'your-username';
45
43
  const PASSWORD = 'your-password';
46
44
 
47
- // If using default provider
48
45
  const options = {
49
46
  appId: 'your-app-id', // Required, must be unique string, UUID is recommended
50
47
  network: 'fast', // Network to use, 'fast' or 'relaxed'
51
48
  }
52
- // If using custom provider
53
- const options ={
54
- appId: 'your-app-id', // Required, must be unique string, UUID is recommended
55
- jsonRpcUrl: 'https://sepolia.base.org', // Put your custom JSON-RPC URL here
56
- network: 'fast', // Network to use, 'fast' or 'relaxed'
57
- }
49
+
58
50
  const client = await SogniClient.createInstance(options);
59
51
  // Login to Sogni account and establish WebSocket connection to Supernet
60
52
  await client.account.login(USERNAME, PASSWORD);
@@ -65,7 +57,6 @@ const models = await client.projects.waitForModels();
65
57
  ```
66
58
  **Important Note:**
67
59
  - This sample assume you are using ES modules, which allow `await` on the top level, if you are CommomJS you will need to wrap `await` calls in an async function.
68
- - Sogni is currently in Testnet phase, so you need to provide Base Sepolia network URL.
69
60
  - `appId` must be unique string, UUID is recommended. It is used to identify your application.
70
61
  - Only one connection per `appId` is allowed. If you try to connect with the same `appId` multiple times, the previous connection will be closed.
71
62
 
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "3.0.0-alpha.41",
6
+ "version": "3.0.0-alpha.42",
7
7
  "description": "Sogni Supernet Client",
8
8
  "main": "dist/index.js",
9
9
  "types": "dist/index.d.ts",