@secondlayer/cli 7.0.0 → 8.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/dist/cli.js +37 -67
- package/dist/cli.js.map +7 -7
- package/package.json +1 -1
- package/templates/subscriptions/cloudflare/README.md +1 -1
- package/templates/subscriptions/node/README.md +1 -1
- package/templates/subscriptions/node/src/index.ts +1 -1
- package/templates/subscriptions/trigger/README.md +1 -1
package/package.json
CHANGED
|
@@ -23,7 +23,7 @@ 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 create
|
|
26
|
+
sl subscriptions create {{NAME}} --runtime cloudflare --auth-token <CF_API_TOKEN>
|
|
27
27
|
```
|
|
28
28
|
|
|
29
29
|
You can also patch an existing subscription with
|
|
@@ -4,7 +4,7 @@ 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 create
|
|
7
|
+
* The signing secret was shown ONCE when you ran `sl subscriptions create`.
|
|
8
8
|
* If you lost it, rotate it from the dashboard: `/subscriptions/<id>` → rotate.
|
|
9
9
|
*/
|
|
10
10
|
|
|
@@ -21,7 +21,7 @@ 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 create
|
|
24
|
+
sl subscriptions create {{NAME}} --runtime trigger --auth-token tr_secret_abc...
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
You can also patch an existing subscription with
|