@tak-ps/node-cot 3.1.0 → 3.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
+ ### v3.1.1
14
+
15
+ - :bug: Include schema.json in dist output
16
+
13
17
  ### v3.1.0
14
18
 
15
19
  - :rocket: Expand use of known vs generic raw attributes
@@ -0,0 +1,83 @@
1
+ {
2
+ "type": "object",
3
+ "required": [
4
+ "event"
5
+ ],
6
+ "properties": {
7
+ "event": {
8
+ "type": "object",
9
+ "required": [
10
+ "_attributes",
11
+ "point"
12
+ ],
13
+ "properties": {
14
+ "_attributes": {
15
+ "type": "object",
16
+ "required": [
17
+ "version",
18
+ "uid",
19
+ "type",
20
+ "time",
21
+ "start",
22
+ "stale"
23
+ ],
24
+ "properties": {
25
+ "version": {
26
+ "type": "string"
27
+ },
28
+ "uid": {
29
+ "type": "string"
30
+ },
31
+ "type": {
32
+ "type": "string"
33
+ },
34
+ "time": {
35
+ "type": "string"
36
+ },
37
+ "start": {
38
+ "type": "string"
39
+ },
40
+ "stale": {
41
+ "type": "string"
42
+ }
43
+ }
44
+ },
45
+ "point": {
46
+ "type": "object",
47
+ "required": [
48
+ "_attributes"
49
+ ],
50
+ "properties": {
51
+ "_attributes": {
52
+ "type": "object",
53
+ "required": [
54
+ "lat",
55
+ "lon",
56
+ "hae",
57
+ "ce",
58
+ "le"
59
+ ],
60
+ "properties": {
61
+ "lat": {
62
+ "type": "number"
63
+ },
64
+ "lon": {
65
+ "type": "number"
66
+ },
67
+ "hae": {
68
+ "type": "number"
69
+ },
70
+ "ce": {
71
+ "type": "number"
72
+ },
73
+ "le": {
74
+ "type": "number"
75
+ }
76
+ }
77
+ }
78
+ }
79
+ }
80
+ }
81
+ }
82
+ }
83
+ }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tak-ps/node-cot",
3
3
  "type": "module",
4
- "version": "3.1.0",
4
+ "version": "3.1.1",
5
5
  "description": "Lightweight JavaScript library for parsing and manipulating TAK messages",
6
6
  "main": "dist/index.js",
7
7
  "types": "index.js",
package/tsconfig.json CHANGED
@@ -9,6 +9,7 @@
9
9
  "lib": ["es2022", "dom"],
10
10
  "noImplicitAny": true,
11
11
  "moduleResolution": "node",
12
+ "resolveJsonModule": true,
12
13
  "sourceMap": true,
13
14
  "outDir": "dist",
14
15
  "baseUrl": ".",
@@ -21,6 +22,7 @@
21
22
  "include": [
22
23
  "index.ts",
23
24
  "test/**/*",
24
- "lib/**/*"
25
+ "lib/**/*",
26
+ "lib/schema.json"
25
27
  ]
26
28
  }