nmtjs 0.15.0-beta.41 → 0.15.0-beta.42
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.
|
@@ -67,7 +67,7 @@ export class ApplicationApi {
|
|
|
67
67
|
const handled = await this.handleFilters(callOptions, error);
|
|
68
68
|
if (handled === error && error instanceof ProtocolError === false) {
|
|
69
69
|
const logError = new Error('Unhandled error', { cause: error });
|
|
70
|
-
this.options.logger.
|
|
70
|
+
this.options.logger.error(logError);
|
|
71
71
|
throw new ApiError(ErrorCode.InternalServerError, 'Internal Server Error');
|
|
72
72
|
}
|
|
73
73
|
throw handled;
|
|
@@ -102,6 +102,7 @@ export declare class Job<in out Name extends string = string, in out Deps extend
|
|
|
102
102
|
output: t.infer.decode.output<Output>;
|
|
103
103
|
progress: t.infer.decode.output<Progress>;
|
|
104
104
|
};
|
|
105
|
+
[kJobKey]: true;
|
|
105
106
|
steps: Steps;
|
|
106
107
|
conditions: Map<number, JobCondition<any, any, any, any, any>>;
|
|
107
108
|
returnHandler?: JobReturnHandler<Deps, this['_']['result'], Input, Output, Data, Progress>;
|
package/package.json
CHANGED
|
@@ -28,16 +28,16 @@
|
|
|
28
28
|
"oxc-resolver": "11.17.0",
|
|
29
29
|
"prom-client": "git@github.com:siimon/prom-client.git#d4d2dcb366384833951e0116caca707b5f62aa5e",
|
|
30
30
|
"vite": "8.0.0-beta.13",
|
|
31
|
-
"@nmtjs/
|
|
32
|
-
"@nmtjs/
|
|
33
|
-
"@nmtjs/
|
|
34
|
-
"@nmtjs/
|
|
35
|
-
"@nmtjs/http-transport": "0.15.0-beta.
|
|
36
|
-
"@nmtjs/
|
|
37
|
-
"@nmtjs/
|
|
38
|
-
"@nmtjs/
|
|
39
|
-
"@nmtjs/
|
|
40
|
-
"@nmtjs/ws-transport": "0.15.0-beta.
|
|
31
|
+
"@nmtjs/contract": "0.15.0-beta.42",
|
|
32
|
+
"@nmtjs/common": "0.15.0-beta.42",
|
|
33
|
+
"@nmtjs/core": "0.15.0-beta.42",
|
|
34
|
+
"@nmtjs/json-format": "0.15.0-beta.42",
|
|
35
|
+
"@nmtjs/http-transport": "0.15.0-beta.42",
|
|
36
|
+
"@nmtjs/gateway": "0.15.0-beta.42",
|
|
37
|
+
"@nmtjs/msgpack-format": "0.15.0-beta.42",
|
|
38
|
+
"@nmtjs/protocol": "0.15.0-beta.42",
|
|
39
|
+
"@nmtjs/type": "0.15.0-beta.42",
|
|
40
|
+
"@nmtjs/ws-transport": "0.15.0-beta.42"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@nmtjs/proxy": "1.0.0-beta.2",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"LICENSE.md",
|
|
60
60
|
"README.md"
|
|
61
61
|
],
|
|
62
|
-
"version": "0.15.0-beta.
|
|
62
|
+
"version": "0.15.0-beta.42",
|
|
63
63
|
"scripts": {
|
|
64
64
|
"clean-build": "rm -rf ./dist"
|
|
65
65
|
}
|
|
@@ -116,7 +116,7 @@ export class ApplicationApi implements GatewayApi {
|
|
|
116
116
|
const handled = await this.handleFilters(callOptions, error)
|
|
117
117
|
if (handled === error && error instanceof ProtocolError === false) {
|
|
118
118
|
const logError = new Error('Unhandled error', { cause: error })
|
|
119
|
-
this.options.logger.
|
|
119
|
+
this.options.logger.error(logError)
|
|
120
120
|
throw new ApiError(
|
|
121
121
|
ErrorCode.InternalServerError,
|
|
122
122
|
'Internal Server Error',
|