@rsdk/grpc.common 2.6.0-next.1 → 2.6.0-next.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/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,40 @@
|
|
|
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
|
+
# [2.6.0-next.11](https://github.com/R-Vision/rsdk/compare/v2.6.0-next.10...v2.6.0-next.11) (2023-07-26)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @rsdk/grpc.common
|
|
9
|
+
|
|
10
|
+
# [2.6.0-next.10](https://github.com/R-Vision/rsdk/compare/v2.6.0-next.9...v2.6.0-next.10) (2023-07-25)
|
|
11
|
+
|
|
12
|
+
**Note:** Version bump only for package @rsdk/grpc.common
|
|
13
|
+
|
|
14
|
+
# [2.6.0-next.9](https://github.com/R-Vision/rsdk/compare/v2.6.0-next.8...v2.6.0-next.9) (2023-07-25)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @rsdk/grpc.common
|
|
17
|
+
|
|
18
|
+
# [2.6.0-next.8](https://github.com/R-Vision/rsdk/compare/v2.6.0-next.7...v2.6.0-next.8) (2023-07-23)
|
|
19
|
+
|
|
20
|
+
**Note:** Version bump only for package @rsdk/grpc.common
|
|
21
|
+
|
|
22
|
+
# [2.6.0-next.7](https://github.com/R-Vision/rsdk/compare/v2.6.0-next.6...v2.6.0-next.7) (2023-07-23)
|
|
23
|
+
|
|
24
|
+
**Note:** Version bump only for package @rsdk/grpc.common
|
|
25
|
+
|
|
26
|
+
# [2.6.0-next.6](https://github.com/R-Vision/rsdk/compare/v2.6.0-next.5...v2.6.0-next.6) (2023-07-22)
|
|
27
|
+
|
|
28
|
+
### Bug Fixes
|
|
29
|
+
|
|
30
|
+
* use unknown instead of RawConfigValue ([d2d6ce0](https://github.com/R-Vision/rsdk/commit/d2d6ce0b9588805f2f30113d2991d4bf5e088e06))
|
|
31
|
+
|
|
32
|
+
# [2.6.0-next.5](https://github.com/R-Vision/rsdk/compare/v2.6.0-next.4...v2.6.0-next.5) (2023-07-22)
|
|
33
|
+
|
|
34
|
+
**Note:** Version bump only for package @rsdk/grpc.common
|
|
35
|
+
|
|
36
|
+
# [2.6.0-next.3](https://github.com/R-Vision/rsdk/compare/v2.6.0-next.2...v2.6.0-next.3) (2023-07-07)
|
|
37
|
+
|
|
38
|
+
**Note:** Version bump only for package @rsdk/grpc.common
|
|
39
|
+
|
|
6
40
|
# [2.6.0-next.1](https://github.com/R-Vision/rsdk/compare/v2.6.0-next.0...v2.6.0-next.1) (2023-07-04)
|
|
7
41
|
|
|
8
42
|
**Note:** Version bump only for package @rsdk/grpc.common
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { PropertyParser
|
|
1
|
+
import type { PropertyParser } from '@rsdk/core';
|
|
2
2
|
export declare class GrpcAddressParser implements PropertyParser<string> {
|
|
3
3
|
type(): string;
|
|
4
4
|
description(): string;
|
|
5
|
-
parse(value:
|
|
5
|
+
parse(value: unknown): string;
|
|
6
6
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"grpc-address.parser.js","sourceRoot":"","sources":["../src/grpc-address.parser.ts"],"names":[],"mappings":";;;AAAA,yCAA4C;AAG5C,MAAM,OAAO,GAAG,uBAAuB,CAAC;AAExC,MAAa,iBAAiB;IAC5B,IAAI;QACF,OAAO,cAAc,CAAC;IACxB,CAAC;IAED,WAAW;QACT,OAAO,yCAAyC,CAAC;IACnD,CAAC;IAED,KAAK,CAAC,
|
|
1
|
+
{"version":3,"file":"grpc-address.parser.js","sourceRoot":"","sources":["../src/grpc-address.parser.ts"],"names":[],"mappings":";;;AAAA,yCAA4C;AAG5C,MAAM,OAAO,GAAG,uBAAuB,CAAC;AAExC,MAAa,iBAAiB;IAC5B,IAAI;QACF,OAAO,cAAc,CAAC;IACxB,CAAC;IAED,WAAW;QACT,OAAO,yCAAyC,CAAC;IACnD,CAAC;IAED,KAAK,CAAC,KAAc;QAClB,eAAM,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;QAEvB,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE;YACxB,MAAM,CAAC,IAAI,EAAE,IAAI,CAAC,GAAG,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;YAEtC,MAAM,IAAI,KAAK,CAAC,IAAA,aAAI,EAAA;iBACT,KAAK;UACZ,IAAI,mCAAmC,IAAI;OAC9C,CAAC,CAAC;SACJ;QAED,OAAO,KAAK,CAAC;IACf,CAAC;CACF;AAvBD,8CAuBC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rsdk/grpc.common",
|
|
3
|
-
"version": "2.6.0-next.
|
|
3
|
+
"version": "2.6.0-next.11",
|
|
4
4
|
"description": "Common grpc stuff",
|
|
5
5
|
"license": "Apache License 2.0",
|
|
6
6
|
"publishConfig": {
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
"prepublishOnly": "npm run build"
|
|
15
15
|
},
|
|
16
16
|
"peerDependencies": {
|
|
17
|
-
"@rsdk/common": "^2.
|
|
18
|
-
"@rsdk/core": "^2.6.0-next.
|
|
17
|
+
"@rsdk/common": "^2.6.0-next.11",
|
|
18
|
+
"@rsdk/core": "^2.6.0-next.11"
|
|
19
19
|
},
|
|
20
|
-
"gitHead": "
|
|
20
|
+
"gitHead": "d2183c898b6e46a7293e5d47eb6d9d6aa56419c5"
|
|
21
21
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Assert, text } from '@rsdk/common';
|
|
2
|
-
import type { PropertyParser
|
|
2
|
+
import type { PropertyParser } from '@rsdk/core';
|
|
3
3
|
|
|
4
4
|
const PATTERN = /^([\w.-]+):(\d{4,5})$/;
|
|
5
5
|
|
|
@@ -12,7 +12,7 @@ export class GrpcAddressParser implements PropertyParser<string> {
|
|
|
12
12
|
return 'Extracts grpc address ({host|ip}:{port}';
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
parse(value:
|
|
15
|
+
parse(value: unknown): string {
|
|
16
16
|
Assert.isString(value);
|
|
17
17
|
|
|
18
18
|
if (!PATTERN.test(value)) {
|