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

node-switchbot

Package Overview
Dependencies
Maintainers
0
Versions
287
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-switchbot - npm Package Compare versions

Comparing version 3.2.0 to 3.2.1

9

CHANGELOG.md

@@ -5,2 +5,10 @@ # Changelog

## [3.2.1](https://github.com/OpenWonderLabs/node-switchbot/releases/tag/v3.2.1) (2024-10-21)
### What's Changed
- Add more Meter Pro types
- Housekeeping and update dependencies
**Full Changelog**: https://github.com/OpenWonderLabs/node-switchbot/compare/v3.2.0...v3.2.1
## [3.2.0](https://github.com/OpenWonderLabs/node-switchbot/releases/tag/v3.2.0) (2024-10-21)

@@ -11,2 +19,3 @@

- Fix Noble import issue
- Housekeeping and update dependencies

@@ -13,0 +22,0 @@ **Full Changelog**: https://github.com/OpenWonderLabs/node-switchbot/compare/v3.1.1...v3.2.0

1

dist/types/devicelist.d.ts

@@ -30,2 +30,3 @@ export interface deviceList {

export type meterPlus = device & {};
export type meterPro = device & {};
export type outdoorMeter = device & {};

@@ -32,0 +33,0 @@ export type lock = device & {

@@ -36,2 +36,7 @@ import type { device } from './devicelist.js';

};
export type meterProStatus = deviceStatus & {
temperature: number;
battery: number;
humidity: number;
};
export type outdoorMeterStatus = deviceStatus & {

@@ -38,0 +43,0 @@ battery: number;

@@ -84,2 +84,7 @@ export interface webhookRequest {

};
export type meterProWebhookContext = deviceWebhookContext & {
temperature: number;
scale: 'CELSIUS' | 'FAHRENHEIT';
humidity: number;
};
export type outdoorMeterWebhookContext = deviceWebhookContext & {

@@ -86,0 +91,0 @@ temperature: number;

@@ -17,2 +17,3 @@ import type { Buffer } from 'node:buffer';

MeterPlus: DeviceInfo;
MeterPro: DeviceInfo;
Hub2: DeviceInfo;

@@ -19,0 +20,0 @@ OutdoorMeter: DeviceInfo;

2

package.json
{
"name": "node-switchbot",
"type": "module",
"version": "3.2.0",
"version": "3.2.1",
"description": "The node-switchbot is a Node.js module which allows you to control your Switchbot Devices through Bluetooth (BLE).",

@@ -6,0 +6,0 @@ "author": "OpenWonderLabs (https://github.com/OpenWonderLabs)",

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

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