io-ng-util
Advanced tools
Comparing version 4.2.1 to 4.2.2
import 'rxjs/add/operator/catch'; | ||
import 'rxjs/add/operator/map'; | ||
import { Http, Jsonp } from '@angular/http'; | ||
import { Http, Jsonp, RequestOptions } from '@angular/http'; | ||
import { Observable } from 'rxjs/Observable'; | ||
@@ -17,4 +17,4 @@ import 'rxjs/add/observable/throw'; | ||
handleError(err: any): any; | ||
makeHeaders(): RequestOptions; | ||
private extractData(res); | ||
private makeHeaders(); | ||
} |
@@ -58,5 +58,2 @@ 'use strict'; | ||
}; | ||
HttpService.prototype.extractData = function (res) { | ||
return res.json() || [{}]; | ||
}; | ||
HttpService.prototype.makeHeaders = function () { | ||
@@ -72,2 +69,5 @@ var h = { | ||
}; | ||
HttpService.prototype.extractData = function (res) { | ||
return res.json() || [{}]; | ||
}; | ||
HttpService.decorators = [ | ||
@@ -74,0 +74,0 @@ { type: core_1.Injectable }, |
@@ -1,1 +0,1 @@ | ||
[{"__symbolic":"module","version":3,"metadata":{"HttpService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/http","name":"Http"},{"__symbolic":"reference","module":"@angular/http","name":"Jsonp"},{"__symbolic":"reference","module":"./env","name":"Env"}]}],"httpGet":[{"__symbolic":"method"}],"httpPost":[{"__symbolic":"method"}],"jsonpGet":[{"__symbolic":"method"}],"handleError":[{"__symbolic":"method"}],"extractData":[{"__symbolic":"method"}],"makeHeaders":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"HttpService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/http","name":"Http"},{"__symbolic":"reference","module":"@angular/http","name":"Jsonp"},{"__symbolic":"reference","module":"./env","name":"Env"}]}],"httpGet":[{"__symbolic":"method"}],"httpPost":[{"__symbolic":"method"}],"jsonpGet":[{"__symbolic":"method"}],"handleError":[{"__symbolic":"method"}],"extractData":[{"__symbolic":"method"}],"makeHeaders":[{"__symbolic":"method"}]}}}}] | ||
[{"__symbolic":"module","version":3,"metadata":{"HttpService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/http","name":"Http"},{"__symbolic":"reference","module":"@angular/http","name":"Jsonp"},{"__symbolic":"reference","module":"./env","name":"Env"}]}],"httpGet":[{"__symbolic":"method"}],"httpPost":[{"__symbolic":"method"}],"jsonpGet":[{"__symbolic":"method"}],"handleError":[{"__symbolic":"method"}],"makeHeaders":[{"__symbolic":"method"}],"extractData":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"HttpService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/http","name":"Http"},{"__symbolic":"reference","module":"@angular/http","name":"Jsonp"},{"__symbolic":"reference","module":"./env","name":"Env"}]}],"httpGet":[{"__symbolic":"method"}],"httpPost":[{"__symbolic":"method"}],"jsonpGet":[{"__symbolic":"method"}],"handleError":[{"__symbolic":"method"}],"makeHeaders":[{"__symbolic":"method"}],"extractData":[{"__symbolic":"method"}]}}}}] |
{ | ||
"name": "io-ng-util", | ||
"version": "4.2.1", | ||
"version": "4.2.2", | ||
"description": "Angular Base Utilities", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
59439