@rsdk/builtin-contract 3.0.2 → 3.1.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/CHANGELOG.md +10 -0
- package/dist/grpc/error/v1/error.d.ts +7 -1
- package/dist/grpc/error/v1/error.js +14 -2
- package/dist/grpc/error/v1/error.js.map +1 -1
- package/dist/grpc.metrics.v1.d.ts +2 -2
- package/dist/grpc.metrics.v1.js +3 -3
- package/dist/grpc.metrics.v1.js.map +1 -1
- package/package.json +2 -2
- package/proto/grpc/error/v1/error.proto +4 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,16 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [3.1.0](https://github.com/R-Vision/rsdk/compare/v3.1.0-next.3...v3.1.0) (2023-08-09)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @rsdk/builtin-contract
|
|
9
|
+
|
|
10
|
+
## [3.1.0-next.0](https://github.com/R-Vision/rsdk/compare/v3.0.2...v3.1.0-next.0) (2023-08-08)
|
|
11
|
+
|
|
12
|
+
### Features
|
|
13
|
+
|
|
14
|
+
* added exception code to payload ([#92](https://github.com/R-Vision/rsdk/issues/92)) ([6a9565b](https://github.com/R-Vision/rsdk/commit/6a9565b23746122676abb1f5166f9ef8b181864b))
|
|
15
|
+
|
|
6
16
|
## [3.0.2](https://github.com/R-Vision/rsdk/compare/v3.0.1...v3.0.2) (2023-08-07)
|
|
7
17
|
|
|
8
18
|
**Note:** Version bump only for package @rsdk/builtin-contract
|
|
@@ -13,9 +13,11 @@ export interface Status {
|
|
|
13
13
|
* A list of messages that carry the error details. There is a common set of
|
|
14
14
|
* message types for APIs to use.
|
|
15
15
|
*/
|
|
16
|
-
readonly details
|
|
16
|
+
readonly details?: {
|
|
17
17
|
readonly [key: string]: any;
|
|
18
18
|
} | undefined;
|
|
19
|
+
/** exception_code https://github.com/R-Vision/rsdk/blob/078fad7c8fdbb419f3a351e4da6792e163c52cf5/packages/core/src/exceptions/base/platform-exception.absract.ts#L7 */
|
|
20
|
+
readonly exceptionCode?: string | undefined;
|
|
19
21
|
}
|
|
20
22
|
export declare const Status: {
|
|
21
23
|
encode(message: Status, writer?: _m0.Writer): _m0.Writer;
|
|
@@ -28,6 +30,7 @@ export declare const Status: {
|
|
|
28
30
|
readonly details?: {
|
|
29
31
|
[x: string]: any;
|
|
30
32
|
} | undefined;
|
|
33
|
+
readonly exceptionCode?: string | undefined;
|
|
31
34
|
} & {
|
|
32
35
|
readonly code?: number | undefined;
|
|
33
36
|
readonly message?: string | undefined;
|
|
@@ -36,6 +39,7 @@ export declare const Status: {
|
|
|
36
39
|
} & {
|
|
37
40
|
[x: string]: any;
|
|
38
41
|
} & { [K in Exclude<keyof I["details"], string | number>]: never; }) | undefined;
|
|
42
|
+
readonly exceptionCode?: string | undefined;
|
|
39
43
|
} & { [K_1 in Exclude<keyof I, keyof Status>]: never; }>(base?: I | undefined): Status;
|
|
40
44
|
fromPartial<I_1 extends {
|
|
41
45
|
readonly code?: number | undefined;
|
|
@@ -43,6 +47,7 @@ export declare const Status: {
|
|
|
43
47
|
readonly details?: {
|
|
44
48
|
[x: string]: any;
|
|
45
49
|
} | undefined;
|
|
50
|
+
readonly exceptionCode?: string | undefined;
|
|
46
51
|
} & {
|
|
47
52
|
readonly code?: number | undefined;
|
|
48
53
|
readonly message?: string | undefined;
|
|
@@ -51,5 +56,6 @@ export declare const Status: {
|
|
|
51
56
|
} & {
|
|
52
57
|
[x: string]: any;
|
|
53
58
|
} & { [K_2 in Exclude<keyof I_1["details"], string | number>]: never; }) | undefined;
|
|
59
|
+
readonly exceptionCode?: string | undefined;
|
|
54
60
|
} & { [K_3 in Exclude<keyof I_1, keyof Status>]: never; }>(object: I_1): Status;
|
|
55
61
|
};
|
|
@@ -8,7 +8,7 @@ exports.Status = void 0;
|
|
|
8
8
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
9
9
|
const struct_1 = require("../../../google/protobuf/struct");
|
|
10
10
|
function createBaseStatus() {
|
|
11
|
-
return { code: 0, message: "", details: undefined };
|
|
11
|
+
return { code: 0, message: "", details: undefined, exceptionCode: undefined };
|
|
12
12
|
}
|
|
13
13
|
exports.Status = {
|
|
14
14
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
@@ -21,6 +21,9 @@ exports.Status = {
|
|
|
21
21
|
if (message.details !== undefined) {
|
|
22
22
|
struct_1.Struct.encode(struct_1.Struct.wrap(message.details), writer.uint32(26).fork()).ldelim();
|
|
23
23
|
}
|
|
24
|
+
if (message.exceptionCode !== undefined) {
|
|
25
|
+
writer.uint32(34).string(message.exceptionCode);
|
|
26
|
+
}
|
|
24
27
|
return writer;
|
|
25
28
|
},
|
|
26
29
|
decode(input, length) {
|
|
@@ -48,6 +51,12 @@ exports.Status = {
|
|
|
48
51
|
}
|
|
49
52
|
message.details = struct_1.Struct.unwrap(struct_1.Struct.decode(reader, reader.uint32()));
|
|
50
53
|
continue;
|
|
54
|
+
case 4:
|
|
55
|
+
if (tag !== 34) {
|
|
56
|
+
break;
|
|
57
|
+
}
|
|
58
|
+
message.exceptionCode = reader.string();
|
|
59
|
+
continue;
|
|
51
60
|
}
|
|
52
61
|
if ((tag & 7) === 4 || tag === 0) {
|
|
53
62
|
break;
|
|
@@ -61,6 +70,7 @@ exports.Status = {
|
|
|
61
70
|
code: isSet(object.code) ? Number(object.code) : 0,
|
|
62
71
|
message: isSet(object.message) ? String(object.message) : "",
|
|
63
72
|
details: isObject(object.details) ? object.details : undefined,
|
|
73
|
+
exceptionCode: isSet(object.exceptionCode) ? String(object.exceptionCode) : undefined,
|
|
64
74
|
};
|
|
65
75
|
},
|
|
66
76
|
toJSON(message) {
|
|
@@ -68,17 +78,19 @@ exports.Status = {
|
|
|
68
78
|
message.code !== undefined && (obj.code = Math.round(message.code));
|
|
69
79
|
message.message !== undefined && (obj.message = message.message);
|
|
70
80
|
message.details !== undefined && (obj.details = message.details);
|
|
81
|
+
message.exceptionCode !== undefined && (obj.exceptionCode = message.exceptionCode);
|
|
71
82
|
return obj;
|
|
72
83
|
},
|
|
73
84
|
create(base) {
|
|
74
85
|
return exports.Status.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
75
86
|
},
|
|
76
87
|
fromPartial(object) {
|
|
77
|
-
var _a, _b, _c;
|
|
88
|
+
var _a, _b, _c, _d;
|
|
78
89
|
const message = createBaseStatus();
|
|
79
90
|
message.code = (_a = object.code) !== null && _a !== void 0 ? _a : 0;
|
|
80
91
|
message.message = (_b = object.message) !== null && _b !== void 0 ? _b : "";
|
|
81
92
|
message.details = (_c = object.details) !== null && _c !== void 0 ? _c : undefined;
|
|
93
|
+
message.exceptionCode = (_d = object.exceptionCode) !== null && _d !== void 0 ? _d : undefined;
|
|
82
94
|
return message;
|
|
83
95
|
},
|
|
84
96
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"error.js","sourceRoot":"","sources":["../../../../.generated/grpc/error/v1/error.ts"],"names":[],"mappings":";;;;;;AAAA,oBAAoB;AACpB,iEAAqC;AACrC,4DAAyD;
|
|
1
|
+
{"version":3,"file":"error.js","sourceRoot":"","sources":["../../../../.generated/grpc/error/v1/error.ts"],"names":[],"mappings":";;;;;;AAAA,oBAAoB;AACpB,iEAAqC;AACrC,4DAAyD;AAuBzD,SAAS,gBAAgB;IACvB,OAAO,EAAE,IAAI,EAAE,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,SAAS,EAAE,CAAC;AAChF,CAAC;AAEY,QAAA,MAAM,GAAG;IACpB,MAAM,CAAC,OAAe,EAAE,SAAqB,iBAAG,CAAC,MAAM,CAAC,MAAM,EAAE;QAC9D,IAAI,OAAO,CAAC,IAAI,KAAK,CAAC,EAAE;YACtB,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC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QAAQ,IAAI,KAAK,KAAK,IAAI,CAAC;AACrD,CAAC;AAED,SAAS,KAAK,CAAC,KAAU;IACvB,OAAO,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,SAAS,CAAC;AAC/C,CAAC"}
|
|
@@ -5,8 +5,8 @@ import type { CallOptions, DefaultCallOptions } from 'nice-grpc';
|
|
|
5
5
|
import type { NormalizedServiceDefinition } from 'nice-grpc/lib/service-definitions';
|
|
6
6
|
import type { Observable } from 'rxjs';
|
|
7
7
|
import { MetricsDefinition } from './grpc/metrics/v1/metrics';
|
|
8
|
-
import { GetRequest } from './grpc/metrics/v1/metrics';
|
|
9
8
|
import { GetResponse } from './grpc/metrics/v1/metrics';
|
|
9
|
+
import { GetRequest } from './grpc/metrics/v1/metrics';
|
|
10
10
|
declare const _default: {
|
|
11
11
|
name: string;
|
|
12
12
|
definitions: {
|
|
@@ -84,8 +84,8 @@ export interface MetricsClient<CallOptionsExt = {}> {
|
|
|
84
84
|
* @see https://github.com/deeplay-io/nice-grpc/tree/master/packages/nice-grpc#client
|
|
85
85
|
*/
|
|
86
86
|
export declare function createMetricsClient<CallOptionsExt = {}>(channel: ChannelImplementation, defaultCallOptions?: DefaultCallOptions<NormalizedServiceDefinition<MetricsDefinition>>): MetricsClient<CallOptionsExt>;
|
|
87
|
-
export { GetRequest };
|
|
88
87
|
export { GetResponse };
|
|
88
|
+
export { GetRequest };
|
|
89
89
|
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
90
90
|
export type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {
|
|
91
91
|
$case: string;
|
package/dist/grpc.metrics.v1.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.GetRequest = exports.GetResponse = exports.createMetricsClient = exports.MetricsGrpcMethods = void 0;
|
|
4
4
|
// *Service is definition from grpc-js (used for Nest.js gRPC transport)
|
|
5
5
|
// *Definition is generic definition (used for NiceGrpc clients)
|
|
6
6
|
const metrics_1 = require("./grpc/metrics/v1/metrics");
|
|
7
7
|
const metrics_2 = require("./grpc/metrics/v1/metrics");
|
|
8
|
-
Object.defineProperty(exports, "
|
|
8
|
+
Object.defineProperty(exports, "GetResponse", { enumerable: true, get: function () { return metrics_2.GetResponse; } });
|
|
9
9
|
const metrics_3 = require("./grpc/metrics/v1/metrics");
|
|
10
|
-
Object.defineProperty(exports, "
|
|
10
|
+
Object.defineProperty(exports, "GetRequest", { enumerable: true, get: function () { return metrics_3.GetRequest; } });
|
|
11
11
|
// Actual 'Package' meta information
|
|
12
12
|
// TODO type it with Package interface from @platform/grpc when it is deployed
|
|
13
13
|
exports.default = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"grpc.metrics.v1.js","sourceRoot":"","sources":["../.generated/grpc.metrics.v1.ts"],"names":[],"mappings":";;;AAiBE,wEAAwE;AACxE,gEAAgE;AAC9D,uDAAyF;AACzF,
|
|
1
|
+
{"version":3,"file":"grpc.metrics.v1.js","sourceRoot":"","sources":["../.generated/grpc.metrics.v1.ts"],"names":[],"mappings":";;;AAiBE,wEAAwE;AACxE,gEAAgE;AAC9D,uDAAyF;AACzF,uDAAwD;AAoE/C,4FApEA,qBAAW,OAoEA;AAnEpB,uDAAuD;AAoE9C,2FApEA,oBAAU,OAoEA;AAnErB,oCAAoC;AACpC,8EAA8E;AAC9E,kBAAe;IACb,IAAI,EAAE,iBAAiB;IACvB,WAAW,EAAE;QACX,SAAS,EAAE,EAAE,OAAO,EAAP,wBAAO,EAAE;QACtB,SAAS,EAAE,EAAE,iBAAiB,EAAjB,2BAAiB,EAAE;KACjC;CACF,CAAC;AACF,qDAAqD;AACrD,SAAS,KAAK,CAAC,SAAmB,EAAE,WAAqB,EAAE,MAAc,EAAE,WAA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
|
1
1
|
{
|
|
2
2
|
"name": "@rsdk/builtin-contract",
|
|
3
|
-
"version": "3.0
|
|
3
|
+
"version": "3.1.0",
|
|
4
4
|
"license": "Apache License 2.0",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -14,5 +14,5 @@
|
|
|
14
14
|
"peerDependencies": {
|
|
15
15
|
"@grpc/grpc-js": ">=1.7.0"
|
|
16
16
|
},
|
|
17
|
-
"gitHead": "
|
|
17
|
+
"gitHead": "428640441ec53822ea1c1be7b085bb9dad04689d"
|
|
18
18
|
}
|
|
@@ -17,5 +17,8 @@ message Status {
|
|
|
17
17
|
|
|
18
18
|
// A list of messages that carry the error details. There is a common set of
|
|
19
19
|
// message types for APIs to use.
|
|
20
|
-
google.protobuf.Struct details = 3;
|
|
20
|
+
optional google.protobuf.Struct details = 3;
|
|
21
|
+
|
|
22
|
+
// exception_code https://github.com/R-Vision/rsdk/blob/078fad7c8fdbb419f3a351e4da6792e163c52cf5/packages/core/src/exceptions/base/platform-exception.absract.ts#L7
|
|
23
|
+
optional string exception_code = 4;
|
|
21
24
|
}
|