From 7c646cb54dc64be0fa0a4fc332570ef7112761d3 Mon Sep 17 00:00:00 2001 From: ytkimirti Date: Mon, 12 Oct 2026 13:51:24 +0300 Subject: [PATCH 1/2] qstash: document Client.fromEnv --- qstash/sdks/ts/gettingstarted.mdx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/qstash/sdks/ts/gettingstarted.mdx b/qstash/sdks/ts/gettingstarted.mdx index f0d4ffa1f..2da3bad49 100644 --- a/qstash/sdks/ts/gettingstarted.mdx +++ b/qstash/sdks/ts/gettingstarted.mdx @@ -24,6 +24,12 @@ const client = new Client({ }); ``` +Without a `token`, the client reads `QSTASH_TOKEN` and `QSTASH_URL` from the environment and only warns when they are missing. Use `Client.fromEnv()` to throw instead: + +```typescript +const client = Client.fromEnv(); +``` + #### RetryConfig You can configure the retry policy of the client by passing the configuration to the client constructor. From afef9073404721bfdc67bad07328f5ae7b274d28 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 12 Oct 2026 10:51:45 +0000 Subject: [PATCH 2/2] chore(llms): regenerate llms.txt and llms-full.txt --- llms-full.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/llms-full.txt b/llms-full.txt index a210426ee..3dac2d678 100644 --- a/llms-full.txt +++ b/llms-full.txt @@ -21965,6 +21965,12 @@ const client = new Client({ }); ``` +Without a `token`, the client reads `QSTASH_TOKEN` and `QSTASH_URL` from the environment and only warns when they are missing. Use `Client.fromEnv()` to throw instead: + +```typescript +const client = Client.fromEnv(); +``` + #### RetryConfig You can configure the retry policy of the client by passing the configuration to the client constructor.