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.
- package/README.md +6 -6
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
<p align="center">
|
|
2
|
+
<img src=".github/banner.svg" alt="ocpp-ws-io" width="420" />
|
|
3
|
+
</p>
|
|
2
4
|
|
|
3
|
-
>
|
|
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
|
[](https://www.npmjs.com/package/ocpp-ws-io)
|
|
8
8
|
[](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`
|
|
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**:
|
|
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.
|
|
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",
|