la-ts-library
Advanced tools
Comparing version 1.0.19 to 1.0.20
import { ECurrency } from "./currency.model"; | ||
import { IMenuItem } from "./index.model"; | ||
export declare class Environment<U, AR, ER = any> { | ||
appRoutes: AR; | ||
epRoutes: ER; | ||
readonly production: boolean; | ||
@@ -31,5 +33,3 @@ isUserVerified: boolean; | ||
apiBaseURL: string; | ||
appRoutes: AR; | ||
epRoutes: ER; | ||
constructor(production: any, apiBaseURL: string, isAdmin?: boolean); | ||
constructor(production: any, apiBaseURL: string, appRoutes: AR, epRoutes: ER, isAdmin?: boolean); | ||
init(apiBaseURL: string, isAdmin?: boolean): void; | ||
@@ -36,0 +36,0 @@ get isMobile(): boolean; |
import { ECurrency } from "./currency.model"; | ||
export class Environment { | ||
constructor(production, apiBaseURL, isAdmin) { | ||
constructor(production, apiBaseURL, appRoutes, epRoutes, isAdmin) { | ||
this.appRoutes = appRoutes; | ||
this.epRoutes = epRoutes; | ||
this._logPl = 0; | ||
@@ -5,0 +7,0 @@ this.userKey = "user"; |
{ | ||
"name": "la-ts-library", | ||
"version": "1.0.19", | ||
"version": "1.0.20", | ||
"description": "From the ground up", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
66323
2158