@xylabs/object
Advanced tools
Comparing version 3.1.1 to 3.1.2
@@ -10,6 +10,7 @@ import { Logger } from '@xylabs/logger'; | ||
static readonly uniqueName: string; | ||
params?: TParams; | ||
private _params?; | ||
constructor(params?: TParams); | ||
protected get logger(): Logger | undefined; | ||
protected get params(): TParams | undefined; | ||
} | ||
//# sourceMappingURL=Base.d.ts.map |
@@ -94,5 +94,5 @@ // src/AsTypeFactory.ts | ||
static uniqueName = globallyUnique(this.name, this, "xyo"); | ||
params; | ||
_params; | ||
constructor(params) { | ||
this.params = params; | ||
this._params = params; | ||
params?.logger?.debug(`Base constructed [${Object(this).name}]`); | ||
@@ -103,2 +103,5 @@ } | ||
} | ||
get params() { | ||
return this._params; | ||
} | ||
}; | ||
@@ -105,0 +108,0 @@ |
@@ -10,6 +10,7 @@ import { Logger } from '@xylabs/logger'; | ||
static readonly uniqueName: string; | ||
params?: TParams; | ||
private _params?; | ||
constructor(params?: TParams); | ||
protected get logger(): Logger | undefined; | ||
protected get params(): TParams | undefined; | ||
} | ||
//# sourceMappingURL=Base.d.ts.map |
@@ -94,6 +94,6 @@ // src/AsTypeFactory.ts | ||
static uniqueName = globallyUnique(this.name, this, "xyo"); | ||
params; | ||
_params; | ||
constructor(params) { | ||
var _a; | ||
this.params = params; | ||
this._params = params; | ||
(_a = params == null ? void 0 : params.logger) == null ? void 0 : _a.debug(`Base constructed [${Object(this).name}]`); | ||
@@ -105,2 +105,5 @@ } | ||
} | ||
get params() { | ||
return this._params; | ||
} | ||
}; | ||
@@ -107,0 +110,0 @@ |
@@ -14,5 +14,5 @@ { | ||
"dependencies": { | ||
"@xylabs/assert": "^3.1.1", | ||
"@xylabs/logger": "^3.1.1", | ||
"@xylabs/promise": "^3.1.1" | ||
"@xylabs/assert": "^3.1.2", | ||
"@xylabs/logger": "^3.1.2", | ||
"@xylabs/promise": "^3.1.2" | ||
}, | ||
@@ -62,4 +62,4 @@ "devDependencies": { | ||
"sideEffects": false, | ||
"version": "3.1.1", | ||
"version": "3.1.2", | ||
"type": "module" | ||
} |
@@ -17,6 +17,6 @@ import { Logger } from '@xylabs/logger' | ||
params?: TParams | ||
private _params?: TParams | ||
constructor(params?: TParams) { | ||
this.params = params | ||
this._params = params | ||
params?.logger?.debug(`Base constructed [${Object(this).name}]`) | ||
@@ -28,2 +28,6 @@ } | ||
} | ||
protected get params() { | ||
return this._params | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
227077
1495
8
Updated@xylabs/assert@^3.1.2
Updated@xylabs/logger@^3.1.2
Updated@xylabs/promise@^3.1.2