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

sss-core-lib

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sss-core-lib - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

4

bundles/sss-core-lib.umd.js

@@ -461,6 +461,6 @@ (function (global, factory) {

exports.AuthModule = AuthModule;
exports.AuthService = AuthService;
exports.SssCoreModule = SssCoreModule;
exports.SssCoreService = SssCoreService;
exports.ɵa = AuthService;
exports.ɵb = ApiService;
exports.ɵa = ApiService;

@@ -467,0 +467,0 @@ Object.defineProperty(exports, '__esModule', { value: true });

@@ -15,3 +15,3 @@ !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@angular/core"),require("@angular/common"),require("@angular/common/http"),require("rxjs/operators")):"function"==typeof define&&define.amd?define("sss-core-lib",["exports","@angular/core","@angular/common","@angular/common/http","rxjs/operators"],e):e((t=t||self)["sss-core-lib"]={},t.ng.core,t.ng.common,t.ng.common.http,t.rxjs.operators)}(this,(function(t,e,o,r,n){"use strict";

and limitations under the License.
***************************************************************************** */var i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(t,e)};var s=function(){function t(t,e,o){this.http=t,this.authService=e,this.methodName=o,this.apiUrl="http://localhost:3200"}return t.prototype.get=function(t){return this.http.get(this.apiUrl+"/"+this.methodName+(t||""),{headers:this.getHeaders()})},t.prototype.getItem=function(t){return this.get("/"+t)},t.prototype.post=function(t,e){return this.http.post(this.apiUrl+"/"+this.methodName+(e||""),t,{headers:this.getHeaders()})},t.prototype.put=function(t,e){return this.http.put(this.apiUrl+"/"+this.methodName+(e||""),t,{headers:this.getHeaders()})},t.prototype.delete=function(t){return this.http.delete(this.apiUrl+"/"+this.methodName+(t?"/"+t:""),{headers:this.getHeaders()})},t.prototype.getHeaders=function(){var t={"Content-Type":"application/json"};return this.authService&&(t.Authorization="Bearer "+this.authService.getToken()),new r.HttpHeaders(t)},t}();var a=function(t){function o(e){return t.call(this,e,void 0,"auth")||this}return function(t,e){function o(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}(o,t),o.prototype.login=function(t,e){var o=this;return this.post({username:t,password:e},"/login").pipe(n.map((function(t){return t.access_token}))).pipe(n.tap((function(t){if(!t||0===t.length)throw new Error("Response token is invalid");o.accessToken=t})))},o.prototype.getToken=function(){return this.accessToken},o.decorators=[{type:e.Injectable,args:[{providedIn:"root"}]}],o.ctorParameters=function(){return[{type:r.HttpClient}]},o.ngInjectableDef=e.ɵɵdefineInjectable({factory:function(){return new o(e.ɵɵinject(r.HttpClient))},token:o,providedIn:"root"}),o}(s);var u=function(){function t(){}return t.decorators=[{type:e.NgModule,args:[{declarations:[],imports:[o.CommonModule],providers:[a]}]}],t}(),p=function(){function t(){}return t.decorators=[{type:e.NgModule,args:[{declarations:[],imports:[o.CommonModule,r.HttpClientModule,u]}]}],t}(),c=function(){function t(){}return t.prototype.helloSss=function(){return"Hello, Sss!"},t.decorators=[{type:e.Injectable,args:[{providedIn:"root"}]}],t.ctorParameters=function(){return[]},t.ngInjectableDef=e.ɵɵdefineInjectable({factory:function(){return new t},token:t,providedIn:"root"}),t}();t.AuthModule=u,t.SssCoreModule=p,t.SssCoreService=c,t.ɵa=a,t.ɵb=s,Object.defineProperty(t,"__esModule",{value:!0})}));
***************************************************************************** */var i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(t,e)};var s=function(){function t(t,e,o){this.http=t,this.authService=e,this.methodName=o,this.apiUrl="http://localhost:3200"}return t.prototype.get=function(t){return this.http.get(this.apiUrl+"/"+this.methodName+(t||""),{headers:this.getHeaders()})},t.prototype.getItem=function(t){return this.get("/"+t)},t.prototype.post=function(t,e){return this.http.post(this.apiUrl+"/"+this.methodName+(e||""),t,{headers:this.getHeaders()})},t.prototype.put=function(t,e){return this.http.put(this.apiUrl+"/"+this.methodName+(e||""),t,{headers:this.getHeaders()})},t.prototype.delete=function(t){return this.http.delete(this.apiUrl+"/"+this.methodName+(t?"/"+t:""),{headers:this.getHeaders()})},t.prototype.getHeaders=function(){var t={"Content-Type":"application/json"};return this.authService&&(t.Authorization="Bearer "+this.authService.getToken()),new r.HttpHeaders(t)},t}();var a=function(t){function o(e){return t.call(this,e,void 0,"auth")||this}return function(t,e){function o(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}(o,t),o.prototype.login=function(t,e){var o=this;return this.post({username:t,password:e},"/login").pipe(n.map((function(t){return t.access_token}))).pipe(n.tap((function(t){if(!t||0===t.length)throw new Error("Response token is invalid");o.accessToken=t})))},o.prototype.getToken=function(){return this.accessToken},o.decorators=[{type:e.Injectable,args:[{providedIn:"root"}]}],o.ctorParameters=function(){return[{type:r.HttpClient}]},o.ngInjectableDef=e.ɵɵdefineInjectable({factory:function(){return new o(e.ɵɵinject(r.HttpClient))},token:o,providedIn:"root"}),o}(s);var u=function(){function t(){}return t.decorators=[{type:e.NgModule,args:[{declarations:[],imports:[o.CommonModule],providers:[a]}]}],t}(),c=function(){function t(){}return t.decorators=[{type:e.NgModule,args:[{declarations:[],imports:[o.CommonModule,r.HttpClientModule,u]}]}],t}(),p=function(){function t(){}return t.prototype.helloSss=function(){return"Hello, Sss!"},t.decorators=[{type:e.Injectable,args:[{providedIn:"root"}]}],t.ctorParameters=function(){return[]},t.ngInjectableDef=e.ɵɵdefineInjectable({factory:function(){return new t},token:t,providedIn:"root"}),t}();t.AuthModule=u,t.AuthService=a,t.SssCoreModule=c,t.SssCoreService=p,t.ɵa=s,Object.defineProperty(t,"__esModule",{value:!0})}));
//# sourceMappingURL=sss-core-lib.umd.min.js.map

@@ -12,2 +12,3 @@ /**

export { AuthModule } from './lib/auth/auth.module';
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL3Nzcy1jb3JlLWxpYi8iLCJzb3VyY2VzIjpbInB1YmxpYy1hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7QUFJQSw4QkFBYyx1QkFBdUIsQ0FBQztBQUN0QywrQkFBYyx3QkFBd0IsQ0FBQztBQUN2QywyQkFBYyx3QkFBd0IsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qXG4gKiBQdWJsaWMgQVBJIFN1cmZhY2Ugb2Ygc3NzLWNvcmUtbGliXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9saWIvc3NzLWNvcmUubW9kdWxlJztcbmV4cG9ydCAqIGZyb20gJy4vbGliL3Nzcy1jb3JlLnNlcnZpY2UnO1xuZXhwb3J0ICogZnJvbSAnLi9saWIvYXV0aC9hdXRoLm1vZHVsZSc7Il19
export { AuthService } from './lib/auth/auth.service';
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL3Nzcy1jb3JlLWxpYi8iLCJzb3VyY2VzIjpbInB1YmxpYy1hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7QUFJQSw4QkFBYyx1QkFBdUIsQ0FBQztBQUN0QywrQkFBYyx3QkFBd0IsQ0FBQztBQUN2QywyQkFBYyx3QkFBd0IsQ0FBQztBQUN2Qyw0QkFBYyx5QkFBeUIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qXG4gKiBQdWJsaWMgQVBJIFN1cmZhY2Ugb2Ygc3NzLWNvcmUtbGliXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9saWIvc3NzLWNvcmUubW9kdWxlJztcbmV4cG9ydCAqIGZyb20gJy4vbGliL3Nzcy1jb3JlLnNlcnZpY2UnO1xuZXhwb3J0ICogZnJvbSAnLi9saWIvYXV0aC9hdXRoLm1vZHVsZSc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9hdXRoL2F1dGguc2VydmljZSc7Il19

@@ -9,5 +9,4 @@ /**

*/
export { SssCoreModule, SssCoreService, AuthModule } from './public-api';
export { ApiService as ɵb } from './lib/api.service';
export { AuthService as ɵa } from './lib/auth/auth.service';
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3NzLWNvcmUtbGliLmpzIiwic291cmNlUm9vdCI6Im5nOi8vc3NzLWNvcmUtbGliLyIsInNvdXJjZXMiOlsic3NzLWNvcmUtbGliLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7O0FBSUEsMERBQWMsY0FBYyxDQUFDO0FBRTdCLE9BQU8sRUFBQyxVQUFVLElBQUksRUFBRSxFQUFDLE1BQU0sbUJBQW1CLENBQUM7QUFDbkQsT0FBTyxFQUFDLFdBQVcsSUFBSSxFQUFFLEVBQUMsTUFBTSx5QkFBeUIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9wdWJsaWMtYXBpJztcblxuZXhwb3J0IHtBcGlTZXJ2aWNlIGFzIMm1Yn0gZnJvbSAnLi9saWIvYXBpLnNlcnZpY2UnO1xuZXhwb3J0IHtBdXRoU2VydmljZSBhcyDJtWF9IGZyb20gJy4vbGliL2F1dGgvYXV0aC5zZXJ2aWNlJzsiXX0=
export { SssCoreModule, SssCoreService, AuthModule, AuthService } from './public-api';
export { ApiService as ɵa } from './lib/api.service';
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3NzLWNvcmUtbGliLmpzIiwic291cmNlUm9vdCI6Im5nOi8vc3NzLWNvcmUtbGliLyIsInNvdXJjZXMiOlsic3NzLWNvcmUtbGliLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7O0FBSUEsdUVBQWMsY0FBYyxDQUFDO0FBRTdCLE9BQU8sRUFBQyxVQUFVLElBQUksRUFBRSxFQUFDLE1BQU0sbUJBQW1CLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vcHVibGljLWFwaSc7XG5cbmV4cG9ydCB7QXBpU2VydmljZSBhcyDJtWF9IGZyb20gJy4vbGliL2FwaS5zZXJ2aWNlJzsiXX0=

@@ -12,2 +12,3 @@ /**

export { AuthModule } from './lib/auth/auth.module';
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL3Nzcy1jb3JlLWxpYi8iLCJzb3VyY2VzIjpbInB1YmxpYy1hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7QUFJQSw4QkFBYyx1QkFBdUIsQ0FBQztBQUN0QywrQkFBYyx3QkFBd0IsQ0FBQztBQUN2QywyQkFBYyx3QkFBd0IsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qXG4gKiBQdWJsaWMgQVBJIFN1cmZhY2Ugb2Ygc3NzLWNvcmUtbGliXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9saWIvc3NzLWNvcmUubW9kdWxlJztcbmV4cG9ydCAqIGZyb20gJy4vbGliL3Nzcy1jb3JlLnNlcnZpY2UnO1xuZXhwb3J0ICogZnJvbSAnLi9saWIvYXV0aC9hdXRoLm1vZHVsZSc7Il19
export { AuthService } from './lib/auth/auth.service';
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL3Nzcy1jb3JlLWxpYi8iLCJzb3VyY2VzIjpbInB1YmxpYy1hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7QUFJQSw4QkFBYyx1QkFBdUIsQ0FBQztBQUN0QywrQkFBYyx3QkFBd0IsQ0FBQztBQUN2QywyQkFBYyx3QkFBd0IsQ0FBQztBQUN2Qyw0QkFBYyx5QkFBeUIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qXG4gKiBQdWJsaWMgQVBJIFN1cmZhY2Ugb2Ygc3NzLWNvcmUtbGliXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9saWIvc3NzLWNvcmUubW9kdWxlJztcbmV4cG9ydCAqIGZyb20gJy4vbGliL3Nzcy1jb3JlLnNlcnZpY2UnO1xuZXhwb3J0ICogZnJvbSAnLi9saWIvYXV0aC9hdXRoLm1vZHVsZSc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9hdXRoL2F1dGguc2VydmljZSc7Il19

@@ -9,5 +9,4 @@ /**

*/
export { SssCoreModule, SssCoreService, AuthModule } from './public-api';
export { ApiService as ɵb } from './lib/api.service';
export { AuthService as ɵa } from './lib/auth/auth.service';
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3NzLWNvcmUtbGliLmpzIiwic291cmNlUm9vdCI6Im5nOi8vc3NzLWNvcmUtbGliLyIsInNvdXJjZXMiOlsic3NzLWNvcmUtbGliLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7O0FBSUEsMERBQWMsY0FBYyxDQUFDO0FBRTdCLE9BQU8sRUFBQyxVQUFVLElBQUksRUFBRSxFQUFDLE1BQU0sbUJBQW1CLENBQUM7QUFDbkQsT0FBTyxFQUFDLFdBQVcsSUFBSSxFQUFFLEVBQUMsTUFBTSx5QkFBeUIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9wdWJsaWMtYXBpJztcblxuZXhwb3J0IHtBcGlTZXJ2aWNlIGFzIMm1Yn0gZnJvbSAnLi9saWIvYXBpLnNlcnZpY2UnO1xuZXhwb3J0IHtBdXRoU2VydmljZSBhcyDJtWF9IGZyb20gJy4vbGliL2F1dGgvYXV0aC5zZXJ2aWNlJzsiXX0=
export { SssCoreModule, SssCoreService, AuthModule, AuthService } from './public-api';
export { ApiService as ɵa } from './lib/api.service';
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3NzLWNvcmUtbGliLmpzIiwic291cmNlUm9vdCI6Im5nOi8vc3NzLWNvcmUtbGliLyIsInNvdXJjZXMiOlsic3NzLWNvcmUtbGliLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7O0FBSUEsdUVBQWMsY0FBYyxDQUFDO0FBRTdCLE9BQU8sRUFBQyxVQUFVLElBQUksRUFBRSxFQUFDLE1BQU0sbUJBQW1CLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vcHVibGljLWFwaSc7XG5cbmV4cG9ydCB7QXBpU2VydmljZSBhcyDJtWF9IGZyb20gJy4vbGliL2FwaS5zZXJ2aWNlJzsiXX0=

@@ -229,3 +229,3 @@ import { Injectable, ɵɵdefineInjectable, ɵɵinject, NgModule } from '@angular/core';

export { AuthModule, SssCoreModule, SssCoreService, AuthService as ɵa, ApiService as ɵb };
export { AuthModule, AuthService, SssCoreModule, SssCoreService, ApiService as ɵa };
//# sourceMappingURL=sss-core-lib.js.map

@@ -275,3 +275,3 @@ import { Injectable, ɵɵdefineInjectable, ɵɵinject, NgModule } from '@angular/core';

export { AuthModule, SssCoreModule, SssCoreService, AuthService as ɵa, ApiService as ɵb };
export { AuthModule, AuthService, SssCoreModule, SssCoreService, ApiService as ɵa };
//# sourceMappingURL=sss-core-lib.js.map
{
"name": "sss-core-lib",
"version": "0.0.3",
"version": "0.0.4",
"peerDependencies": {

@@ -5,0 +5,0 @@ "@angular/common": "^8.2.14",

export * from './lib/sss-core.module';
export * from './lib/sss-core.service';
export * from './lib/auth/auth.module';
export * from './lib/auth/auth.service';

@@ -5,3 +5,2 @@ /**

export * from './public-api';
export { ApiService as ɵb } from './lib/api.service';
export { AuthService as ɵa } from './lib/auth/auth.service';
export { ApiService as ɵa } from './lib/api.service';

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

{"__symbolic":"module","version":4,"metadata":{"SssCoreModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":6,"character":1},"arguments":[{"declarations":[],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":9,"character":4},{"__symbolic":"reference","module":"@angular/common/http","name":"HttpClientModule","line":10,"character":4},{"__symbolic":"reference","name":"AuthModule"}]}]}],"members":{}},"SssCoreService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":2,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor"}],"helloSss":[{"__symbolic":"method"}]},"statics":{"ngInjectableDef":{}}},"AuthModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":4,"character":1},"arguments":[{"declarations":[],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":7,"character":4}],"providers":[{"__symbolic":"reference","name":"ɵa"}]}]}],"members":{}},"ɵa":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"ɵb"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":7,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/common/http","name":"HttpClient","line":15,"character":10}]}],"login":[{"__symbolic":"method"}],"getToken":[{"__symbolic":"method"}]},"statics":{"ngInjectableDef":{}}},"ɵb":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/common/http","name":"HttpClient","line":10,"character":29},null,{"__symbolic":"reference","name":"string"}]}],"get":[{"__symbolic":"method"}],"getItem":[{"__symbolic":"method"}],"post":[{"__symbolic":"method"}],"put":[{"__symbolic":"method"}],"delete":[{"__symbolic":"method"}],"getHeaders":[{"__symbolic":"method"}]}}},"origins":{"SssCoreModule":"./lib/sss-core.module","SssCoreService":"./lib/sss-core.service","AuthModule":"./lib/auth/auth.module","ɵa":"./lib/auth/auth.service","ɵb":"./lib/api.service"},"importAs":"sss-core-lib"}
{"__symbolic":"module","version":4,"metadata":{"SssCoreModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":6,"character":1},"arguments":[{"declarations":[],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":9,"character":4},{"__symbolic":"reference","module":"@angular/common/http","name":"HttpClientModule","line":10,"character":4},{"__symbolic":"reference","name":"AuthModule"}]}]}],"members":{}},"SssCoreService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":2,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor"}],"helloSss":[{"__symbolic":"method"}]},"statics":{"ngInjectableDef":{}}},"AuthModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":4,"character":1},"arguments":[{"declarations":[],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":7,"character":4}],"providers":[{"__symbolic":"reference","name":"AuthService"}]}]}],"members":{}},"AuthService":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"ɵa"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":7,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/common/http","name":"HttpClient","line":15,"character":10}]}],"login":[{"__symbolic":"method"}],"getToken":[{"__symbolic":"method"}]},"statics":{"ngInjectableDef":{}}},"ɵa":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/common/http","name":"HttpClient","line":10,"character":29},null,{"__symbolic":"reference","name":"string"}]}],"get":[{"__symbolic":"method"}],"getItem":[{"__symbolic":"method"}],"post":[{"__symbolic":"method"}],"put":[{"__symbolic":"method"}],"delete":[{"__symbolic":"method"}],"getHeaders":[{"__symbolic":"method"}]}}},"origins":{"SssCoreModule":"./lib/sss-core.module","SssCoreService":"./lib/sss-core.service","AuthModule":"./lib/auth/auth.module","AuthService":"./lib/auth/auth.service","ɵa":"./lib/api.service"},"importAs":"sss-core-lib"}
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