deep-kernel
Advanced tools
Comparing version 1.9.4 to 1.9.5
@@ -452,3 +452,26 @@ /** | ||
} | ||
/** | ||
* @todo: add advanced criteria for account microservice | ||
* @returns {Microservice|null} | ||
*/ | ||
}, { | ||
key: 'accountMicroservice', | ||
get: function get() { | ||
for (let microserviceKey in this.microservices) { | ||
if (!this.microservices.hasOwnProperty(microserviceKey)) { | ||
continue; | ||
} | ||
let microservice = this.microservices[microserviceKey]; | ||
if (microservice.identifier === Kernel.ACCOUNT_MICROSERVICE_IDENTIFIER) { | ||
return microservice; | ||
} | ||
} | ||
return null; | ||
} | ||
}, { | ||
key: 'services', | ||
@@ -738,2 +761,12 @@ get: function get() { | ||
/** | ||
* @returns {String} | ||
*/ | ||
}, { | ||
key: 'ACCOUNT_MICROSERVICE_IDENTIFIER', | ||
get: function get() { | ||
return 'deep-account'; | ||
} | ||
/** | ||
* @returns {Array} | ||
@@ -740,0 +773,0 @@ */ |
{ | ||
"name": "deep-kernel", | ||
"version": "1.9.4", | ||
"version": "1.9.5", | ||
"description": "DEEP Kernel Library", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
74180
1733