Skip to content

Commit

Permalink
refactor: update deps and regen protos
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Stewart <christian@aperture.us>
  • Loading branch information
renovate[bot] authored and paralin committed May 29, 2024
1 parent 1484f04 commit 0620646
Show file tree
Hide file tree
Showing 9 changed files with 29 additions and 29 deletions.
6 changes: 3 additions & 3 deletions e2e/mock/mock.pb.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/* eslint-disable */

import type { MessageType, PartialFieldInfo } from '@aptre/protobuf-es-lite'
import { createMessageType, Message, ScalarType } from '@aptre/protobuf-es-lite'
import { createMessageType, ScalarType } from '@aptre/protobuf-es-lite'

export const protobufPackage = 'e2e.mock'

Expand All @@ -12,12 +12,12 @@ export const protobufPackage = 'e2e.mock'
*
* @generated from message e2e.mock.MockMsg
*/
export type MockMsg = Message<{
export interface MockMsg {
/**
* @generated from field: string body = 1;
*/
body?: string
}>
}

// MockMsg contains the message type declaration for MockMsg.
export const MockMsg: MessageType<MockMsg> = createMessageType({
Expand Down
2 changes: 1 addition & 1 deletion e2e/mock/mock_srpc.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions echo/echo.pb.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/* eslint-disable */

import type { MessageType, PartialFieldInfo } from '@aptre/protobuf-es-lite'
import { createMessageType, Message, ScalarType } from '@aptre/protobuf-es-lite'
import { createMessageType, ScalarType } from '@aptre/protobuf-es-lite'

export const protobufPackage = 'echo'

Expand All @@ -12,12 +12,12 @@ export const protobufPackage = 'echo'
*
* @generated from message echo.EchoMsg
*/
export type EchoMsg = Message<{
export interface EchoMsg {
/**
* @generated from field: string body = 1;
*/
body?: string
}>
}

// EchoMsg contains the message type declaration for EchoMsg.
export const EchoMsg: MessageType<EchoMsg> = createMessageType({
Expand Down
2 changes: 1 addition & 1 deletion echo/echo_srpc.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion hack/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ replace google.golang.org/protobuf => github.com/aperturerobotics/protobuf-go v1
require (
github.com/aperturerobotics/goprotowrap v0.3.1
github.com/aperturerobotics/protobuf-go-lite v0.6.5
github.com/aperturerobotics/starpc v0.32.10
github.com/aperturerobotics/starpc v0.32.11
)

require (
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
},
"dependencies": {
"@aptre/it-ws": "^1.0.0",
"@aptre/protobuf-es-lite": "^0.4.4",
"@aptre/protobuf-es-lite": "^0.4.5",
"@chainsafe/libp2p-yamux": "^6.0.2",
"@libp2p/interface": "^1.3.1",
"@libp2p/logger": "^4.0.12",
Expand All @@ -111,6 +111,6 @@
"ws": "^8.17.0"
},
"resolutions": {
"@aptre/protobuf-es-lite": "0.4.4"
"@aptre/protobuf-es-lite": "0.4.5"
}
}
14 changes: 7 additions & 7 deletions rpcstream/rpcstream.pb.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/* eslint-disable */

import type { MessageType, PartialFieldInfo } from '@aptre/protobuf-es-lite'
import { createMessageType, Message, ScalarType } from '@aptre/protobuf-es-lite'
import { createMessageType, ScalarType } from '@aptre/protobuf-es-lite'

export const protobufPackage = 'rpcstream'

Expand All @@ -12,14 +12,14 @@ export const protobufPackage = 'rpcstream'
*
* @generated from message rpcstream.RpcStreamInit
*/
export type RpcStreamInit = Message<{
export interface RpcStreamInit {
/**
* ComponentId is the identifier of the component making the request.
*
* @generated from field: string component_id = 1;
*/
componentId?: string
}>
}

// RpcStreamInit contains the message type declaration for RpcStreamInit.
export const RpcStreamInit: MessageType<RpcStreamInit> = createMessageType({
Expand All @@ -35,14 +35,14 @@ export const RpcStreamInit: MessageType<RpcStreamInit> = createMessageType({
*
* @generated from message rpcstream.RpcAck
*/
export type RpcAck = Message<{
export interface RpcAck {
/**
* Error indicates there was some error setting up the stream.
*
* @generated from field: string error = 1;
*/
error?: string
}>
}

// RpcAck contains the message type declaration for RpcAck.
export const RpcAck: MessageType<RpcAck> = createMessageType({
Expand All @@ -58,7 +58,7 @@ export const RpcAck: MessageType<RpcAck> = createMessageType({
*
* @generated from message rpcstream.RpcStreamPacket
*/
export type RpcStreamPacket = Message<{
export interface RpcStreamPacket {
/**
* @generated from oneof rpcstream.RpcStreamPacket.body
*/
Expand Down Expand Up @@ -96,7 +96,7 @@ export type RpcStreamPacket = Message<{
value: Uint8Array
case: 'data'
}
}>
}

// RpcStreamPacket contains the message type declaration for RpcStreamPacket.
export const RpcStreamPacket: MessageType<RpcStreamPacket> = createMessageType({
Expand Down
14 changes: 7 additions & 7 deletions srpc/rpcproto.pb.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/* eslint-disable */

import type { MessageType, PartialFieldInfo } from '@aptre/protobuf-es-lite'
import { createMessageType, Message, ScalarType } from '@aptre/protobuf-es-lite'
import { createMessageType, ScalarType } from '@aptre/protobuf-es-lite'

export const protobufPackage = 'srpc'

Expand All @@ -12,7 +12,7 @@ export const protobufPackage = 'srpc'
*
* @generated from message srpc.CallStart
*/
export type CallStart = Message<{
export interface CallStart {
/**
* RpcService is the service to contact.
* Must be set.
Expand Down Expand Up @@ -40,7 +40,7 @@ export type CallStart = Message<{
* @generated from field: bool data_is_zero = 4;
*/
dataIsZero?: boolean
}>
}

// CallStart contains the message type declaration for CallStart.
export const CallStart: MessageType<CallStart> = createMessageType({
Expand All @@ -59,7 +59,7 @@ export const CallStart: MessageType<CallStart> = createMessageType({
*
* @generated from message srpc.CallData
*/
export type CallData = Message<{
export interface CallData {
/**
* Data contains the packet in the sequence.
*
Expand All @@ -85,7 +85,7 @@ export type CallData = Message<{
* @generated from field: string error = 4;
*/
error?: string
}>
}

// CallData contains the message type declaration for CallData.
export const CallData: MessageType<CallData> = createMessageType({
Expand All @@ -104,7 +104,7 @@ export const CallData: MessageType<CallData> = createMessageType({
*
* @generated from message srpc.Packet
*/
export type Packet = Message<{
export interface Packet {
/**
* Body is the packet body.
*
Expand Down Expand Up @@ -142,7 +142,7 @@ export type Packet = Message<{
value: boolean
case: 'callCancel'
}
}>
}

// Packet contains the message type declaration for Packet.
export const Packet: MessageType<Packet> = createMessageType({
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
uint8arrays "^5.0.0"
ws "^8.4.0"

"@aptre/protobuf-es-lite@0.4.4", "@aptre/protobuf-es-lite@^0.4.4":
version "0.4.4"
resolved "https://registry.yarnpkg.com/@aptre/protobuf-es-lite/-/protobuf-es-lite-0.4.4.tgz#2c5a305bd984a197c4b0fa57a5d23165ddac6535"
integrity sha512-fw5ukLnaK0b27oFir5vxucL/g7cv7Dv7298rBWNH2VcFVkYmr1dDJTAWpoSPc9OvJbGFX5rvdg0b8pRn5ZM0FA==
"@aptre/protobuf-es-lite@0.4.5", "@aptre/protobuf-es-lite@^0.4.5":
version "0.4.5"
resolved "https://registry.yarnpkg.com/@aptre/protobuf-es-lite/-/protobuf-es-lite-0.4.5.tgz#97ffb6abe822a1e5f59079561e86b65e6e9ce743"
integrity sha512-A8c20z5D22vvmcB40txZQMkz3EVtHmQdskX1V1mHAvBny99/jMJZmNqJFE0dqczrhAXdupr2162jX0Hiwt7LjQ==
dependencies:
"@typescript/vfs" "^1.5.0"
lz-string "^1.5.0"
Expand Down

0 comments on commit 0620646

Please sign in to comment.