@tak-ps/node-cot 5.1.0 → 5.1.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
@@ -10,6 +10,10 @@
10
10
 
11
11
  ## Version History
12
12
 
13
+ ### v5.1.1
14
+
15
+ - :bug: Make Chat vars optional
16
+
13
17
  ### v5.1.0
14
18
 
15
19
  - :rocket: Add `chat` property to GeoJSON output
@@ -30,10 +30,7 @@
30
30
  },
31
31
  "required": [
32
32
  "chatroom",
33
- "groupOwner",
34
33
  "id",
35
- "messageId",
36
- "parent",
37
34
  "senderCallsign"
38
35
  ],
39
36
  "type": "object"
package/dist/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tak-ps/node-cot",
3
3
  "type": "module",
4
- "version": "5.1.0",
4
+ "version": "5.1.1",
5
5
  "description": "Lightweight JavaScript library for parsing and manipulating TAK messages",
6
6
  "author": "Nick Ingalls <nick@ingalls.ca>",
7
7
  "main": "dist/index.js",
package/lib/schema.json CHANGED
@@ -30,10 +30,7 @@
30
30
  },
31
31
  "required": [
32
32
  "chatroom",
33
- "groupOwner",
34
33
  "id",
35
- "messageId",
36
- "parent",
37
34
  "senderCallsign"
38
35
  ],
39
36
  "type": "object"
package/lib/types.ts CHANGED
@@ -18,13 +18,13 @@ export interface Track {
18
18
 
19
19
  export interface Chat {
20
20
  _attributes: {
21
- parent: string;
22
- groupOwner: string;
23
- messageId: string;
21
+ parent?: string;
22
+ groupOwner?: string;
23
+ messageId?: string;
24
24
  chatroom: string;
25
25
  id: string;
26
26
  senderCallsign: string;
27
- [k: string]: string;
27
+ [k: string]: string | undefined;
28
28
  }
29
29
 
30
30
  chatgrp: GenericAttributes
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tak-ps/node-cot",
3
3
  "type": "module",
4
- "version": "5.1.0",
4
+ "version": "5.1.1",
5
5
  "description": "Lightweight JavaScript library for parsing and manipulating TAK messages",
6
6
  "author": "Nick Ingalls <nick@ingalls.ca>",
7
7
  "main": "dist/index.js",