sss-core-lib
Advanced tools
Comparing version 0.0.2 to 0.0.3
@@ -460,7 +460,7 @@ (function (global, factory) { | ||
exports.AuthModule = AuthModule; | ||
exports.SssCoreModule = SssCoreModule; | ||
exports.SssCoreService = SssCoreService; | ||
exports.ɵa = AuthModule; | ||
exports.ɵb = AuthService; | ||
exports.ɵc = ApiService; | ||
exports.ɵa = AuthService; | ||
exports.ɵb = 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}(),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.SssCoreModule=c,t.SssCoreService=p,t.ɵa=u,t.ɵb=a,t.ɵc=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}(),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})})); | ||
//# sourceMappingURL=sss-core-lib.umd.min.js.map |
@@ -11,2 +11,3 @@ /** | ||
export { SssCoreService } from './lib/sss-core.service'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL3Nzcy1jb3JlLWxpYi8iLCJzb3VyY2VzIjpbInB1YmxpYy1hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7QUFJQSw4QkFBYyx1QkFBdUIsQ0FBQztBQUN0QywrQkFBYyx3QkFBd0IsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qXG4gKiBQdWJsaWMgQVBJIFN1cmZhY2Ugb2Ygc3NzLWNvcmUtbGliXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9saWIvc3NzLWNvcmUubW9kdWxlJztcbmV4cG9ydCAqIGZyb20gJy4vbGliL3Nzcy1jb3JlLnNlcnZpY2UnO1xuIl19 | ||
export { AuthModule } from './lib/auth/auth.module'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL3Nzcy1jb3JlLWxpYi8iLCJzb3VyY2VzIjpbInB1YmxpYy1hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7QUFJQSw4QkFBYyx1QkFBdUIsQ0FBQztBQUN0QywrQkFBYyx3QkFBd0IsQ0FBQztBQUN2QywyQkFBYyx3QkFBd0IsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qXG4gKiBQdWJsaWMgQVBJIFN1cmZhY2Ugb2Ygc3NzLWNvcmUtbGliXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9saWIvc3NzLWNvcmUubW9kdWxlJztcbmV4cG9ydCAqIGZyb20gJy4vbGliL3Nzcy1jb3JlLnNlcnZpY2UnO1xuZXhwb3J0ICogZnJvbSAnLi9saWIvYXV0aC9hdXRoLm1vZHVsZSc7Il19 |
@@ -9,6 +9,5 @@ /** | ||
*/ | ||
export { SssCoreModule, SssCoreService } from './public-api'; | ||
export { ApiService as ɵc } from './lib/api.service'; | ||
export { AuthModule as ɵa } from './lib/auth/auth.module'; | ||
export { AuthService as ɵb } from './lib/auth/auth.service'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3NzLWNvcmUtbGliLmpzIiwic291cmNlUm9vdCI6Im5nOi8vc3NzLWNvcmUtbGliLyIsInNvdXJjZXMiOlsic3NzLWNvcmUtbGliLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7O0FBSUEsOENBQWMsY0FBYyxDQUFDO0FBRTdCLE9BQU8sRUFBQyxVQUFVLElBQUksRUFBRSxFQUFDLE1BQU0sbUJBQW1CLENBQUM7QUFDbkQsT0FBTyxFQUFDLFVBQVUsSUFBSSxFQUFFLEVBQUMsTUFBTSx3QkFBd0IsQ0FBQztBQUN4RCxPQUFPLEVBQUMsV0FBVyxJQUFJLEVBQUUsRUFBQyxNQUFNLHlCQUF5QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL3B1YmxpYy1hcGknO1xuXG5leHBvcnQge0FwaVNlcnZpY2UgYXMgybVjfSBmcm9tICcuL2xpYi9hcGkuc2VydmljZSc7XG5leHBvcnQge0F1dGhNb2R1bGUgYXMgybVhfSBmcm9tICcuL2xpYi9hdXRoL2F1dGgubW9kdWxlJztcbmV4cG9ydCB7QXV0aFNlcnZpY2UgYXMgybVifSBmcm9tICcuL2xpYi9hdXRoL2F1dGguc2VydmljZSc7Il19 | ||
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= |
@@ -11,2 +11,3 @@ /** | ||
export { SssCoreService } from './lib/sss-core.service'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL3Nzcy1jb3JlLWxpYi8iLCJzb3VyY2VzIjpbInB1YmxpYy1hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7QUFJQSw4QkFBYyx1QkFBdUIsQ0FBQztBQUN0QywrQkFBYyx3QkFBd0IsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qXG4gKiBQdWJsaWMgQVBJIFN1cmZhY2Ugb2Ygc3NzLWNvcmUtbGliXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9saWIvc3NzLWNvcmUubW9kdWxlJztcbmV4cG9ydCAqIGZyb20gJy4vbGliL3Nzcy1jb3JlLnNlcnZpY2UnO1xuIl19 | ||
export { AuthModule } from './lib/auth/auth.module'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL3Nzcy1jb3JlLWxpYi8iLCJzb3VyY2VzIjpbInB1YmxpYy1hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7QUFJQSw4QkFBYyx1QkFBdUIsQ0FBQztBQUN0QywrQkFBYyx3QkFBd0IsQ0FBQztBQUN2QywyQkFBYyx3QkFBd0IsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qXG4gKiBQdWJsaWMgQVBJIFN1cmZhY2Ugb2Ygc3NzLWNvcmUtbGliXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9saWIvc3NzLWNvcmUubW9kdWxlJztcbmV4cG9ydCAqIGZyb20gJy4vbGliL3Nzcy1jb3JlLnNlcnZpY2UnO1xuZXhwb3J0ICogZnJvbSAnLi9saWIvYXV0aC9hdXRoLm1vZHVsZSc7Il19 |
@@ -9,6 +9,5 @@ /** | ||
*/ | ||
export { SssCoreModule, SssCoreService } from './public-api'; | ||
export { ApiService as ɵc } from './lib/api.service'; | ||
export { AuthModule as ɵa } from './lib/auth/auth.module'; | ||
export { AuthService as ɵb } from './lib/auth/auth.service'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3NzLWNvcmUtbGliLmpzIiwic291cmNlUm9vdCI6Im5nOi8vc3NzLWNvcmUtbGliLyIsInNvdXJjZXMiOlsic3NzLWNvcmUtbGliLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7O0FBSUEsOENBQWMsY0FBYyxDQUFDO0FBRTdCLE9BQU8sRUFBQyxVQUFVLElBQUksRUFBRSxFQUFDLE1BQU0sbUJBQW1CLENBQUM7QUFDbkQsT0FBTyxFQUFDLFVBQVUsSUFBSSxFQUFFLEVBQUMsTUFBTSx3QkFBd0IsQ0FBQztBQUN4RCxPQUFPLEVBQUMsV0FBVyxJQUFJLEVBQUUsRUFBQyxNQUFNLHlCQUF5QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL3B1YmxpYy1hcGknO1xuXG5leHBvcnQge0FwaVNlcnZpY2UgYXMgybVjfSBmcm9tICcuL2xpYi9hcGkuc2VydmljZSc7XG5leHBvcnQge0F1dGhNb2R1bGUgYXMgybVhfSBmcm9tICcuL2xpYi9hdXRoL2F1dGgubW9kdWxlJztcbmV4cG9ydCB7QXV0aFNlcnZpY2UgYXMgybVifSBmcm9tICcuL2xpYi9hdXRoL2F1dGguc2VydmljZSc7Il19 | ||
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= |
@@ -229,3 +229,3 @@ import { Injectable, ɵɵdefineInjectable, ɵɵinject, NgModule } from '@angular/core'; | ||
export { SssCoreModule, SssCoreService, AuthModule as ɵa, AuthService as ɵb, ApiService as ɵc }; | ||
export { AuthModule, SssCoreModule, SssCoreService, AuthService as ɵa, ApiService as ɵb }; | ||
//# sourceMappingURL=sss-core-lib.js.map |
@@ -275,3 +275,3 @@ import { Injectable, ɵɵdefineInjectable, ɵɵinject, NgModule } from '@angular/core'; | ||
export { SssCoreModule, SssCoreService, AuthModule as ɵa, AuthService as ɵb, ApiService as ɵc }; | ||
export { AuthModule, SssCoreModule, SssCoreService, AuthService as ɵa, ApiService as ɵb }; | ||
//# sourceMappingURL=sss-core-lib.js.map |
{ | ||
"name": "sss-core-lib", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"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'; |
@@ -5,4 +5,3 @@ /** | ||
export * from './public-api'; | ||
export { ApiService as ɵc } from './lib/api.service'; | ||
export { AuthModule as ɵa } from './lib/auth/auth.module'; | ||
export { AuthService as ɵb } from './lib/auth/auth.service'; | ||
export { ApiService as ɵb } from './lib/api.service'; | ||
export { AuthService as ɵa } from './lib/auth/auth.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":"ɵa"}]}]}],"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":{}}},"ɵa":{"__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":"ɵb"}]}]}],"members":{}},"ɵb":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"ɵc"},"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":{}}},"ɵc":{"__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","ɵa":"./lib/auth/auth.module","ɵb":"./lib/auth/auth.service","ɵc":"./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":"ɵ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"} |
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
144414