starpc 0.31.2 → 0.31.3

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,5 +1,5 @@
1
1
  // Code generated by protoc-gen-go-lite. DO NOT EDIT.
2
- // protoc-gen-go-lite version: v0.4.3
2
+ // protoc-gen-go-lite version: v0.4.9-0.20240422083358-2771ae1ac3df
3
3
  // source: github.com/aperturerobotics/starpc/e2e/mock/mock.proto
4
4
 
5
5
  package e2e_mock
@@ -44,7 +44,7 @@ func (m *MockMsg) CloneVT() *MockMsg {
44
44
  return r
45
45
  }
46
46
 
47
- func (m *MockMsg) CloneMessageVT() any {
47
+ func (m *MockMsg) CloneMessageVT() protobuf_go_lite.CloneMessage {
48
48
  return m.CloneVT()
49
49
  }
50
50
 
package/echo/echo.pb.go CHANGED
@@ -1,5 +1,5 @@
1
1
  // Code generated by protoc-gen-go-lite. DO NOT EDIT.
2
- // protoc-gen-go-lite version: v0.4.3
2
+ // protoc-gen-go-lite version: v0.4.9-0.20240422083358-2771ae1ac3df
3
3
  // source: github.com/aperturerobotics/starpc/echo/echo.proto
4
4
 
5
5
  package echo
@@ -45,7 +45,7 @@ func (m *EchoMsg) CloneVT() *EchoMsg {
45
45
  return r
46
46
  }
47
47
 
48
- func (m *EchoMsg) CloneMessageVT() any {
48
+ func (m *EchoMsg) CloneMessageVT() protobuf_go_lite.CloneMessage {
49
49
  return m.CloneVT()
50
50
  }
51
51
 
package/go.mod CHANGED
@@ -3,8 +3,8 @@ module github.com/aperturerobotics/starpc
3
3
  go 1.22
4
4
 
5
5
  require (
6
- github.com/aperturerobotics/protobuf-go-lite v0.4.3 // latest
7
- github.com/aperturerobotics/util v1.17.1 // latest
6
+ github.com/aperturerobotics/protobuf-go-lite v0.4.9-0.20240422083358-2771ae1ac3df // latest
7
+ github.com/aperturerobotics/util v1.18.1 // latest
8
8
  )
9
9
 
10
10
  require (
package/go.sum CHANGED
@@ -1,7 +1,7 @@
1
- github.com/aperturerobotics/protobuf-go-lite v0.4.3 h1:QDoO0ytzO71UWSPbaPi4XF5LfKYDJYxIBlimjYOh5nY=
2
- github.com/aperturerobotics/protobuf-go-lite v0.4.3/go.mod h1:wRZn4YydbTn8Bdx4NB6ms0doF19llgim+0SNBvQ7M9c=
3
- github.com/aperturerobotics/util v1.17.1 h1:7qG1Am+vNAelbXCdYOYfnMaZKM28QBWVCi+zvkjo+d4=
4
- github.com/aperturerobotics/util v1.17.1/go.mod h1:NdGzI+NyJvqEwt+RkKPxOlKl9zUSWJMgKicNci7ZFMU=
1
+ github.com/aperturerobotics/protobuf-go-lite v0.4.9-0.20240422083358-2771ae1ac3df h1:SlYdOqyFpokRWmi4NJZms3RJ2ldebcGphLQ+mh+0u7g=
2
+ github.com/aperturerobotics/protobuf-go-lite v0.4.9-0.20240422083358-2771ae1ac3df/go.mod h1:wRZn4YydbTn8Bdx4NB6ms0doF19llgim+0SNBvQ7M9c=
3
+ github.com/aperturerobotics/util v1.18.1 h1:Iu8toMYRKs3d0TH8JkAMwfEYY8bEekDaTEvLOVVqh44=
4
+ github.com/aperturerobotics/util v1.18.1/go.mod h1:Oz7Rmq5sKS1UgTRJkDWYfyf1LiA2rIRbnO341Xd91bU=
5
5
  github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
6
6
  github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
7
7
  github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "starpc",
3
- "version": "0.31.2",
3
+ "version": "0.31.3",
4
4
  "description": "Streaming protobuf RPC service protocol over any two-way channel.",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -51,9 +51,9 @@
51
51
  "gen": "make genproto",
52
52
  "test": "npm run test:js && npm run test:go",
53
53
  "test:go": "make test",
54
- "build:e2e": "npm run build && cd e2e && esbuild e2e.ts --sourcemap --outfile=e2e.js --bundle --platform=node",
55
- "test:js": "npm run build:e2e && cd e2e && node ./e2e.js",
56
- "debug:js": "npm run build:e2e && cd e2e && node --inspect --inspect-brk ./e2e.js",
54
+ "build:e2e": "npm run build && cd e2e && esbuild e2e.ts --sourcemap --outfile=e2e.cjs --bundle --platform=node",
55
+ "test:js": "npm run build:e2e && cd e2e && node ./e2e.cjs",
56
+ "debug:js": "npm run build:e2e && cd e2e && node --inspect --inspect-brk ./e2e.cjs",
57
57
  "test:integration": "make integration",
58
58
  "integration": "npm run test:integration",
59
59
  "lint": "npm run lint:go && npm run lint:js",
@@ -70,7 +70,6 @@
70
70
  "@bufbuild/protoc-gen-es": "^1.8.0",
71
71
  "@typescript-eslint/eslint-plugin": "^7.7.0",
72
72
  "@typescript-eslint/parser": "^7.7.0",
73
- "bufferutil": "^4.0.7",
74
73
  "depcheck": "^1.4.6",
75
74
  "esbuild": "^0.20.0",
76
75
  "eslint": "^9.1.0",
@@ -78,8 +77,7 @@
78
77
  "prettier": "^3.2.4",
79
78
  "rimraf": "^5.0.1",
80
79
  "tsx": "^4.7.2",
81
- "typescript": "^5.3.2",
82
- "utf-8-validate": "^6.0.3"
80
+ "typescript": "^5.3.2"
83
81
  },
84
82
  "dependencies": {
85
83
  "@aptre/it-ws": "^1.0.0",
@@ -1,5 +1,5 @@
1
1
  // Code generated by protoc-gen-go-lite. DO NOT EDIT.
2
- // protoc-gen-go-lite version: v0.4.3
2
+ // protoc-gen-go-lite version: v0.4.9-0.20240422083358-2771ae1ac3df
3
3
  // source: github.com/aperturerobotics/starpc/srpc/rpcproto.proto
4
4
 
5
5
  package srpc
@@ -197,7 +197,7 @@ func (m *Packet) CloneVT() *Packet {
197
197
  return r
198
198
  }
199
199
 
200
- func (m *Packet) CloneMessageVT() any {
200
+ func (m *Packet) CloneMessageVT() protobuf_go_lite.CloneMessage {
201
201
  return m.CloneVT()
202
202
  }
203
203
 
@@ -248,7 +248,7 @@ func (m *CallStart) CloneVT() *CallStart {
248
248
  return r
249
249
  }
250
250
 
251
- func (m *CallStart) CloneMessageVT() any {
251
+ func (m *CallStart) CloneMessageVT() protobuf_go_lite.CloneMessage {
252
252
  return m.CloneVT()
253
253
  }
254
254
 
@@ -272,7 +272,7 @@ func (m *CallData) CloneVT() *CallData {
272
272
  return r
273
273
  }
274
274
 
275
- func (m *CallData) CloneMessageVT() any {
275
+ func (m *CallData) CloneMessageVT() protobuf_go_lite.CloneMessage {
276
276
  return m.CloneVT()
277
277
  }
278
278