Skip to content

Conversation

@dnicolson
Copy link
Contributor

♻️ Current situation

A string is used as a rejection.

💡 Proposed solution

Use an Error object to be consistent.

@donavanbecker donavanbecker changed the base branch from latest to beta-1.8.0 January 27, 2023 18:35
@donavanbecker donavanbecker merged commit 00c8bb6 into OpenWonderLabs:beta-1.8.0 Jan 27, 2023
@donavanbecker
Copy link
Collaborator

Thanks @dnicolson!

@donavanbecker donavanbecker mentioned this pull request Jan 29, 2023
donavanbecker added a commit that referenced this pull request Jan 29, 2023
## [Version 1.8.0](https://github.com/OpenWonderLabs/node-switchbot/releases/tag/v1.8.0) (2023-01-28)

## What's Changed

- Add Support for BlindTilt (Read Only)
- Use Error object for promise rejection, Thanks [@dnicolson](https://github.com/dnicolson/).  [#181](#181)
- Housekeeping and update dependencies

**Full Changelog**: v1.7.3...v1.8.0
donavanbecker added a commit that referenced this pull request Apr 8, 2023
## [Version 1.8.1](https://github.com/OpenWonderLabs/node-switchbot/releases/tag/v1.8.1) (2023-04-08)

## What's Changed
- Use const keyword for immutable variables, Thanks [@dnicolson](https://github.com/dnicolson/). [#184](#184)
- Use Error object for promise rejection, Thanks [@dnicolson](https://github.com/dnicolson/). [#181](#181)
- Housekeeping and update dependencies

**Full Changelog**: v1.8.0...v1.8.1
@donavanbecker donavanbecker mentioned this pull request Apr 8, 2023
donavanbecker added a commit that referenced this pull request Apr 8, 2023
## [Version 1.8.1](https://github.com/OpenWonderLabs/node-switchbot/releases/tag/v1.8.1) (2023-04-08)

## What's Changed
- Use const keyword for immutable variables, Thanks [@dnicolson](https://github.com/dnicolson/). [#184](#184) 
- Use Error object for promise rejection, Thanks [@dnicolson](https://github.com/dnicolson/). [#181](#181)
- Housekeeping and update dependencies

**Full Changelog**: v1.8.0...v1.8.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants