wldx-admin-cli 1.2.0 → 1.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.
Files changed (2) hide show
  1. package/README.md +8 -1
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # wldx-admin-cli — `wx-admin`, an admin command line for the Wildix PBX
2
2
 
3
- **Version 1.2.0** · unofficial · MIT
3
+ **Version 1.2.1** · unofficial · MIT
4
4
 
5
5
  `wx-admin` manages a Wildix PBX through its REST API (`https://<pbx>/api/v1`): the system and its settings, users,
6
6
  ACL, queues, dialplans and the objects they use (timetables, IVR, switches, paging, the dialplan database), trunks,
@@ -410,6 +410,13 @@ As in the internal Wildix CLI: text for people by default, `--output json` for s
410
410
  PBX, `{"type":"result","result":X}` unwrapped to X), `--pretty`, `--no-color`; they may stand anywhere. Messages for
411
411
  people (notes, prompts) go to stderr.
412
412
 
413
+ ## Updates
414
+
415
+ Once a day, while a command runs in a terminal, `wx-admin` asks npm for its latest version (in the background, never
416
+ holding the command); when there is a newer one, a line after the output says so (`npm i -g wldx-admin-cli`).
417
+ Nothing is installed by itself. Off in CI, under `npx`, without a terminal, with `--output json`, or with
418
+ `WX_NO_UPDATE_CHECK=1`.
419
+
413
420
  ## Exit codes
414
421
 
415
422
  `0` done · `1` error (network, the PBX refused the request) · `2` not logged in, or the PBX refused the access ·
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wldx-admin-cli",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "Unofficial admin command line for the Wildix PBX (dialplans and the PBX REST API), with an x-bees login or a Company API Key",
5
5
  "keywords": [
6
6
  "wildix",
@@ -31,7 +31,7 @@
31
31
  "node": ">=22"
32
32
  },
33
33
  "dependencies": {
34
- "wldx-core": "1.2.0"
34
+ "wldx-core": "1.2.1"
35
35
  },
36
36
  "scripts": {
37
37
  "test": "node --test test/*.test.mjs"