@canboat/canboatjs 2.3.0 → 2.4.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/ios.js CHANGED
@@ -8,7 +8,9 @@ const {
8
8
  pgnToiKonvertSerialFormat,
9
9
  actisenseToiKonvert,
10
10
  pgnToMXPGN,
11
- actisenseToMXPGN
11
+ actisenseToMXPGN,
12
+ pgnToActisenseN2KAsciiFormat,
13
+ actisenseToN2KAsciiFormat
12
14
  } = require('./lib/toPgn')
13
15
 
14
16
  const parser = new FromPgn({})
@@ -30,6 +32,8 @@ global.pgnToMXPGN = pgnToMXPGN
30
32
  global.actisenseToMXPGN = actisenseToMXPGN
31
33
  global.pgnToiKonvertSerialFormat = pgnToiKonvertSerialFormat
32
34
  global.actisenseToiKonvert = actisenseToiKonvert
35
+ global.pgnToActisenseN2KAsciiFormat = pgnToActisenseN2KAsciiFormat
36
+ global.actisenseToN2KAsciiFormat = actisenseToN2KAsciiFormat
33
37
 
34
38
  global.parsePCDIN = (pcdin) => {
35
39
  return parser.parseN2KOver0183(pcdin)
@@ -54,6 +58,10 @@ global.parsePDGY = (pdgy) => {
54
58
  return parser.parsePDGY(pdgy)
55
59
  }
56
60
 
61
+ global.parseActisenseN2KASCII = (n2k) => {
62
+ return parser.parseActisenseN2KASCII(pdgy)
63
+ }
64
+
57
65
  //global.toPgn: require('./lib/toPgn').toPgn,
58
66
 
59
67
  //console.log(global.parseYDGW02('06:06:39.801 R 09F10DCC 00 FF FF 7F FF 7F FF FF'))