From 80d9d288c2105b8d638c40482f35de26c422bd02 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Tue, 25 Nov 2025 14:26:55 +0100 Subject: [PATCH] chore: bump to 0.1.2 and fix commander typings --- CHANGELOG.md | 7 +++++++ package.json | 2 +- src/cli/program.ts | 4 ++-- src/provider-web.ts | 2 +- 4 files changed, 11 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b69748cab..a131cd5ab 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,13 @@ - Added a proper executable shim so `npx warelay@0.1.x --help` runs the CLI directly. - Help/version banner now uses the README tagline with color, and the help footer includes colored examples with short explanations. - `send` and `status` gained a `--verbose` flag for consistent noisy output when debugging. +- Lowercased branding in docs/UA; web provider UA is `warelay/cli/0.1.1`. + +## 0.1.2 — 2025-11-25 + +### CI/build fix +- Fixed commander help configuration (`subcommandTerm`) so TypeScript builds pass in CI. +- Bumped version/UA to 0.1.2; no functional changes beyond the CI fix. ## 0.1.0 — 2025-11-25 diff --git a/package.json b/package.json index 7d13d4114..343a9dff1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "warelay", - "version": "0.1.1", + "version": "0.1.2", "description": "WhatsApp relay CLI (send, monitor, webhook, auto-reply) using Twilio", "type": "module", "main": "dist/index.js", diff --git a/src/cli/program.ts b/src/cli/program.ts index 2341c6e8d..e52e4e75a 100644 --- a/src/cli/program.ts +++ b/src/cli/program.ts @@ -18,7 +18,7 @@ import { spawnRelayTmux } from "./relay_tmux.js"; export function buildProgram() { const program = new Command(); - const PROGRAM_VERSION = "0.1.1"; + const PROGRAM_VERSION = "0.1.2"; const TAGLINE = "Send, receive, and auto-reply on WhatsApp—Twilio-backed or QR-linked."; @@ -36,7 +36,7 @@ export function buildProgram() { program.configureHelp({ optionTerm: (option) => chalk.yellow(option.flags), - commandTerm: (cmd) => chalk.green(cmd.name()), + subcommandTerm: (cmd) => chalk.green(cmd.name()), }); program.configureOutput({ diff --git a/src/provider-web.ts b/src/provider-web.ts index cf3750ed5..66132d0e6 100644 --- a/src/provider-web.ts +++ b/src/provider-web.ts @@ -48,7 +48,7 @@ export async function createWaSocket(printQr: boolean, verbose: boolean) { version, logger, printQRInTerminal: false, - browser: ["warelay", "cli", "0.1.1"], + browser: ["warelay", "cli", "0.1.2"], syncFullHistory: false, markOnlineOnConnect: false, });