@secondlayer/cli 11.0.0 → 12.0.0

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 CHANGED
@@ -59,14 +59,13 @@ No account. Writes `.env.local`, restores history, prints the Stacks observer st
59
59
  |---|---|
60
60
  | `secondlayer subgraphs create <name>` | Scaffold a definition file |
61
61
  | `secondlayer subgraphs scaffold <SP...::contract> [-o <path>] [--no-install]` | Generate a subgraph from a deployed contract |
62
- | `secondlayer subgraphs deploy <file> [--start-block <n>] [--visibility public\|private]` | Deploy; `--start-block` overrides the definition. Managed deploys default `public`, BYO default `private` |
62
+ | `secondlayer subgraphs deploy <file> [--start-block <n>] [--visibility public\|private]` | Deploy; `--start-block` overrides the definition. Deploys default `public` |
63
63
  | `secondlayer subgraphs list` | List deployments (`ls` alias) |
64
64
  | `secondlayer subgraphs dev <file>` | Watch + hot-redeploy |
65
65
  | `secondlayer subgraphs query <name> <table>` | Query a table with filters, sort, pagination |
66
66
  | `secondlayer subgraphs status <name>` / `gaps <name>` | Inspect a deployment |
67
67
  | `secondlayer subgraphs spec <nameOrFile> [--format openapi\|agent\|markdown]` | Export API docs for a deployed subgraph or a local definition file |
68
- | `secondlayer subgraphs deploy <file> --database-url <url>` | BYO: write the subgraph's rows to your own Postgres |
69
- | `secondlayer subgraphs codegen <file> --target prisma\|drizzle [-o <path>]` | Generate an ORM schema for the subgraph's tables (BYO DB) |
68
+ | `secondlayer subgraphs codegen <file> --target prisma\|drizzle [-o <path>]` | Generate a typed ORM schema for the subgraph's tables |
70
69
  | `secondlayer subgraphs client <name> -o <path>` | Generate a typed query client for a deployed subgraph |
71
70
  | `secondlayer subgraphs reindex/backfill/cancel/delete <name>` | Manage processing |
72
71
 
@@ -74,7 +73,7 @@ No account. Writes `.env.local`, restores history, prints the Stacks observer st
74
73
 
75
74
  | Command | What it does |
76
75
  |---|---|
77
- | `secondlayer index ft-transfers` / `nft-transfers` / `events --event-type <t>` / `contract-calls` | Decoded Index layer. Anonymous reads OK; free-tier keys rejected (Build+ for keyed) |
76
+ | `secondlayer index ft-transfers` / `nft-transfers` / `events --event-type <t>` / `contract-calls` | Decoded Index layer. Anonymous reads OK |
78
77
  | `secondlayer streams tip` / `events` / `consume` / `reorgs` / `canonical <h>` / `pull` | Raw chain event firehose. **Requires `SL_API_KEY`** |
79
78
 
80
79
  Reads emit JSON to stdout (`--json` accepted across all read commands); `-o/--output` is a file path, not a format.