alphatheta-connect 0.28.0 → 0.28.2

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.
@@ -123,6 +123,11 @@ export declare class Connection {
123
123
  constructor(device: Device, socket: PromiseSocket<Socket>);
124
124
  writeMessage(message: Message, span: Span): Promise<void>;
125
125
  readMessage<T extends Response>(expect: T, span: Span): Promise<Message<T>>;
126
+ /**
127
+ * False once the device has closed its end of the connection or the socket
128
+ * has failed. Every write after that fails with "write after end".
129
+ */
130
+ get isOpen(): boolean;
126
131
  close(): void;
127
132
  }
128
133
  export declare class QueryInterface {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "alphatheta-connect",
3
- "version": "0.28.0",
3
+ "version": "0.28.2",
4
4
  "main": "lib/index.js",
5
5
  "author": "Evan Purkhiser <evanpurkhiser@gmail.com>",
6
6
  "contributors": [