cocoon-sdk 0.1.2 → 0.1.3

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 +17 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -57,8 +57,22 @@ for await (const chunk of stream) {
57
57
 
58
58
  ## One-Time Setup (Repo Helper Scripts)
59
59
 
60
- The npm package is a library.
61
- If you want the fully automated setup flow (cert/key generation + register + secret hash), use repo scripts:
60
+ The npm package is a **library only** (no bundled `scripts/setup.ts` files inside `node_modules`).
61
+
62
+ If you want the fully automated setup flow (cert/key generation + register + secret hash), run helper scripts from the GitHub repo:
63
+
64
+ ```bash
65
+ git clone https://github.com/indie-cto/telegram-cocoon-ts-sdk.git
66
+ cd telegram-cocoon-ts-sdk
67
+ npm install
68
+ cp .env.example .env
69
+ # fill MNEMONIC in .env
70
+ npm run cocoon:setup
71
+ ```
72
+
73
+ After setup, copy printed values (`SECRET`, TLS paths, `PROXY_URL`) into your app env.
74
+
75
+ Quick links:
62
76
 
63
77
  - `https://github.com/indie-cto/telegram-cocoon-ts-sdk`
64
78
  - `scripts/setup.ts`
@@ -106,7 +120,7 @@ Practical guidance:
106
120
 
107
121
  - smoke setup: typically `2-3 TON` can be enough
108
122
  - stable usage: plan around `15-20 TON` total working balance
109
- - verify live values with repo helper: `scripts/discover.ts`
123
+ - verify live values with repo helper (`scripts/discover.ts`)
110
124
 
111
125
  ## Security
112
126
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cocoon-sdk",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "TypeScript SDK for Telegram Cocoon — decentralized GPU network for AI inference on TON",
5
5
  "keywords": [
6
6
  "cocoon",