@tak-ps/node-cot 2.8.0 → 2.8.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.
@@ -26,4 +26,4 @@ jobs:
26
26
  - name: npm publish
27
27
  run: npm publish
28
28
  env:
29
- NPM_TOKEN: ${{ secrets.NPM_SECRET }}
29
+ NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
package/CHANGELOG.md CHANGED
@@ -10,6 +10,10 @@
10
10
 
11
11
  ## Version History
12
12
 
13
+ ### v2.8.1
14
+
15
+ - :bug: Fix typo in error message
16
+
13
17
  ### v2.8.0
14
18
 
15
19
  - :bug: Significant improvements to start/time/stale parsing
package/lib/xml.js CHANGED
@@ -68,7 +68,7 @@ export default class XMLCot {
68
68
  if (feature.properties.callsign && !feature.id) cot.event._attributes.uid = feature.properties.callsign;
69
69
 
70
70
  if (!feature.geometry) throw new Error('Must have Geometry');
71
- if (!['Point', 'Polygon', 'LineString'].includes(feature.geometry.type)) throw new Error('Unsupported Geoemtry Type');
71
+ if (!['Point', 'Polygon', 'LineString'].includes(feature.geometry.type)) throw new Error('Unsupported Geometry Type');
72
72
 
73
73
  if (feature.geometry.type === 'Point') {
74
74
  cot.event.point._attributes.lon = feature.geometry.coordinates[0];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tak-ps/node-cot",
3
3
  "type": "module",
4
- "version": "2.8.0",
4
+ "version": "2.8.1",
5
5
  "description": "Lightweight JavaScript library for parsing and manipulating TAK messages",
6
6
  "main": "index.js",
7
7
  "scripts": {