From 49c9a40f14e2e02b27a72801878bed8cf15abd80 Mon Sep 17 00:00:00 2001 From: Antonio Luiz Date: Mon, 16 Sep 2024 16:29:41 -0300 Subject: [PATCH] v2.14.0 --- docs/modules/cs/index.ts.md | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/modules/cs/index.ts.md b/docs/modules/cs/index.ts.md index 5e3fccc..3e8f51c 100644 --- a/docs/modules/cs/index.ts.md +++ b/docs/modules/cs/index.ts.md @@ -87,7 +87,7 @@ public addConnectionListener(listener: ConnectionListener) **Signature** ```ts -public async close(): Promise +public async close(code?: number): Promise ``` ### closeConnection (method) @@ -95,7 +95,7 @@ public async close(): Promise **Signature** ```ts -public async closeConnection(chargePointId: string): Promise +public async closeConnection(chargePointId: string, code?: number): Promise ``` ### sendRequest (method) diff --git a/package.json b/package.json index cf90eb9..c08d813 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@voltbras/ts-ocpp", "description": "OCPP (Open Charge Point Protocol) implemented in Typescript", - "version": "2.13.1", + "version": "2.14.0", "main": "dist/index.js", "types": "dist/index.d.ts", "homepage": "https://github.com/voltbras/ts-ocpp",