Skip to content

Conversation

@dnicolson
Copy link
Contributor

♻️ Current situation

Many immutable variables are defined using the let keyword.

💡 Proposed solution

Use the const keyword for immutable variables as it was earlier.

@donavanbecker donavanbecker changed the base branch from latest to beta-1.8.1 February 19, 2023 20:06
@donavanbecker donavanbecker merged commit a5d87fa into OpenWonderLabs:beta-1.8.1 Feb 19, 2023
@donavanbecker
Copy link
Collaborator

@dnicolson, This will be in the latest beta of node-switchbot.

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