Skip to content

Commit 8932109

Browse files
committed
v3.1.1
1 parent bcdf27a commit 8932109

File tree

4 files changed

+11
-3
lines changed

4 files changed

+11
-3
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22

33
All notable changes to this project will be documented in this file. This project uses [Semantic Versioning](https://semver.org/)
44

5+
## [3.1.1](https://github.com/OpenWonderLabs/node-switchbot/releases/tag/v3.1.1) (2024-10-11)
6+
7+
### What's Changed
8+
- Fix `K10Pro` Type, `Property 'K10Pro' does not exist on type 'typeof SwitchBotModel'`.
9+
10+
**Full Changelog**: https://github.com/OpenWonderLabs/node-switchbot/compare/v3.1.0...v3.1.1
11+
512
## [3.1.0](https://github.com/OpenWonderLabs/node-switchbot/releases/tag/v3.1.0) (2024-10-11)
613

714
### What's Changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "node-switchbot",
33
"type": "module",
4-
"version": "3.1.0",
4+
"version": "3.1.1",
55
"description": "The node-switchbot is a Node.js module which allows you to control your Switchbot Devices through Bluetooth (BLE).",
66
"author": "OpenWonderLabs (https://github.com/OpenWonderLabs)",
77
"license": "MIT",

src/types/types.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ export enum SwitchBotModel {
6262
Keypad = 'W2500010',
6363
KeypadTouch = 'W2500020',
6464
K10 = 'K10+',
65+
K10Pro = 'K10+ Pro',
6566
WoSweeper = 'WoSweeper',
6667
WoSweeperMini = 'WoSweeperMini',
6768
RobotVacuumCleanerS1 = 'W3011000', // Currently only available in Japan.

0 commit comments

Comments
 (0)