queclink-parser 1.4.0 → 1.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ #### 1.4.1 (2022-02-28)
2
+
3
+ ##### New Features
4
+
5
+ * **gv500map:** suport for gv500Map added ([6155dcbb](https://github.com/jaayesta/queclink-parser/commit/6155dcbb2a4feb8383e357beeca06c7d4feed4eb))
6
+
1
7
  ### 1.4.0 (2022-02-02)
2
8
 
3
9
  ##### New Features
package/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
  [![dependency Status](https://img.shields.io/david/jaayesta/queclink-parser.svg?style=flat-square)](https://david-dm.org/jaayesta/queclink-parser#info=dependencies)
6
6
  [![devDependency Status](https://img.shields.io/david/dev/jaayesta/queclink-parser.svg?style=flat-square)](https://david-dm.org/jaayesta/queclink-parser#info=devDependencies)
7
7
 
8
- > Parses raw data from Queclink devices (TCP). Devices supported: GV55, GV55W, GV200, GV300, GV75W, GV300W, GV500, GV600W, GV800W, GMT100, GL50, GL50B, GL300, GL300W, GV50P
8
+ > Parses raw data from Queclink devices (TCP). Devices supported: GV55, GV55W, GV200, GV300, GV75W, GV300W, GV500, GV500MAP, GV600W, GV800W, GMT100, GL50, GL50B, GL300, GL300W, GV50P
9
9
 
10
10
  ## Installation
11
11
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "queclink-parser",
3
- "version": "1.4.0",
3
+ "version": "1.4.1",
4
4
  "description": "Parse raw data from Queclink devices",
5
5
  "main": "src",
6
6
  "scripts": {
package/src/index.js CHANGED
@@ -104,7 +104,7 @@ const parse = (raw, options) => {
104
104
  result = gv300.parse(raw.toString())
105
105
  } else if (device === 'GV200') {
106
106
  result = gv200.parse(raw.toString())
107
- } else if (device === 'GV500') {
107
+ } else if (device === 'GV500' || device === 'GV500MAP') {
108
108
  result = gv500.parse(raw.toString())
109
109
  } else if (device === 'GV55' || device === 'GV55W') {
110
110
  result = gv55.parse(raw.toString(), device)
package/src/utils.js CHANGED
@@ -31,6 +31,7 @@ const devices = {
31
31
  '11': 'GL500',
32
32
  '1A': 'GL300',
33
33
  '1F': 'GV500',
34
+ '5E': 'GV500MAP',
34
35
  '25': 'GV300', // New Version
35
36
  '35': 'GV200', // New Version
36
37
  '27': 'GV300W',