ocpp-ws-io 2.1.5 → 2.1.6

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 +6 -6
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,8 +1,8 @@
1
- # ocpp-ws-io
1
+ <p align="center">
2
+ <img src=".github/banner.svg" alt="ocpp-ws-io" width="420" />
3
+ </p>
2
4
 
3
- > **Type-safe OCPP WebSocket RPC client & server for Node.js.**
4
- >
5
- > built with TypeScript — supports OCPP 1.6, 2.0.1, and 2.1 with full JSON schema validation, all security profiles, clustering support, and blazing fast structured logging powered by [voltlog-io](https://ocpp-ws-io.rohittiwari.me/docs/voltlog-io).
5
+ > built with TypeScript — supports OCPP 1.6, 2.0.1, and 2.1 with optional JSON schema validation, all security profiles, clustering support, and structured logging powered by [voltlog-io](https://ocpp-ws-io.rohittiwari.me/docs/voltlog-io).
6
6
 
7
7
  [![npm version](https://img.shields.io/npm/v/ocpp-ws-io.svg)](https://www.npmjs.com/package/ocpp-ws-io)
8
8
  [![License](https://img.shields.io/npm/l/ocpp-ws-io.svg)](https://github.com/rohittiwari-dev/ocpp-ws-io/blob/main/LICENSE)
@@ -173,7 +173,7 @@ client.handle("StatusNotification", ({ params }) => {
173
173
 
174
174
  ## 📝 Logging
175
175
 
176
- `ocpp-ws-io` comes with blazing fast, **built-in structured JSON logging** powered by our custom-built logger, [voltlog-io](https://ocpp-ws-io.rohittiwari.me/docs/voltlog-io). It is finely tuned specifically for high-throughput WebSocket environments.
176
+ `ocpp-ws-io` includes **built-in structured JSON logging** powered by [voltlog-io](https://ocpp-ws-io.rohittiwari.me/docs/voltlog-io), designed for high-throughput WebSocket environments.
177
177
 
178
178
  ### Default Behavior
179
179
 
@@ -375,7 +375,7 @@ Scale your OCPP server across multiple nodes using Redis.
375
375
 
376
376
  - **Unicast Routing**: Send messages to any client on any node.
377
377
  - **Presence**: Track connected clients across the cluster.
378
- - **Reliability**: Zero message loss during node restarts (via Redis Streams).
378
+ - **Reliability**: Uses Redis Streams for durable message delivery.
379
379
  - **Batch Processing**: Use `server.broadcastBatch` to combine multi-node calls effortlessly.
380
380
 
381
381
  ### Custom Adapters (`EventAdapterInterface`)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ocpp-ws-io",
3
- "version": "2.1.5",
3
+ "version": "2.1.6",
4
4
  "description": "Type-safe OCPP 1.6 & 2.0.1 WebSocket RPC client & server. Build EV charging CSMS platforms with Redis clustering, strict validation, and DDoS protection.",
5
5
  "repository": {
6
6
  "type": "git",