cocoon-sdk 0.1.3 → 0.1.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.
Files changed (2) hide show
  1. package/README.md +3 -23
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -80,29 +80,9 @@ Quick links:
80
80
 
81
81
  Important for users integrating from another project:
82
82
 
83
- - The intended path is to run `scripts/setup.ts` once and copy `SECRET` + TLS paths.
84
- - Do **not** rely on ad-hoc certificate generation commands from agents.
85
- - A generic command like `openssl req -x509 -newkey ec ...` is not the tested/default SDK path.
86
-
87
- If you cannot run `scripts/setup.ts`, use this tested certificate generation format:
88
-
89
- ```bash
90
- openssl genpkey -algorithm ed25519 -out /tmp/cocoon-client.key.pem
91
- openssl req -x509 \
92
- -key /tmp/cocoon-client.key.pem \
93
- -out /tmp/cocoon-client-cert.pem \
94
- -days 1 \
95
- -subj "/C=AE/ST=DUBAI/O=TDLib Development/OU=Security/CN=localhost"
96
- ```
97
-
98
- Then set:
99
-
100
- ```env
101
- COCOON_TLS_CERT_PATH=/tmp/cocoon-client-cert.pem
102
- COCOON_TLS_KEY_PATH=/tmp/cocoon-client.key.pem
103
- ```
104
-
105
- Note: this only covers TLS material. You still need a valid `SECRET` (recommended via setup flow).
83
+ - The intended and supported path is to run `scripts/setup.ts` once and copy `SECRET` + TLS paths.
84
+ - Manual certificate generation is intentionally not documented here.
85
+ - If you skip setup, the full flow usually won't work (missing secret/state initialization/top-up context).
106
86
 
107
87
  ## TON Balance Guidance
108
88
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cocoon-sdk",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "TypeScript SDK for Telegram Cocoon — decentralized GPU network for AI inference on TON",
5
5
  "keywords": [
6
6
  "cocoon",