@routr/dispatcher 2.1.6 → 2.1.11
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/config/schema.js +1 -1
- package/dist/errors.d.ts +1 -1
- package/dist/errors.js +1 -1
- package/dist/types.d.ts +1 -1
- package/package.json +4 -4
package/dist/config/schema.js
CHANGED
package/dist/errors.d.ts
CHANGED
package/dist/errors.js
CHANGED
|
@@ -44,7 +44,7 @@ exports.MiddlewareUnavailableError = exports.ProcessorUnavailableError = exports
|
|
|
44
44
|
*/
|
|
45
45
|
const grpc = __importStar(require("@grpc/grpc-js"));
|
|
46
46
|
/**
|
|
47
|
-
* Thrown when no
|
|
47
|
+
* Thrown when no backend matches the request.
|
|
48
48
|
*/
|
|
49
49
|
class NotMatchingProcessorFound extends Error {
|
|
50
50
|
/**
|
package/dist/types.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ export type CallbackErrors = NotMatchingProcessorFound | ProcessorUnavailableErr
|
|
|
12
12
|
code: number;
|
|
13
13
|
message?: string;
|
|
14
14
|
} | null;
|
|
15
|
-
export type ProcessorCallback = (err: CallbackErrors,
|
|
15
|
+
export type ProcessorCallback = (err: CallbackErrors, response?: MessageRequest) => void;
|
|
16
16
|
export interface RunProcessorParams {
|
|
17
17
|
connections: Map<string, ProcessorGPRCConnection>;
|
|
18
18
|
processors: ProcessorConfig[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@routr/dispatcher",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.11",
|
|
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,8 +35,8 @@
|
|
|
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.1.
|
|
39
|
-
"@routr/processor": "^2.1.
|
|
38
|
+
"@routr/common": "^2.1.11",
|
|
39
|
+
"@routr/processor": "^2.1.11",
|
|
40
40
|
"ajv": "^6.12.6",
|
|
41
41
|
"fp-ts": "^2.11.8"
|
|
42
42
|
},
|
|
@@ -47,5 +47,5 @@
|
|
|
47
47
|
"bugs": {
|
|
48
48
|
"url": "https://github.com/fonoster/routr/issues"
|
|
49
49
|
},
|
|
50
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "7c3161336c29feb497a256018a08b65c1dedd0fd"
|
|
51
51
|
}
|