Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

io-ng-util

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

io-ng-util - npm Package Compare versions

Comparing version 6.1.0 to 6.1.1

6

lib/common/http.service.d.ts

@@ -7,8 +7,10 @@ import 'rxjs/add/operator/catch';

import { Env } from './env';
import { DTS } from './dts';
export declare class HttpService {
private headers;
private http;
private jsonp;
private env;
private headers;
constructor(http: Http, jsonp: Jsonp, env: Env);
private dts;
constructor(dts: DTS, env: Env, http: Http, jsonp: Jsonp);
httpGet: (url: string) => Observable<any[]>;

@@ -15,0 +17,0 @@ httpPost: (url: string, body: any, flatten?: boolean | undefined) => Observable<any[]>;

@@ -10,8 +10,6 @@ 'use strict';

var env_1 = require("./env");
var dts_1 = require("./dts");
var HttpService = (function () {
function HttpService(http, jsonp, env) {
function HttpService(dts, env, http, jsonp) {
var _this = this;
this.http = http;
this.jsonp = jsonp;
this.env = env;
this.httpGet = function (url) {

@@ -84,4 +82,4 @@ return _this.http.get(url, _this.makeHeaders())

}
h['X-Request-Id'] =
_this.headers = new http_1.Headers(h);
h['X-Request-Id'] = _this.dts.guid();
_this.headers = new http_1.Headers(h);
return new http_1.RequestOptions({ headers: _this.headers });

@@ -127,2 +125,6 @@ };

};
this.http = http;
this.jsonp = jsonp;
this.env = env;
this.dts = dts;
}

@@ -133,5 +135,6 @@ HttpService.decorators = [

HttpService.ctorParameters = function () { return [
{ type: dts_1.DTS, },
{ type: env_1.Env, },
{ type: http_1.Http, },
{ type: http_1.Jsonp, },
{ type: env_1.Env, },
]; };

@@ -138,0 +141,0 @@ return HttpService;

@@ -1,1 +0,1 @@

[{"__symbolic":"module","version":4,"metadata":{"HttpService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":10,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/http","name":"Http","line":16,"character":22},{"__symbolic":"reference","module":"@angular/http","name":"Jsonp","line":17,"character":23},{"__symbolic":"reference","module":"./env","name":"Env","line":18,"character":21}]}]}}}}]
[{"__symbolic":"module","version":4,"metadata":{"HttpService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":11,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"./dts","name":"DTS","line":21,"character":13},{"__symbolic":"reference","module":"./env","name":"Env","line":22,"character":13},{"__symbolic":"reference","module":"@angular/http","name":"Http","line":23,"character":14},{"__symbolic":"reference","module":"@angular/http","name":"Jsonp","line":24,"character":15}]}]}}}}]
{
"name": "io-ng-util",
"version": "6.1.0",
"version": "6.1.1",
"description": "Angular Base Utilities",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc