homeassistant-ws
Advanced tools
Comparing version 0.1.3 to 0.1.4
{ | ||
"name": "homeassistant-ws", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "description": "Client for Homeassistant's websocket API", |
@@ -17,3 +17,3 @@ declare module "homeassistant-ws" { | ||
token?: string; | ||
messageSerializer: (outgoingMessage: WebsocketMessage) => string; | ||
@@ -31,3 +31,3 @@ messageParser: (incomingMessage: string) => WebsocketMessage; | ||
interface EventCallback { | ||
(event: EventData): void | ||
(event: EventData): void; | ||
} | ||
@@ -48,8 +48,16 @@ | ||
callService: (domain: string, service: string, additionalArgs?: ServiceCallOptions) => Promise<Result>; | ||
getMediaPlayerThumbnail: (entityId: EntityId) => Promise<BinaryContentResult>; | ||
callService: ( | ||
domain: string, | ||
service: string, | ||
additionalArgs?: ServiceCallOptions | ||
) => Promise<Result>; | ||
getMediaPlayerThumbnail: ( | ||
entityId: EntityId | ||
) => Promise<BinaryContentResult>; | ||
getCameraThumbnail: (entityId: EntityId) => Promise<BinaryContentResult>; | ||
} | ||
export default function createClient (options: Config): Promise<Client>; | ||
export default function createClient( | ||
options: Partial<Config> | ||
): Promise<Client>; | ||
} |
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
12783
207