@marleena/trb-proto 1.0.21 → 1.0.22
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/README.md
CHANGED
|
@@ -42,8 +42,8 @@ req.setText('hello');
|
|
|
42
42
|
|
|
43
43
|
Один workflow [Release](.github/workflows/release.yml): при коммите в `main` с сообщением `v1.2.3`
|
|
44
44
|
|
|
45
|
-
- публикует `@marleena/trb-proto` в npm;
|
|
46
|
-
- просит [pkg.go.dev](https://pkg.go.dev/github.com/Mar1eena/trb_proto) проиндексировать `github.com/Mar1eena/trb_proto@v1.2.3` (
|
|
45
|
+
- публикует `@marleena/trb-proto` в npm, если этой версии ещё нет на registry;
|
|
46
|
+
- просит [pkg.go.dev](https://pkg.go.dev/github.com/Mar1eena/trb_proto) проиндексировать `github.com/Mar1eena/trb_proto@v1.2.3` (git-тег + запрос к module proxy).
|
|
47
47
|
|
|
48
48
|
Публикация в npm через [Trusted Publishing](https://docs.npmjs.com/trusted-publishers/) (OIDC, без `NPM_TOKEN`).
|
|
49
49
|
|
|
@@ -39,8 +39,8 @@ export class TestClient {
|
|
|
39
39
|
this.options_ = options;
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
|
|
43
|
-
'/trb.test.public.contract.v1.Test/
|
|
42
|
+
methodDescriptorSyncInstruments = new grpcWeb.MethodDescriptor(
|
|
43
|
+
'/trb.test.public.contract.v1.Test/SyncInstruments',
|
|
44
44
|
grpcWeb.MethodType.UNARY,
|
|
45
45
|
api_test_test_pb.SyncInstrumentsRequest,
|
|
46
46
|
api_test_test_pb.SyncInstrumentsResponse,
|
|
@@ -50,17 +50,17 @@ export class TestClient {
|
|
|
50
50
|
api_test_test_pb.SyncInstrumentsResponse.deserializeBinary
|
|
51
51
|
);
|
|
52
52
|
|
|
53
|
-
|
|
53
|
+
syncInstruments(
|
|
54
54
|
request: api_test_test_pb.SyncInstrumentsRequest,
|
|
55
55
|
metadata?: grpcWeb.Metadata | null): Promise<api_test_test_pb.SyncInstrumentsResponse>;
|
|
56
56
|
|
|
57
|
-
|
|
57
|
+
syncInstruments(
|
|
58
58
|
request: api_test_test_pb.SyncInstrumentsRequest,
|
|
59
59
|
metadata: grpcWeb.Metadata | null,
|
|
60
60
|
callback: (err: grpcWeb.RpcError,
|
|
61
61
|
response: api_test_test_pb.SyncInstrumentsResponse) => void): grpcWeb.ClientReadableStream<api_test_test_pb.SyncInstrumentsResponse>;
|
|
62
62
|
|
|
63
|
-
|
|
63
|
+
syncInstruments(
|
|
64
64
|
request: api_test_test_pb.SyncInstrumentsRequest,
|
|
65
65
|
metadata?: grpcWeb.Metadata | null,
|
|
66
66
|
callback?: (err: grpcWeb.RpcError,
|
|
@@ -68,18 +68,18 @@ export class TestClient {
|
|
|
68
68
|
if (callback !== undefined) {
|
|
69
69
|
return this.client_.rpcCall(
|
|
70
70
|
this.hostname_ +
|
|
71
|
-
'/trb.test.public.contract.v1.Test/
|
|
71
|
+
'/trb.test.public.contract.v1.Test/SyncInstruments',
|
|
72
72
|
request,
|
|
73
73
|
metadata || {},
|
|
74
|
-
this.
|
|
74
|
+
this.methodDescriptorSyncInstruments,
|
|
75
75
|
callback);
|
|
76
76
|
}
|
|
77
77
|
return this.client_.unaryCall(
|
|
78
78
|
this.hostname_ +
|
|
79
|
-
'/trb.test.public.contract.v1.Test/
|
|
79
|
+
'/trb.test.public.contract.v1.Test/SyncInstruments',
|
|
80
80
|
request,
|
|
81
81
|
metadata || {},
|
|
82
|
-
this.
|
|
82
|
+
this.methodDescriptorSyncInstruments);
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
}
|