home-assistant-js-websocket
Advanced tools
Comparing version 3.1.2 to 3.1.3
@@ -21,3 +21,3 @@ import { ConnectionOptions, MessageBase } from "./types"; | ||
close(): void; | ||
subscribeEvents<EventType>(eventCallback: (ev: EventType) => void, eventType: string): Promise<() => Promise<void>>; | ||
subscribeEvents<EventType>(eventCallback: (ev: EventType) => void, eventType?: string): Promise<() => Promise<void>>; | ||
ping(): Promise<{}>; | ||
@@ -24,0 +24,0 @@ sendMessage(message: MessageBase, commandId?: number): void; |
@@ -29,3 +29,3 @@ import { Error } from "./types"; | ||
}; | ||
export declare function subscribeEvents(eventType: string): SubscribeEventMessage; | ||
export declare function subscribeEvents(eventType?: string): SubscribeEventMessage; | ||
export declare function unsubscribeEvents(subscription: number): { | ||
@@ -32,0 +32,0 @@ type: string; |
@@ -5,3 +5,3 @@ { | ||
"sideEffects": false, | ||
"version": "3.1.2", | ||
"version": "3.1.3", | ||
"description": "Home Assistant websocket client", | ||
@@ -8,0 +8,0 @@ "source": "lib/index.ts", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
72392