diff --git a/package-lock.json b/package-lock.json
index 51474018a..723c3df95 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -3842,293 +3842,99 @@
"dev": true
},
"fsevents": {
- "version": "1.1.3",
- "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-1.1.3.tgz",
- "integrity": "sha512-WIr7iDkdmdbxu/Gh6eKEZJL6KPE74/5MEsf2whTOFNxbIoIixogroLdKYqB6FDav4Wavh/lZdzzd3b2KxIXC5Q==",
- "dev": true,
- "optional": true,
+ "version": "1.2.4",
+ "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-1.2.4.tgz",
+ "integrity": "sha512-z8H8/diyk76B7q5wg+Ud0+CqzcAF3mBBI/bA5ne5zrRUUIvNkJY//D3BqyH571KuAC4Nr7Rw7CjWX4r0y9DvNg==",
"requires": {
- "nan": "^2.3.0",
- "node-pre-gyp": "^0.6.39"
+ "nan": "^2.9.2",
+ "node-pre-gyp": "^0.10.0"
},
"dependencies": {
"abbrev": {
- "version": "1.1.0",
- "bundled": true,
- "dev": true,
- "optional": true
- },
- "ajv": {
- "version": "4.11.8",
- "bundled": true,
- "dev": true,
- "optional": true,
- "requires": {
- "co": "^4.6.0",
- "json-stable-stringify": "^1.0.1"
- }
+ "version": "1.1.1",
+ "bundled": true
},
"ansi-regex": {
"version": "2.1.1",
- "bundled": true,
- "dev": true
+ "bundled": true
},
"aproba": {
- "version": "1.1.1",
- "bundled": true,
- "dev": true,
- "optional": true
+ "version": "1.2.0",
+ "bundled": true
},
"are-we-there-yet": {
"version": "1.1.4",
"bundled": true,
- "dev": true,
- "optional": true,
"requires": {
"delegates": "^1.0.0",
"readable-stream": "^2.0.6"
}
},
- "asn1": {
- "version": "0.2.3",
- "bundled": true,
- "dev": true,
- "optional": true
- },
- "assert-plus": {
- "version": "0.2.0",
- "bundled": true,
- "dev": true,
- "optional": true
- },
- "asynckit": {
- "version": "0.4.0",
- "bundled": true,
- "dev": true,
- "optional": true
- },
- "aws-sign2": {
- "version": "0.6.0",
- "bundled": true,
- "dev": true,
- "optional": true
- },
- "aws4": {
- "version": "1.6.0",
- "bundled": true,
- "dev": true,
- "optional": true
- },
"balanced-match": {
- "version": "0.4.2",
- "bundled": true,
- "dev": true
- },
- "bcrypt-pbkdf": {
- "version": "1.0.1",
- "bundled": true,
- "dev": true,
- "optional": true,
- "requires": {
- "tweetnacl": "^0.14.3"
- }
- },
- "block-stream": {
- "version": "0.0.9",
- "bundled": true,
- "dev": true,
- "requires": {
- "inherits": "~2.0.0"
- }
- },
- "boom": {
- "version": "2.10.1",
- "bundled": true,
- "dev": true,
- "requires": {
- "hoek": "2.x.x"
- }
+ "version": "1.0.0",
+ "bundled": true
},
"brace-expansion": {
- "version": "1.1.7",
+ "version": "1.1.11",
"bundled": true,
- "dev": true,
"requires": {
- "balanced-match": "^0.4.1",
+ "balanced-match": "^1.0.0",
"concat-map": "0.0.1"
}
},
- "buffer-shims": {
- "version": "1.0.0",
- "bundled": true,
- "dev": true
- },
- "caseless": {
- "version": "0.12.0",
- "bundled": true,
- "dev": true,
- "optional": true
- },
- "co": {
- "version": "4.6.0",
- "bundled": true,
- "dev": true,
- "optional": true
+ "chownr": {
+ "version": "1.0.1",
+ "bundled": true
},
"code-point-at": {
"version": "1.1.0",
- "bundled": true,
- "dev": true
- },
- "combined-stream": {
- "version": "1.0.5",
- "bundled": true,
- "dev": true,
- "requires": {
- "delayed-stream": "~1.0.0"
- }
+ "bundled": true
},
"concat-map": {
"version": "0.0.1",
- "bundled": true,
- "dev": true
+ "bundled": true
},
"console-control-strings": {
"version": "1.1.0",
- "bundled": true,
- "dev": true
+ "bundled": true
},
"core-util-is": {
"version": "1.0.2",
- "bundled": true,
- "dev": true
- },
- "cryptiles": {
- "version": "2.0.5",
- "bundled": true,
- "dev": true,
- "requires": {
- "boom": "2.x.x"
- }
- },
- "dashdash": {
- "version": "1.14.1",
- "bundled": true,
- "dev": true,
- "optional": true,
- "requires": {
- "assert-plus": "^1.0.0"
- },
- "dependencies": {
- "assert-plus": {
- "version": "1.0.0",
- "bundled": true,
- "dev": true,
- "optional": true
- }
- }
+ "bundled": true
},
"debug": {
- "version": "2.6.8",
+ "version": "2.6.9",
"bundled": true,
- "dev": true,
- "optional": true,
"requires": {
"ms": "2.0.0"
}
},
"deep-extend": {
- "version": "0.4.2",
- "bundled": true,
- "dev": true,
- "optional": true
- },
- "delayed-stream": {
- "version": "1.0.0",
- "bundled": true,
- "dev": true
+ "version": "0.5.1",
+ "bundled": true
},
"delegates": {
"version": "1.0.0",
- "bundled": true,
- "dev": true,
- "optional": true
+ "bundled": true
},
"detect-libc": {
- "version": "1.0.2",
- "bundled": true,
- "dev": true,
- "optional": true
+ "version": "1.0.3",
+ "bundled": true
},
- "ecc-jsbn": {
- "version": "0.1.1",
+ "fs-minipass": {
+ "version": "1.2.5",
"bundled": true,
- "dev": true,
- "optional": true,
"requires": {
- "jsbn": "~0.1.0"
- }
- },
- "extend": {
- "version": "3.0.1",
- "bundled": true,
- "dev": true,
- "optional": true
- },
- "extsprintf": {
- "version": "1.0.2",
- "bundled": true,
- "dev": true
- },
- "forever-agent": {
- "version": "0.6.1",
- "bundled": true,
- "dev": true,
- "optional": true
- },
- "form-data": {
- "version": "2.1.4",
- "bundled": true,
- "dev": true,
- "optional": true,
- "requires": {
- "asynckit": "^0.4.0",
- "combined-stream": "^1.0.5",
- "mime-types": "^2.1.12"
+ "minipass": "^2.2.1"
}
},
"fs.realpath": {
"version": "1.0.0",
- "bundled": true,
- "dev": true
- },
- "fstream": {
- "version": "1.0.11",
- "bundled": true,
- "dev": true,
- "requires": {
- "graceful-fs": "^4.1.2",
- "inherits": "~2.0.0",
- "mkdirp": ">=0.5 0",
- "rimraf": "2"
- }
- },
- "fstream-ignore": {
- "version": "1.0.5",
- "bundled": true,
- "dev": true,
- "optional": true,
- "requires": {
- "fstream": "^1.0.0",
- "inherits": "2",
- "minimatch": "^3.0.0"
- }
+ "bundled": true
},
"gauge": {
"version": "2.7.4",
"bundled": true,
- "dev": true,
- "optional": true,
"requires": {
"aproba": "^1.0.3",
"console-control-strings": "^1.0.0",
@@ -4140,27 +3946,9 @@
"wide-align": "^1.1.0"
}
},
- "getpass": {
- "version": "0.1.7",
- "bundled": true,
- "dev": true,
- "optional": true,
- "requires": {
- "assert-plus": "^1.0.0"
- },
- "dependencies": {
- "assert-plus": {
- "version": "1.0.0",
- "bundled": true,
- "dev": true,
- "optional": true
- }
- }
- },
"glob": {
"version": "7.1.2",
"bundled": true,
- "dev": true,
"requires": {
"fs.realpath": "^1.0.0",
"inflight": "^1.0.4",
@@ -4170,64 +3958,27 @@
"path-is-absolute": "^1.0.0"
}
},
- "graceful-fs": {
- "version": "4.1.11",
- "bundled": true,
- "dev": true
- },
- "har-schema": {
- "version": "1.0.5",
- "bundled": true,
- "dev": true,
- "optional": true
- },
- "har-validator": {
- "version": "4.2.1",
- "bundled": true,
- "dev": true,
- "optional": true,
- "requires": {
- "ajv": "^4.9.1",
- "har-schema": "^1.0.5"
- }
- },
"has-unicode": {
"version": "2.0.1",
- "bundled": true,
- "dev": true,
- "optional": true
+ "bundled": true
},
- "hawk": {
- "version": "3.1.3",
+ "iconv-lite": {
+ "version": "0.4.21",
"bundled": true,
- "dev": true,
"requires": {
- "boom": "2.x.x",
- "cryptiles": "2.x.x",
- "hoek": "2.x.x",
- "sntp": "1.x.x"
+ "safer-buffer": "^2.1.0"
}
},
- "hoek": {
- "version": "2.16.3",
+ "ignore-walk": {
+ "version": "3.0.1",
"bundled": true,
- "dev": true
- },
- "http-signature": {
- "version": "1.1.1",
- "bundled": true,
- "dev": true,
- "optional": true,
"requires": {
- "assert-plus": "^0.2.0",
- "jsprim": "^1.2.2",
- "sshpk": "^1.7.0"
+ "minimatch": "^3.0.4"
}
},
"inflight": {
"version": "1.0.6",
"bundled": true,
- "dev": true,
"requires": {
"once": "^1.3.0",
"wrappy": "1"
@@ -4235,176 +3986,108 @@
},
"inherits": {
"version": "2.0.3",
- "bundled": true,
- "dev": true
+ "bundled": true
},
"ini": {
- "version": "1.3.4",
- "bundled": true,
- "dev": true,
- "optional": true
+ "version": "1.3.5",
+ "bundled": true
},
"is-fullwidth-code-point": {
"version": "1.0.0",
"bundled": true,
- "dev": true,
"requires": {
"number-is-nan": "^1.0.0"
}
},
- "is-typedarray": {
- "version": "1.0.0",
- "bundled": true,
- "dev": true,
- "optional": true
- },
"isarray": {
"version": "1.0.0",
- "bundled": true,
- "dev": true
- },
- "isstream": {
- "version": "0.1.2",
- "bundled": true,
- "dev": true,
- "optional": true
- },
- "jodid25519": {
- "version": "1.0.2",
- "bundled": true,
- "dev": true,
- "optional": true,
- "requires": {
- "jsbn": "~0.1.0"
- }
- },
- "jsbn": {
- "version": "0.1.1",
- "bundled": true,
- "dev": true,
- "optional": true
- },
- "json-schema": {
- "version": "0.2.3",
- "bundled": true,
- "dev": true,
- "optional": true
- },
- "json-stable-stringify": {
- "version": "1.0.1",
- "bundled": true,
- "dev": true,
- "optional": true,
- "requires": {
- "jsonify": "~0.0.0"
- }
- },
- "json-stringify-safe": {
- "version": "5.0.1",
- "bundled": true,
- "dev": true,
- "optional": true
- },
- "jsonify": {
- "version": "0.0.0",
- "bundled": true,
- "dev": true,
- "optional": true
- },
- "jsprim": {
- "version": "1.4.0",
- "bundled": true,
- "dev": true,
- "optional": true,
- "requires": {
- "assert-plus": "1.0.0",
- "extsprintf": "1.0.2",
- "json-schema": "0.2.3",
- "verror": "1.3.6"
- },
- "dependencies": {
- "assert-plus": {
- "version": "1.0.0",
- "bundled": true,
- "dev": true,
- "optional": true
- }
- }
- },
- "mime-db": {
- "version": "1.27.0",
- "bundled": true,
- "dev": true
- },
- "mime-types": {
- "version": "2.1.15",
- "bundled": true,
- "dev": true,
- "requires": {
- "mime-db": "~1.27.0"
- }
+ "bundled": true
},
"minimatch": {
"version": "3.0.4",
"bundled": true,
- "dev": true,
"requires": {
"brace-expansion": "^1.1.7"
}
},
"minimist": {
"version": "0.0.8",
+ "bundled": true
+ },
+ "minipass": {
+ "version": "2.2.4",
"bundled": true,
- "dev": true
+ "requires": {
+ "safe-buffer": "^5.1.1",
+ "yallist": "^3.0.0"
+ }
+ },
+ "minizlib": {
+ "version": "1.1.0",
+ "bundled": true,
+ "requires": {
+ "minipass": "^2.2.1"
+ }
},
"mkdirp": {
"version": "0.5.1",
"bundled": true,
- "dev": true,
"requires": {
"minimist": "0.0.8"
}
},
"ms": {
"version": "2.0.0",
+ "bundled": true
+ },
+ "needle": {
+ "version": "2.2.0",
"bundled": true,
- "dev": true,
- "optional": true
+ "requires": {
+ "debug": "^2.1.2",
+ "iconv-lite": "^0.4.4",
+ "sax": "^1.2.4"
+ }
},
"node-pre-gyp": {
- "version": "0.6.39",
+ "version": "0.10.0",
"bundled": true,
- "dev": true,
- "optional": true,
"requires": {
"detect-libc": "^1.0.2",
- "hawk": "3.1.3",
"mkdirp": "^0.5.1",
+ "needle": "^2.2.0",
"nopt": "^4.0.1",
+ "npm-packlist": "^1.1.6",
"npmlog": "^4.0.2",
"rc": "^1.1.7",
- "request": "2.81.0",
"rimraf": "^2.6.1",
"semver": "^5.3.0",
- "tar": "^2.2.1",
- "tar-pack": "^3.4.0"
+ "tar": "^4"
}
},
"nopt": {
"version": "4.0.1",
"bundled": true,
- "dev": true,
- "optional": true,
"requires": {
"abbrev": "1",
"osenv": "^0.1.4"
}
},
- "npmlog": {
- "version": "4.1.0",
+ "npm-bundled": {
+ "version": "1.0.3",
+ "bundled": true
+ },
+ "npm-packlist": {
+ "version": "1.1.10",
+ "bundled": true,
+ "requires": {
+ "ignore-walk": "^3.0.1",
+ "npm-bundled": "^1.0.1"
+ }
+ },
+ "npmlog": {
+ "version": "4.1.2",
"bundled": true,
- "dev": true,
- "optional": true,
"requires": {
"are-we-there-yet": "~1.1.2",
"console-control-strings": "~1.1.0",
@@ -4414,46 +4097,30 @@
},
"number-is-nan": {
"version": "1.0.1",
- "bundled": true,
- "dev": true
- },
- "oauth-sign": {
- "version": "0.8.2",
- "bundled": true,
- "dev": true,
- "optional": true
+ "bundled": true
},
"object-assign": {
"version": "4.1.1",
- "bundled": true,
- "dev": true,
- "optional": true
+ "bundled": true
},
"once": {
"version": "1.4.0",
"bundled": true,
- "dev": true,
"requires": {
"wrappy": "1"
}
},
"os-homedir": {
"version": "1.0.2",
- "bundled": true,
- "dev": true,
- "optional": true
+ "bundled": true
},
"os-tmpdir": {
"version": "1.0.2",
- "bundled": true,
- "dev": true,
- "optional": true
+ "bundled": true
},
"osenv": {
- "version": "0.1.4",
+ "version": "0.1.5",
"bundled": true,
- "dev": true,
- "optional": true,
"requires": {
"os-homedir": "^1.0.0",
"os-tmpdir": "^1.0.0"
@@ -4461,39 +4128,17 @@
},
"path-is-absolute": {
"version": "1.0.1",
- "bundled": true,
- "dev": true
- },
- "performance-now": {
- "version": "0.2.0",
- "bundled": true,
- "dev": true,
- "optional": true
+ "bundled": true
},
"process-nextick-args": {
- "version": "1.0.7",
- "bundled": true,
- "dev": true
- },
- "punycode": {
- "version": "1.4.1",
- "bundled": true,
- "dev": true,
- "optional": true
- },
- "qs": {
- "version": "6.4.0",
- "bundled": true,
- "dev": true,
- "optional": true
+ "version": "2.0.0",
+ "bundled": true
},
"rc": {
- "version": "1.2.1",
+ "version": "1.2.7",
"bundled": true,
- "dev": true,
- "optional": true,
"requires": {
- "deep-extend": "~0.4.0",
+ "deep-extend": "^0.5.1",
"ini": "~1.3.0",
"minimist": "^1.2.0",
"strip-json-comments": "~2.0.1"
@@ -4501,124 +4146,57 @@
"dependencies": {
"minimist": {
"version": "1.2.0",
- "bundled": true,
- "dev": true,
- "optional": true
+ "bundled": true
}
}
},
"readable-stream": {
- "version": "2.2.9",
+ "version": "2.3.6",
"bundled": true,
- "dev": true,
"requires": {
- "buffer-shims": "~1.0.0",
"core-util-is": "~1.0.0",
- "inherits": "~2.0.1",
+ "inherits": "~2.0.3",
"isarray": "~1.0.0",
- "process-nextick-args": "~1.0.6",
- "string_decoder": "~1.0.0",
+ "process-nextick-args": "~2.0.0",
+ "safe-buffer": "~5.1.1",
+ "string_decoder": "~1.1.1",
"util-deprecate": "~1.0.1"
}
},
- "request": {
- "version": "2.81.0",
- "bundled": true,
- "dev": true,
- "optional": true,
- "requires": {
- "aws-sign2": "~0.6.0",
- "aws4": "^1.2.1",
- "caseless": "~0.12.0",
- "combined-stream": "~1.0.5",
- "extend": "~3.0.0",
- "forever-agent": "~0.6.1",
- "form-data": "~2.1.1",
- "har-validator": "~4.2.1",
- "hawk": "~3.1.3",
- "http-signature": "~1.1.0",
- "is-typedarray": "~1.0.0",
- "isstream": "~0.1.2",
- "json-stringify-safe": "~5.0.1",
- "mime-types": "~2.1.7",
- "oauth-sign": "~0.8.1",
- "performance-now": "^0.2.0",
- "qs": "~6.4.0",
- "safe-buffer": "^5.0.1",
- "stringstream": "~0.0.4",
- "tough-cookie": "~2.3.0",
- "tunnel-agent": "^0.6.0",
- "uuid": "^3.0.0"
- }
- },
"rimraf": {
- "version": "2.6.1",
+ "version": "2.6.2",
"bundled": true,
- "dev": true,
"requires": {
"glob": "^7.0.5"
}
},
"safe-buffer": {
- "version": "5.0.1",
- "bundled": true,
- "dev": true
+ "version": "5.1.1",
+ "bundled": true
+ },
+ "safer-buffer": {
+ "version": "2.1.2",
+ "bundled": true
+ },
+ "sax": {
+ "version": "1.2.4",
+ "bundled": true
},
"semver": {
- "version": "5.3.0",
- "bundled": true,
- "dev": true,
- "optional": true
+ "version": "5.5.0",
+ "bundled": true
},
"set-blocking": {
"version": "2.0.0",
- "bundled": true,
- "dev": true,
- "optional": true
+ "bundled": true
},
"signal-exit": {
"version": "3.0.2",
- "bundled": true,
- "dev": true,
- "optional": true
- },
- "sntp": {
- "version": "1.0.9",
- "bundled": true,
- "dev": true,
- "requires": {
- "hoek": "2.x.x"
- }
- },
- "sshpk": {
- "version": "1.13.0",
- "bundled": true,
- "dev": true,
- "optional": true,
- "requires": {
- "asn1": "~0.2.3",
- "assert-plus": "^1.0.0",
- "bcrypt-pbkdf": "^1.0.0",
- "dashdash": "^1.12.0",
- "ecc-jsbn": "~0.1.1",
- "getpass": "^0.1.1",
- "jodid25519": "^1.0.0",
- "jsbn": "~0.1.0",
- "tweetnacl": "~0.14.0"
- },
- "dependencies": {
- "assert-plus": {
- "version": "1.0.0",
- "bundled": true,
- "dev": true,
- "optional": true
- }
- }
+ "bundled": true
},
"string-width": {
"version": "1.0.2",
"bundled": true,
- "dev": true,
"requires": {
"code-point-at": "^1.0.0",
"is-fullwidth-code-point": "^1.0.0",
@@ -4626,122 +4204,54 @@
}
},
"string_decoder": {
- "version": "1.0.1",
+ "version": "1.1.1",
"bundled": true,
- "dev": true,
"requires": {
- "safe-buffer": "^5.0.1"
+ "safe-buffer": "~5.1.0"
}
},
- "stringstream": {
- "version": "0.0.5",
- "bundled": true,
- "dev": true,
- "optional": true
- },
"strip-ansi": {
"version": "3.0.1",
"bundled": true,
- "dev": true,
"requires": {
"ansi-regex": "^2.0.0"
}
},
"strip-json-comments": {
"version": "2.0.1",
- "bundled": true,
- "dev": true,
- "optional": true
+ "bundled": true
},
"tar": {
- "version": "2.2.1",
+ "version": "4.4.1",
"bundled": true,
- "dev": true,
"requires": {
- "block-stream": "*",
- "fstream": "^1.0.2",
- "inherits": "2"
+ "chownr": "^1.0.1",
+ "fs-minipass": "^1.2.5",
+ "minipass": "^2.2.4",
+ "minizlib": "^1.1.0",
+ "mkdirp": "^0.5.0",
+ "safe-buffer": "^5.1.1",
+ "yallist": "^3.0.2"
}
},
- "tar-pack": {
- "version": "3.4.0",
- "bundled": true,
- "dev": true,
- "optional": true,
- "requires": {
- "debug": "^2.2.0",
- "fstream": "^1.0.10",
- "fstream-ignore": "^1.0.5",
- "once": "^1.3.3",
- "readable-stream": "^2.1.4",
- "rimraf": "^2.5.1",
- "tar": "^2.2.1",
- "uid-number": "^0.0.6"
- }
- },
- "tough-cookie": {
- "version": "2.3.2",
- "bundled": true,
- "dev": true,
- "optional": true,
- "requires": {
- "punycode": "^1.4.1"
- }
- },
- "tunnel-agent": {
- "version": "0.6.0",
- "bundled": true,
- "dev": true,
- "optional": true,
- "requires": {
- "safe-buffer": "^5.0.1"
- }
- },
- "tweetnacl": {
- "version": "0.14.5",
- "bundled": true,
- "dev": true,
- "optional": true
- },
- "uid-number": {
- "version": "0.0.6",
- "bundled": true,
- "dev": true,
- "optional": true
- },
"util-deprecate": {
"version": "1.0.2",
- "bundled": true,
- "dev": true
- },
- "uuid": {
- "version": "3.0.1",
- "bundled": true,
- "dev": true,
- "optional": true
- },
- "verror": {
- "version": "1.3.6",
- "bundled": true,
- "dev": true,
- "optional": true,
- "requires": {
- "extsprintf": "1.0.2"
- }
+ "bundled": true
},
"wide-align": {
"version": "1.1.2",
"bundled": true,
- "dev": true,
- "optional": true,
"requires": {
"string-width": "^1.0.2"
}
},
"wrappy": {
"version": "1.0.2",
- "bundled": true,
- "dev": true
+ "bundled": true
+ },
+ "yallist": {
+ "version": "3.0.2",
+ "bundled": true
}
}
},
@@ -8531,9 +8041,7 @@
"nan": {
"version": "2.10.0",
"resolved": "https://registry.npmjs.org/nan/-/nan-2.10.0.tgz",
- "integrity": "sha512-bAdJv7fBLhWC+/Bls0Oza+mvTaNQtP+1RyhhhvD95pgUJz6XM5IzgmxOkItJ9tkoCiplvAnXI1tNmmUD/eScyA==",
- "dev": true,
- "optional": true
+ "integrity": "sha512-bAdJv7fBLhWC+/Bls0Oza+mvTaNQtP+1RyhhhvD95pgUJz6XM5IzgmxOkItJ9tkoCiplvAnXI1tNmmUD/eScyA=="
},
"nanomatch": {
"version": "1.2.13",
@@ -11290,9 +10798,9 @@
"dev": true
},
"typescript": {
- "version": "2.4.2",
- "resolved": "https://registry.npmjs.org/typescript/-/typescript-2.4.2.tgz",
- "integrity": "sha1-+DlfhdRZJ2BnyYiqQYN6j4KHCEQ=",
+ "version": "2.9.2",
+ "resolved": "https://registry.npmjs.org/typescript/-/typescript-2.9.2.tgz",
+ "integrity": "sha512-Gr4p6nFNaoufRIY4NMdpQRNmgxVIGMs4Fcu/ujdYk3nAZqk7supzBE9idmvfZIlH/Cuj//dvi+019qEue9lV0w==",
"dev": true
},
"uglify-js": {
diff --git a/package.json b/package.json
index 855cda06f..16b3f473c 100644
--- a/package.json
+++ b/package.json
@@ -40,7 +40,7 @@
"semver": "^5.5.1",
"tslint": "^5.11.0",
"tslint-ionic-rules": "0.0.19",
- "typescript": "~2.4.2",
+ "typescript": "^2.9.2",
"zone.js": "^0.8.26"
},
"scripts": {
@@ -69,5 +69,8 @@
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
+ },
+ "dependencies": {
+ "fsevents": "^1.2.4"
}
}
diff --git a/src/@ionic-native/plugins/nfc/README.md b/src/@ionic-native/plugins/nfc/README.md
new file mode 100644
index 000000000..89414f2f3
--- /dev/null
+++ b/src/@ionic-native/plugins/nfc/README.md
@@ -0,0 +1,32 @@
+
+ Improve this doc
+
+
+# UriHelper
+
+onic cordova plugin add phonegap-nfc
+$ npm install --save @ionic-native/nfc
+```
+
+## [Usage Documentation](https://ionicframework.com/docs/native/nfc/)
+
+Plugin Repo: [https://github.com/chariotsolutions/phonegap-nfc](https://github.com/chariotsolutions/phonegap-nfc)
+
+The NFC plugin allows you to read and write NFC tags. You can also beam to, and receive from, other NFC enabled devices.
+
+Use to
+- read data from NFC tags
+- write data to NFC tags
+- send data to other NFC enabled devices
+- receive data from NFC devices
+
+This plugin uses NDEF (NFC Data Exchange Format) for maximum compatibilty between NFC devices, tag types, and operating systems.
+
+## Supported platforms
+- Android
+- BlackBerry 10
+- Windows
+- Windows Phone 8
+
+
+
diff --git a/src/@ionic-native/plugins/nfc/index.d.ts b/src/@ionic-native/plugins/nfc/index.d.ts
new file mode 100644
index 000000000..b8c240958
--- /dev/null
+++ b/src/@ionic-native/plugins/nfc/index.d.ts
@@ -0,0 +1,225 @@
+import { IonicNativePlugin } from '@ionic-native/core';
+import { Observable } from 'rxjs/Observable';
+export interface NdefEvent {
+ tag: NdefTag;
+}
+export interface NdefRecord {
+ id: any[];
+ payload: number[];
+ tnf: number;
+ type: number[];
+}
+export interface NdefTag {
+ canMakeReadOnly: boolean;
+ id: number[];
+ isWriteable: boolean;
+ maxSize: number;
+ ndefMessage: NdefRecord[];
+ techTypes: string[];
+ type: string;
+}
+/**
+ * @name NFC
+ * @description
+ * The NFC plugin allows you to read and write NFC tags. You can also beam to, and receive from, other NFC enabled devices.
+ *
+ * Use to
+ * - read data from NFC tags
+ * - write data to NFC tags
+ * - send data to other NFC enabled devices
+ * - receive data from NFC devices
+ *
+ * This plugin uses NDEF (NFC Data Exchange Format) for maximum compatibilty between NFC devices, tag types, and operating systems.
+ *
+ * @usage
+ * ```typescript
+ * import { NFC, Ndef } from '@ionic-native/nfc';
+ *
+ * constructor(private nfc: NFC, private ndef: Ndef) { }
+ *
+ * ...
+ *
+ * this.nfc.addNdefListener(() => {
+ * console.log('successfully attached ndef listener');
+ * }, (err) => {
+ * console.log('error attaching ndef listener', err);
+ * }).subscribe((event) => {
+ * console.log('received ndef message. the tag contains: ', event.tag);
+ * console.log('decoded tag id', this.nfc.bytesToHexString(event.tag.id));
+ *
+ * let message = this.ndef.textRecord('Hello world');
+ * this.nfc.share([message]).then(onSuccess).catch(onError);
+ * });
+ *
+ * ```
+ */
+export declare class NFC extends IonicNativePlugin {
+ /**
+ * Starts the NFCNDEFReaderSession allowing iOS to scan NFC tags.
+ * @param onSuccess
+ * @param onFailure
+ * @returns {Observable}
+ */
+ beginSession(onSuccess?: Function, onFailure?: Function): Observable;
+ /**
+ * Registers an event listener for any NDEF tag.
+ * @param onSuccess
+ * @param onFailure
+ * @returns {Observable}
+ */
+ addNdefListener(onSuccess?: Function, onFailure?: Function): Observable;
+ /**
+ * Registers an event listener for tags matching any tag type.
+ * @param onSuccess
+ * @param onFailure
+ * @returns {Observable}
+ */
+ addTagDiscoveredListener(onSuccess?: Function, onFailure?: Function): Observable;
+ /**
+ * Registers an event listener for NDEF tags matching a specified MIME type.
+ * @param mimeType
+ * @param onSuccess
+ * @param onFailure
+ * @returns {Observable}
+ */
+ addMimeTypeListener(mimeType: string, onSuccess?: Function, onFailure?: Function): Observable;
+ /**
+ * Registers an event listener for formatable NDEF tags.
+ * @param onSuccess
+ * @param onFailure
+ * @returns {Observable}
+ */
+ addNdefFormatableListener(onSuccess?: Function, onFailure?: Function): Observable;
+ /**
+ * Writes an NdefMessage(array of ndef records) to a NFC tag.
+ * @param message {any[]}
+ * @returns {Promise}
+ */
+ write(message: any[]): Promise;
+ /**
+ * Makes a NFC tag read only. **Warning** this is permanent.
+ * @returns {Promise}
+ */
+ makeReadyOnly(): Promise;
+ /**
+ * Shares an NDEF Message(array of ndef records) via peer-to-peer.
+ * @param message An array of NDEF Records.
+ * @returns {Promise}
+ */
+ share(message: any[]): Promise;
+ /**
+ * Stop sharing NDEF data via peer-to-peer.
+ * @returns {Promise}
+ */
+ unshare(): Promise;
+ /**
+ * Erase a NDEF tag
+ */
+ erase(): Promise;
+ /**
+ * Send a file to another device via NFC handover.
+ * @param uris A URI as a String, or an array of URIs.
+ * @returns {Promise}
+ */
+ handover(uris: string[]): Promise;
+ /**
+ * Stop sharing NDEF data via NFC handover.
+ * @returns {Promise}
+ */
+ stopHandover(): Promise;
+ /**
+ * Opens the device's NFC settings.
+ * @returns {Promise}
+ */
+ showSettings(): Promise;
+ /**
+ * Check if NFC is available and enabled on this device.
+ * @returns {Promise}
+ */
+ enabled(): Promise;
+ /**
+ * @{ NFC } class utility methods
+ * for use with
+ */
+ /**
+ * Convert byte array to string
+ * @param bytes {number[]}
+ * @returns {string}
+ */
+ bytesToString(bytes: number[]): string;
+ /**
+ * Convert string to byte array.
+ * @param str {string}
+ * @returns {number[]}
+ */
+ stringToBytes(str: string): number[];
+ /**
+ * Convert byte array to hex string
+ *
+ * @param bytes {number[]}
+ * @returns {string}
+ */
+ bytesToHexString(bytes: number[]): string;
+ /**
+ * Use Reader Mode of NFC tag
+ *
+ * @param flags
+ * @param readCallback
+ * @param errorCallback
+ */
+ readerMode(flags: string, readCallback?: Function, errorCallback?: Function): Observable;
+}
+/**
+ * @hidden
+ */
+export declare class Ndef extends IonicNativePlugin {
+ TNF_EMPTY: number;
+ TNF_WELL_KNOWN: number;
+ TNF_MIME_MEDIA: number;
+ TNF_ABSOLUTE_URI: number;
+ TNF_EXTERNAL_TYPE: number;
+ TNF_UNKNOWN: number;
+ TNF_UNCHANGED: number;
+ TNF_RESERVED: number;
+ RTD_TEXT: number[];
+ RTD_URI: number[];
+ RTD_SMART_POSTER: number[];
+ RTD_ALTERNATIVE_CARRIER: number[];
+ RTD_HANDOVER_CARRIER: number[];
+ RTD_HANDOVER_REQUEST: number[];
+ RTD_HANDOVER_SELECT: number[];
+ record(tnf: number, type: number[] | string, id: number[] | string, payload: number[] | string): NdefRecord;
+ textRecord(text: string, languageCode?: string, id?: number[] | string): NdefRecord;
+ uriRecord(uri: string, id?: number[] | string): NdefRecord;
+ absoluteUriRecord(uri: string, payload: number[] | string, id?: number[] | string): NdefRecord;
+ mimeMediaRecord(mimeType: string, payload: string): NdefRecord;
+ smartPoster(ndefRecords: any[], id?: number[] | string): NdefRecord;
+ emptyRecord(): NdefRecord;
+ androidApplicationRecord(packageName: string): NdefRecord;
+ encodeMessage(ndefRecords: any): any;
+ decodeMessage(bytes: any): any;
+ docodeTnf(tnf_byte: any): any;
+ encodeTnf(mb: any, me: any, cf: any, sr: any, il: any, tnf: any): any;
+ tnfToString(tnf: any): string;
+ textHelper: TextHelper;
+ uriHelper: UriHelper;
+}
+/**
+ * @hidden
+ */
+export declare class NfcUtil extends IonicNativePlugin {
+ toHex(i: number): string;
+ toPrintable(i: number): string;
+ bytesToString(i: number[]): string;
+ stringToBytes(s: string): number[];
+ bytesToHexString(bytes: number[]): string;
+ isType(record: NdefRecord, tnf: number, type: number[] | string): boolean;
+}
+export declare class TextHelper extends IonicNativePlugin {
+ decodePayload(data: number[]): string;
+ encodePayload(text: string, lang: string): number[];
+}
+export declare class UriHelper extends IonicNativePlugin {
+ decodePayload(data: number[]): string;
+ encodePayload(uri: string): number[];
+}
diff --git a/src/@ionic-native/plugins/nfc/index.js b/src/@ionic-native/plugins/nfc/index.js
new file mode 100644
index 000000000..f59d54311
--- /dev/null
+++ b/src/@ionic-native/plugins/nfc/index.js
@@ -0,0 +1,890 @@
+var __extends = (this && this.__extends) || (function () {
+ var extendStatics = Object.setPrototypeOf ||
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
+ return function (d, b) {
+ extendStatics(d, b);
+ function __() { this.constructor = d; }
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
+ };
+})();
+var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
+};
+var __metadata = (this && this.__metadata) || function (k, v) {
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
+};
+import { Injectable } from '@angular/core';
+import { Cordova, CordovaProperty, IonicNativePlugin, Plugin } from '@ionic-native/core';
+import { Observable } from 'rxjs/Observable';
+/**
+ * @name NFC
+ * @description
+ * The NFC plugin allows you to read and write NFC tags. You can also beam to, and receive from, other NFC enabled devices.
+ *
+ * Use to
+ * - read data from NFC tags
+ * - write data to NFC tags
+ * - send data to other NFC enabled devices
+ * - receive data from NFC devices
+ *
+ * This plugin uses NDEF (NFC Data Exchange Format) for maximum compatibilty between NFC devices, tag types, and operating systems.
+ *
+ * @usage
+ * ```typescript
+ * import { NFC, Ndef } from '@ionic-native/nfc';
+ *
+ * constructor(private nfc: NFC, private ndef: Ndef) { }
+ *
+ * ...
+ *
+ * this.nfc.addNdefListener(() => {
+ * console.log('successfully attached ndef listener');
+ * }, (err) => {
+ * console.log('error attaching ndef listener', err);
+ * }).subscribe((event) => {
+ * console.log('received ndef message. the tag contains: ', event.tag);
+ * console.log('decoded tag id', this.nfc.bytesToHexString(event.tag.id));
+ *
+ * let message = this.ndef.textRecord('Hello world');
+ * this.nfc.share([message]).then(onSuccess).catch(onError);
+ * });
+ *
+ * ```
+ */
+var NFC = (function (_super) {
+ __extends(NFC, _super);
+ function NFC() {
+ return _super !== null && _super.apply(this, arguments) || this;
+ }
+ /**
+ * Starts the NFCNDEFReaderSession allowing iOS to scan NFC tags.
+ * @param onSuccess
+ * @param onFailure
+ * @returns {Observable}
+ */
+ /**
+ * Starts the NFCNDEFReaderSession allowing iOS to scan NFC tags.
+ * @param onSuccess
+ * @param onFailure
+ * @returns {Observable}
+ */
+ NFC.prototype.beginSession = /**
+ * Starts the NFCNDEFReaderSession allowing iOS to scan NFC tags.
+ * @param onSuccess
+ * @param onFailure
+ * @returns {Observable}
+ */
+ function (onSuccess, onFailure) {
+ return;
+ };
+ /**
+ * Registers an event listener for any NDEF tag.
+ * @param onSuccess
+ * @param onFailure
+ * @returns {Observable}
+ */
+ /**
+ * Registers an event listener for any NDEF tag.
+ * @param onSuccess
+ * @param onFailure
+ * @returns {Observable}
+ */
+ NFC.prototype.addNdefListener = /**
+ * Registers an event listener for any NDEF tag.
+ * @param onSuccess
+ * @param onFailure
+ * @returns {Observable}
+ */
+ function (onSuccess, onFailure) {
+ return;
+ };
+ /**
+ * Registers an event listener for tags matching any tag type.
+ * @param onSuccess
+ * @param onFailure
+ * @returns {Observable}
+ */
+ /**
+ * Registers an event listener for tags matching any tag type.
+ * @param onSuccess
+ * @param onFailure
+ * @returns {Observable}
+ */
+ NFC.prototype.addTagDiscoveredListener = /**
+ * Registers an event listener for tags matching any tag type.
+ * @param onSuccess
+ * @param onFailure
+ * @returns {Observable}
+ */
+ function (onSuccess, onFailure) {
+ return;
+ };
+ /**
+ * Registers an event listener for NDEF tags matching a specified MIME type.
+ * @param mimeType
+ * @param onSuccess
+ * @param onFailure
+ * @returns {Observable}
+ */
+ /**
+ * Registers an event listener for NDEF tags matching a specified MIME type.
+ * @param mimeType
+ * @param onSuccess
+ * @param onFailure
+ * @returns {Observable}
+ */
+ NFC.prototype.addMimeTypeListener = /**
+ * Registers an event listener for NDEF tags matching a specified MIME type.
+ * @param mimeType
+ * @param onSuccess
+ * @param onFailure
+ * @returns {Observable}
+ */
+ function (mimeType, onSuccess, onFailure) {
+ return;
+ };
+ /**
+ * Registers an event listener for formatable NDEF tags.
+ * @param onSuccess
+ * @param onFailure
+ * @returns {Observable}
+ */
+ /**
+ * Registers an event listener for formatable NDEF tags.
+ * @param onSuccess
+ * @param onFailure
+ * @returns {Observable}
+ */
+ NFC.prototype.addNdefFormatableListener = /**
+ * Registers an event listener for formatable NDEF tags.
+ * @param onSuccess
+ * @param onFailure
+ * @returns {Observable}
+ */
+ function (onSuccess, onFailure) {
+ return;
+ };
+ /**
+ * Writes an NdefMessage(array of ndef records) to a NFC tag.
+ * @param message {any[]}
+ * @returns {Promise}
+ */
+ /**
+ * Writes an NdefMessage(array of ndef records) to a NFC tag.
+ * @param message {any[]}
+ * @returns {Promise}
+ */
+ NFC.prototype.write = /**
+ * Writes an NdefMessage(array of ndef records) to a NFC tag.
+ * @param message {any[]}
+ * @returns {Promise}
+ */
+ function (message) {
+ return;
+ };
+ /**
+ * Makes a NFC tag read only. **Warning** this is permanent.
+ * @returns {Promise}
+ */
+ /**
+ * Makes a NFC tag read only. **Warning** this is permanent.
+ * @returns {Promise}
+ */
+ NFC.prototype.makeReadyOnly = /**
+ * Makes a NFC tag read only. **Warning** this is permanent.
+ * @returns {Promise}
+ */
+ function () {
+ return;
+ };
+ /**
+ * Shares an NDEF Message(array of ndef records) via peer-to-peer.
+ * @param message An array of NDEF Records.
+ * @returns {Promise}
+ */
+ /**
+ * Shares an NDEF Message(array of ndef records) via peer-to-peer.
+ * @param message An array of NDEF Records.
+ * @returns {Promise}
+ */
+ NFC.prototype.share = /**
+ * Shares an NDEF Message(array of ndef records) via peer-to-peer.
+ * @param message An array of NDEF Records.
+ * @returns {Promise}
+ */
+ function (message) {
+ return;
+ };
+ /**
+ * Stop sharing NDEF data via peer-to-peer.
+ * @returns {Promise}
+ */
+ /**
+ * Stop sharing NDEF data via peer-to-peer.
+ * @returns {Promise}
+ */
+ NFC.prototype.unshare = /**
+ * Stop sharing NDEF data via peer-to-peer.
+ * @returns {Promise}
+ */
+ function () {
+ return;
+ };
+ /**
+ * Erase a NDEF tag
+ */
+ /**
+ * Erase a NDEF tag
+ */
+ NFC.prototype.erase = /**
+ * Erase a NDEF tag
+ */
+ function () {
+ return;
+ };
+ /**
+ * Send a file to another device via NFC handover.
+ * @param uris A URI as a String, or an array of URIs.
+ * @returns {Promise}
+ */
+ /**
+ * Send a file to another device via NFC handover.
+ * @param uris A URI as a String, or an array of URIs.
+ * @returns {Promise}
+ */
+ NFC.prototype.handover = /**
+ * Send a file to another device via NFC handover.
+ * @param uris A URI as a String, or an array of URIs.
+ * @returns {Promise}
+ */
+ function (uris) {
+ return;
+ };
+ /**
+ * Stop sharing NDEF data via NFC handover.
+ * @returns {Promise}
+ */
+ /**
+ * Stop sharing NDEF data via NFC handover.
+ * @returns {Promise}
+ */
+ NFC.prototype.stopHandover = /**
+ * Stop sharing NDEF data via NFC handover.
+ * @returns {Promise}
+ */
+ function () {
+ return;
+ };
+ /**
+ * Opens the device's NFC settings.
+ * @returns {Promise}
+ */
+ /**
+ * Opens the device's NFC settings.
+ * @returns {Promise}
+ */
+ NFC.prototype.showSettings = /**
+ * Opens the device's NFC settings.
+ * @returns {Promise}
+ */
+ function () {
+ return;
+ };
+ /**
+ * Check if NFC is available and enabled on this device.
+ * @returns {Promise}
+ */
+ /**
+ * Check if NFC is available and enabled on this device.
+ * @returns {Promise}
+ */
+ NFC.prototype.enabled = /**
+ * Check if NFC is available and enabled on this device.
+ * @returns {Promise}
+ */
+ function () {
+ return;
+ };
+ /**
+ * @{ NFC } class utility methods
+ * for use with
+ */
+ /**
+ * Convert byte array to string
+ * @param bytes {number[]}
+ * @returns {string}
+ */
+ /**
+ * @{ NFC } class utility methods
+ * for use with
+ */
+ /**
+ * Convert byte array to string
+ * @param bytes {number[]}
+ * @returns {string}
+ */
+ NFC.prototype.bytesToString = /**
+ * @{ NFC } class utility methods
+ * for use with
+ */
+ /**
+ * Convert byte array to string
+ * @param bytes {number[]}
+ * @returns {string}
+ */
+ function (bytes) {
+ return;
+ };
+ /**
+ * Convert string to byte array.
+ * @param str {string}
+ * @returns {number[]}
+ */
+ /**
+ * Convert string to byte array.
+ * @param str {string}
+ * @returns {number[]}
+ */
+ NFC.prototype.stringToBytes = /**
+ * Convert string to byte array.
+ * @param str {string}
+ * @returns {number[]}
+ */
+ function (str) {
+ return;
+ };
+ /**
+ * Convert byte array to hex string
+ *
+ * @param bytes {number[]}
+ * @returns {string}
+ */
+ /**
+ * Convert byte array to hex string
+ *
+ * @param bytes {number[]}
+ * @returns {string}
+ */
+ NFC.prototype.bytesToHexString = /**
+ * Convert byte array to hex string
+ *
+ * @param bytes {number[]}
+ * @returns {string}
+ */
+ function (bytes) {
+ return;
+ };
+ NFC.decorators = [
+ { type: Injectable },
+ ];
+ __decorate([
+ Cordova({
+ observable: true,
+ successIndex: 0,
+ errorIndex: 3,
+ clearFunction: 'invalidateSession',
+ clearWithArgs: true
+ }),
+ __metadata("design:type", Function),
+ __metadata("design:paramtypes", [Function, Function]),
+ __metadata("design:returntype", Observable)
+ ], NFC.prototype, "beginSession", null);
+ __decorate([
+ Cordova({
+ observable: true,
+ successIndex: 0,
+ errorIndex: 3,
+ clearFunction: 'removeNdefListener',
+ clearWithArgs: true
+ }),
+ __metadata("design:type", Function),
+ __metadata("design:paramtypes", [Function,
+ Function]),
+ __metadata("design:returntype", Observable)
+ ], NFC.prototype, "addNdefListener", null);
+ __decorate([
+ Cordova({
+ observable: true,
+ successIndex: 0,
+ errorIndex: 3,
+ clearFunction: 'removeTagDiscoveredListener',
+ clearWithArgs: true
+ }),
+ __metadata("design:type", Function),
+ __metadata("design:paramtypes", [Function,
+ Function]),
+ __metadata("design:returntype", Observable)
+ ], NFC.prototype, "addTagDiscoveredListener", null);
+ __decorate([
+ Cordova({
+ observable: true,
+ successIndex: 1,
+ errorIndex: 4,
+ clearFunction: 'removeMimeTypeListener',
+ clearWithArgs: true
+ }),
+ __metadata("design:type", Function),
+ __metadata("design:paramtypes", [String, Function,
+ Function]),
+ __metadata("design:returntype", Observable)
+ ], NFC.prototype, "addMimeTypeListener", null);
+ __decorate([
+ Cordova({
+ observable: true,
+ successIndex: 0,
+ errorIndex: 3
+ }),
+ __metadata("design:type", Function),
+ __metadata("design:paramtypes", [Function,
+ Function]),
+ __metadata("design:returntype", Observable)
+ ], NFC.prototype, "addNdefFormatableListener", null);
+ __decorate([
+ Cordova(),
+ __metadata("design:type", Function),
+ __metadata("design:paramtypes", [Array]),
+ __metadata("design:returntype", Promise)
+ ], NFC.prototype, "write", null);
+ __decorate([
+ Cordova(),
+ __metadata("design:type", Function),
+ __metadata("design:paramtypes", []),
+ __metadata("design:returntype", Promise)
+ ], NFC.prototype, "makeReadyOnly", null);
+ __decorate([
+ Cordova(),
+ __metadata("design:type", Function),
+ __metadata("design:paramtypes", [Array]),
+ __metadata("design:returntype", Promise)
+ ], NFC.prototype, "share", null);
+ __decorate([
+ Cordova(),
+ __metadata("design:type", Function),
+ __metadata("design:paramtypes", []),
+ __metadata("design:returntype", Promise)
+ ], NFC.prototype, "unshare", null);
+ __decorate([
+ Cordova(),
+ __metadata("design:type", Function),
+ __metadata("design:paramtypes", []),
+ __metadata("design:returntype", Promise)
+ ], NFC.prototype, "erase", null);
+ __decorate([
+ Cordova(),
+ __metadata("design:type", Function),
+ __metadata("design:paramtypes", [Array]),
+ __metadata("design:returntype", Promise)
+ ], NFC.prototype, "handover", null);
+ __decorate([
+ Cordova(),
+ __metadata("design:type", Function),
+ __metadata("design:paramtypes", []),
+ __metadata("design:returntype", Promise)
+ ], NFC.prototype, "stopHandover", null);
+ __decorate([
+ Cordova(),
+ __metadata("design:type", Function),
+ __metadata("design:paramtypes", []),
+ __metadata("design:returntype", Promise)
+ ], NFC.prototype, "showSettings", null);
+ __decorate([
+ Cordova(),
+ __metadata("design:type", Function),
+ __metadata("design:paramtypes", []),
+ __metadata("design:returntype", Promise)
+ ], NFC.prototype, "enabled", null);
+ __decorate([
+ Cordova({ sync: true }),
+ __metadata("design:type", Function),
+ __metadata("design:paramtypes", [Array]),
+ __metadata("design:returntype", String)
+ ], NFC.prototype, "bytesToString", null);
+ __decorate([
+ Cordova({ sync: true }),
+ __metadata("design:type", Function),
+ __metadata("design:paramtypes", [String]),
+ __metadata("design:returntype", Array)
+ ], NFC.prototype, "stringToBytes", null);
+ __decorate([
+ Cordova({ sync: true }),
+ __metadata("design:type", Function),
+ __metadata("design:paramtypes", [Array]),
+ __metadata("design:returntype", String)
+ ], NFC.prototype, "bytesToHexString", null);
+ /**
+ * @name NFC
+ * @description
+ * The NFC plugin allows you to read and write NFC tags. You can also beam to, and receive from, other NFC enabled devices.
+ *
+ * Use to
+ * - read data from NFC tags
+ * - write data to NFC tags
+ * - send data to other NFC enabled devices
+ * - receive data from NFC devices
+ *
+ * This plugin uses NDEF (NFC Data Exchange Format) for maximum compatibilty between NFC devices, tag types, and operating systems.
+ *
+ * @usage
+ * ```typescript
+ * import { NFC, Ndef } from '@ionic-native/nfc';
+ *
+ * constructor(private nfc: NFC, private ndef: Ndef) { }
+ *
+ * ...
+ *
+ * this.nfc.addNdefListener(() => {
+ * console.log('successfully attached ndef listener');
+ * }, (err) => {
+ * console.log('error attaching ndef listener', err);
+ * }).subscribe((event) => {
+ * console.log('received ndef message. the tag contains: ', event.tag);
+ * console.log('decoded tag id', this.nfc.bytesToHexString(event.tag.id));
+ *
+ * let message = this.ndef.textRecord('Hello world');
+ * this.nfc.share([message]).then(onSuccess).catch(onError);
+ * });
+ *
+ * ```
+ */
+ NFC = __decorate([
+ Plugin({
+ pluginName: 'NFC',
+ plugin: 'phonegap-nfc',
+ pluginRef: 'nfc',
+ repo: 'https://github.com/chariotsolutions/phonegap-nfc',
+ platforms: ['Android', 'BlackBerry 10', 'Windows', 'Windows Phone 8']
+ })
+ /**
+ * @{ NFC } class methods
+ */
+ ], NFC);
+ return NFC;
+}(IonicNativePlugin));
+export { NFC };
+/**
+ * @hidden
+ */
+var Ndef = (function (_super) {
+ __extends(Ndef, _super);
+ function Ndef() {
+ return _super !== null && _super.apply(this, arguments) || this;
+ }
+ Ndef.prototype.record = function (tnf, type, id, payload) {
+ return;
+ };
+ Ndef.prototype.textRecord = function (text, languageCode, id) {
+ return;
+ };
+ Ndef.prototype.uriRecord = function (uri, id) {
+ return;
+ };
+ Ndef.prototype.absoluteUriRecord = function (uri, payload, id) {
+ return;
+ };
+ Ndef.prototype.mimeMediaRecord = function (mimeType, payload) {
+ return;
+ };
+ Ndef.prototype.smartPoster = function (ndefRecords, id) {
+ return;
+ };
+ Ndef.prototype.emptyRecord = function () {
+ return;
+ };
+ Ndef.prototype.androidApplicationRecord = function (packageName) {
+ return;
+ };
+ Ndef.prototype.encodeMessage = function (ndefRecords) {
+ return;
+ };
+ Ndef.prototype.decodeMessage = function (bytes) {
+ return;
+ };
+ Ndef.prototype.docodeTnf = function (tnf_byte) {
+ return;
+ };
+ Ndef.prototype.encodeTnf = function (mb, me, cf, sr, il, tnf) {
+ return;
+ };
+ Ndef.prototype.tnfToString = function (tnf) {
+ return;
+ };
+ Ndef.decorators = [
+ { type: Injectable },
+ ];
+ __decorate([
+ CordovaProperty,
+ __metadata("design:type", Number)
+ ], Ndef.prototype, "TNF_EMPTY", void 0);
+ __decorate([
+ CordovaProperty,
+ __metadata("design:type", Number)
+ ], Ndef.prototype, "TNF_WELL_KNOWN", void 0);
+ __decorate([
+ CordovaProperty,
+ __metadata("design:type", Number)
+ ], Ndef.prototype, "TNF_MIME_MEDIA", void 0);
+ __decorate([
+ CordovaProperty,
+ __metadata("design:type", Number)
+ ], Ndef.prototype, "TNF_ABSOLUTE_URI", void 0);
+ __decorate([
+ CordovaProperty,
+ __metadata("design:type", Number)
+ ], Ndef.prototype, "TNF_EXTERNAL_TYPE", void 0);
+ __decorate([
+ CordovaProperty,
+ __metadata("design:type", Number)
+ ], Ndef.prototype, "TNF_UNKNOWN", void 0);
+ __decorate([
+ CordovaProperty,
+ __metadata("design:type", Number)
+ ], Ndef.prototype, "TNF_UNCHANGED", void 0);
+ __decorate([
+ CordovaProperty,
+ __metadata("design:type", Number)
+ ], Ndef.prototype, "TNF_RESERVED", void 0);
+ __decorate([
+ CordovaProperty,
+ __metadata("design:type", Array)
+ ], Ndef.prototype, "RTD_TEXT", void 0);
+ __decorate([
+ CordovaProperty,
+ __metadata("design:type", Array)
+ ], Ndef.prototype, "RTD_URI", void 0);
+ __decorate([
+ CordovaProperty,
+ __metadata("design:type", Array)
+ ], Ndef.prototype, "RTD_SMART_POSTER", void 0);
+ __decorate([
+ CordovaProperty,
+ __metadata("design:type", Array)
+ ], Ndef.prototype, "RTD_ALTERNATIVE_CARRIER", void 0);
+ __decorate([
+ CordovaProperty,
+ __metadata("design:type", Array)
+ ], Ndef.prototype, "RTD_HANDOVER_CARRIER", void 0);
+ __decorate([
+ CordovaProperty,
+ __metadata("design:type", Array)
+ ], Ndef.prototype, "RTD_HANDOVER_REQUEST", void 0);
+ __decorate([
+ CordovaProperty,
+ __metadata("design:type", Array)
+ ], Ndef.prototype, "RTD_HANDOVER_SELECT", void 0);
+ __decorate([
+ Cordova({ sync: true }),
+ __metadata("design:type", Function),
+ __metadata("design:paramtypes", [Number, Object, Object, Object]),
+ __metadata("design:returntype", Object)
+ ], Ndef.prototype, "record", null);
+ __decorate([
+ Cordova({ sync: true }),
+ __metadata("design:type", Function),
+ __metadata("design:paramtypes", [String, String, Object]),
+ __metadata("design:returntype", Object)
+ ], Ndef.prototype, "textRecord", null);
+ __decorate([
+ Cordova({ sync: true }),
+ __metadata("design:type", Function),
+ __metadata("design:paramtypes", [String, Object]),
+ __metadata("design:returntype", Object)
+ ], Ndef.prototype, "uriRecord", null);
+ __decorate([
+ Cordova({ sync: true }),
+ __metadata("design:type", Function),
+ __metadata("design:paramtypes", [String, Object, Object]),
+ __metadata("design:returntype", Object)
+ ], Ndef.prototype, "absoluteUriRecord", null);
+ __decorate([
+ Cordova({ sync: true }),
+ __metadata("design:type", Function),
+ __metadata("design:paramtypes", [String, String]),
+ __metadata("design:returntype", Object)
+ ], Ndef.prototype, "mimeMediaRecord", null);
+ __decorate([
+ Cordova({ sync: true }),
+ __metadata("design:type", Function),
+ __metadata("design:paramtypes", [Array, Object]),
+ __metadata("design:returntype", Object)
+ ], Ndef.prototype, "smartPoster", null);
+ __decorate([
+ Cordova({ sync: true }),
+ __metadata("design:type", Function),
+ __metadata("design:paramtypes", []),
+ __metadata("design:returntype", Object)
+ ], Ndef.prototype, "emptyRecord", null);
+ __decorate([
+ Cordova({ sync: true }),
+ __metadata("design:type", Function),
+ __metadata("design:paramtypes", [String]),
+ __metadata("design:returntype", Object)
+ ], Ndef.prototype, "androidApplicationRecord", null);
+ __decorate([
+ Cordova({ sync: true }),
+ __metadata("design:type", Function),
+ __metadata("design:paramtypes", [Object]),
+ __metadata("design:returntype", Object)
+ ], Ndef.prototype, "encodeMessage", null);
+ __decorate([
+ Cordova({ sync: true }),
+ __metadata("design:type", Function),
+ __metadata("design:paramtypes", [Object]),
+ __metadata("design:returntype", Object)
+ ], Ndef.prototype, "decodeMessage", null);
+ __decorate([
+ Cordova({ sync: true }),
+ __metadata("design:type", Function),
+ __metadata("design:paramtypes", [Object]),
+ __metadata("design:returntype", Object)
+ ], Ndef.prototype, "docodeTnf", null);
+ __decorate([
+ Cordova({ sync: true }),
+ __metadata("design:type", Function),
+ __metadata("design:paramtypes", [Object, Object, Object, Object, Object, Object]),
+ __metadata("design:returntype", Object)
+ ], Ndef.prototype, "encodeTnf", null);
+ __decorate([
+ Cordova({ sync: true }),
+ __metadata("design:type", Function),
+ __metadata("design:paramtypes", [Object]),
+ __metadata("design:returntype", String)
+ ], Ndef.prototype, "tnfToString", null);
+ __decorate([
+ CordovaProperty,
+ __metadata("design:type", TextHelper)
+ ], Ndef.prototype, "textHelper", void 0);
+ __decorate([
+ CordovaProperty,
+ __metadata("design:type", UriHelper)
+ ], Ndef.prototype, "uriHelper", void 0);
+ /**
+ * @hidden
+ */
+ Ndef = __decorate([
+ Plugin({
+ pluginName: 'NFC',
+ plugin: 'phonegap-nfc',
+ pluginRef: 'ndef'
+ })
+ /**
+ * @description
+ * Utility methods for creating ndef records for the ndef tag format.
+ * Move records into array before usage. Then pass an array to methods as parameters.
+ * Do not pass bytes as parameters for these methods, conversion is built in.
+ * For usage with nfc.write() and nfc.share()
+ */
+ ], Ndef);
+ return Ndef;
+}(IonicNativePlugin));
+export { Ndef };
+/**
+ * @hidden
+ */
+var NfcUtil = (function (_super) {
+ __extends(NfcUtil, _super);
+ function NfcUtil() {
+ return _super !== null && _super.apply(this, arguments) || this;
+ }
+ NfcUtil.prototype.toHex = function (i) {
+ return;
+ };
+ NfcUtil.prototype.toPrintable = function (i) {
+ return;
+ };
+ NfcUtil.prototype.bytesToString = function (i) {
+ return;
+ };
+ NfcUtil.prototype.stringToBytes = function (s) {
+ return;
+ };
+ NfcUtil.prototype.bytesToHexString = function (bytes) {
+ return;
+ };
+ NfcUtil.prototype.isType = function (record, tnf, type) {
+ return;
+ };
+ NfcUtil.decorators = [
+ { type: Injectable },
+ ];
+ __decorate([
+ Cordova({ sync: true }),
+ __metadata("design:type", Function),
+ __metadata("design:paramtypes", [Number]),
+ __metadata("design:returntype", String)
+ ], NfcUtil.prototype, "toHex", null);
+ __decorate([
+ Cordova({ sync: true }),
+ __metadata("design:type", Function),
+ __metadata("design:paramtypes", [Number]),
+ __metadata("design:returntype", String)
+ ], NfcUtil.prototype, "toPrintable", null);
+ __decorate([
+ Cordova({ sync: true }),
+ __metadata("design:type", Function),
+ __metadata("design:paramtypes", [Array]),
+ __metadata("design:returntype", String)
+ ], NfcUtil.prototype, "bytesToString", null);
+ __decorate([
+ Cordova({ sync: true }),
+ __metadata("design:type", Function),
+ __metadata("design:paramtypes", [String]),
+ __metadata("design:returntype", Array)
+ ], NfcUtil.prototype, "stringToBytes", null);
+ __decorate([
+ Cordova({ sync: true }),
+ __metadata("design:type", Function),
+ __metadata("design:paramtypes", [Array]),
+ __metadata("design:returntype", String)
+ ], NfcUtil.prototype, "bytesToHexString", null);
+ __decorate([
+ Cordova({ sync: true }),
+ __metadata("design:type", Function),
+ __metadata("design:paramtypes", [Object, Number, Object]),
+ __metadata("design:returntype", Boolean)
+ ], NfcUtil.prototype, "isType", null);
+ /**
+ * @hidden
+ */
+ NfcUtil = __decorate([
+ Plugin({
+ pluginName: 'NFC',
+ plugin: 'phonegap-nfc',
+ pluginRef: 'util'
+ })
+ ], NfcUtil);
+ return NfcUtil;
+}(IonicNativePlugin));
+export { NfcUtil };
+var TextHelper = (function (_super) {
+ __extends(TextHelper, _super);
+ function TextHelper() {
+ return _super !== null && _super.apply(this, arguments) || this;
+ }
+ TextHelper.prototype.decodePayload = function (data) {
+ return;
+ };
+ TextHelper.prototype.encodePayload = function (text, lang) {
+ return;
+ };
+ return TextHelper;
+}(IonicNativePlugin));
+export { TextHelper };
+var UriHelper = (function (_super) {
+ __extends(UriHelper, _super);
+ function UriHelper() {
+ return _super !== null && _super.apply(this, arguments) || this;
+ }
+ UriHelper.prototype.decodePayload = function (data) {
+ return;
+ };
+ UriHelper.prototype.encodePayload = function (uri) {
+ return;
+ };
+ return UriHelper;
+}(IonicNativePlugin));
+export { UriHelper };
+//# sourceMappingURL=index.js.map
\ No newline at end of file
diff --git a/src/@ionic-native/plugins/nfc/index.js.map b/src/@ionic-native/plugins/nfc/index.js.map
new file mode 100644
index 000000000..43c908095
--- /dev/null
+++ b/src/@ionic-native/plugins/nfc/index.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/@ionic-native/plugins/nfc/index.ts"],"names":[],"mappings":"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","sourcesContent":["import { Injectable } from '@angular/core';\nimport {\n Cordova,\n CordovaProperty,\n IonicNativePlugin,\n Plugin\n} from '@ionic-native/core';\nimport { Observable } from 'rxjs/Observable';\ndeclare let window: any;\n\nexport interface NdefEvent {\n tag: NdefTag;\n}\n\nexport interface NdefRecord {\n id: any[];\n payload: number[];\n tnf: number;\n type: number[];\n}\n\nexport interface NdefTag {\n canMakeReadOnly: boolean;\n id: number[];\n isWriteable: boolean;\n maxSize: number;\n ndefMessage: NdefRecord[];\n techTypes: string[];\n type: string;\n}\n\n/**\n * @name NFC\n * @description\n * The NFC plugin allows you to read and write NFC tags. You can also beam to, and receive from, other NFC enabled devices.\n *\n * Use to\n * - read data from NFC tags\n * - write data to NFC tags\n * - send data to other NFC enabled devices\n * - receive data from NFC devices\n *\n * This plugin uses NDEF (NFC Data Exchange Format) for maximum compatibilty between NFC devices, tag types, and operating systems.\n *\n * @usage\n * ```typescript\n * import { NFC, Ndef } from '@ionic-native/nfc';\n *\n * constructor(private nfc: NFC, private ndef: Ndef) { }\n *\n * ...\n *\n * this.nfc.addNdefListener(() => {\n * console.log('successfully attached ndef listener');\n * }, (err) => {\n * console.log('error attaching ndef listener', err);\n * }).subscribe((event) => {\n * console.log('received ndef message. the tag contains: ', event.tag);\n * console.log('decoded tag id', this.nfc.bytesToHexString(event.tag.id));\n *\n * let message = this.ndef.textRecord('Hello world');\n * this.nfc.share([message]).then(onSuccess).catch(onError);\n * });\n *\n * ```\n */\n@Plugin({\n pluginName: 'NFC',\n plugin: 'phonegap-nfc',\n pluginRef: 'nfc',\n repo: 'https://github.com/chariotsolutions/phonegap-nfc',\n platforms: ['Android', 'BlackBerry 10', 'Windows', 'Windows Phone 8']\n})\n/**\n * @{ NFC } class methods\n */\n@Injectable()\nexport class NFC extends IonicNativePlugin {\n /**\n * Starts the NFCNDEFReaderSession allowing iOS to scan NFC tags.\n * @param onSuccess\n * @param onFailure\n * @returns {Observable}\n */\n @Cordova({\n observable: true,\n successIndex: 0,\n errorIndex: 3,\n clearFunction: 'invalidateSession',\n clearWithArgs: true\n })\n beginSession(onSuccess?: Function, onFailure?: Function): Observable {\n return;\n }\n\n /**\n * Registers an event listener for any NDEF tag.\n * @param onSuccess\n * @param onFailure\n * @returns {Observable}\n */\n @Cordova({\n observable: true,\n successIndex: 0,\n errorIndex: 3,\n clearFunction: 'removeNdefListener',\n clearWithArgs: true\n })\n addNdefListener(\n onSuccess?: Function,\n onFailure?: Function\n ): Observable {\n return;\n }\n\n /**\n * Registers an event listener for tags matching any tag type.\n * @param onSuccess\n * @param onFailure\n * @returns {Observable}\n */\n @Cordova({\n observable: true,\n successIndex: 0,\n errorIndex: 3,\n clearFunction: 'removeTagDiscoveredListener',\n clearWithArgs: true\n })\n addTagDiscoveredListener(\n onSuccess?: Function,\n onFailure?: Function\n ): Observable {\n return;\n }\n\n /**\n * Registers an event listener for NDEF tags matching a specified MIME type.\n * @param mimeType\n * @param onSuccess\n * @param onFailure\n * @returns {Observable}\n */\n @Cordova({\n observable: true,\n successIndex: 1,\n errorIndex: 4,\n clearFunction: 'removeMimeTypeListener',\n clearWithArgs: true\n })\n addMimeTypeListener(\n mimeType: string,\n onSuccess?: Function,\n onFailure?: Function\n ): Observable {\n return;\n }\n\n /**\n * Registers an event listener for formatable NDEF tags.\n * @param onSuccess\n * @param onFailure\n * @returns {Observable}\n */\n @Cordova({\n observable: true,\n successIndex: 0,\n errorIndex: 3\n })\n addNdefFormatableListener(\n onSuccess?: Function,\n onFailure?: Function\n ): Observable {\n return;\n }\n\n /**\n * Writes an NdefMessage(array of ndef records) to a NFC tag.\n * @param message {any[]}\n * @returns {Promise}\n */\n @Cordova()\n write(message: any[]): Promise {\n return;\n }\n /**\n * Makes a NFC tag read only. **Warning** this is permanent.\n * @returns {Promise}\n */\n @Cordova()\n makeReadyOnly(): Promise {\n return;\n }\n\n /**\n * Shares an NDEF Message(array of ndef records) via peer-to-peer.\n * @param message An array of NDEF Records.\n * @returns {Promise}\n */\n @Cordova()\n share(message: any[]): Promise {\n return;\n }\n\n /**\n * Stop sharing NDEF data via peer-to-peer.\n * @returns {Promise}\n */\n @Cordova()\n unshare(): Promise {\n return;\n }\n\n /**\n * Erase a NDEF tag\n */\n @Cordova()\n erase(): Promise {\n return;\n }\n\n /**\n * Send a file to another device via NFC handover.\n * @param uris A URI as a String, or an array of URIs.\n * @returns {Promise}\n */\n @Cordova()\n handover(uris: string[]): Promise {\n return;\n }\n\n /**\n * Stop sharing NDEF data via NFC handover.\n * @returns {Promise}\n */\n @Cordova()\n stopHandover(): Promise {\n return;\n }\n\n /**\n * Opens the device's NFC settings.\n * @returns {Promise}\n */\n @Cordova()\n showSettings(): Promise {\n return;\n }\n\n /**\n * Check if NFC is available and enabled on this device.\n * @returns {Promise}\n */\n @Cordova()\n enabled(): Promise {\n return;\n }\n /**\n * @{ NFC } class utility methods\n * for use with\n */\n /**\n * Convert byte array to string\n * @param bytes {number[]}\n * @returns {string}\n */\n @Cordova({ sync: true })\n bytesToString(bytes: number[]): string {\n return;\n }\n /**\n * Convert string to byte array.\n * @param str {string}\n * @returns {number[]}\n */\n @Cordova({ sync: true })\n stringToBytes(str: string): number[] {\n return;\n }\n /**\n * Convert byte array to hex string\n *\n * @param bytes {number[]}\n * @returns {string}\n */\n @Cordova({ sync: true })\n bytesToHexString(bytes: number[]): string {\n return;\n }\n}\n/**\n * @hidden\n */\n@Plugin({\n pluginName: 'NFC',\n plugin: 'phonegap-nfc',\n pluginRef: 'ndef'\n})\n/**\n * @description\n * Utility methods for creating ndef records for the ndef tag format.\n * Move records into array before usage. Then pass an array to methods as parameters.\n * Do not pass bytes as parameters for these methods, conversion is built in.\n * For usage with nfc.write() and nfc.share()\n */\n@Injectable()\nexport class Ndef extends IonicNativePlugin {\n @CordovaProperty\n TNF_EMPTY: number;\n @CordovaProperty\n TNF_WELL_KNOWN: number;\n @CordovaProperty\n TNF_MIME_MEDIA: number;\n @CordovaProperty\n TNF_ABSOLUTE_URI: number;\n @CordovaProperty\n TNF_EXTERNAL_TYPE: number;\n @CordovaProperty\n TNF_UNKNOWN: number;\n @CordovaProperty\n TNF_UNCHANGED: number;\n @CordovaProperty\n TNF_RESERVED: number;\n\n @CordovaProperty\n RTD_TEXT: number[];\n @CordovaProperty\n RTD_URI: number[];\n @CordovaProperty\n RTD_SMART_POSTER: number[];\n @CordovaProperty\n RTD_ALTERNATIVE_CARRIER: number[];\n @CordovaProperty\n RTD_HANDOVER_CARRIER: number[];\n @CordovaProperty\n RTD_HANDOVER_REQUEST: number[];\n @CordovaProperty\n RTD_HANDOVER_SELECT: number[];\n\n @Cordova({ sync: true })\n record(\n tnf: number,\n type: number[] | string,\n id: number[] | string,\n payload: number[] | string\n ): NdefRecord {\n return;\n }\n\n @Cordova({ sync: true })\n textRecord(\n text: string,\n languageCode?: string,\n id?: number[] | string\n ): NdefRecord {\n return;\n }\n\n @Cordova({ sync: true })\n uriRecord(uri: string, id?: number[] | string): NdefRecord {\n return;\n }\n\n @Cordova({ sync: true })\n absoluteUriRecord(\n uri: string,\n payload: number[] | string,\n id?: number[] | string\n ): NdefRecord {\n return;\n }\n\n @Cordova({ sync: true })\n mimeMediaRecord(mimeType: string, payload: string): NdefRecord {\n return;\n }\n\n @Cordova({ sync: true })\n smartPoster(ndefRecords: any[], id?: number[] | string): NdefRecord {\n return;\n }\n\n @Cordova({ sync: true })\n emptyRecord(): NdefRecord {\n return;\n }\n\n @Cordova({ sync: true })\n androidApplicationRecord(packageName: string): NdefRecord {\n return;\n }\n\n @Cordova({ sync: true })\n encodeMessage(ndefRecords: any): any {\n return;\n }\n\n @Cordova({ sync: true })\n decodeMessage(bytes: any): any {\n return;\n }\n\n @Cordova({ sync: true })\n docodeTnf(tnf_byte: any): any {\n return;\n }\n\n @Cordova({ sync: true })\n encodeTnf(mb: any, me: any, cf: any, sr: any, il: any, tnf: any): any {\n return;\n }\n\n @Cordova({ sync: true })\n tnfToString(tnf: any): string {\n return;\n }\n\n @CordovaProperty\n textHelper: TextHelper;\n\n @CordovaProperty\n uriHelper: UriHelper;\n}\n\n/**\n * @hidden\n */\n@Plugin({\n pluginName: 'NFC',\n plugin: 'phonegap-nfc',\n pluginRef: 'util'\n})\n@Injectable()\nexport class NfcUtil extends IonicNativePlugin {\n @Cordova({ sync: true })\n toHex(i: number): string {\n return;\n }\n\n @Cordova({ sync: true })\n toPrintable(i: number): string {\n return;\n }\n\n @Cordova({ sync: true })\n bytesToString(i: number[]): string {\n return;\n }\n\n @Cordova({ sync: true })\n stringToBytes(s: string): number[] {\n return;\n }\n\n @Cordova({ sync: true })\n bytesToHexString(bytes: number[]): string {\n return;\n }\n\n @Cordova({ sync: true })\n isType(record: NdefRecord, tnf: number, type: number[] | string): boolean {\n return;\n }\n}\n\nexport class TextHelper extends IonicNativePlugin {\n decodePayload(data: number[]): string {\n return;\n }\n encodePayload(text: string, lang: string): number[] {\n return;\n }\n}\n\nexport class UriHelper extends IonicNativePlugin {\n decodePayload(data: number[]): string {\n return;\n }\n encodePayload(uri: string): number[] {\n return;\n }\n}\n"]}
\ No newline at end of file
diff --git a/src/@ionic-native/plugins/nfc/index.metadata.json b/src/@ionic-native/plugins/nfc/index.metadata.json
new file mode 100644
index 000000000..9e1c9eed6
--- /dev/null
+++ b/src/@ionic-native/plugins/nfc/index.metadata.json
@@ -0,0 +1 @@
+[{"__symbolic":"module","version":4,"metadata":{"NdefEvent":{"__symbolic":"interface"},"NdefRecord":{"__symbolic":"interface"},"NdefTag":{"__symbolic":"interface"},"NFC":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@ionic-native/core","name":"IonicNativePlugin","line":77,"character":25},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Plugin","line":66,"character":1},"arguments":[{"pluginName":"NFC","plugin":"phonegap-nfc","pluginRef":"nfc","repo":"https://github.com/chariotsolutions/phonegap-nfc","platforms":["Android","BlackBerry 10","Windows","Windows Phone 8"]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":76,"character":1}}],"members":{"beginSession":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova","line":84,"character":3},"arguments":[{"observable":true,"successIndex":0,"errorIndex":3,"clearFunction":"invalidateSession","clearWithArgs":true}]}]}],"addNdefListener":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova","line":101,"character":3},"arguments":[{"observable":true,"successIndex":0,"errorIndex":3,"clearFunction":"removeNdefListener","clearWithArgs":true}]}]}],"addTagDiscoveredListener":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova","line":121,"character":3},"arguments":[{"observable":true,"successIndex":0,"errorIndex":3,"clearFunction":"removeTagDiscoveredListener","clearWithArgs":true}]}]}],"addMimeTypeListener":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova","line":142,"character":3},"arguments":[{"observable":true,"successIndex":1,"errorIndex":4,"clearFunction":"removeMimeTypeListener","clearWithArgs":true}]}]}],"addNdefFormatableListener":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova","line":163,"character":3},"arguments":[{"observable":true,"successIndex":0,"errorIndex":3}]}]}],"write":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova","line":180,"character":3}}]}],"makeReadyOnly":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova","line":188,"character":3}}]}],"share":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova","line":198,"character":3}}]}],"unshare":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova","line":207,"character":3}}]}],"erase":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova","line":215,"character":3}}]}],"handover":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova","line":225,"character":3}}]}],"stopHandover":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova","line":234,"character":3}}]}],"showSettings":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova","line":243,"character":3}}]}],"enabled":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova","line":252,"character":3}}]}],"bytesToString":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova","line":265,"character":3},"arguments":[{"sync":true}]}]}],"stringToBytes":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova","line":274,"character":3},"arguments":[{"sync":true}]}]}],"bytesToHexString":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova","line":284,"character":3},"arguments":[{"sync":true}]}]}]}},"Ndef":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@ionic-native/core","name":"IonicNativePlugin","line":305,"character":26},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Plugin","line":292,"character":1},"arguments":[{"pluginName":"NFC","plugin":"phonegap-nfc","pluginRef":"ndef"}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":304,"character":1}}],"members":{"TNF_EMPTY":[{"__symbolic":"property","decorators":[{"__symbolic":"reference","module":"@ionic-native/core","name":"CordovaProperty","line":306,"character":3}]}],"TNF_WELL_KNOWN":[{"__symbolic":"property","decorators":[{"__symbolic":"reference","module":"@ionic-native/core","name":"CordovaProperty","line":308,"character":3}]}],"TNF_MIME_MEDIA":[{"__symbolic":"property","decorators":[{"__symbolic":"reference","module":"@ionic-native/core","name":"CordovaProperty","line":310,"character":3}]}],"TNF_ABSOLUTE_URI":[{"__symbolic":"property","decorators":[{"__symbolic":"reference","module":"@ionic-native/core","name":"CordovaProperty","line":312,"character":3}]}],"TNF_EXTERNAL_TYPE":[{"__symbolic":"property","decorators":[{"__symbolic":"reference","module":"@ionic-native/core","name":"CordovaProperty","line":314,"character":3}]}],"TNF_UNKNOWN":[{"__symbolic":"property","decorators":[{"__symbolic":"reference","module":"@ionic-native/core","name":"CordovaProperty","line":316,"character":3}]}],"TNF_UNCHANGED":[{"__symbolic":"property","decorators":[{"__symbolic":"reference","module":"@ionic-native/core","name":"CordovaProperty","line":318,"character":3}]}],"TNF_RESERVED":[{"__symbolic":"property","decorators":[{"__symbolic":"reference","module":"@ionic-native/core","name":"CordovaProperty","line":320,"character":3}]}],"RTD_TEXT":[{"__symbolic":"property","decorators":[{"__symbolic":"reference","module":"@ionic-native/core","name":"CordovaProperty","line":323,"character":3}]}],"RTD_URI":[{"__symbolic":"property","decorators":[{"__symbolic":"reference","module":"@ionic-native/core","name":"CordovaProperty","line":325,"character":3}]}],"RTD_SMART_POSTER":[{"__symbolic":"property","decorators":[{"__symbolic":"reference","module":"@ionic-native/core","name":"CordovaProperty","line":327,"character":3}]}],"RTD_ALTERNATIVE_CARRIER":[{"__symbolic":"property","decorators":[{"__symbolic":"reference","module":"@ionic-native/core","name":"CordovaProperty","line":329,"character":3}]}],"RTD_HANDOVER_CARRIER":[{"__symbolic":"property","decorators":[{"__symbolic":"reference","module":"@ionic-native/core","name":"CordovaProperty","line":331,"character":3}]}],"RTD_HANDOVER_REQUEST":[{"__symbolic":"property","decorators":[{"__symbolic":"reference","module":"@ionic-native/core","name":"CordovaProperty","line":333,"character":3}]}],"RTD_HANDOVER_SELECT":[{"__symbolic":"property","decorators":[{"__symbolic":"reference","module":"@ionic-native/core","name":"CordovaProperty","line":335,"character":3}]}],"record":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova","line":338,"character":3},"arguments":[{"sync":true}]}]}],"textRecord":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova","line":348,"character":3},"arguments":[{"sync":true}]}]}],"uriRecord":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova","line":357,"character":3},"arguments":[{"sync":true}]}]}],"absoluteUriRecord":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova","line":362,"character":3},"arguments":[{"sync":true}]}]}],"mimeMediaRecord":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova","line":371,"character":3},"arguments":[{"sync":true}]}]}],"smartPoster":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova","line":376,"character":3},"arguments":[{"sync":true}]}]}],"emptyRecord":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova","line":381,"character":3},"arguments":[{"sync":true}]}]}],"androidApplicationRecord":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova","line":386,"character":3},"arguments":[{"sync":true}]}]}],"encodeMessage":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova","line":391,"character":3},"arguments":[{"sync":true}]}]}],"decodeMessage":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova","line":396,"character":3},"arguments":[{"sync":true}]}]}],"docodeTnf":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova","line":401,"character":3},"arguments":[{"sync":true}]}]}],"encodeTnf":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova","line":406,"character":3},"arguments":[{"sync":true}]}]}],"tnfToString":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova","line":411,"character":3},"arguments":[{"sync":true}]}]}],"textHelper":[{"__symbolic":"property","decorators":[{"__symbolic":"reference","module":"@ionic-native/core","name":"CordovaProperty","line":416,"character":3}]}],"uriHelper":[{"__symbolic":"property","decorators":[{"__symbolic":"reference","module":"@ionic-native/core","name":"CordovaProperty","line":419,"character":3}]}]}},"NfcUtil":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@ionic-native/core","name":"IonicNativePlugin","line":432,"character":29},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Plugin","line":426,"character":1},"arguments":[{"pluginName":"NFC","plugin":"phonegap-nfc","pluginRef":"util"}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":431,"character":1}}],"members":{"toHex":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova","line":433,"character":3},"arguments":[{"sync":true}]}]}],"toPrintable":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova","line":438,"character":3},"arguments":[{"sync":true}]}]}],"bytesToString":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova","line":443,"character":3},"arguments":[{"sync":true}]}]}],"stringToBytes":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova","line":448,"character":3},"arguments":[{"sync":true}]}]}],"bytesToHexString":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova","line":453,"character":3},"arguments":[{"sync":true}]}]}],"isType":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova","line":458,"character":3},"arguments":[{"sync":true}]}]}]}},"TextHelper":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@ionic-native/core","name":"IonicNativePlugin","line":464,"character":32},"members":{"decodePayload":[{"__symbolic":"method"}],"encodePayload":[{"__symbolic":"method"}]}},"UriHelper":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@ionic-native/core","name":"IonicNativePlugin","line":473,"character":31},"members":{"decodePayload":[{"__symbolic":"method"}],"encodePayload":[{"__symbolic":"method"}]}}}}]
\ No newline at end of file
diff --git a/src/@ionic-native/plugins/nfc/index.ngfactory.js.map b/src/@ionic-native/plugins/nfc/index.ngfactory.js.map
new file mode 100644
index 000000000..9bad31ec6
--- /dev/null
+++ b/src/@ionic-native/plugins/nfc/index.ngfactory.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"index.ngfactory.js","sourceRoot":"","sources":["../../../src/@ionic-native/plugins/nfc/index.ngfactory.ts"],"names":[],"mappings":"","sourcesContent":["import * as i0 from '@angular/core';\ni0.ComponentFactory;\n"]}
\ No newline at end of file
diff --git a/src/@ionic-native/plugins/nfc/index.ngsummary.json b/src/@ionic-native/plugins/nfc/index.ngsummary.json
new file mode 100644
index 000000000..159aa59f1
--- /dev/null
+++ b/src/@ionic-native/plugins/nfc/index.ngsummary.json
@@ -0,0 +1 @@
+{"moduleName":null,"summaries":[{"symbol":{"__symbol":0,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":1,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":2,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":3,"members":[]},"metadata":{"__symbolic":"class","extends":{"__symbolic":"resolved","symbol":{"__symbol":4,"members":[]},"line":77,"character":25,"fileName":"src/@ionic-native/plugins/nfc/index.ts"},"members":{"beginSession":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"resolved","symbol":{"__symbol":5,"members":[]},"line":84,"character":3,"fileName":"src/@ionic-native/plugins/nfc/index.ts"},"arguments":[{"observable":true,"successIndex":0,"errorIndex":3,"clearFunction":"invalidateSession","clearWithArgs":true}]}]}],"addNdefListener":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"resolved","symbol":{"__symbol":5,"members":[]},"line":101,"character":3,"fileName":"src/@ionic-native/plugins/nfc/index.ts"},"arguments":[{"observable":true,"successIndex":0,"errorIndex":3,"clearFunction":"removeNdefListener","clearWithArgs":true}]}]}],"addTagDiscoveredListener":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"resolved","symbol":{"__symbol":5,"members":[]},"line":121,"character":3,"fileName":"src/@ionic-native/plugins/nfc/index.ts"},"arguments":[{"observable":true,"successIndex":0,"errorIndex":3,"clearFunction":"removeTagDiscoveredListener","clearWithArgs":true}]}]}],"addMimeTypeListener":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"resolved","symbol":{"__symbol":5,"members":[]},"line":142,"character":3,"fileName":"src/@ionic-native/plugins/nfc/index.ts"},"arguments":[{"observable":true,"successIndex":1,"errorIndex":4,"clearFunction":"removeMimeTypeListener","clearWithArgs":true}]}]}],"addNdefFormatableListener":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"resolved","symbol":{"__symbol":5,"members":[]},"line":163,"character":3,"fileName":"src/@ionic-native/plugins/nfc/index.ts"},"arguments":[{"observable":true,"successIndex":0,"errorIndex":3}]}]}],"write":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"resolved","symbol":{"__symbol":5,"members":[]},"line":180,"character":3,"fileName":"src/@ionic-native/plugins/nfc/index.ts"}}]}],"makeReadyOnly":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"resolved","symbol":{"__symbol":5,"members":[]},"line":188,"character":3,"fileName":"src/@ionic-native/plugins/nfc/index.ts"}}]}],"share":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"resolved","symbol":{"__symbol":5,"members":[]},"line":198,"character":3,"fileName":"src/@ionic-native/plugins/nfc/index.ts"}}]}],"unshare":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"resolved","symbol":{"__symbol":5,"members":[]},"line":207,"character":3,"fileName":"src/@ionic-native/plugins/nfc/index.ts"}}]}],"erase":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"resolved","symbol":{"__symbol":5,"members":[]},"line":215,"character":3,"fileName":"src/@ionic-native/plugins/nfc/index.ts"}}]}],"handover":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"resolved","symbol":{"__symbol":5,"members":[]},"line":225,"character":3,"fileName":"src/@ionic-native/plugins/nfc/index.ts"}}]}],"stopHandover":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"resolved","symbol":{"__symbol":5,"members":[]},"line":234,"character":3,"fileName":"src/@ionic-native/plugins/nfc/index.ts"}}]}],"showSettings":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"resolved","symbol":{"__symbol":5,"members":[]},"line":243,"character":3,"fileName":"src/@ionic-native/plugins/nfc/index.ts"}}]}],"enabled":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"resolved","symbol":{"__symbol":5,"members":[]},"line":252,"character":3,"fileName":"src/@ionic-native/plugins/nfc/index.ts"}}]}],"bytesToString":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"resolved","symbol":{"__symbol":5,"members":[]},"line":265,"character":3,"fileName":"src/@ionic-native/plugins/nfc/index.ts"},"arguments":[{"sync":true}]}]}],"stringToBytes":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"resolved","symbol":{"__symbol":5,"members":[]},"line":274,"character":3,"fileName":"src/@ionic-native/plugins/nfc/index.ts"},"arguments":[{"sync":true}]}]}],"bytesToHexString":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"resolved","symbol":{"__symbol":5,"members":[]},"line":284,"character":3,"fileName":"src/@ionic-native/plugins/nfc/index.ts"},"arguments":[{"sync":true}]}]}]}},"type":{"summaryKind":3,"type":{"reference":{"__symbol":3,"members":[]},"diDeps":[],"lifecycleHooks":[]}}},{"symbol":{"__symbol":6,"members":[]},"metadata":{"__symbolic":"class","extends":{"__symbolic":"resolved","symbol":{"__symbol":4,"members":[]},"line":305,"character":26,"fileName":"src/@ionic-native/plugins/nfc/index.ts"},"members":{"TNF_EMPTY":[{"__symbolic":"property","decorators":[{"__symbolic":"resolved","symbol":{"__symbol":7,"members":[]},"line":306,"character":3,"fileName":"src/@ionic-native/plugins/nfc/index.ts"}]}],"TNF_WELL_KNOWN":[{"__symbolic":"property","decorators":[{"__symbolic":"resolved","symbol":{"__symbol":7,"members":[]},"line":308,"character":3,"fileName":"src/@ionic-native/plugins/nfc/index.ts"}]}],"TNF_MIME_MEDIA":[{"__symbolic":"property","decorators":[{"__symbolic":"resolved","symbol":{"__symbol":7,"members":[]},"line":310,"character":3,"fileName":"src/@ionic-native/plugins/nfc/index.ts"}]}],"TNF_ABSOLUTE_URI":[{"__symbolic":"property","decorators":[{"__symbolic":"resolved","symbol":{"__symbol":7,"members":[]},"line":312,"character":3,"fileName":"src/@ionic-native/plugins/nfc/index.ts"}]}],"TNF_EXTERNAL_TYPE":[{"__symbolic":"property","decorators":[{"__symbolic":"resolved","symbol":{"__symbol":7,"members":[]},"line":314,"character":3,"fileName":"src/@ionic-native/plugins/nfc/index.ts"}]}],"TNF_UNKNOWN":[{"__symbolic":"property","decorators":[{"__symbolic":"resolved","symbol":{"__symbol":7,"members":[]},"line":316,"character":3,"fileName":"src/@ionic-native/plugins/nfc/index.ts"}]}],"TNF_UNCHANGED":[{"__symbolic":"property","decorators":[{"__symbolic":"resolved","symbol":{"__symbol":7,"members":[]},"line":318,"character":3,"fileName":"src/@ionic-native/plugins/nfc/index.ts"}]}],"TNF_RESERVED":[{"__symbolic":"property","decorators":[{"__symbolic":"resolved","symbol":{"__symbol":7,"members":[]},"line":320,"character":3,"fileName":"src/@ionic-native/plugins/nfc/index.ts"}]}],"RTD_TEXT":[{"__symbolic":"property","decorators":[{"__symbolic":"resolved","symbol":{"__symbol":7,"members":[]},"line":323,"character":3,"fileName":"src/@ionic-native/plugins/nfc/index.ts"}]}],"RTD_URI":[{"__symbolic":"property","decorators":[{"__symbolic":"resolved","symbol":{"__symbol":7,"members":[]},"line":325,"character":3,"fileName":"src/@ionic-native/plugins/nfc/index.ts"}]}],"RTD_SMART_POSTER":[{"__symbolic":"property","decorators":[{"__symbolic":"resolved","symbol":{"__symbol":7,"members":[]},"line":327,"character":3,"fileName":"src/@ionic-native/plugins/nfc/index.ts"}]}],"RTD_ALTERNATIVE_CARRIER":[{"__symbolic":"property","decorators":[{"__symbolic":"resolved","symbol":{"__symbol":7,"members":[]},"line":329,"character":3,"fileName":"src/@ionic-native/plugins/nfc/index.ts"}]}],"RTD_HANDOVER_CARRIER":[{"__symbolic":"property","decorators":[{"__symbolic":"resolved","symbol":{"__symbol":7,"members":[]},"line":331,"character":3,"fileName":"src/@ionic-native/plugins/nfc/index.ts"}]}],"RTD_HANDOVER_REQUEST":[{"__symbolic":"property","decorators":[{"__symbolic":"resolved","symbol":{"__symbol":7,"members":[]},"line":333,"character":3,"fileName":"src/@ionic-native/plugins/nfc/index.ts"}]}],"RTD_HANDOVER_SELECT":[{"__symbolic":"property","decorators":[{"__symbolic":"resolved","symbol":{"__symbol":7,"members":[]},"line":335,"character":3,"fileName":"src/@ionic-native/plugins/nfc/index.ts"}]}],"record":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"resolved","symbol":{"__symbol":5,"members":[]},"line":338,"character":3,"fileName":"src/@ionic-native/plugins/nfc/index.ts"},"arguments":[{"sync":true}]}]}],"textRecord":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"resolved","symbol":{"__symbol":5,"members":[]},"line":348,"character":3,"fileName":"src/@ionic-native/plugins/nfc/index.ts"},"arguments":[{"sync":true}]}]}],"uriRecord":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"resolved","symbol":{"__symbol":5,"members":[]},"line":357,"character":3,"fileName":"src/@ionic-native/plugins/nfc/index.ts"},"arguments":[{"sync":true}]}]}],"absoluteUriRecord":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"resolved","symbol":{"__symbol":5,"members":[]},"line":362,"character":3,"fileName":"src/@ionic-native/plugins/nfc/index.ts"},"arguments":[{"sync":true}]}]}],"mimeMediaRecord":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"resolved","symbol":{"__symbol":5,"members":[]},"line":371,"character":3,"fileName":"src/@ionic-native/plugins/nfc/index.ts"},"arguments":[{"sync":true}]}]}],"smartPoster":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"resolved","symbol":{"__symbol":5,"members":[]},"line":376,"character":3,"fileName":"src/@ionic-native/plugins/nfc/index.ts"},"arguments":[{"sync":true}]}]}],"emptyRecord":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"resolved","symbol":{"__symbol":5,"members":[]},"line":381,"character":3,"fileName":"src/@ionic-native/plugins/nfc/index.ts"},"arguments":[{"sync":true}]}]}],"androidApplicationRecord":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"resolved","symbol":{"__symbol":5,"members":[]},"line":386,"character":3,"fileName":"src/@ionic-native/plugins/nfc/index.ts"},"arguments":[{"sync":true}]}]}],"encodeMessage":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"resolved","symbol":{"__symbol":5,"members":[]},"line":391,"character":3,"fileName":"src/@ionic-native/plugins/nfc/index.ts"},"arguments":[{"sync":true}]}]}],"decodeMessage":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"resolved","symbol":{"__symbol":5,"members":[]},"line":396,"character":3,"fileName":"src/@ionic-native/plugins/nfc/index.ts"},"arguments":[{"sync":true}]}]}],"docodeTnf":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"resolved","symbol":{"__symbol":5,"members":[]},"line":401,"character":3,"fileName":"src/@ionic-native/plugins/nfc/index.ts"},"arguments":[{"sync":true}]}]}],"encodeTnf":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"resolved","symbol":{"__symbol":5,"members":[]},"line":406,"character":3,"fileName":"src/@ionic-native/plugins/nfc/index.ts"},"arguments":[{"sync":true}]}]}],"tnfToString":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"resolved","symbol":{"__symbol":5,"members":[]},"line":411,"character":3,"fileName":"src/@ionic-native/plugins/nfc/index.ts"},"arguments":[{"sync":true}]}]}],"textHelper":[{"__symbolic":"property","decorators":[{"__symbolic":"resolved","symbol":{"__symbol":7,"members":[]},"line":416,"character":3,"fileName":"src/@ionic-native/plugins/nfc/index.ts"}]}],"uriHelper":[{"__symbolic":"property","decorators":[{"__symbolic":"resolved","symbol":{"__symbol":7,"members":[]},"line":419,"character":3,"fileName":"src/@ionic-native/plugins/nfc/index.ts"}]}]}},"type":{"summaryKind":3,"type":{"reference":{"__symbol":6,"members":[]},"diDeps":[],"lifecycleHooks":[]}}},{"symbol":{"__symbol":8,"members":[]},"metadata":{"__symbolic":"class","extends":{"__symbolic":"resolved","symbol":{"__symbol":4,"members":[]},"line":432,"character":29,"fileName":"src/@ionic-native/plugins/nfc/index.ts"},"members":{"toHex":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"resolved","symbol":{"__symbol":5,"members":[]},"line":433,"character":3,"fileName":"src/@ionic-native/plugins/nfc/index.ts"},"arguments":[{"sync":true}]}]}],"toPrintable":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"resolved","symbol":{"__symbol":5,"members":[]},"line":438,"character":3,"fileName":"src/@ionic-native/plugins/nfc/index.ts"},"arguments":[{"sync":true}]}]}],"bytesToString":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"resolved","symbol":{"__symbol":5,"members":[]},"line":443,"character":3,"fileName":"src/@ionic-native/plugins/nfc/index.ts"},"arguments":[{"sync":true}]}]}],"stringToBytes":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"resolved","symbol":{"__symbol":5,"members":[]},"line":448,"character":3,"fileName":"src/@ionic-native/plugins/nfc/index.ts"},"arguments":[{"sync":true}]}]}],"bytesToHexString":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"resolved","symbol":{"__symbol":5,"members":[]},"line":453,"character":3,"fileName":"src/@ionic-native/plugins/nfc/index.ts"},"arguments":[{"sync":true}]}]}],"isType":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"resolved","symbol":{"__symbol":5,"members":[]},"line":458,"character":3,"fileName":"src/@ionic-native/plugins/nfc/index.ts"},"arguments":[{"sync":true}]}]}]}},"type":{"summaryKind":3,"type":{"reference":{"__symbol":8,"members":[]},"diDeps":[],"lifecycleHooks":[]}}},{"symbol":{"__symbol":9,"members":[]},"metadata":{"__symbolic":"class","extends":{"__symbolic":"resolved","symbol":{"__symbol":4,"members":[]},"line":464,"character":32,"fileName":"src/@ionic-native/plugins/nfc/index.ts"},"members":{"decodePayload":[{"__symbolic":"method"}],"encodePayload":[{"__symbolic":"method"}]}}},{"symbol":{"__symbol":10,"members":[]},"metadata":{"__symbolic":"class","extends":{"__symbolic":"resolved","symbol":{"__symbol":4,"members":[]},"line":473,"character":31,"fileName":"src/@ionic-native/plugins/nfc/index.ts"},"members":{"decodePayload":[{"__symbolic":"method"}],"encodePayload":[{"__symbolic":"method"}]}}}],"symbols":[{"__symbol":0,"name":"NdefEvent","filePath":"./index"},{"__symbol":1,"name":"NdefRecord","filePath":"./index"},{"__symbol":2,"name":"NdefTag","filePath":"./index"},{"__symbol":3,"name":"NFC","filePath":"./index"},{"__symbol":4,"name":"IonicNativePlugin","filePath":"../../../../dist/@ionic-native/core/index"},{"__symbol":5,"name":"Cordova","filePath":"../../../../dist/@ionic-native/core/index"},{"__symbol":6,"name":"Ndef","filePath":"./index"},{"__symbol":7,"name":"CordovaProperty","filePath":"../../../../dist/@ionic-native/core/index"},{"__symbol":8,"name":"NfcUtil","filePath":"./index"},{"__symbol":9,"name":"TextHelper","filePath":"./index"},{"__symbol":10,"name":"UriHelper","filePath":"./index"}]}
\ No newline at end of file
diff --git a/src/@ionic-native/plugins/nfc/index.ts b/src/@ionic-native/plugins/nfc/index.ts
index e5532425b..e342eec67 100644
--- a/src/@ionic-native/plugins/nfc/index.ts
+++ b/src/@ionic-native/plugins/nfc/index.ts
@@ -286,6 +286,34 @@ export class NFC extends IonicNativePlugin {
bytesToHexString(bytes: number[]): string {
return;
}
+
+ /**
+ * Android NfcAdapter.enableReaderMode flags
+ */
+// let FLAG_READER_NFC_A: number = 0x1;
+// const FLAG_READER_NFC_B: 0x2,
+// const FLAG_READER_NFC_F: 0x4,
+// const FLAG_READER_NFC_V: 0x8,
+// const FLAG_READER_NFC_BARCODE: 0x10,
+// const FLAG_READER_SKIP_NDEF_CHECK: 0x80,
+// const FLAG_READER_NO_PLATFORM_SOUNDS: 0x100,
+
+ // Android NfcAdapter.enabledReaderMode
+
+ @Cordova({
+ observable: true,
+ successIndex: 1,
+ errorIndex: 4,
+ clearFunction: 'disableReaderMode',
+ clearWithArgs: true
+ })
+ readerMode(
+ flags: string,
+ readCallback?: Function,
+ errorCallback?: Function
+ ): Observable {
+ return;
+ }
}
/**
* @hidden
diff --git a/src/@ionic-native/plugins/nfc/package.json b/src/@ionic-native/plugins/nfc/package.json
new file mode 100644
index 000000000..98137e244
--- /dev/null
+++ b/src/@ionic-native/plugins/nfc/package.json
@@ -0,0 +1,53 @@
+{
+ "_args": [
+ [
+ "@ionic-native/nfc@4.15.0",
+ "/Users/stephen/Documents/Development/qoin/merchant_app/qoin-app"
+ ]
+ ],
+ "_from": "@ionic-native/nfc@4.15.0",
+ "_id": "@ionic-native/nfc@4.15.0",
+ "_inBundle": false,
+ "_integrity": "sha512-UpbkCViwFXUid+9qFQdYcIxTim25EicUMHU/TmE6v5nq2S0MuPs4JSkXbaXjIFs+YT8yPFk79OLibaKFVNzhoA==",
+ "_location": "/@ionic-native/nfc",
+ "_phantomChildren": {},
+ "_requested": {
+ "type": "version",
+ "registry": true,
+ "raw": "@ionic-native/nfc@4.15.0",
+ "name": "@ionic-native/nfc",
+ "escapedName": "@ionic-native%2fnfc",
+ "scope": "@ionic-native",
+ "rawSpec": "4.15.0",
+ "saveSpec": null,
+ "fetchSpec": "4.15.0"
+ },
+ "_requiredBy": [
+ "/"
+ ],
+ "_resolved": "https://registry.npmjs.org/@ionic-native/nfc/-/nfc-4.15.0.tgz",
+ "_spec": "4.15.0",
+ "_where": "/Users/stephen/Documents/Development/qoin/merchant_app/qoin-app",
+ "author": {
+ "name": "ionic"
+ },
+ "bugs": {
+ "url": "https://github.com/ionic-team/ionic-native/issues"
+ },
+ "description": "Ionic Native - Native plugins for ionic apps",
+ "homepage": "https://github.com/ionic-team/ionic-native#readme",
+ "license": "MIT",
+ "module": "index.js",
+ "name": "@ionic-native/nfc",
+ "peerDependencies": {
+ "@ionic-native/core": "^4.11.0",
+ "@angular/core": "*",
+ "rxjs": "^5.5.11"
+ },
+ "repository": {
+ "type": "git",
+ "url": "git+https://github.com/ionic-team/ionic-native.git"
+ },
+ "typings": "index.d.ts",
+ "version": "4.15.0"
+}