servicestack-client
Advanced tools
Comparing version 0.0.18 to 0.0.19
{ | ||
"name": "servicestack-client", | ||
"title": "ServiceStack JavaScript Utils", | ||
"version": "0.0.18", | ||
"version": "0.0.19", | ||
"description": "ServiceStack's TypeScript library providing convenience utilities in developing web apps. Integrates with ServiceStack's Server features including ServiceClient, Server Events, Error Handling and Validation", | ||
@@ -40,4 +40,4 @@ "homepage": "https://github.com/ServiceStack/servicestack-client", | ||
"dependencies": { | ||
"@types/isomorphic-fetch": "0.0.31", | ||
"es6-shim": "^0.35.1", | ||
"@types/isomorphic-fetch": "^0.0.31", | ||
"es6-shim": "^0.35.3", | ||
"isomorphic-fetch": "^2.2.1" | ||
@@ -51,2 +51,3 @@ }, | ||
"jspm": { | ||
"registry": "npm", | ||
"directories": {}, | ||
@@ -53,0 +54,0 @@ "dependencies": { |
@@ -235,3 +235,3 @@ "use strict"; | ||
this.requestFilter(req); | ||
return fetch(req) | ||
return fetch(req.url, req) | ||
.then(function (res) { | ||
@@ -276,3 +276,2 @@ if (!res.ok) | ||
var errorDto = exports.sanitize(o); | ||
console.log(o, errorDto); | ||
if (!errorDto.responseStatus) | ||
@@ -279,0 +278,0 @@ throw createErrorResponse(res.status, res.statusText); |
@@ -329,3 +329,3 @@ import 'isomorphic-fetch' | ||
return fetch(req) | ||
return fetch(req.url, req) | ||
.then(res => { | ||
@@ -332,0 +332,0 @@ if (!res.ok) |
Sorry, the diff of this file is not supported yet
75987
1170
Updatedes6-shim@^0.35.3