@secondlayer/cli 8.4.0 → 8.4.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 CHANGED
@@ -69,6 +69,7 @@ sl subscriptions create my-hook \
69
69
  | `sl projects list` | List projects |
70
70
  | `sl projects use <slug>` | Bind cwd to a project (writes `./.secondlayer/project`) |
71
71
  | `sl projects get` | Show resolved project + source file |
72
+ | `sl projects delete <slug>` (alias `rm`) | Delete a project (`-y` to skip confirm) |
72
73
 
73
74
  Project binding is per-directory: `.secondlayer/project` in cwd takes
74
75
  precedence over `~/.secondlayer/config.json:defaultProject`. The walk-up stops
@@ -90,6 +91,16 @@ at `.git`.
90
91
  | `sl subgraphs client <name> -o <path>` | Generate a typed query client for a deployed subgraph |
91
92
  | `sl subgraphs reindex/backfill/cancel/delete <name>` | Manage processing |
92
93
 
94
+ ### Data products (reads)
95
+
96
+ | Command | What it does |
97
+ |---|---|
98
+ | `sl datasets list` / `query <dataset> [--filter k=v] [--cursor] [--limit] [--json]` | Foundation Datasets (sBTC, BNS, PoX-4, STX transfers). Public — no key |
99
+ | `sl index ft-transfers` / `nft-transfers` / `events --event-type <t>` / `contract-calls` | Decoded L2 layer. Anonymous reads OK; free-tier keys rejected (Build+ for keyed) |
100
+ | `sl streams tip` / `events` / `consume` / `reorgs` / `canonical <h>` / `pull` | Raw L1 event firehose. **Requires `SL_API_KEY`** |
101
+
102
+ Reads emit JSON to stdout (`--json` accepted across all read commands); `-o/--output` is a file path, not a format.
103
+
93
104
  ### Subscriptions
94
105
 
95
106
  | Command | What it does |
package/dist/cli.js CHANGED
@@ -32354,7 +32354,7 @@ var {
32354
32354
  // package.json
32355
32355
  var package_default = {
32356
32356
  name: "@secondlayer/cli",
32357
- version: "8.4.0",
32357
+ version: "8.4.1",
32358
32358
  repository: {
32359
32359
  type: "git",
32360
32360
  url: "git+https://github.com/ryanwaits/secondlayer.git",
@@ -32403,7 +32403,7 @@ var package_default = {
32403
32403
  dependencies: {
32404
32404
  "@inquirer/prompts": "^8.2.0",
32405
32405
  "@secondlayer/bundler": "^0.3.7",
32406
- "@secondlayer/sdk": "^6.2.0",
32406
+ "@secondlayer/sdk": "^6.2.1",
32407
32407
  "@secondlayer/shared": "^6.12.0",
32408
32408
  "@secondlayer/stacks": "^2.3.0",
32409
32409
  "@secondlayer/subgraphs": "^3.5.0",
@@ -38206,5 +38206,5 @@ program.commandsGroup("Account:");
38206
38206
  registerAccountCommand(program);
38207
38207
  program.parse();
38208
38208
 
38209
- //# debugId=11A747050F90401664756E2164756E21
38209
+ //# debugId=7804650EDA8E817964756E2164756E21
38210
38210
  //# sourceMappingURL=cli.js.map