@routr/dispatcher 2.0.6-alpha.1 → 2.0.7-alpha.0
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/types.d.ts +2 -2
- package/package.json +3 -3
package/dist/types.d.ts
CHANGED
|
@@ -8,11 +8,11 @@ export interface MessageDispatcherConfig {
|
|
|
8
8
|
export interface ProcessorGPRCConnection {
|
|
9
9
|
processMessage: (request: unknown, callback: CT.GrpcCallback) => void;
|
|
10
10
|
}
|
|
11
|
-
export
|
|
11
|
+
export type CallbackErrors = NotMatchingProcessorFound | ProcessorUnavailableError | Error | {
|
|
12
12
|
code: number;
|
|
13
13
|
message?: string;
|
|
14
14
|
} | null;
|
|
15
|
-
export
|
|
15
|
+
export type ProcessorCallback = (err: CallbackErrors, reponse?: MessageRequest) => void;
|
|
16
16
|
export interface RunProcessorParams {
|
|
17
17
|
callback: CT.GrpcCallback;
|
|
18
18
|
connections: Map<string, ProcessorGPRCConnection>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@routr/dispatcher",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.7-alpha.0",
|
|
4
4
|
"description": "Receives SIP messages and forwards them to the corresponding Message Processor",
|
|
5
5
|
"author": "Pedro Sanders <psanders@fonoster.com>",
|
|
6
6
|
"homepage": "https://github.com/fonoster/routr#readme",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"@opentelemetry/sdk-trace-base": "^1.0.4",
|
|
36
36
|
"@opentelemetry/sdk-trace-node": "^1.0.4",
|
|
37
37
|
"@opentelemetry/semantic-conventions": "^1.0.4",
|
|
38
|
-
"@routr/common": "^2.0.
|
|
38
|
+
"@routr/common": "^2.0.7-alpha.0",
|
|
39
39
|
"ajv": "^6.12.6",
|
|
40
40
|
"fp-ts": "^2.11.8"
|
|
41
41
|
},
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"bugs": {
|
|
47
47
|
"url": "https://github.com/fonoster/routr/issues"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "1c08d04c570d1fa156729a8f61e43c3c51b68f96"
|
|
50
50
|
}
|