z21-client 1.0.0 → 1.1.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.
Files changed (2) hide show
  1. package/README.md +3 -1
  2. package/package.json +1 -3
package/README.md CHANGED
@@ -1,7 +1,8 @@
1
1
  # z21-client
2
2
 
3
- z21-client is a Node.js library written in TypeScript that implements the UDP protocol of the Roco/Fleischmann Z21 DCC command station.
3
+ z21-client is a Node.js library written in TypeScript that implements the Roco/Fleischmann Z21 DCC command station.
4
4
  It provides a strongly-typed, event-driven API to control locomotives and accessories, read and write CVs, and monitor system events in real time.
5
+ Connection to the Z21 command station is performed over the LAN (Ethernet/UDP).
5
6
 
6
7
  ---
7
8
 
@@ -109,6 +110,7 @@ new Z21Client(host: string, port?: number, debug?: boolean)
109
110
  - `"engineInfo"`: Engine info updates
110
111
  - `"cvResult"`: CV read/write result
111
112
  - `"accessoryInfo"`: Accessory/turnout info
113
+ - `"feedback"`: Feedback module updates ()
112
114
  - `"unknownBroadcast"`: Unknown broadcast received
113
115
  - `"error"`: UDP or protocol errors
114
116
  - `"debug"`: Debug messages
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "z21-client",
3
- "version": "1.0.0",
3
+ "version": "1.1.0",
4
4
  "description": "TypeScript UDP client for Roco/Fleischmann Z21 DCC command station",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -21,14 +21,12 @@
21
21
  "fleischmann",
22
22
  "model-railway",
23
23
  "model-train",
24
- "railroad",
25
24
  "train-control",
26
25
  "locomotive",
27
26
  "turnout",
28
27
  "accessory",
29
28
  "decoder",
30
29
  "cv",
31
- "udp",
32
30
  "typescript",
33
31
  "nodejs"
34
32
  ],