api-def 0.6.0-alpha7 → 0.6.0-alpha8
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.
- package/cjs/ApiUtils.js +0 -1
- package/esm/ApiUtils.js +0 -1
- package/package.json +1 -1
package/cjs/ApiUtils.js
CHANGED
|
@@ -51,7 +51,6 @@ var isAcceptableStatus = function (status, acceptableStatus) {
|
|
|
51
51
|
exports.isAcceptableStatus = isAcceptableStatus;
|
|
52
52
|
var JSON_CONTENT_TYPES = ["text/json", "application/json"];
|
|
53
53
|
var inferResponseType = function (contentType) {
|
|
54
|
-
console.log(contentType);
|
|
55
54
|
var contentTypePart = contentType === null || contentType === void 0 ? void 0 : contentType.split(";")[0].trim();
|
|
56
55
|
if (contentTypePart && JSON_CONTENT_TYPES.includes(contentTypePart)) {
|
|
57
56
|
return "json";
|
package/esm/ApiUtils.js
CHANGED
|
@@ -44,7 +44,6 @@ export var isAcceptableStatus = function (status, acceptableStatus) {
|
|
|
44
44
|
};
|
|
45
45
|
var JSON_CONTENT_TYPES = ["text/json", "application/json"];
|
|
46
46
|
export var inferResponseType = function (contentType) {
|
|
47
|
-
console.log(contentType);
|
|
48
47
|
var contentTypePart = contentType === null || contentType === void 0 ? void 0 : contentType.split(";")[0].trim();
|
|
49
48
|
if (contentTypePart && JSON_CONTENT_TYPES.includes(contentTypePart)) {
|
|
50
49
|
return "json";
|