@obelisk/client
Advanced tools
Comparing version 2.3.1 to 2.3.2
@@ -131,3 +131,3 @@ "use strict"; | ||
// params += '&redirect_uri=' + redUri; | ||
return ajax_1.ajax.post(tokenUrl, params, headers).pipe(operators_1.flatMap(resp => { | ||
return ajax_1.ajax.post(tokenUrl, params, headers).pipe(operators_1.catchError(err => rxjs_1.of(err)), operators_1.flatMap(resp => { | ||
if (resp.status >= 400) { | ||
@@ -134,0 +134,0 @@ this.clearClientCredentials(); |
{ | ||
"name": "@obelisk/client", | ||
"version": "2.3.1", | ||
"version": "2.3.2", | ||
"description": "Typescript client to interact with Obelisk on a higher level than the regular ReST API calls.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
102864