@secondlayer/cli 3.2.0-beta.1 → 3.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@secondlayer/cli",
3
- "version": "3.2.0-beta.1",
3
+ "version": "3.2.1",
4
4
  "description": "CLI for subgraphs and blockchain indexing on Stacks",
5
5
  "type": "module",
6
6
  "bin": {
@@ -42,11 +42,11 @@
42
42
  "license": "MIT",
43
43
  "dependencies": {
44
44
  "@inquirer/prompts": "^8.2.0",
45
- "@secondlayer/bundler": "^0.3.1-alpha.0",
46
- "@secondlayer/sdk": "^3.0.0-alpha.0",
47
- "@secondlayer/shared": "^3.0.0-alpha.0",
48
- "@secondlayer/stacks": "^1.0.0-alpha.0",
49
- "@secondlayer/subgraphs": "^1.0.0-beta.2",
45
+ "@secondlayer/bundler": "^0.3.1",
46
+ "@secondlayer/sdk": "^3.0.1",
47
+ "@secondlayer/shared": "^4.0.0",
48
+ "@secondlayer/stacks": "^1.0.1",
49
+ "@secondlayer/subgraphs": "^1.1.0",
50
50
  "@biomejs/js-api": "^0.7.0",
51
51
  "@biomejs/wasm-nodejs": "^1.9.0",
52
52
  "esbuild": "^0.19.0",
@@ -1,7 +1,9 @@
1
- # {{NAME}} — Cloudflare Workflows subscription receiver
1
+ # {{NAME}} — Cloudflare subscription receiver
2
2
 
3
- A Cloudflare Workflow triggered by a Secondlayer subscription via the
4
- `workflows/instances` REST API.
3
+ A [Cloudflare Workflows](https://developers.cloudflare.com/workflows/)
4
+ instance triggered by a Secondlayer subscription via Cloudflare's
5
+ `workflows/instances` REST API. "Workflows" here refers to Cloudflare's
6
+ durable-execution product; it's separate from anything Secondlayer runs.
5
7
 
6
8
  ## Run
7
9
 
@@ -28,9 +30,9 @@ The token must have `Workflows: Edit` scope.
28
30
 
29
31
  ## Signature verification
30
32
 
31
- Cloudflare authenticates the API call with the bearer token. Inside your
32
- workflow the `event.payload.params._outboxId` is a stable dedup key if
33
- you want idempotent replay handling.
33
+ Cloudflare authenticates the API call with the bearer token. Inside the
34
+ Workflows entrypoint, `event.payload.params._outboxId` is a stable dedup
35
+ key if you want idempotent replay handling.
34
36
 
35
37
  ## Deploy
36
38
 
@@ -28,7 +28,7 @@ interface Env {
28
28
  export default {
29
29
  async fetch(_req: Request): Promise<Response> {
30
30
  return new Response(
31
- "This worker is a Workflow receiver — trigger it via the Cloudflare API.",
31
+ "Cloudflare Workflows receiver — trigger via the `workflows/instances` API.",
32
32
  );
33
33
  },
34
34
  };
@@ -2,7 +2,7 @@
2
2
 
3
3
  Inngest Dev Server with a function wired to `{{EVENT_NAME}}`. Events come
4
4
  from your Secondlayer subscription — Inngest handles retries, concurrency,
5
- and durable execution.
5
+ and step-level state.
6
6
 
7
7
  ## Run
8
8