@secondlayer/cli 14.1.2 → 14.2.1
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 +3 -2
- package/dist/cli.js +169874 -774
- package/dist/cli.js.map +30 -28
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -15,7 +15,8 @@ secondlayer --version
|
|
|
15
15
|
Default API is `http://127.0.0.1:3800`. Override with `SL_API_URL`.
|
|
16
16
|
|
|
17
17
|
Writes against a published bind use `INSTANCE_TOKEN` from `secondlayer init`.
|
|
18
|
-
Loopback reads need no token.
|
|
18
|
+
Loopback reads need no token. Hosted API and archive credits use
|
|
19
|
+
`SECONDLAYER_API_KEY` (`sk-sl_*`).
|
|
19
20
|
|
|
20
21
|
```bash
|
|
21
22
|
export SL_API_URL=http://127.0.0.1:3800
|
|
@@ -176,7 +177,7 @@ operates on both kinds.
|
|
|
176
177
|
| Var | Purpose |
|
|
177
178
|
|---|---|
|
|
178
179
|
| `INSTANCE_TOKEN` | From `secondlayer init` for writes. Loopback reads need no token |
|
|
179
|
-
| `
|
|
180
|
+
| `SECONDLAYER_API_KEY` | Hosted account key (`sk-sl_*`). `SL_API_KEY` is a one-release hosted fallback |
|
|
180
181
|
| `SL_API_URL` | Instance API. Default `http://127.0.0.1:3800` |
|
|
181
182
|
| `SL_PLATFORM_API_URL` | Alias of `SL_API_URL` |
|
|
182
183
|
| `STACKS_NETWORK` | Default network (also via `--network <mainnet\|testnet\|devnet>`) |
|