@aurigma/ng-storefront-api-client 2.32.1 → 2.34.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.
- package/bundles/aurigma-ng-storefront-api-client.umd.js +2 -3
- package/bundles/aurigma-ng-storefront-api-client.umd.js.map +1 -1
- package/bundles/aurigma-ng-storefront-api-client.umd.min.js +1 -1
- package/bundles/aurigma-ng-storefront-api-client.umd.min.js.map +1 -1
- package/esm2015/lib/storefront-api-client.js +3 -3
- package/fesm2015/aurigma-ng-storefront-api-client.js +2 -2
- package/fesm2015/aurigma-ng-storefront-api-client.js.map +1 -1
- package/package.json +1 -1
|
@@ -2074,7 +2074,6 @@
|
|
|
2074
2074
|
};
|
|
2075
2075
|
ProjectsApiClient.prototype.processGetPreviewUrl = function (response) {
|
|
2076
2076
|
var e_18, _a;
|
|
2077
|
-
var _this = this;
|
|
2078
2077
|
var status = response.status;
|
|
2079
2078
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
2080
2079
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -2097,14 +2096,14 @@
|
|
|
2097
2096
|
if (status === 200) {
|
|
2098
2097
|
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
2099
2098
|
var result200 = null;
|
|
2100
|
-
result200 = _responseText === "" ? null :
|
|
2099
|
+
result200 = _responseText === "" ? null : _responseText;
|
|
2101
2100
|
return rxjs.of(result200);
|
|
2102
2101
|
}));
|
|
2103
2102
|
}
|
|
2104
2103
|
else if (status === 404) {
|
|
2105
2104
|
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
2106
2105
|
var result404 = null;
|
|
2107
|
-
result404 = _responseText === "" ? null :
|
|
2106
|
+
result404 = _responseText === "" ? null : _responseText;
|
|
2108
2107
|
return throwException("Not Found", status, _responseText, _headers, result404);
|
|
2109
2108
|
}));
|
|
2110
2109
|
}
|