Comparing version 1.10.1 to 1.10.2
@@ -152,3 +152,3 @@ "use strict"; | ||
var _a, _b; | ||
return "".concat(method.name, "Request(option: any) {\n").concat(indent, " return fetch(prefix, ").concat(path, ", ").concat(method.name.toUpperCase()).concat(genRequest(__assign(__assign({}, method.props), (_a = method.props.polymorph) === null || _a === void 0 ? void 0 : _a.find(function (p) { return p.reqBody; }))), ").").concat(genResMethodName(__assign(__assign({}, method.props), (_b = method.props.polymorph) === null || _b === void 0 ? void 0 : _b.find(function (p) { return p.reqBody; }))), "()"); | ||
return "".concat(method.name, "Request(option: any) {\n").concat(indent, " return fetch(prefix, ").concat(path, ", ").concat(method.name.toUpperCase()).concat(genRequest(__assign(__assign({}, method.props), (_a = method.props.polymorph) === null || _a === void 0 ? void 0 : _a.find(function (p) { return p.reqBody; }))), ").").concat(genResMethodName(__assign(__assign({}, method.props), (_b = method.props.polymorph) === null || _b === void 0 ? void 0 : _b.find(function (p) { return p.resBody; }))), "()"); | ||
}; | ||
@@ -155,0 +155,0 @@ exports.default = (function (methods, indent, importName, path, outputMode) { |
{ | ||
"name": "aspida", | ||
"version": "1.10.1", | ||
"version": "1.10.2", | ||
"description": "TypeScript friendly HTTP client wrapper for the browser and node.js", | ||
@@ -5,0 +5,0 @@ "author": "Solufa <solufa2020@gmail.com>", |
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