passkit-generator
Advanced tools
Comparing version 1.6.5 to 1.6.6
@@ -6,2 +6,8 @@ # Changelog | ||
## 1.6.6 | ||
[ [#f37f978e2](/commit/f37f978e2c614d3eb9df001bd059a056ff1b6952) ] | ||
Fixed problem with fieldsArray: fields were being added even if the keys check was failing | ||
___ | ||
@@ -8,0 +14,0 @@ ## 1.6.5 |
{ | ||
"name": "passkit-generator", | ||
"version": "1.6.5", | ||
"version": "1.6.6", | ||
"description": "The easiest way to generate custom Apple Wallet passes in Node.js", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -15,2 +15,4 @@ <div align="center"> | ||
> **v2.0.0 beta** is now available! It introduces a lot of changes. Check it out in its [new branch](https://github.com/alexandercerutti/passkit-generator/tree/v2.0.0-beta). Also, a [migration guide](https://github.com/alexandercerutti/passkit-generator/wiki/Migrating-from-v1-to-v2) has been made available. Any suggestion is well-accepted. Thank you! | ||
### Architecture | ||
@@ -17,0 +19,0 @@ |
@@ -29,9 +29,9 @@ const schema = require("./schema"); | ||
if (acc.some(e => e.key === current.key) || this[poolSymbol].has(current.key)) { | ||
debug(`Field with key "${key}" discarded: fields must be unique in pass scope.`); | ||
} | ||
if (this[poolSymbol].has(current.key)) { | ||
debug(`Field with key "${current.key}" discarded: fields must be unique in pass scope.`); | ||
} else { | ||
this[poolSymbol].add(current.key); | ||
acc.push(current); | ||
} | ||
this[poolSymbol].add(current.key) | ||
acc.push(current) | ||
return acc; | ||
@@ -38,0 +38,0 @@ }, []); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
125812
20
1896
166
3