node-mavlink 2.0.0-alpha.1 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -30,6 +30,8 @@ const REGISTRY = {
30
30
  }
31
31
 
32
32
  reader.on('data', packet => {
33
+ console.log(packet.debug())
34
+
33
35
  const clazz = REGISTRY[packet.header.msgid]
34
36
  if (clazz) {
35
37
  const data = packet.protocol.data(packet.payload, clazz)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-mavlink",
3
- "version": "2.0.0-alpha.1",
3
+ "version": "2.0.0",
4
4
  "author": "Matthias Hryniszak <padcom@gmail.com>",
5
5
  "license": "LGPL",
6
6
  "description": "MavLink definitions and parsing library",
@@ -22,7 +22,7 @@
22
22
  "main": "dist/index.js",
23
23
  "types": "dist/index.d.ts",
24
24
  "dependencies": {
25
- "mavlink-mappings": "^1.0.15-20230328-0"
25
+ "mavlink-mappings": "^1.0.16-20230329-0"
26
26
  },
27
27
  "scripts": {
28
28
  "clean": "rm -rf dist lib/*.js",