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",