diff --git a/CHANGELOG.md b/CHANGELOG.md index 755421cd..9e7940f7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,11 +5,14 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ## \[Unreleased\] ### Added -- Bring back a websocket reconnection automation for Admin and App websockets. When either of them is closed and a new request made, it will attempt to reconnect using the same app authentication token that was used to initially authenticate the websocket. A specific `InvalidTokenError` is returned if that fails. ### Fixed ### Changed ### Removed +## 2024-10-28: v0.19.0-dev.1 +### Added +- Bring back a websocket reconnection automation for Admin and App websockets. When either of them is closed and a new request made, it will attempt to reconnect using the same app authentication token that was used to initially authenticate the websocket. A specific `InvalidTokenError` is returned if that fails. + ## 2024-10-09: v0.19.0-dev.0 ### Changed - Update to Holochain 0.5.0-dev.0 diff --git a/docs/client.wsclient.close.md b/docs/client.wsclient.close.md index f965e241..963613bb 100644 --- a/docs/client.wsclient.close.md +++ b/docs/client.wsclient.close.md @@ -9,7 +9,7 @@ Close the websocket connection. **Signature:** ```typescript -close(code?: number): Promise; +close(code?: number): Promise; ``` ## Parameters @@ -49,5 +49,5 @@ _(Optional)_ **Returns:** -Promise<CloseEvent> +Promise<IsoWebSocket.CloseEvent> diff --git a/docs/client.wsclient.md b/docs/client.wsclient.md index e9699d45..f9e80aab 100644 --- a/docs/client.wsclient.md +++ b/docs/client.wsclient.md @@ -82,7 +82,7 @@ Description -[WsClientOptions](./client.wsclientoptions.md) \| undefined +[WsClientOptions](./client.wsclientoptions.md) diff --git a/docs/client.wsclient.options.md b/docs/client.wsclient.options.md index 40863ea2..d9bb5198 100644 --- a/docs/client.wsclient.options.md +++ b/docs/client.wsclient.options.md @@ -7,5 +7,5 @@ **Signature:** ```typescript -options: WsClientOptions | undefined; +options: WsClientOptions; ``` diff --git a/package-lock.json b/package-lock.json index 2090ab41..df146f1c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@holochain/client", - "version": "0.19.0-dev.0", + "version": "0.19.0-dev.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@holochain/client", - "version": "0.19.0-dev.0", + "version": "0.19.0-dev.1", "license": "CAL-1.0", "dependencies": { "@bitgo/blake2b": "^3.2.4", diff --git a/package.json b/package.json index 5fcae73c..38333c20 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@holochain/client", - "version": "0.19.0-dev.0", + "version": "0.19.0-dev.1", "description": "A JavaScript client for the Holochain Conductor API", "author": "Holochain Foundation (https://holochain.org)", "license": "CAL-1.0", @@ -72,4 +72,4 @@ "tsx": "^4.7.2", "typescript": "^4.9.5" } -} +} \ No newline at end of file