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.2.4 to 3.2.5

4

dist/commands.d.ts
import { Connection } from "./connection";
import { HassEntity, HassServices, HassConfig } from "./types";
import { HassEntity, HassServices, HassConfig, HassUser } from "./types";
export declare const getStates: (connection: Connection) => Promise<HassEntity[]>;
export declare const getServices: (connection: Connection) => Promise<HassServices>;
export declare const getConfig: (connection: Connection) => Promise<HassConfig>;
export declare const getUser: (connection: Connection) => Promise<HassConfig>;
export declare const getUser: (connection: Connection) => Promise<HassUser>;
export declare const callService: (connection: Connection, domain: string, service: string, serviceData?: object | undefined) => Promise<{}>;

@@ -59,2 +59,6 @@ import { Auth } from "./auth";

attributes: HassEntityAttributeBase;
context: {
id: string;
user_id: string | null;
};
};

@@ -67,3 +71,3 @@ export declare type HassEntityAttributeBase = {

supported_features?: number;
hidden: boolean;
hidden?: boolean;
assumed_state?: boolean;

@@ -85,3 +89,3 @@ device_class?: string;

description: string;
example: string;
example: string | boolean | number;
};

@@ -96,1 +100,6 @@ };

};
export declare type HassUser = {
id: string;
is_owner: boolean;
name: string;
};

@@ -5,3 +5,3 @@ {

"sideEffects": false,
"version": "3.2.4",
"version": "3.2.5",
"description": "Home Assistant websocket client",

@@ -8,0 +8,0 @@ "source": "lib/index.ts",

@@ -9,3 +9,5 @@ # :aerial_tramway: JavaScript websocket client for Home Assistant

Clone this repository, then go to home-assistant-js-websocket folder and run the following commands:
```bash
yarn install
yarn build

@@ -12,0 +14,0 @@ npx http-server -o

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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