@social-exchange/api-client
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -75,3 +75,3 @@ "use strict"; | ||
body = _a.sent(); | ||
if ('error' in body) | ||
if ('status' in body && body.status === 'error') | ||
this.resolveErrorResponse(body); | ||
@@ -78,0 +78,0 @@ return [2 /*return*/, body]; |
{ | ||
"name": "@social-exchange/api-client", | ||
"description": "Api client for social-exchange", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"main": "dist/index.js", | ||
@@ -6,0 +6,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
20579