starpc 0.31.7 → 0.31.8

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.
@@ -1,7 +1,7 @@
1
- import { MockMsg } from './mock_pb.js';
2
- import { MethodKind } from '@bufbuild/protobuf';
3
- import { Message } from '@aptre/protobuf-es-lite';
4
- import { ProtoRpc } from 'starpc';
1
+ import { MockMsg } from "./mock_pb.js";
2
+ import { MethodKind } from "@bufbuild/protobuf";
3
+ import { Message } from "@aptre/protobuf-es-lite";
4
+ import { ProtoRpc } from "starpc";
5
5
  /**
6
6
  * Mock service mocks some RPCs for the e2e tests.
7
7
  *
@@ -1,15 +1,15 @@
1
1
  // @generated by protoc-gen-es-starpc none with parameter "target=ts,ts_nocheck=false"
2
2
  // @generated from file github.com/aperturerobotics/starpc/e2e/mock/mock.proto (package e2e.mock, syntax proto3)
3
3
  /* eslint-disable */
4
- import { MockMsg } from './mock_pb.js';
5
- import { MethodKind } from '@bufbuild/protobuf';
4
+ import { MockMsg } from "./mock_pb.js";
5
+ import { MethodKind } from "@bufbuild/protobuf";
6
6
  /**
7
7
  * Mock service mocks some RPCs for the e2e tests.
8
8
  *
9
9
  * @generated from service e2e.mock.Mock
10
10
  */
11
11
  export const MockDefinition = {
12
- typeName: 'e2e.mock.Mock',
12
+ typeName: "e2e.mock.Mock",
13
13
  methods: {
14
14
  /**
15
15
  * MockRequest runs a mock unary request.
@@ -17,12 +17,12 @@ export const MockDefinition = {
17
17
  * @generated from rpc e2e.mock.Mock.MockRequest
18
18
  */
19
19
  MockRequest: {
20
- name: 'MockRequest',
20
+ name: "MockRequest",
21
21
  I: MockMsg,
22
22
  O: MockMsg,
23
23
  kind: MethodKind.Unary,
24
24
  },
25
- },
25
+ }
26
26
  };
27
27
  export const MockServiceName = MockDefinition.typeName;
28
28
  export class MockClient {
@@ -1,8 +1,8 @@
1
- import { EchoMsg } from './echo_pb.js';
2
- import { MethodKind } from '@bufbuild/protobuf';
3
- import { RpcStreamPacket } from '../rpcstream/rpcstream_pb.js';
4
- import { Message } from '@aptre/protobuf-es-lite';
5
- import { MessageStream, ProtoRpc } from 'starpc';
1
+ import { EchoMsg } from "./echo_pb.js";
2
+ import { MethodKind } from "@bufbuild/protobuf";
3
+ import { RpcStreamPacket } from "../rpcstream/rpcstream_pb.js";
4
+ import { Message } from "@aptre/protobuf-es-lite";
5
+ import { MessageStream, ProtoRpc } from "starpc";
6
6
  /**
7
7
  * Echoer service returns the given message.
8
8
  *
@@ -1,17 +1,17 @@
1
1
  // @generated by protoc-gen-es-starpc none with parameter "target=ts,ts_nocheck=false"
2
2
  // @generated from file github.com/aperturerobotics/starpc/echo/echo.proto (package echo, syntax proto3)
3
3
  /* eslint-disable */
4
- import { EchoMsg } from './echo_pb.js';
5
- import { MethodKind } from '@bufbuild/protobuf';
6
- import { RpcStreamPacket } from '../rpcstream/rpcstream_pb.js';
7
- import { buildDecodeMessageTransform, buildEncodeMessageTransform, } from 'starpc';
4
+ import { EchoMsg } from "./echo_pb.js";
5
+ import { MethodKind } from "@bufbuild/protobuf";
6
+ import { RpcStreamPacket } from "../rpcstream/rpcstream_pb.js";
7
+ import { buildDecodeMessageTransform, buildEncodeMessageTransform } from "starpc";
8
8
  /**
9
9
  * Echoer service returns the given message.
10
10
  *
11
11
  * @generated from service echo.Echoer
12
12
  */
13
13
  export const EchoerDefinition = {
14
- typeName: 'echo.Echoer',
14
+ typeName: "echo.Echoer",
15
15
  methods: {
16
16
  /**
17
17
  * Echo returns the given message.
@@ -19,7 +19,7 @@ export const EchoerDefinition = {
19
19
  * @generated from rpc echo.Echoer.Echo
20
20
  */
21
21
  Echo: {
22
- name: 'Echo',
22
+ name: "Echo",
23
23
  I: EchoMsg,
24
24
  O: EchoMsg,
25
25
  kind: MethodKind.Unary,
@@ -30,7 +30,7 @@ export const EchoerDefinition = {
30
30
  * @generated from rpc echo.Echoer.EchoServerStream
31
31
  */
32
32
  EchoServerStream: {
33
- name: 'EchoServerStream',
33
+ name: "EchoServerStream",
34
34
  I: EchoMsg,
35
35
  O: EchoMsg,
36
36
  kind: MethodKind.ServerStreaming,
@@ -41,7 +41,7 @@ export const EchoerDefinition = {
41
41
  * @generated from rpc echo.Echoer.EchoClientStream
42
42
  */
43
43
  EchoClientStream: {
44
- name: 'EchoClientStream',
44
+ name: "EchoClientStream",
45
45
  I: EchoMsg,
46
46
  O: EchoMsg,
47
47
  kind: MethodKind.ClientStreaming,
@@ -52,7 +52,7 @@ export const EchoerDefinition = {
52
52
  * @generated from rpc echo.Echoer.EchoBidiStream
53
53
  */
54
54
  EchoBidiStream: {
55
- name: 'EchoBidiStream',
55
+ name: "EchoBidiStream",
56
56
  I: EchoMsg,
57
57
  O: EchoMsg,
58
58
  kind: MethodKind.BiDiStreaming,
@@ -63,12 +63,12 @@ export const EchoerDefinition = {
63
63
  * @generated from rpc echo.Echoer.RpcStream
64
64
  */
65
65
  RpcStream: {
66
- name: 'RpcStream',
66
+ name: "RpcStream",
67
67
  I: RpcStreamPacket,
68
68
  O: RpcStreamPacket,
69
69
  kind: MethodKind.BiDiStreaming,
70
70
  },
71
- },
71
+ }
72
72
  };
73
73
  export const EchoerServiceName = EchoerDefinition.typeName;
74
74
  export class EchoerClient {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "starpc",
3
- "version": "0.31.7",
3
+ "version": "0.31.8",
4
4
  "description": "Streaming protobuf RPC service protocol over any two-way channel.",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -94,7 +94,7 @@
94
94
  },
95
95
  "dependencies": {
96
96
  "@aptre/it-ws": "^1.0.0",
97
- "@aptre/protobuf-es-lite": "^0.2.3",
97
+ "@aptre/protobuf-es-lite": "^0.2.4",
98
98
  "@bufbuild/protoplugin": "^1.9.0",
99
99
  "@chainsafe/libp2p-yamux": "^6.0.2",
100
100
  "@libp2p/interface": "^1.3.0",