@mavenmachines/event-handler-lib 1.3.9-rc.1 → 1.3.9-rc.2
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/dist/package.json
CHANGED
|
@@ -16,7 +16,7 @@ import { EventDeclaration } from "../types/eventSourcedEvent.type";
|
|
|
16
16
|
import { EventSourcedProjection } from "../types/eventSourcedProjection.type";
|
|
17
17
|
import { Logger, LoggerService } from "../initializers/logger.service";
|
|
18
18
|
import { RpcResponseStatus } from "../types/enums/rpc-response-status.enum";
|
|
19
|
-
import { IGenericRpcFailResponse
|
|
19
|
+
import { IGenericRpcFailResponse } from "../types/generic.types";
|
|
20
20
|
import { RpcRequester } from "../exports";
|
|
21
21
|
export declare class TestDependencies {
|
|
22
22
|
readonly appContainer: Getable;
|
|
@@ -77,7 +77,7 @@ export declare class TestDependencies {
|
|
|
77
77
|
openSearch?: boolean;
|
|
78
78
|
version?: number;
|
|
79
79
|
}): Promise<EventSourcedProjection<T>>;
|
|
80
|
-
rpc<RequestT extends Record<string, any>, ResponseT = unknown>(routingKey: string, request: RequestT, expected?: RpcResponseStatus.Ok): Promise<
|
|
80
|
+
rpc<RequestT extends Record<string, any>, ResponseT = unknown>(routingKey: string, request: RequestT, expected?: RpcResponseStatus.Ok): Promise<ResponseT>;
|
|
81
81
|
rpc<RequestT extends Record<string, any>>(routingKey: string, request: RequestT, expected: RpcResponseStatus.Error): Promise<IGenericRpcFailResponse>;
|
|
82
82
|
}
|
|
83
83
|
export declare const getTestDependencies: (container: Getable) => Promise<TestDependencies>;
|
package/package.json
CHANGED