Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

home-assistant-js-websocket

Package Overview
Dependencies
Maintainers
1
Versions
102
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

home-assistant-js-websocket - npm Package Compare versions

Comparing version 3.1.2 to 3.1.3

2

dist/connection.d.ts

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc