@kronos-integration/service 11.2.9 → 11.2.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
package/src/service-config.mjs
CHANGED
|
@@ -128,7 +128,7 @@ export function ServiceProviderMixin(
|
|
|
128
128
|
* Instanciates an interceptor from its definition data.
|
|
129
129
|
* @see {interceptorFactories}
|
|
130
130
|
* @param {Object} definition data
|
|
131
|
-
* @returns {Interceptor}
|
|
131
|
+
* @returns {Interceptor|undefined}
|
|
132
132
|
*/
|
|
133
133
|
instantiateInterceptor(definition) {
|
|
134
134
|
const factory = this.interceptorFactories[definition.type];
|
package/src/util.mjs
CHANGED
|
@@ -46,9 +46,9 @@ export function ServiceProviderMixin(superclass: any, serviceLoggerClass?: new (
|
|
|
46
46
|
* Instanciates an interceptor from its definition data.
|
|
47
47
|
* @see {interceptorFactories}
|
|
48
48
|
* @param {Object} definition data
|
|
49
|
-
* @returns {Interceptor}
|
|
49
|
+
* @returns {Interceptor|undefined}
|
|
50
50
|
*/
|
|
51
|
-
instantiateInterceptor(definition: any): Interceptor;
|
|
51
|
+
instantiateInterceptor(definition: any): Interceptor | undefined;
|
|
52
52
|
serviceStateChanged(service: any, oldState: any, newState: any): void;
|
|
53
53
|
registerServiceFactory(factory: any): Promise<any>;
|
|
54
54
|
unregisterServiceFactory(factory: any): Promise<void>;
|
|
@@ -14,7 +14,7 @@ declare const StandaloneServiceProvider_base: {
|
|
|
14
14
|
registerFactories(factories: [Function | string]): Promise<void>;
|
|
15
15
|
registerInterceptorFactory(factory: new () => new () => /*elided*/ any): new () => new () => /*elided*/ any;
|
|
16
16
|
unregisterInterceptorFactory(factory: any): void;
|
|
17
|
-
instantiateInterceptor(definition: any): import("@kronos-integration/interceptor").Interceptor;
|
|
17
|
+
instantiateInterceptor(definition: any): import("@kronos-integration/interceptor").Interceptor | undefined;
|
|
18
18
|
serviceStateChanged(service: any, oldState: any, newState: any): void;
|
|
19
19
|
registerServiceFactory(factory: any): Promise<any>;
|
|
20
20
|
unregisterServiceFactory(factory: any): Promise<void>;
|