@covalent/http
Advanced tools
Comparing version 0.10.0 to 0.10.1
@@ -264,10 +264,8 @@ (function (global, factory) { | ||
_this._http.request(url, requestOptions) | ||
.do(function (response) { | ||
.subscribe(function (response) { | ||
subscriber.next(_this._responseResolve(response, interceptors)); | ||
subscriber.complete(); | ||
}).catch(function (error) { | ||
return new rxjs_Observable.Observable(function () { | ||
subscriber.error(_this._responseErrorResolve(error, interceptors)); | ||
}); | ||
}).subscribe(); | ||
}, function (error) { | ||
subscriber.error(_this._responseErrorResolve(error, interceptors)); | ||
}); | ||
}); | ||
@@ -274,0 +272,0 @@ }; |
@@ -98,10 +98,8 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
_this._http.request(url, requestOptions) | ||
.do(function (response) { | ||
.subscribe(function (response) { | ||
subscriber.next(_this._responseResolve(response, interceptors)); | ||
subscriber.complete(); | ||
}).catch(function (error) { | ||
return new Observable(function () { | ||
subscriber.error(_this._responseErrorResolve(error, interceptors)); | ||
}); | ||
}).subscribe(); | ||
}, function (error) { | ||
subscriber.error(_this._responseErrorResolve(error, interceptors)); | ||
}); | ||
}); | ||
@@ -108,0 +106,0 @@ }; |
@@ -102,10 +102,8 @@ import { Injectable, Type, Injector } from '@angular/core'; | ||
this._http.request(url, requestOptions) | ||
.do((response: Response) => { | ||
.subscribe((response: Response) => { | ||
subscriber.next(this._responseResolve(response, interceptors)); | ||
subscriber.complete(); | ||
}).catch((error: Response) => { | ||
return new Observable<any>(() => { | ||
subscriber.error(this._responseErrorResolve(error, interceptors)); | ||
}); | ||
}).subscribe(); | ||
}, (error: Response) => { | ||
subscriber.error(this._responseErrorResolve(error, interceptors)); | ||
}); | ||
}); | ||
@@ -112,0 +110,0 @@ } |
{ | ||
"name": "@covalent/http", | ||
"version": "0.10.0", | ||
"version": "0.10.1", | ||
"description": "Teradata UI Platform Http Helper Module", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0
98826
1283