@canboat/canboatjs 2.4.1 → 2.4.2

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/bin/analyzerjs CHANGED
@@ -18,7 +18,7 @@ Options:
18
18
  const Parser = require('../index').FromPgn
19
19
  var parser = new Parser( {
20
20
  returnNulls: argv['n'] === true,
21
- checkForInvalidFields: argv['n']
21
+ checkForInvalidFields: argv['c'] !== true
22
22
  })
23
23
 
24
24
  parser.on('error', (pgn, error) => {
package/ios.js CHANGED
@@ -59,7 +59,7 @@ global.parsePDGY = (pdgy) => {
59
59
  }
60
60
 
61
61
  global.parseActisenseN2KASCII = (n2k) => {
62
- return parser.parseActisenseN2KASCII(pdgy)
62
+ return parser.parseActisenceN2KAscii(n2k)
63
63
  }
64
64
 
65
65
  //global.toPgn: require('./lib/toPgn').toPgn,