Comparing version 3.1.0 to 3.1.1
@@ -141,3 +141,4 @@ const debug = require('debug')('TuyAPI:MessageParser'); | ||
const prefix = Buffer.from('000055aa00000000000000' + | ||
options.commandByte.toString(16).padStart(2, '0'), 'hex'); | ||
(options.commandByte < 16 ? '0' : '') + | ||
options.commandByte.toString(16), 'hex'); | ||
@@ -144,0 +145,0 @@ // Suffix is static |
{ | ||
"name": "tuyapi", | ||
"version": "3.1.0", | ||
"version": "3.1.1", | ||
"description": "An easy-to-use API for devices that use Tuya's cloud services", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -6,2 +6,3 @@ # TuyAPI 🌧 🔌 | ||
[![Coverage Status](https://coveralls.io/repos/github/codetheweb/tuyapi/badge.svg?branch=master)](https://coveralls.io/github/codetheweb/tuyapi?branch=master) | ||
![Node Version](https://img.shields.io/badge/node-%3E=6-blue.svg) | ||
@@ -104,3 +105,3 @@ A library for communicating with devices that use the [Tuya](http://tuya.com) cloud network. These devices are branded under many different names, but if port 6668 is open on your device chances are this library will work with it. | ||
- [NorthernMan54](https://github.com/NorthernMan54) | ||
- [Apollon77](https://github.com/Apollon770) | ||
- [Apollon77](https://github.com/Apollon77) | ||
- [dresende](https://github.com/dresende) | ||
@@ -107,0 +108,0 @@ |
Sorry, the diff of this file is not supported yet
2168122
2427
125