@tak-ps/node-cot 4.1.1 → 4.2.0
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 +8 -0
- package/dist/lib/cot.js +1 -1
- package/lib/cot.ts +1 -1
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
package/dist/lib/cot.js
CHANGED
|
@@ -102,7 +102,7 @@ export default class CoT {
|
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
104
|
else if (feature.geometry.type === 'Polygon') {
|
|
105
|
-
cot.event._attributes.type = 'u-d-
|
|
105
|
+
cot.event._attributes.type = 'u-d-f';
|
|
106
106
|
// Inner rings are not yet supported
|
|
107
107
|
cot.event.detail.link = [];
|
|
108
108
|
feature.geometry.coordinates[0].pop(); // Dont' Close Loop in COT
|
package/lib/cot.ts
CHANGED
|
@@ -175,7 +175,7 @@ export default class CoT {
|
|
|
175
175
|
});
|
|
176
176
|
}
|
|
177
177
|
} else if (feature.geometry.type === 'Polygon') {
|
|
178
|
-
cot.event._attributes.type = 'u-d-
|
|
178
|
+
cot.event._attributes.type = 'u-d-f';
|
|
179
179
|
|
|
180
180
|
// Inner rings are not yet supported
|
|
181
181
|
cot.event.detail.link = [];
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tak-ps/node-cot",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "4.
|
|
4
|
+
"version": "4.2.0",
|
|
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",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"@turf/point-on-feature": "^6.5.0",
|
|
19
19
|
"@types/color": "^3.0.3",
|
|
20
20
|
"@types/geojson": "^7946.0.10",
|
|
21
|
-
"ajv": "^8.
|
|
21
|
+
"ajv": "^8.12.0",
|
|
22
22
|
"color": "^4.2.3",
|
|
23
23
|
"protobufjs": "^7.1.2",
|
|
24
24
|
"xml-js": "^1.6.11"
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
},
|
|
39
39
|
"repository": {
|
|
40
40
|
"type": "git",
|
|
41
|
-
"url": "git+https://github.com/
|
|
41
|
+
"url": "git+https://github.com/dfpc-coe/node-cot.git"
|
|
42
42
|
},
|
|
43
43
|
"keywords": [
|
|
44
44
|
"tak",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
],
|
|
52
52
|
"license": "MIT",
|
|
53
53
|
"bugs": {
|
|
54
|
-
"url": "https://github.com/
|
|
54
|
+
"url": "https://github.com/dfpc-coe/node-cot/issues"
|
|
55
55
|
},
|
|
56
|
-
"homepage": "https://github.com/
|
|
56
|
+
"homepage": "https://github.com/dfpc-coe/node-cot#readme"
|
|
57
57
|
}
|