num-client
Advanced tools
Comparing version 0.1.20 to 0.1.21
@@ -110,3 +110,3 @@ "use strict"; | ||
return __awaiter(this, void 0, void 0, function () { | ||
var params, url, response, data; | ||
var params, url, response, data, answerName; | ||
return __generator(this, function (_a) { | ||
@@ -125,2 +125,6 @@ switch (_a.label) { | ||
data = response.data.Answer; | ||
answerName = data[0].name.endsWith('.') ? data[0].name : data[0].name + '.'; | ||
if (question.name !== answerName) { | ||
loglevel_1.default.error("Q = " + JSON.stringify(question) + ", A = " + JSON.stringify(data[0])); | ||
} | ||
return [2, data.map(joinParts)]; | ||
@@ -127,0 +131,0 @@ } |
{ | ||
"name": "num-client", | ||
"version": "0.1.20", | ||
"version": "0.1.21", | ||
"description": "A NUM Protocol Client in TypeScript", | ||
@@ -16,4 +16,4 @@ "main": "dist/index.js", | ||
"loglevel-plugin-prefix": "^0.8.4", | ||
"modl-interpreter": "0.0.11", | ||
"object-unpacker": "0.0.11", | ||
"modl-interpreter": "0.0.12", | ||
"object-unpacker": "0.0.13", | ||
"process": "^0.11.10", | ||
@@ -47,3 +47,4 @@ "punycode": "^2.1.1", | ||
"typescript": "^4.0.2", | ||
"webpack": "^5.23.0" | ||
"webpack": "^5.23.0", | ||
"webpack-cli": "^4.7.0" | ||
}, | ||
@@ -62,3 +63,3 @@ "scripts": { | ||
"lint": "eslint --fix ./src/**", | ||
"prepare": "npm test", | ||
"prepare": "npm test && webpack", | ||
"publish": "git push && git push --tags --force" | ||
@@ -65,0 +66,0 @@ }, |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
468633
2541
25
+ Addedmodl-interpreter@0.0.12(transitive)
+ Addedobject-unpacker@0.0.13(transitive)
- Removedmodl-interpreter@0.0.11(transitive)
- Removedobject-unpacker@0.0.11(transitive)
Updatedmodl-interpreter@0.0.12
Updatedobject-unpacker@0.0.13