nat-upnp-rejetto 2.1.0 → 2.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -29,8 +29,7 @@ class Device {
|
|
|
29
29
|
}
|
|
30
30
|
getXML(url) {
|
|
31
31
|
return __awaiter(this, void 0, void 0, function* () {
|
|
32
|
-
return httpRequest(url).then(consumers_1.text).then(data => new fast_xml_parser_1.XMLParser().parse(data))
|
|
33
|
-
.catch(() => new Error("Failed to lookup device description"));
|
|
32
|
+
return httpRequest(url).then(consumers_1.text).then(data => new fast_xml_parser_1.XMLParser().parse(data));
|
|
34
33
|
});
|
|
35
34
|
}
|
|
36
35
|
getService(types) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nat-upnp-rejetto",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.1",
|
|
4
4
|
"main": "build/src/index",
|
|
5
5
|
"author": "Fedor Indutny <fedor@indutny.com>, SimplyLinn <https://github.com/SimplyLinn>, Kaden Sharpin <http://github.com/kaden-sharpin>, Massimo Melina <a@rejetto.com>",
|
|
6
6
|
"homepage": "https://github.com/kaden-sharpin/nat-upnp-ts",
|