@secondlayer/cli 10.3.0 → 10.3.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@secondlayer/cli",
3
- "version": "10.3.0",
3
+ "version": "10.3.2",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/ryanwaits/secondlayer.git",
@@ -43,7 +43,7 @@
43
43
  "@inquirer/prompts": "^8.2.0",
44
44
  "@secondlayer/bundler": "^0.5.0",
45
45
  "@secondlayer/scaffold": "^1.5.1",
46
- "@secondlayer/sdk": "^6.54.0",
46
+ "@secondlayer/sdk": "^6.54.1",
47
47
  "@secondlayer/shared": "^7.11.1",
48
48
  "@secondlayer/stacks": "^3.3.1",
49
49
  "@secondlayer/subgraphs": "^3.26.4",
@@ -23,11 +23,11 @@ https://api.cloudflare.com/client/v4/accounts/{ACCOUNT_ID}/workflows/{{NAME}}/in
23
23
  Provision the subscription with bearer auth:
24
24
 
25
25
  ```bash
26
- sl subscriptions create {{NAME}} --runtime cloudflare --auth-token <CF_API_TOKEN>
26
+ secondlayer subscriptions create {{NAME}} --runtime cloudflare --auth-token <CF_API_TOKEN>
27
27
  ```
28
28
 
29
29
  You can also patch an existing subscription with
30
- `sl subscriptions update {{NAME}} --auth-token <CF_API_TOKEN>`.
30
+ `secondlayer subscriptions update {{NAME}} --auth-token <CF_API_TOKEN>`.
31
31
 
32
32
  The token must have `Workflows: Edit` scope.
33
33
 
@@ -5,8 +5,8 @@ to your business logic. No framework lock-in.
5
5
 
6
6
  ## Run
7
7
 
8
- `.env` is written for you at `sl subscriptions create` time with the signing
9
- secret already populated.
8
+ `.env` is written for you at `secondlayer subscriptions create` time with the signing
9
+ secret already populated. Lost it: `secondlayer subscriptions rotate-secret {{NAME}}`.
10
10
 
11
11
  ```bash
12
12
  bun install
@@ -4,8 +4,8 @@ import { Hono } from "hono";
4
4
  /**
5
5
  * Minimal Standard Webhooks receiver.
6
6
  *
7
- * The signing secret was shown ONCE when you ran `sl subscriptions create`.
8
- * If you lost it, rotate it from the dashboard: `/subscriptions/<id>` → rotate.
7
+ * The signing secret was shown ONCE when you ran `secondlayer subscriptions create`.
8
+ * If you lost it: secondlayer subscriptions rotate-secret {{NAME}}
9
9
  */
10
10
 
11
11
  const SIGNING_SECRET = process.env.SIGNING_SECRET;
@@ -21,11 +21,11 @@ https://api.trigger.dev/api/v1/tasks/{{TASK_ID}}/trigger
21
21
  Provision the subscription with bearer auth:
22
22
 
23
23
  ```bash
24
- sl subscriptions create {{NAME}} --runtime trigger --auth-token tr_secret_abc...
24
+ secondlayer subscriptions create {{NAME}} --runtime trigger --auth-token tr_secret_abc...
25
25
  ```
26
26
 
27
27
  You can also patch an existing subscription with
28
- `sl subscriptions update {{NAME}} --auth-token tr_secret_abc...`.
28
+ `secondlayer subscriptions update {{NAME}} --auth-token tr_secret_abc...`.
29
29
 
30
30
  ## Signature verification
31
31