diff --git a/index.js b/index.js index 997bf50..babc574 100644 --- a/index.js +++ b/index.js @@ -399,6 +399,14 @@ class Pass { return this; } + /** + * Sets nfc fields in properties + * + * @method nfc + * @params {Array} data - the data to be pushed in the pass + * @returns {this} + */ + nfc(...data) { if (data.length === 1 && data[0] instanceof Array) { data = data[0];