@aurigma/ng-storefront-api-client 2.29.5 → 2.30.6
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 +6 -7
- 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/aurigma-ng-storefront-api-client.js +1 -1
- package/esm2015/lib/storefront-api-client.js +7 -7
- package/esm2015/lib/storefront.module.js +1 -1
- package/esm2015/public-api.js +1 -1
- package/fesm2015/aurigma-ng-storefront-api-client.js +6 -6
- package/fesm2015/aurigma-ng-storefront-api-client.js.map +1 -1
- package/package.json +1 -1
|
@@ -3946,7 +3946,6 @@
|
|
|
3946
3946
|
};
|
|
3947
3947
|
StorefrontUsersApiClient.prototype.processGetToken = function (response) {
|
|
3948
3948
|
var e_37, _a;
|
|
3949
|
-
var _this = this;
|
|
3950
3949
|
var status = response.status;
|
|
3951
3950
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
3952
3951
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -3966,24 +3965,24 @@
|
|
|
3966
3965
|
finally { if (e_37) throw e_37.error; }
|
|
3967
3966
|
}
|
|
3968
3967
|
}
|
|
3969
|
-
if (status ===
|
|
3968
|
+
if (status === 200) {
|
|
3970
3969
|
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
3971
|
-
var
|
|
3972
|
-
|
|
3973
|
-
return rxjs.of(
|
|
3970
|
+
var result200 = null;
|
|
3971
|
+
result200 = _responseText === "" ? null : _responseText;
|
|
3972
|
+
return rxjs.of(result200);
|
|
3974
3973
|
}));
|
|
3975
3974
|
}
|
|
3976
3975
|
else if (status === 404) {
|
|
3977
3976
|
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
3978
3977
|
var result404 = null;
|
|
3979
|
-
result404 = _responseText === "" ? null :
|
|
3978
|
+
result404 = _responseText === "" ? null : _responseText;
|
|
3980
3979
|
return throwException("Not Found", status, _responseText, _headers, result404);
|
|
3981
3980
|
}));
|
|
3982
3981
|
}
|
|
3983
3982
|
else if (status === 409) {
|
|
3984
3983
|
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
3985
3984
|
var result409 = null;
|
|
3986
|
-
result409 = _responseText === "" ? null :
|
|
3985
|
+
result409 = _responseText === "" ? null : _responseText;
|
|
3987
3986
|
return throwException("Conflict", status, _responseText, _headers, result409);
|
|
3988
3987
|
}));
|
|
3989
3988
|
}
|