From 68b93acb7f06383560ef7ea9d30b528e5f5ca531 Mon Sep 17 00:00:00 2001 From: Christian Stewart Date: Fri, 3 May 2024 01:09:33 -0700 Subject: [PATCH] refactor: update deps and regen protos Signed-off-by: Christian Stewart --- daemon/api/api.pb.go | 2 +- daemon/api/api.pb.ts | 1 + daemon/api/controller/controller.pb.go | 2 +- daemon/api/controller/controller.pb.ts | 17 +- entitygraph/config.pb.go | 2 +- entitygraph/config.pb.ts | 1 + go.mod | 8 +- go.sum | 26 +-- hash/hash.pb.go | 2 +- hash/hash.pb.ts | 4 +- http/listener/config.pb.go | 2 +- http/listener/config.pb.ts | 13 +- link/establish/config.pb.go | 2 +- link/establish/config.pb.ts | 12 +- link/hold-open/config.pb.go | 2 +- link/hold-open/config.pb.ts | 1 + package.json | 6 +- peer/api/api.pb.go | 2 +- peer/api/api.pb.ts | 11 +- peer/api/api_srpc.pb.go | 2 +- peer/controller/config.pb.go | 2 +- peer/controller/config.pb.ts | 9 +- peer/peer.pb.go | 2 +- peer/peer.pb.ts | 17 +- pubsub/api/api.pb.go | 2 +- pubsub/api/api.pb.ts | 60 ++---- pubsub/api/api_srpc.pb.go | 2 +- pubsub/floodsub/controller/config.pb.go | 2 +- pubsub/floodsub/controller/config.pb.ts | 1 + pubsub/floodsub/floodsub.pb.go | 2 +- pubsub/floodsub/floodsub.pb.ts | 14 +- pubsub/nats/controller/config.pb.go | 2 +- pubsub/nats/controller/config.pb.ts | 5 +- pubsub/nats/nats.pb.go | 2 +- pubsub/nats/nats.pb.ts | 20 +- pubsub/relay/config.pb.go | 2 +- pubsub/relay/config.pb.ts | 7 +- pubsub/util/pubmessage/pubmessage.pb.go | 2 +- pubsub/util/pubmessage/pubmessage.pb.ts | 14 +- rpc/access/access.pb.go | 2 +- rpc/access/access.pb.ts | 24 +-- rpc/access/access_srpc.pb.go | 2 +- signaling/echo/echo.pb.go | 2 +- signaling/echo/echo.pb.ts | 10 +- signaling/rpc/client/config.pb.go | 2 +- signaling/rpc/client/config.pb.ts | 28 +-- signaling/rpc/server/server.pb.go | 2 +- signaling/rpc/server/server.pb.ts | 1 + signaling/rpc/signaling.pb.go | 52 ++++- signaling/rpc/signaling.pb.ts | 35 ++-- signaling/rpc/signaling_srpc.pb.go | 2 +- stream/api/accept/accept.pb.go | 2 +- stream/api/accept/accept.pb.ts | 26 +-- stream/api/api.pb.go | 2 +- stream/api/api.pb.ts | 8 + stream/api/api_srpc.pb.go | 2 +- stream/api/dial/dial.pb.go | 2 +- stream/api/dial/dial.pb.ts | 30 +-- stream/api/rpc/rpc.pb.go | 2 +- stream/api/rpc/rpc.pb.ts | 4 +- stream/echo/echo.pb.go | 2 +- stream/echo/echo.pb.ts | 12 +- stream/forwarding/forwarding.pb.go | 2 +- stream/forwarding/forwarding.pb.ts | 19 +- stream/listening/listening.pb.go | 2 +- stream/listening/listening.pb.ts | 42 +--- stream/srpc/client/client.pb.go | 2 +- stream/srpc/client/client.pb.ts | 26 +-- stream/srpc/client/controller/config.pb.go | 2 +- stream/srpc/client/controller/config.pb.ts | 12 +- stream/srpc/server/server.pb.go | 2 +- stream/srpc/server/server.pb.ts | 9 +- tptaddr/controller/config.pb.go | 2 +- tptaddr/controller/config.pb.ts | 1 + tptaddr/static/static.pb.go | 2 +- tptaddr/static/static.pb.ts | 5 +- transport/common/conn/conn.pb.go | 2 +- transport/common/conn/conn.pb.ts | 9 +- transport/common/dialer/dialer.pb.go | 2 +- transport/common/dialer/dialer.pb.ts | 5 +- transport/common/pconn/pconn.pb.go | 2 +- transport/common/pconn/pconn.pb.ts | 5 +- transport/common/quic/quic.pb.go | 2 +- transport/common/quic/quic.pb.ts | 32 +-- transport/controller/controller.pb.go | 2 +- transport/controller/controller.pb.ts | 10 +- transport/inproc/inproc.pb.go | 2 +- transport/inproc/inproc.pb.ts | 12 +- transport/udp/udp.pb.go | 2 +- transport/udp/udp.pb.ts | 19 +- transport/webrtc/webrtc.pb.go | 28 ++- transport/webrtc/webrtc.pb.ts | 71 +++---- transport/websocket/websocket.pb.go | 2 +- transport/websocket/websocket.pb.ts | 23 +- yarn.lock | 233 ++++++++------------- 95 files changed, 479 insertions(+), 651 deletions(-) diff --git a/daemon/api/api.pb.go b/daemon/api/api.pb.go index cde5930e..a7736e34 100644 --- a/daemon/api/api.pb.go +++ b/daemon/api/api.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-go-lite. DO NOT EDIT. -// protoc-gen-go-lite version: v0.6.0 +// protoc-gen-go-lite version: v0.6.1 // source: github.com/aperturerobotics/bifrost/daemon/api/api.proto package bifrost_api diff --git a/daemon/api/api.pb.ts b/daemon/api/api.pb.ts index db7658c6..650659cc 100644 --- a/daemon/api/api.pb.ts +++ b/daemon/api/api.pb.ts @@ -22,6 +22,7 @@ export type Config = Message<{ busConfig?: Config$1 }> +// Config contains the message type declaration for Config. export const Config: MessageType = createMessageType({ typeName: 'bifrost.api.Config', fields: [ diff --git a/daemon/api/controller/controller.pb.go b/daemon/api/controller/controller.pb.go index 9d818d34..13facc4b 100644 --- a/daemon/api/controller/controller.pb.go +++ b/daemon/api/controller/controller.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-go-lite. DO NOT EDIT. -// protoc-gen-go-lite version: v0.6.0 +// protoc-gen-go-lite version: v0.6.1 // source: github.com/aperturerobotics/bifrost/daemon/api/controller/controller.proto package bifrost_api_controller diff --git a/daemon/api/controller/controller.pb.ts b/daemon/api/controller/controller.pb.ts index f79cf774..0c896186 100644 --- a/daemon/api/controller/controller.pb.ts +++ b/daemon/api/controller/controller.pb.ts @@ -3,7 +3,7 @@ /* eslint-disable */ import type { MessageType, PartialFieldInfo } from '@aptre/protobuf-es-lite' -import { createMessageType, Message } from '@aptre/protobuf-es-lite' +import { createMessageType, Message, ScalarType } from '@aptre/protobuf-es-lite' import { Config as Config$1 } from '../api.pb.js' import { Config as Config$2 } from '@go/github.com/aperturerobotics/controllerbus/bus/api/api.pb.js' @@ -42,22 +42,13 @@ export type Config = Message<{ busApiConfig?: Config$2 }> +// Config contains the message type declaration for Config. export const Config: MessageType = createMessageType({ typeName: 'bifrost.api.controller.Config', fields: [ - { - no: 1, - name: 'listen_addr', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - }, + { no: 1, name: 'listen_addr', kind: 'scalar', T: ScalarType.STRING }, { no: 2, name: 'api_config', kind: 'message', T: () => Config$1 }, - { - no: 3, - name: 'disable_bus_api', - kind: 'scalar', - T: 8 /* ScalarType.BOOL */, - }, + { no: 3, name: 'disable_bus_api', kind: 'scalar', T: ScalarType.BOOL }, { no: 4, name: 'bus_api_config', kind: 'message', T: () => Config$2 }, ] as readonly PartialFieldInfo[], packedByDefault: true, diff --git a/entitygraph/config.pb.go b/entitygraph/config.pb.go index 52de1023..f9c0e326 100644 --- a/entitygraph/config.pb.go +++ b/entitygraph/config.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-go-lite. DO NOT EDIT. -// protoc-gen-go-lite version: v0.6.0 +// protoc-gen-go-lite version: v0.6.1 // source: github.com/aperturerobotics/bifrost/entitygraph/config.proto package bifrost_entitygraph diff --git a/entitygraph/config.pb.ts b/entitygraph/config.pb.ts index 82a2afa9..d29cd4b7 100644 --- a/entitygraph/config.pb.ts +++ b/entitygraph/config.pb.ts @@ -14,6 +14,7 @@ export const protobufPackage = 'bifrost.entitygraph' */ export type Config = Message<{}> +// Config contains the message type declaration for Config. export const Config: MessageType = createMessageType({ typeName: 'bifrost.entitygraph.Config', fields: [] as readonly PartialFieldInfo[], diff --git a/go.mod b/go.mod index 5900abd5..9e4e9536 100644 --- a/go.mod +++ b/go.mod @@ -3,12 +3,12 @@ module github.com/aperturerobotics/bifrost go 1.22 require ( - github.com/aperturerobotics/common v0.15.1 // latest - github.com/aperturerobotics/controllerbus v0.44.4 // latest + github.com/aperturerobotics/common v0.15.2 // latest + github.com/aperturerobotics/controllerbus v0.44.5 // latest github.com/aperturerobotics/entitygraph v0.9.0 // latest github.com/aperturerobotics/protobuf-go-lite v0.6.1 // latest - github.com/aperturerobotics/starpc v0.32.1 // latest - github.com/aperturerobotics/util v1.22.2-0.20240429204300-8b2d5826595d // master + github.com/aperturerobotics/starpc v0.32.2 // latest + github.com/aperturerobotics/util v1.23.0 // master ) // aperture: use compatibility forks diff --git a/go.sum b/go.sum index 178060bc..d83e12ea 100644 --- a/go.sum +++ b/go.sum @@ -4,12 +4,10 @@ github.com/aperturerobotics/bifrost-nats-client v1.10.1-0.20200831103200-24c3d04 github.com/aperturerobotics/bifrost-nats-client v1.10.1-0.20200831103200-24c3d0464e58/go.mod h1:ougcjYEZDYV8pVtaNbA5sgYDukkYHyKtSsW/T3B13j0= github.com/aperturerobotics/bifrost-nats-server/v2 v2.1.8-0.20221228081037-b7c2df0c151f h1:bmScByQNGDPPy9T+zdwu816XaCbFtD5UDyqZMRiHJ80= github.com/aperturerobotics/bifrost-nats-server/v2 v2.1.8-0.20221228081037-b7c2df0c151f/go.mod h1:kIcZtLpq4UIZzOqduYLm1mYU1nuMBtN6XuDCtQ21QT8= -github.com/aperturerobotics/common v0.15.0 h1:CA+t6vxhcvkCpxqhpUzwZDbz4u5FjmtaayXYeU2VIEE= -github.com/aperturerobotics/common v0.15.0/go.mod h1:lbKmrcn9sYjn8LsQ+dYOUJ+wjZUCNySsce6+t8r6GFk= -github.com/aperturerobotics/common v0.15.1 h1:ezvq0sNgGlCElxriqMVuIrBMB/OmIJrBaUiwBoi6xz8= -github.com/aperturerobotics/common v0.15.1/go.mod h1:lbKmrcn9sYjn8LsQ+dYOUJ+wjZUCNySsce6+t8r6GFk= -github.com/aperturerobotics/controllerbus v0.44.4 h1:g225CGtl4rGYi5ZJlAa9MwhvBrzJSo3wANcRpLV3rNM= -github.com/aperturerobotics/controllerbus v0.44.4/go.mod h1:cx3BhNMHdKreQY6XUhdtPI+9Gzk9gbqYKsRtAE8ZwmQ= +github.com/aperturerobotics/common v0.15.2 h1:94z85iuQ7/CIH29ECOKKlQ3UQYFrBXNZezGRczV6Ka0= +github.com/aperturerobotics/common v0.15.2/go.mod h1:lbKmrcn9sYjn8LsQ+dYOUJ+wjZUCNySsce6+t8r6GFk= +github.com/aperturerobotics/controllerbus v0.44.5 h1:n5zNx1azwmJFMNsJiEYwyH/0aahWRlEt/BeOXtalDyc= +github.com/aperturerobotics/controllerbus v0.44.5/go.mod h1:qPjW/2nyAfpTHpQV9vtotPDHuBG12YARxj2gGhBP33I= github.com/aperturerobotics/entitygraph v0.9.0 h1:InXPpXS00IFMJszjKGUrSegHL1dI1nzsH+MAIxGM2fc= github.com/aperturerobotics/entitygraph v0.9.0/go.mod h1:2dcBYh8siYw0MBjQwtQyg3tvqEval59EfYGM4IDI7h0= github.com/aperturerobotics/json-iterator-lite v1.0.0 h1:cihbrYWoK/S2RYXhJLpDZd+GUjVvFJN+D3w1VOqqHRI= @@ -20,12 +18,10 @@ github.com/aperturerobotics/protobuf-go-lite v0.6.1 h1:dN4baS2e2qHhdpX57RJKUEuks github.com/aperturerobotics/protobuf-go-lite v0.6.1/go.mod h1:6Bp+C+fI1uh0NmIKpxlxyHMkKtCP9Kb3PHkhOzxG4B8= github.com/aperturerobotics/quic-go v0.41.1-0.20240125035303-1093432c45e9 h1:QLhCPPV6tnQpbHqJLvU/aOdp9RNajGLDTAwFsKi7Kow= github.com/aperturerobotics/quic-go v0.41.1-0.20240125035303-1093432c45e9/go.mod h1:tY2LVzdNWloFW0Gbg9bK8L49s4UhyUe9uCZIOF6KtuI= -github.com/aperturerobotics/starpc v0.31.14 h1:uciCrb70MsLVwJIrfoLv0OTezN7QYQ0RJtF3IhIm3ns= -github.com/aperturerobotics/starpc v0.31.14/go.mod h1:O9KeLOIEqrRMxtYioOjKTRvAOGqzqpZ3PbBAswWppJM= -github.com/aperturerobotics/starpc v0.32.1 h1:icq0MgGBmp0an0OODzi5oP4saaZYuUE832k7jrikXrc= -github.com/aperturerobotics/starpc v0.32.1/go.mod h1:O9KeLOIEqrRMxtYioOjKTRvAOGqzqpZ3PbBAswWppJM= -github.com/aperturerobotics/util v1.22.2-0.20240429204300-8b2d5826595d h1:RMsJofnefDuItlP6aN7+BvfgTnJxIiFuvOsIMOIGUzg= -github.com/aperturerobotics/util v1.22.2-0.20240429204300-8b2d5826595d/go.mod h1:b9c3xIwtCfd0DwhfOXB1Tk44uCckcYaB+0z8N17bWIY= +github.com/aperturerobotics/starpc v0.32.2 h1:hl2n0jc1nWs4UFwFuWVDXVaXll151Dy1PC9YG8ZUokM= +github.com/aperturerobotics/starpc v0.32.2/go.mod h1:keQmyg+5JomNuYvokZWXcLHXuojqU7I+VsZMj71HVsA= +github.com/aperturerobotics/util v1.23.0 h1:MW2klko8UN+t1baHiwy0RsEbpz+ZSleSmvZ9M26AQgA= +github.com/aperturerobotics/util v1.23.0/go.mod h1:NaPbGzquoyVaaCLcdxorXjDYrI9Y+FoRNqOfKGUl9EY= github.com/blang/semver v3.5.1+incompatible h1:cQNTCjp13qL8KC3Nbxr/y2Bqb63oX6wdnnjpJbkM4JQ= github.com/blang/semver v3.5.1+incompatible/go.mod h1:kRBLl5iJ+tD4TcOOxsy/0fnwebNt5EWlYSAyrTnjyyk= github.com/cenkalti/backoff v2.2.1+incompatible h1:tNowT99t7UNflLxfYYSlKYsBpXdEet03Pg2g16Swow4= @@ -154,8 +150,6 @@ github.com/pion/datachannel v1.5.6/go.mod h1:1eKT6Q85pRnr2mHiWHxJwO50SfZRtWHTsNI github.com/pion/dtls/v2 v2.2.7/go.mod h1:8WiMkebSHFD0T+dIU+UeBaoV7kDhOW5oDCzZ7WZ/F9s= github.com/pion/dtls/v2 v2.2.10 h1:u2Axk+FyIR1VFTPurktB+1zoEPGIW3bmyj3LEFrXjAA= github.com/pion/dtls/v2 v2.2.10/go.mod h1:d9SYc9fch0CqK90mRk1dC7AkzzpwJj6u2GU3u+9pqFE= -github.com/pion/ice/v3 v3.0.6 h1:UC5vZCMhmve7yv+Y6E5eTnRTl+t9LLtmeBYQ9038Zm8= -github.com/pion/ice/v3 v3.0.6/go.mod h1:4eMTUKQEjC1fGQGB6qUzy2ux9Pc1v9EsO3hNaii+kXI= github.com/pion/ice/v3 v3.0.7 h1:dfMViRKblENqzorR2cQiiRKWqQfqKZ9+nT/sREX3ra8= github.com/pion/ice/v3 v3.0.7/go.mod h1:pBRcCoJRC0vwvFsemfRIqRLYukV4bPboGb0B4b8AhrQ= github.com/pion/interceptor v0.1.29 h1:39fsnlP1U8gw2JzOFWdfCU82vHvhW9o0rZnZF56wF+M= @@ -187,12 +181,8 @@ github.com/pion/transport/v2 v2.2.4/go.mod h1:q2U/tf9FEfnSBGSW6w5Qp5PFWRLRj3NjLh github.com/pion/transport/v3 v3.0.1/go.mod h1:UY7kiITrlMv7/IKgd5eTUcaahZx5oUN3l9SzK5f5xE0= github.com/pion/transport/v3 v3.0.2 h1:r+40RJR25S9w3jbA6/5uEPTzcdn7ncyU44RWCbHkLg4= github.com/pion/transport/v3 v3.0.2/go.mod h1:nIToODoOlb5If2jF9y2Igfx3PFYWfuXi37m0IlWa/D0= -github.com/pion/turn/v3 v3.0.2 h1:iBonAIIKRwkVUJBFiFd/kSjytP7FlX0HwCyBDJPRDdU= -github.com/pion/turn/v3 v3.0.2/go.mod h1:vw0Dz420q7VYAF3J4wJKzReLHIo2LGp4ev8nXQexYsc= github.com/pion/turn/v3 v3.0.3 h1:1e3GVk8gHZLPBA5LqadWYV60lmaKUaHCkm9DX9CkGcE= github.com/pion/turn/v3 v3.0.3/go.mod h1:vw0Dz420q7VYAF3J4wJKzReLHIo2LGp4ev8nXQexYsc= -github.com/pion/webrtc/v4 v4.0.0-beta.18 h1:qCT7RrVomRu5LBxeoWz8WuJyD8Xt7AxXcJlj81/v4ik= -github.com/pion/webrtc/v4 v4.0.0-beta.18/go.mod h1:S9LRG5LIld++K8jfPIlS40EmVVdXuotwEXSp20r+KPs= github.com/pion/webrtc/v4 v4.0.0-beta.19 h1:qAmESbOR4C8Odv+FjGc7qS1sqhWAZJgmSjQFu8pahI8= github.com/pion/webrtc/v4 v4.0.0-beta.19/go.mod h1:yL80J6f59xyNERWAJXFdKZjjQXR4NchgtXr5JDA/2uQ= github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= diff --git a/hash/hash.pb.go b/hash/hash.pb.go index 2f996e3c..65dfc1f6 100644 --- a/hash/hash.pb.go +++ b/hash/hash.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-go-lite. DO NOT EDIT. -// protoc-gen-go-lite version: v0.6.0 +// protoc-gen-go-lite version: v0.6.1 // source: github.com/aperturerobotics/bifrost/hash/hash.proto package hash diff --git a/hash/hash.pb.ts b/hash/hash.pb.ts index 0eb399e7..76f879a6 100644 --- a/hash/hash.pb.ts +++ b/hash/hash.pb.ts @@ -7,6 +7,7 @@ import { createEnumType, createMessageType, Message, + ScalarType, } from '@aptre/protobuf-es-lite' export const protobufPackage = 'hash' @@ -76,11 +77,12 @@ export type Hash = Message<{ hash?: Uint8Array }> +// Hash contains the message type declaration for Hash. export const Hash: MessageType = createMessageType({ typeName: 'hash.Hash', fields: [ { no: 1, name: 'hash_type', kind: 'enum', T: HashType_Enum }, - { no: 2, name: 'hash', kind: 'scalar', T: 12 /* ScalarType.BYTES */ }, + { no: 2, name: 'hash', kind: 'scalar', T: ScalarType.BYTES }, ] as readonly PartialFieldInfo[], packedByDefault: true, }) diff --git a/http/listener/config.pb.go b/http/listener/config.pb.go index f0cc1d02..d1eb0fda 100644 --- a/http/listener/config.pb.go +++ b/http/listener/config.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-go-lite. DO NOT EDIT. -// protoc-gen-go-lite version: v0.6.0 +// protoc-gen-go-lite version: v0.6.1 // source: github.com/aperturerobotics/bifrost/http/listener/config.proto package bifrost_http_listener diff --git a/http/listener/config.pb.ts b/http/listener/config.pb.ts index f08ded8a..18c72f37 100644 --- a/http/listener/config.pb.ts +++ b/http/listener/config.pb.ts @@ -3,7 +3,7 @@ /* eslint-disable */ import type { MessageType, PartialFieldInfo } from '@aptre/protobuf-es-lite' -import { createMessageType, Message } from '@aptre/protobuf-es-lite' +import { createMessageType, Message, ScalarType } from '@aptre/protobuf-es-lite' export const protobufPackage = 'bifrost.http.listener' @@ -53,14 +53,15 @@ export type Config = Message<{ wait?: boolean }> +// Config contains the message type declaration for Config. export const Config: MessageType = createMessageType({ typeName: 'bifrost.http.listener.Config', fields: [ - { no: 1, name: 'addr', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { no: 2, name: 'client_id', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { no: 3, name: 'cert_file', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { no: 4, name: 'key_file', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { no: 5, name: 'wait', kind: 'scalar', T: 8 /* ScalarType.BOOL */ }, + { no: 1, name: 'addr', kind: 'scalar', T: ScalarType.STRING }, + { no: 2, name: 'client_id', kind: 'scalar', T: ScalarType.STRING }, + { no: 3, name: 'cert_file', kind: 'scalar', T: ScalarType.STRING }, + { no: 4, name: 'key_file', kind: 'scalar', T: ScalarType.STRING }, + { no: 5, name: 'wait', kind: 'scalar', T: ScalarType.BOOL }, ] as readonly PartialFieldInfo[], packedByDefault: true, }) diff --git a/link/establish/config.pb.go b/link/establish/config.pb.go index 643b8d2a..d23f3a62 100644 --- a/link/establish/config.pb.go +++ b/link/establish/config.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-go-lite. DO NOT EDIT. -// protoc-gen-go-lite version: v0.6.0 +// protoc-gen-go-lite version: v0.6.1 // source: github.com/aperturerobotics/bifrost/link/establish/config.proto package link_establish_controller diff --git a/link/establish/config.pb.ts b/link/establish/config.pb.ts index 917699b6..49513694 100644 --- a/link/establish/config.pb.ts +++ b/link/establish/config.pb.ts @@ -3,7 +3,7 @@ /* eslint-disable */ import type { MessageType, PartialFieldInfo } from '@aptre/protobuf-es-lite' -import { createMessageType, Message } from '@aptre/protobuf-es-lite' +import { createMessageType, Message, ScalarType } from '@aptre/protobuf-es-lite' export const protobufPackage = 'link.establish.controller' @@ -29,6 +29,7 @@ export type Config = Message<{ srcPeerId?: string }> +// Config contains the message type declaration for Config. export const Config: MessageType = createMessageType({ typeName: 'link.establish.controller.Config', fields: [ @@ -36,15 +37,10 @@ export const Config: MessageType = createMessageType({ no: 1, name: 'peer_ids', kind: 'scalar', - T: 9 /* ScalarType.STRING */, + T: ScalarType.STRING, repeated: true, }, - { - no: 2, - name: 'src_peer_id', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - }, + { no: 2, name: 'src_peer_id', kind: 'scalar', T: ScalarType.STRING }, ] as readonly PartialFieldInfo[], packedByDefault: true, }) diff --git a/link/hold-open/config.pb.go b/link/hold-open/config.pb.go index 47472790..71405dba 100644 --- a/link/hold-open/config.pb.go +++ b/link/hold-open/config.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-go-lite. DO NOT EDIT. -// protoc-gen-go-lite version: v0.6.0 +// protoc-gen-go-lite version: v0.6.1 // source: github.com/aperturerobotics/bifrost/link/hold-open/config.proto package link_holdopen_controller diff --git a/link/hold-open/config.pb.ts b/link/hold-open/config.pb.ts index 1b9d73cd..638cd32e 100644 --- a/link/hold-open/config.pb.ts +++ b/link/hold-open/config.pb.ts @@ -16,6 +16,7 @@ export const protobufPackage = 'link.holdopen.controller' */ export type Config = Message<{}> +// Config contains the message type declaration for Config. export const Config: MessageType = createMessageType({ typeName: 'link.holdopen.controller.Config', fields: [] as readonly PartialFieldInfo[], diff --git a/package.json b/package.json index b64cf16b..3a5b5085 100644 --- a/package.json +++ b/package.json @@ -44,15 +44,15 @@ "singleQuote": true }, "devDependencies": { - "@aptre/common": "^0.15.0", + "@aptre/common": "^0.15.2", "depcheck": "^1.4.6", "prettier": "^3.1.1", "rimraf": "^5.0.5", "typescript": "^5.4.4" }, "dependencies": { - "@aptre/protobuf-es-lite": "^0.4.0", - "starpc": "^0.32.0" + "@aptre/protobuf-es-lite": "^0.4.3", + "starpc": "^0.32.2" }, "resolutions": { "@aptre/protobuf-es-lite": "0.4.3" diff --git a/peer/api/api.pb.go b/peer/api/api.pb.go index 268f4556..7e5bd0d7 100644 --- a/peer/api/api.pb.go +++ b/peer/api/api.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-go-lite. DO NOT EDIT. -// protoc-gen-go-lite version: v0.6.0 +// protoc-gen-go-lite version: v0.6.1 // source: github.com/aperturerobotics/bifrost/peer/api/api.proto package peer_api diff --git a/peer/api/api.pb.ts b/peer/api/api.pb.ts index 75c4440c..958baa7b 100644 --- a/peer/api/api.pb.ts +++ b/peer/api/api.pb.ts @@ -3,7 +3,7 @@ /* eslint-disable */ import type { MessageType, PartialFieldInfo } from '@aptre/protobuf-es-lite' -import { createMessageType, Message } from '@aptre/protobuf-es-lite' +import { createMessageType, Message, ScalarType } from '@aptre/protobuf-es-lite' import { Config } from '../controller/config.pb.js' import type { ControllerStatus } from '@go/github.com/aperturerobotics/controllerbus/controller/exec/exec.pb.js' import { ControllerStatus_Enum } from '@go/github.com/aperturerobotics/controllerbus/controller/exec/exec.pb.js' @@ -24,6 +24,7 @@ export type IdentifyRequest = Message<{ config?: Config }> +// IdentifyRequest contains the message type declaration for IdentifyRequest. export const IdentifyRequest: MessageType = createMessageType({ typeName: 'peer.api.IdentifyRequest', fields: [ @@ -46,6 +47,7 @@ export type IdentifyResponse = Message<{ controllerStatus?: ControllerStatus }> +// IdentifyResponse contains the message type declaration for IdentifyResponse. export const IdentifyResponse: MessageType = createMessageType({ typeName: 'peer.api.IdentifyResponse', @@ -74,11 +76,12 @@ export type GetPeerInfoRequest = Message<{ peerId?: string }> +// GetPeerInfoRequest contains the message type declaration for GetPeerInfoRequest. export const GetPeerInfoRequest: MessageType = createMessageType({ typeName: 'peer.api.GetPeerInfoRequest', fields: [ - { no: 1, name: 'peer_id', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, + { no: 1, name: 'peer_id', kind: 'scalar', T: ScalarType.STRING }, ] as readonly PartialFieldInfo[], packedByDefault: true, }) @@ -97,10 +100,11 @@ export type PeerInfo = Message<{ peerId?: string }> +// PeerInfo contains the message type declaration for PeerInfo. export const PeerInfo: MessageType = createMessageType({ typeName: 'peer.api.PeerInfo', fields: [ - { no: 1, name: 'peer_id', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, + { no: 1, name: 'peer_id', kind: 'scalar', T: ScalarType.STRING }, ] as readonly PartialFieldInfo[], packedByDefault: true, }) @@ -119,6 +123,7 @@ export type GetPeerInfoResponse = Message<{ localPeers?: PeerInfo[] }> +// GetPeerInfoResponse contains the message type declaration for GetPeerInfoResponse. export const GetPeerInfoResponse: MessageType = createMessageType({ typeName: 'peer.api.GetPeerInfoResponse', diff --git a/peer/api/api_srpc.pb.go b/peer/api/api_srpc.pb.go index 8ce2782c..ef03ce1f 100644 --- a/peer/api/api_srpc.pb.go +++ b/peer/api/api_srpc.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-srpc. DO NOT EDIT. -// protoc-gen-srpc version: v0.31.12 +// protoc-gen-srpc version: v0.32.0 // source: github.com/aperturerobotics/bifrost/peer/api/api.proto package peer_api diff --git a/peer/controller/config.pb.go b/peer/controller/config.pb.go index 472a4e01..cc9ddad3 100644 --- a/peer/controller/config.pb.go +++ b/peer/controller/config.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-go-lite. DO NOT EDIT. -// protoc-gen-go-lite version: v0.6.0 +// protoc-gen-go-lite version: v0.6.1 // source: github.com/aperturerobotics/bifrost/peer/controller/config.proto package peer_controller diff --git a/peer/controller/config.pb.ts b/peer/controller/config.pb.ts index 4e66bc6e..cbae173e 100644 --- a/peer/controller/config.pb.ts +++ b/peer/controller/config.pb.ts @@ -3,7 +3,7 @@ /* eslint-disable */ import type { MessageType, PartialFieldInfo } from '@aptre/protobuf-es-lite' -import { createMessageType, Message } from '@aptre/protobuf-es-lite' +import { createMessageType, Message, ScalarType } from '@aptre/protobuf-es-lite' export const protobufPackage = 'peer.controller' @@ -38,12 +38,13 @@ export type Config = Message<{ peerId?: string }> +// Config contains the message type declaration for Config. export const Config: MessageType = createMessageType({ typeName: 'peer.controller.Config', fields: [ - { no: 1, name: 'priv_key', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { no: 2, name: 'pub_key', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { no: 3, name: 'peer_id', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, + { no: 1, name: 'priv_key', kind: 'scalar', T: ScalarType.STRING }, + { no: 2, name: 'pub_key', kind: 'scalar', T: ScalarType.STRING }, + { no: 3, name: 'peer_id', kind: 'scalar', T: ScalarType.STRING }, ] as readonly PartialFieldInfo[], packedByDefault: true, }) diff --git a/peer/peer.pb.go b/peer/peer.pb.go index fef45e02..652ebda9 100644 --- a/peer/peer.pb.go +++ b/peer/peer.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-go-lite. DO NOT EDIT. -// protoc-gen-go-lite version: v0.6.0 +// protoc-gen-go-lite version: v0.6.1 // source: github.com/aperturerobotics/bifrost/peer/peer.proto package peer diff --git a/peer/peer.pb.ts b/peer/peer.pb.ts index 63c0221d..db5771e8 100644 --- a/peer/peer.pb.ts +++ b/peer/peer.pb.ts @@ -3,7 +3,7 @@ /* eslint-disable */ import type { MessageType, PartialFieldInfo } from '@aptre/protobuf-es-lite' -import { createMessageType, Message } from '@aptre/protobuf-es-lite' +import { createMessageType, Message, ScalarType } from '@aptre/protobuf-es-lite' import type { HashType } from '../hash/hash.pb.js' import { HashType_Enum } from '../hash/hash.pb.js' @@ -38,12 +38,13 @@ export type Signature = Message<{ sigData?: Uint8Array }> +// Signature contains the message type declaration for Signature. export const Signature: MessageType = createMessageType({ typeName: 'peer.Signature', fields: [ - { no: 1, name: 'pub_key', kind: 'scalar', T: 12 /* ScalarType.BYTES */ }, + { no: 1, name: 'pub_key', kind: 'scalar', T: ScalarType.BYTES }, { no: 2, name: 'hash_type', kind: 'enum', T: HashType_Enum }, - { no: 3, name: 'sig_data', kind: 'scalar', T: 12 /* ScalarType.BYTES */ }, + { no: 3, name: 'sig_data', kind: 'scalar', T: ScalarType.BYTES }, ] as readonly PartialFieldInfo[], packedByDefault: true, }) @@ -75,17 +76,13 @@ export type SignedMsg = Message<{ data?: Uint8Array }> +// SignedMsg contains the message type declaration for SignedMsg. export const SignedMsg: MessageType = createMessageType({ typeName: 'peer.SignedMsg', fields: [ - { - no: 1, - name: 'from_peer_id', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - }, + { no: 1, name: 'from_peer_id', kind: 'scalar', T: ScalarType.STRING }, { no: 2, name: 'signature', kind: 'message', T: () => Signature }, - { no: 3, name: 'data', kind: 'scalar', T: 12 /* ScalarType.BYTES */ }, + { no: 3, name: 'data', kind: 'scalar', T: ScalarType.BYTES }, ] as readonly PartialFieldInfo[], packedByDefault: true, }) diff --git a/pubsub/api/api.pb.go b/pubsub/api/api.pb.go index b32990c2..053d9b04 100644 --- a/pubsub/api/api.pb.go +++ b/pubsub/api/api.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-go-lite. DO NOT EDIT. -// protoc-gen-go-lite version: v0.6.0 +// protoc-gen-go-lite version: v0.6.1 // source: github.com/aperturerobotics/bifrost/pubsub/api/api.proto package pubsub_api diff --git a/pubsub/api/api.pb.ts b/pubsub/api/api.pb.ts index 42aa5ace..96009f08 100644 --- a/pubsub/api/api.pb.ts +++ b/pubsub/api/api.pb.ts @@ -3,7 +3,7 @@ /* eslint-disable */ import type { MessageType, PartialFieldInfo } from '@aptre/protobuf-es-lite' -import { createMessageType, Message } from '@aptre/protobuf-es-lite' +import { createMessageType, Message, ScalarType } from '@aptre/protobuf-es-lite' export const protobufPackage = 'pubsub.api' @@ -28,16 +28,12 @@ export type PublishRequest = Message<{ identifier?: number }> +// PublishRequest contains the message type declaration for PublishRequest. export const PublishRequest: MessageType = createMessageType({ typeName: 'pubsub.api.PublishRequest', fields: [ - { no: 1, name: 'data', kind: 'scalar', T: 12 /* ScalarType.BYTES */ }, - { - no: 2, - name: 'identifier', - kind: 'scalar', - T: 13 /* ScalarType.UINT32 */, - }, + { no: 1, name: 'data', kind: 'scalar', T: ScalarType.BYTES }, + { no: 2, name: 'identifier', kind: 'scalar', T: ScalarType.UINT32 }, ] as readonly PartialFieldInfo[], packedByDefault: true, }) @@ -78,23 +74,14 @@ export type SubscribeRequest = Message<{ publishRequest?: PublishRequest }> +// SubscribeRequest contains the message type declaration for SubscribeRequest. export const SubscribeRequest: MessageType = createMessageType({ typeName: 'pubsub.api.SubscribeRequest', fields: [ - { - no: 1, - name: 'channel_id', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - }, - { no: 2, name: 'peer_id', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { - no: 3, - name: 'priv_key_pem', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - }, + { no: 1, name: 'channel_id', kind: 'scalar', T: ScalarType.STRING }, + { no: 2, name: 'peer_id', kind: 'scalar', T: ScalarType.STRING }, + { no: 3, name: 'priv_key_pem', kind: 'scalar', T: ScalarType.STRING }, { no: 4, name: 'publish_request', @@ -131,22 +118,13 @@ export type IncomingMessage = Message<{ data?: Uint8Array }> +// IncomingMessage contains the message type declaration for IncomingMessage. export const IncomingMessage: MessageType = createMessageType({ typeName: 'pubsub.api.IncomingMessage', fields: [ - { - no: 1, - name: 'from_peer_id', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - }, - { - no: 2, - name: 'authenticated', - kind: 'scalar', - T: 8 /* ScalarType.BOOL */, - }, - { no: 3, name: 'data', kind: 'scalar', T: 12 /* ScalarType.BYTES */ }, + { no: 1, name: 'from_peer_id', kind: 'scalar', T: ScalarType.STRING }, + { no: 2, name: 'authenticated', kind: 'scalar', T: ScalarType.BOOL }, + { no: 3, name: 'data', kind: 'scalar', T: ScalarType.BYTES }, ] as readonly PartialFieldInfo[], packedByDefault: true, }) @@ -171,16 +149,12 @@ export type OutgoingStatus = Message<{ sent?: boolean }> +// OutgoingStatus contains the message type declaration for OutgoingStatus. export const OutgoingStatus: MessageType = createMessageType({ typeName: 'pubsub.api.OutgoingStatus', fields: [ - { - no: 1, - name: 'identifier', - kind: 'scalar', - T: 13 /* ScalarType.UINT32 */, - }, - { no: 2, name: 'sent', kind: 'scalar', T: 8 /* ScalarType.BOOL */ }, + { no: 1, name: 'identifier', kind: 'scalar', T: ScalarType.UINT32 }, + { no: 2, name: 'sent', kind: 'scalar', T: ScalarType.BOOL }, ] as readonly PartialFieldInfo[], packedByDefault: true, }) @@ -199,11 +173,12 @@ export type SubscriptionStatus = Message<{ subscribed?: boolean }> +// SubscriptionStatus contains the message type declaration for SubscriptionStatus. export const SubscriptionStatus: MessageType = createMessageType({ typeName: 'pubsub.api.SubscriptionStatus', fields: [ - { no: 1, name: 'subscribed', kind: 'scalar', T: 8 /* ScalarType.BOOL */ }, + { no: 1, name: 'subscribed', kind: 'scalar', T: ScalarType.BOOL }, ] as readonly PartialFieldInfo[], packedByDefault: true, }) @@ -235,6 +210,7 @@ export type SubscribeResponse = Message<{ subscriptionStatus?: SubscriptionStatus }> +// SubscribeResponse contains the message type declaration for SubscribeResponse. export const SubscribeResponse: MessageType = createMessageType({ typeName: 'pubsub.api.SubscribeResponse', diff --git a/pubsub/api/api_srpc.pb.go b/pubsub/api/api_srpc.pb.go index 15cbf86c..293f449b 100644 --- a/pubsub/api/api_srpc.pb.go +++ b/pubsub/api/api_srpc.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-srpc. DO NOT EDIT. -// protoc-gen-srpc version: v0.31.12 +// protoc-gen-srpc version: v0.32.0 // source: github.com/aperturerobotics/bifrost/pubsub/api/api.proto package pubsub_api diff --git a/pubsub/floodsub/controller/config.pb.go b/pubsub/floodsub/controller/config.pb.go index e874fc05..25bcebc5 100644 --- a/pubsub/floodsub/controller/config.pb.go +++ b/pubsub/floodsub/controller/config.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-go-lite. DO NOT EDIT. -// protoc-gen-go-lite version: v0.6.0 +// protoc-gen-go-lite version: v0.6.1 // source: github.com/aperturerobotics/bifrost/pubsub/floodsub/controller/config.proto package floodsub_controller diff --git a/pubsub/floodsub/controller/config.pb.ts b/pubsub/floodsub/controller/config.pb.ts index 515de63a..2dd2b501 100644 --- a/pubsub/floodsub/controller/config.pb.ts +++ b/pubsub/floodsub/controller/config.pb.ts @@ -22,6 +22,7 @@ export type Config = Message<{ floodsubConfig?: Config$1 }> +// Config contains the message type declaration for Config. export const Config: MessageType = createMessageType({ typeName: 'floodsub.controller.Config', fields: [ diff --git a/pubsub/floodsub/floodsub.pb.go b/pubsub/floodsub/floodsub.pb.go index d45fd9d9..393cbec2 100644 --- a/pubsub/floodsub/floodsub.pb.go +++ b/pubsub/floodsub/floodsub.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-go-lite. DO NOT EDIT. -// protoc-gen-go-lite version: v0.6.0 +// protoc-gen-go-lite version: v0.6.1 // source: github.com/aperturerobotics/bifrost/pubsub/floodsub/floodsub.proto package floodsub diff --git a/pubsub/floodsub/floodsub.pb.ts b/pubsub/floodsub/floodsub.pb.ts index deaf9ce1..00553f82 100644 --- a/pubsub/floodsub/floodsub.pb.ts +++ b/pubsub/floodsub/floodsub.pb.ts @@ -3,7 +3,7 @@ /* eslint-disable */ import type { MessageType, PartialFieldInfo } from '@aptre/protobuf-es-lite' -import { createMessageType, Message } from '@aptre/protobuf-es-lite' +import { createMessageType, Message, ScalarType } from '@aptre/protobuf-es-lite' import type { HashType } from '../../hash/hash.pb.js' import { HashType_Enum } from '../../hash/hash.pb.js' import { SignedMsg } from '../../peer/peer.pb.js' @@ -25,6 +25,7 @@ export type Config = Message<{ publishHashType?: HashType }> +// Config contains the message type declaration for Config. export const Config: MessageType = createMessageType({ typeName: 'floodsub.Config', fields: [ @@ -53,17 +54,13 @@ export type SubscriptionOpts = Message<{ channelId?: string }> +// SubscriptionOpts contains the message type declaration for SubscriptionOpts. export const SubscriptionOpts: MessageType = createMessageType({ typeName: 'floodsub.SubscriptionOpts', fields: [ - { no: 1, name: 'subscribe', kind: 'scalar', T: 8 /* ScalarType.BOOL */ }, - { - no: 2, - name: 'channel_id', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - }, + { no: 1, name: 'subscribe', kind: 'scalar', T: ScalarType.BOOL }, + { no: 2, name: 'channel_id', kind: 'scalar', T: ScalarType.STRING }, ] as readonly PartialFieldInfo[], packedByDefault: true, }) @@ -88,6 +85,7 @@ export type Packet = Message<{ publish?: SignedMsg[] }> +// Packet contains the message type declaration for Packet. export const Packet: MessageType = createMessageType({ typeName: 'floodsub.Packet', fields: [ diff --git a/pubsub/nats/controller/config.pb.go b/pubsub/nats/controller/config.pb.go index 64481990..d368824d 100644 --- a/pubsub/nats/controller/config.pb.go +++ b/pubsub/nats/controller/config.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-go-lite. DO NOT EDIT. -// protoc-gen-go-lite version: v0.6.0 +// protoc-gen-go-lite version: v0.6.1 // source: github.com/aperturerobotics/bifrost/pubsub/nats/controller/config.proto package nats_controller diff --git a/pubsub/nats/controller/config.pb.ts b/pubsub/nats/controller/config.pb.ts index 3ba29741..75443d5e 100644 --- a/pubsub/nats/controller/config.pb.ts +++ b/pubsub/nats/controller/config.pb.ts @@ -3,7 +3,7 @@ /* eslint-disable */ import type { MessageType, PartialFieldInfo } from '@aptre/protobuf-es-lite' -import { createMessageType, Message } from '@aptre/protobuf-es-lite' +import { createMessageType, Message, ScalarType } from '@aptre/protobuf-es-lite' import { Config as Config$1 } from '../nats.pb.js' export const protobufPackage = 'nats.controller' @@ -30,10 +30,11 @@ export type Config = Message<{ natsConfig?: Config$1 }> +// Config contains the message type declaration for Config. export const Config: MessageType = createMessageType({ typeName: 'nats.controller.Config', fields: [ - { no: 1, name: 'peer_id', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, + { no: 1, name: 'peer_id', kind: 'scalar', T: ScalarType.STRING }, { no: 2, name: 'nats_config', kind: 'message', T: () => Config$1 }, ] as readonly PartialFieldInfo[], packedByDefault: true, diff --git a/pubsub/nats/nats.pb.go b/pubsub/nats/nats.pb.go index e54395f7..f04bb651 100644 --- a/pubsub/nats/nats.pb.go +++ b/pubsub/nats/nats.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-go-lite. DO NOT EDIT. -// protoc-gen-go-lite version: v0.6.0 +// protoc-gen-go-lite version: v0.6.1 // source: github.com/aperturerobotics/bifrost/pubsub/nats/nats.proto package nats diff --git a/pubsub/nats/nats.pb.ts b/pubsub/nats/nats.pb.ts index 3935b6ff..0e12b1b1 100644 --- a/pubsub/nats/nats.pb.ts +++ b/pubsub/nats/nats.pb.ts @@ -7,6 +7,7 @@ import { createEnumType, createMessageType, Message, + ScalarType, } from '@aptre/protobuf-es-lite' import type { HashType } from '../../hash/hash.pb.js' import { HashType_Enum } from '../../hash/hash.pb.js' @@ -94,24 +95,15 @@ export type Config = Message<{ logTraceVerbose?: boolean }> +// Config contains the message type declaration for Config. export const Config: MessageType = createMessageType({ typeName: 'nats.Config', fields: [ - { - no: 1, - name: 'cluster_name', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - }, + { no: 1, name: 'cluster_name', kind: 'scalar', T: ScalarType.STRING }, { no: 2, name: 'publish_hash_type', kind: 'enum', T: HashType_Enum }, - { no: 3, name: 'log_debug', kind: 'scalar', T: 8 /* ScalarType.BOOL */ }, - { no: 4, name: 'log_trace', kind: 'scalar', T: 8 /* ScalarType.BOOL */ }, - { - no: 5, - name: 'log_trace_verbose', - kind: 'scalar', - T: 8 /* ScalarType.BOOL */, - }, + { no: 3, name: 'log_debug', kind: 'scalar', T: ScalarType.BOOL }, + { no: 4, name: 'log_trace', kind: 'scalar', T: ScalarType.BOOL }, + { no: 5, name: 'log_trace_verbose', kind: 'scalar', T: ScalarType.BOOL }, ] as readonly PartialFieldInfo[], packedByDefault: true, }) diff --git a/pubsub/relay/config.pb.go b/pubsub/relay/config.pb.go index 66ac371d..f3a6673e 100644 --- a/pubsub/relay/config.pb.go +++ b/pubsub/relay/config.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-go-lite. DO NOT EDIT. -// protoc-gen-go-lite version: v0.6.0 +// protoc-gen-go-lite version: v0.6.1 // source: github.com/aperturerobotics/bifrost/pubsub/relay/config.proto package pubsub_relay diff --git a/pubsub/relay/config.pb.ts b/pubsub/relay/config.pb.ts index eab02230..04b0cdb9 100644 --- a/pubsub/relay/config.pb.ts +++ b/pubsub/relay/config.pb.ts @@ -3,7 +3,7 @@ /* eslint-disable */ import type { MessageType, PartialFieldInfo } from '@aptre/protobuf-es-lite' -import { createMessageType, Message } from '@aptre/protobuf-es-lite' +import { createMessageType, Message, ScalarType } from '@aptre/protobuf-es-lite' export const protobufPackage = 'pubsub.relay' @@ -28,15 +28,16 @@ export type Config = Message<{ topicIds?: string[] }> +// Config contains the message type declaration for Config. export const Config: MessageType = createMessageType({ typeName: 'pubsub.relay.Config', fields: [ - { no: 1, name: 'peer_id', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, + { no: 1, name: 'peer_id', kind: 'scalar', T: ScalarType.STRING }, { no: 2, name: 'topic_ids', kind: 'scalar', - T: 9 /* ScalarType.STRING */, + T: ScalarType.STRING, repeated: true, }, ] as readonly PartialFieldInfo[], diff --git a/pubsub/util/pubmessage/pubmessage.pb.go b/pubsub/util/pubmessage/pubmessage.pb.go index 32d6dd32..9c20a107 100644 --- a/pubsub/util/pubmessage/pubmessage.pb.go +++ b/pubsub/util/pubmessage/pubmessage.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-go-lite. DO NOT EDIT. -// protoc-gen-go-lite version: v0.6.0 +// protoc-gen-go-lite version: v0.6.1 // source: github.com/aperturerobotics/bifrost/pubsub/util/pubmessage/pubmessage.proto package pubmessage diff --git a/pubsub/util/pubmessage/pubmessage.pb.ts b/pubsub/util/pubmessage/pubmessage.pb.ts index 063af125..b10dfd55 100644 --- a/pubsub/util/pubmessage/pubmessage.pb.ts +++ b/pubsub/util/pubmessage/pubmessage.pb.ts @@ -3,7 +3,12 @@ /* eslint-disable */ import type { MessageType, PartialFieldInfo } from '@aptre/protobuf-es-lite' -import { createMessageType, Message, Timestamp } from '@aptre/protobuf-es-lite' +import { + createMessageType, + Message, + ScalarType, + Timestamp, +} from '@aptre/protobuf-es-lite' export const protobufPackage = 'pubmessage' @@ -30,14 +35,15 @@ export type PubMessageInner = Message<{ * * @generated from field: google.protobuf.Timestamp timestamp = 3; */ - timestamp?: Timestamp + timestamp?: Date }> +// PubMessageInner contains the message type declaration for PubMessageInner. export const PubMessageInner: MessageType = createMessageType({ typeName: 'pubmessage.PubMessageInner', fields: [ - { no: 1, name: 'data', kind: 'scalar', T: 12 /* ScalarType.BYTES */ }, - { no: 2, name: 'channel', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, + { no: 1, name: 'data', kind: 'scalar', T: ScalarType.BYTES }, + { no: 2, name: 'channel', kind: 'scalar', T: ScalarType.STRING }, { no: 3, name: 'timestamp', kind: 'message', T: () => Timestamp }, ] as readonly PartialFieldInfo[], packedByDefault: true, diff --git a/rpc/access/access.pb.go b/rpc/access/access.pb.go index b0c107e3..834511af 100644 --- a/rpc/access/access.pb.go +++ b/rpc/access/access.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-go-lite. DO NOT EDIT. -// protoc-gen-go-lite version: v0.6.0 +// protoc-gen-go-lite version: v0.6.1 // source: github.com/aperturerobotics/bifrost/rpc/access/access.proto package bifrost_rpc_access diff --git a/rpc/access/access.pb.ts b/rpc/access/access.pb.ts index eeea8457..2c3c9a46 100644 --- a/rpc/access/access.pb.ts +++ b/rpc/access/access.pb.ts @@ -3,7 +3,7 @@ /* eslint-disable */ import type { MessageType, PartialFieldInfo } from '@aptre/protobuf-es-lite' -import { createMessageType, Message } from '@aptre/protobuf-es-lite' +import { createMessageType, Message, ScalarType } from '@aptre/protobuf-es-lite' export const protobufPackage = 'bifrost.rpc.access' @@ -28,22 +28,13 @@ export type LookupRpcServiceRequest = Message<{ serverId?: string }> +// LookupRpcServiceRequest contains the message type declaration for LookupRpcServiceRequest. export const LookupRpcServiceRequest: MessageType = createMessageType({ typeName: 'bifrost.rpc.access.LookupRpcServiceRequest', fields: [ - { - no: 1, - name: 'service_id', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - }, - { - no: 2, - name: 'server_id', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - }, + { no: 1, name: 'service_id', kind: 'scalar', T: ScalarType.STRING }, + { no: 2, name: 'server_id', kind: 'scalar', T: ScalarType.STRING }, ] as readonly PartialFieldInfo[], packedByDefault: true, }) @@ -74,13 +65,14 @@ export type LookupRpcServiceResponse = Message<{ removed?: boolean }> +// LookupRpcServiceResponse contains the message type declaration for LookupRpcServiceResponse. export const LookupRpcServiceResponse: MessageType = createMessageType({ typeName: 'bifrost.rpc.access.LookupRpcServiceResponse', fields: [ - { no: 1, name: 'idle', kind: 'scalar', T: 8 /* ScalarType.BOOL */ }, - { no: 2, name: 'exists', kind: 'scalar', T: 8 /* ScalarType.BOOL */ }, - { no: 3, name: 'removed', kind: 'scalar', T: 8 /* ScalarType.BOOL */ }, + { no: 1, name: 'idle', kind: 'scalar', T: ScalarType.BOOL }, + { no: 2, name: 'exists', kind: 'scalar', T: ScalarType.BOOL }, + { no: 3, name: 'removed', kind: 'scalar', T: ScalarType.BOOL }, ] as readonly PartialFieldInfo[], packedByDefault: true, }) diff --git a/rpc/access/access_srpc.pb.go b/rpc/access/access_srpc.pb.go index 29025db2..fa5078e6 100644 --- a/rpc/access/access_srpc.pb.go +++ b/rpc/access/access_srpc.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-srpc. DO NOT EDIT. -// protoc-gen-srpc version: v0.31.12 +// protoc-gen-srpc version: v0.32.0 // source: github.com/aperturerobotics/bifrost/rpc/access/access.proto package bifrost_rpc_access diff --git a/signaling/echo/echo.pb.go b/signaling/echo/echo.pb.go index 4b57e99d..d793de5b 100644 --- a/signaling/echo/echo.pb.go +++ b/signaling/echo/echo.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-go-lite. DO NOT EDIT. -// protoc-gen-go-lite version: v0.6.0 +// protoc-gen-go-lite version: v0.6.1 // source: github.com/aperturerobotics/bifrost/signaling/echo/echo.proto package signaling_echo diff --git a/signaling/echo/echo.pb.ts b/signaling/echo/echo.pb.ts index ef54d60a..861bfc4d 100644 --- a/signaling/echo/echo.pb.ts +++ b/signaling/echo/echo.pb.ts @@ -3,7 +3,7 @@ /* eslint-disable */ import type { MessageType, PartialFieldInfo } from '@aptre/protobuf-es-lite' -import { createMessageType, Message } from '@aptre/protobuf-es-lite' +import { createMessageType, Message, ScalarType } from '@aptre/protobuf-es-lite' export const protobufPackage = 'signaling.echo' @@ -22,15 +22,11 @@ export type Config = Message<{ signalingId?: string }> +// Config contains the message type declaration for Config. export const Config: MessageType = createMessageType({ typeName: 'signaling.echo.Config', fields: [ - { - no: 1, - name: 'signaling_id', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - }, + { no: 1, name: 'signaling_id', kind: 'scalar', T: ScalarType.STRING }, ] as readonly PartialFieldInfo[], packedByDefault: true, }) diff --git a/signaling/rpc/client/config.pb.go b/signaling/rpc/client/config.pb.go index b09d941b..ea0932d9 100644 --- a/signaling/rpc/client/config.pb.go +++ b/signaling/rpc/client/config.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-go-lite. DO NOT EDIT. -// protoc-gen-go-lite version: v0.6.0 +// protoc-gen-go-lite version: v0.6.1 // source: github.com/aperturerobotics/bifrost/signaling/rpc/client/config.proto package signaling_rpc_client diff --git a/signaling/rpc/client/config.pb.ts b/signaling/rpc/client/config.pb.ts index 4f156d59..72c2dfe9 100644 --- a/signaling/rpc/client/config.pb.ts +++ b/signaling/rpc/client/config.pb.ts @@ -3,7 +3,7 @@ /* eslint-disable */ import type { MessageType, PartialFieldInfo } from '@aptre/protobuf-es-lite' -import { createMessageType, Message } from '@aptre/protobuf-es-lite' +import { createMessageType, Message, ScalarType } from '@aptre/protobuf-es-lite' import { Config as Config$1 } from '../../../stream/srpc/client/client.pb.js' import { Backoff } from '@go/github.com/aperturerobotics/util/backoff/backoff.pb.js' @@ -67,31 +67,17 @@ export type Config = Message<{ disableListen?: boolean }> +// Config contains the message type declaration for Config. export const Config: MessageType = createMessageType({ typeName: 'signaling.rpc.client.Config', fields: [ - { - no: 1, - name: 'signaling_id', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - }, - { no: 2, name: 'peer_id', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, + { no: 1, name: 'signaling_id', kind: 'scalar', T: ScalarType.STRING }, + { no: 2, name: 'peer_id', kind: 'scalar', T: ScalarType.STRING }, { no: 3, name: 'client', kind: 'message', T: () => Config$1 }, - { - no: 4, - name: 'protocol_id', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - }, - { no: 5, name: 'service_id', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, + { no: 4, name: 'protocol_id', kind: 'scalar', T: ScalarType.STRING }, + { no: 5, name: 'service_id', kind: 'scalar', T: ScalarType.STRING }, { no: 6, name: 'backoff', kind: 'message', T: () => Backoff }, - { - no: 7, - name: 'disable_listen', - kind: 'scalar', - T: 8 /* ScalarType.BOOL */, - }, + { no: 7, name: 'disable_listen', kind: 'scalar', T: ScalarType.BOOL }, ] as readonly PartialFieldInfo[], packedByDefault: true, }) diff --git a/signaling/rpc/server/server.pb.go b/signaling/rpc/server/server.pb.go index ebd9ade4..30b679ce 100644 --- a/signaling/rpc/server/server.pb.go +++ b/signaling/rpc/server/server.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-go-lite. DO NOT EDIT. -// protoc-gen-go-lite version: v0.6.0 +// protoc-gen-go-lite version: v0.6.1 // source: github.com/aperturerobotics/bifrost/signaling/rpc/server/server.proto package signaling_rpc_server diff --git a/signaling/rpc/server/server.pb.ts b/signaling/rpc/server/server.pb.ts index f2132ac0..3432ff38 100644 --- a/signaling/rpc/server/server.pb.ts +++ b/signaling/rpc/server/server.pb.ts @@ -22,6 +22,7 @@ export type Config = Message<{ server?: Config$1 }> +// Config contains the message type declaration for Config. export const Config: MessageType = createMessageType({ typeName: 'signaling.rpc.server.Config', fields: [ diff --git a/signaling/rpc/signaling.pb.go b/signaling/rpc/signaling.pb.go index 805cb303..efaae2d5 100644 --- a/signaling/rpc/signaling.pb.go +++ b/signaling/rpc/signaling.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-go-lite. DO NOT EDIT. -// protoc-gen-go-lite version: v0.6.0 +// protoc-gen-go-lite version: v0.6.1 // source: github.com/aperturerobotics/bifrost/signaling/rpc/signaling.proto package signaling_rpc @@ -367,7 +367,7 @@ func (m *ListenResponse) CloneVT() *ListenResponse { } r := new(ListenResponse) if m.Body != nil { - r.Body = m.Body.(interface{ CloneVT() isListenResponse_Body }).CloneVT() + r.Body = m.Body.(interface{ CloneOneofVT() isListenResponse_Body }).CloneOneofVT() } if len(m.unknownFields) > 0 { r.unknownFields = make([]byte, len(m.unknownFields)) @@ -389,6 +389,10 @@ func (m *ListenResponse_SetPeer) CloneVT() *ListenResponse_SetPeer { return r } +func (m *ListenResponse_SetPeer) CloneOneofVT() isListenResponse_Body { + return m.CloneVT() +} + func (m *ListenResponse_ClearPeer) CloneVT() *ListenResponse_ClearPeer { if m == nil { return (*ListenResponse_ClearPeer)(nil) @@ -398,6 +402,10 @@ func (m *ListenResponse_ClearPeer) CloneVT() *ListenResponse_ClearPeer { return r } +func (m *ListenResponse_ClearPeer) CloneOneofVT() isListenResponse_Body { + return m.CloneVT() +} + func (m *SessionRequest) CloneVT() *SessionRequest { if m == nil { return (*SessionRequest)(nil) @@ -405,7 +413,7 @@ func (m *SessionRequest) CloneVT() *SessionRequest { r := new(SessionRequest) r.SessionSeqno = m.SessionSeqno if m.Body != nil { - r.Body = m.Body.(interface{ CloneVT() isSessionRequest_Body }).CloneVT() + r.Body = m.Body.(interface{ CloneOneofVT() isSessionRequest_Body }).CloneOneofVT() } if len(m.unknownFields) > 0 { r.unknownFields = make([]byte, len(m.unknownFields)) @@ -427,6 +435,10 @@ func (m *SessionRequest_Init) CloneVT() *SessionRequest_Init { return r } +func (m *SessionRequest_Init) CloneOneofVT() isSessionRequest_Body { + return m.CloneVT() +} + func (m *SessionRequest_SendMsg) CloneVT() *SessionRequest_SendMsg { if m == nil { return (*SessionRequest_SendMsg)(nil) @@ -436,6 +448,10 @@ func (m *SessionRequest_SendMsg) CloneVT() *SessionRequest_SendMsg { return r } +func (m *SessionRequest_SendMsg) CloneOneofVT() isSessionRequest_Body { + return m.CloneVT() +} + func (m *SessionRequest_ClearMsg) CloneVT() *SessionRequest_ClearMsg { if m == nil { return (*SessionRequest_ClearMsg)(nil) @@ -445,6 +461,10 @@ func (m *SessionRequest_ClearMsg) CloneVT() *SessionRequest_ClearMsg { return r } +func (m *SessionRequest_ClearMsg) CloneOneofVT() isSessionRequest_Body { + return m.CloneVT() +} + func (m *SessionRequest_AckMsg) CloneVT() *SessionRequest_AckMsg { if m == nil { return (*SessionRequest_AckMsg)(nil) @@ -454,6 +474,10 @@ func (m *SessionRequest_AckMsg) CloneVT() *SessionRequest_AckMsg { return r } +func (m *SessionRequest_AckMsg) CloneOneofVT() isSessionRequest_Body { + return m.CloneVT() +} + func (m *SessionInit) CloneVT() *SessionInit { if m == nil { return (*SessionInit)(nil) @@ -497,7 +521,7 @@ func (m *SessionResponse) CloneVT() *SessionResponse { } r := new(SessionResponse) if m.Body != nil { - r.Body = m.Body.(interface{ CloneVT() isSessionResponse_Body }).CloneVT() + r.Body = m.Body.(interface{ CloneOneofVT() isSessionResponse_Body }).CloneOneofVT() } if len(m.unknownFields) > 0 { r.unknownFields = make([]byte, len(m.unknownFields)) @@ -519,6 +543,10 @@ func (m *SessionResponse_Opened) CloneVT() *SessionResponse_Opened { return r } +func (m *SessionResponse_Opened) CloneOneofVT() isSessionResponse_Body { + return m.CloneVT() +} + func (m *SessionResponse_Closed) CloneVT() *SessionResponse_Closed { if m == nil { return (*SessionResponse_Closed)(nil) @@ -528,6 +556,10 @@ func (m *SessionResponse_Closed) CloneVT() *SessionResponse_Closed { return r } +func (m *SessionResponse_Closed) CloneOneofVT() isSessionResponse_Body { + return m.CloneVT() +} + func (m *SessionResponse_RecvMsg) CloneVT() *SessionResponse_RecvMsg { if m == nil { return (*SessionResponse_RecvMsg)(nil) @@ -537,6 +569,10 @@ func (m *SessionResponse_RecvMsg) CloneVT() *SessionResponse_RecvMsg { return r } +func (m *SessionResponse_RecvMsg) CloneOneofVT() isSessionResponse_Body { + return m.CloneVT() +} + func (m *SessionResponse_ClearMsg) CloneVT() *SessionResponse_ClearMsg { if m == nil { return (*SessionResponse_ClearMsg)(nil) @@ -546,6 +582,10 @@ func (m *SessionResponse_ClearMsg) CloneVT() *SessionResponse_ClearMsg { return r } +func (m *SessionResponse_ClearMsg) CloneOneofVT() isSessionResponse_Body { + return m.CloneVT() +} + func (m *SessionResponse_AckMsg) CloneVT() *SessionResponse_AckMsg { if m == nil { return (*SessionResponse_AckMsg)(nil) @@ -555,6 +595,10 @@ func (m *SessionResponse_AckMsg) CloneVT() *SessionResponse_AckMsg { return r } +func (m *SessionResponse_AckMsg) CloneOneofVT() isSessionResponse_Body { + return m.CloneVT() +} + func (this *ListenRequest) EqualVT(that *ListenRequest) bool { if this == that { return true diff --git a/signaling/rpc/signaling.pb.ts b/signaling/rpc/signaling.pb.ts index 2a81c596..e13fae64 100644 --- a/signaling/rpc/signaling.pb.ts +++ b/signaling/rpc/signaling.pb.ts @@ -3,7 +3,7 @@ /* eslint-disable */ import type { MessageType, PartialFieldInfo } from '@aptre/protobuf-es-lite' -import { createMessageType, Message } from '@aptre/protobuf-es-lite' +import { createMessageType, Message, ScalarType } from '@aptre/protobuf-es-lite' import { SignedMsg } from '../../peer/peer.pb.js' export const protobufPackage = 'signaling.rpc' @@ -15,6 +15,7 @@ export const protobufPackage = 'signaling.rpc' */ export type ListenRequest = Message<{}> +// ListenRequest contains the message type declaration for ListenRequest. export const ListenRequest: MessageType = createMessageType({ typeName: 'signaling.rpc.ListenRequest', fields: [] as readonly PartialFieldInfo[], @@ -59,6 +60,7 @@ export type ListenResponse = Message<{ } }> +// ListenResponse contains the message type declaration for ListenResponse. export const ListenResponse: MessageType = createMessageType({ typeName: 'signaling.rpc.ListenResponse', fields: [ @@ -66,14 +68,14 @@ export const ListenResponse: MessageType = createMessageType({ no: 1, name: 'set_peer', kind: 'scalar', - T: 9 /* ScalarType.STRING */, + T: ScalarType.STRING, oneof: 'body', }, { no: 2, name: 'clear_peer', kind: 'scalar', - T: 9 /* ScalarType.STRING */, + T: ScalarType.STRING, oneof: 'body', }, ] as readonly PartialFieldInfo[], @@ -94,10 +96,11 @@ export type SessionInit = Message<{ peerId?: string }> +// SessionInit contains the message type declaration for SessionInit. export const SessionInit: MessageType = createMessageType({ typeName: 'signaling.rpc.SessionInit', fields: [ - { no: 1, name: 'peer_id', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, + { no: 1, name: 'peer_id', kind: 'scalar', T: ScalarType.STRING }, ] as readonly PartialFieldInfo[], packedByDefault: true, }) @@ -122,11 +125,12 @@ export type SessionMsg = Message<{ seqno?: bigint }> +// SessionMsg contains the message type declaration for SessionMsg. export const SessionMsg: MessageType = createMessageType({ typeName: 'signaling.rpc.SessionMsg', fields: [ { no: 1, name: 'signed_msg', kind: 'message', T: () => SignedMsg }, - { no: 2, name: 'seqno', kind: 'scalar', T: 4 /* ScalarType.UINT64 */ }, + { no: 2, name: 'seqno', kind: 'scalar', T: ScalarType.UINT64 }, ] as readonly PartialFieldInfo[], packedByDefault: true, }) @@ -200,15 +204,11 @@ export type SessionRequest = Message<{ } }> +// SessionRequest contains the message type declaration for SessionRequest. export const SessionRequest: MessageType = createMessageType({ typeName: 'signaling.rpc.SessionRequest', fields: [ - { - no: 1, - name: 'session_seqno', - kind: 'scalar', - T: 4 /* ScalarType.UINT64 */, - }, + { no: 1, name: 'session_seqno', kind: 'scalar', T: ScalarType.UINT64 }, { no: 2, name: 'init', @@ -227,14 +227,14 @@ export const SessionRequest: MessageType = createMessageType({ no: 4, name: 'clear_msg', kind: 'scalar', - T: 4 /* ScalarType.UINT64 */, + T: ScalarType.UINT64, oneof: 'body', }, { no: 5, name: 'ack_msg', kind: 'scalar', - T: 4 /* ScalarType.UINT64 */, + T: ScalarType.UINT64, oneof: 'body', }, ] as readonly PartialFieldInfo[], @@ -309,6 +309,7 @@ export type SessionResponse = Message<{ } }> +// SessionResponse contains the message type declaration for SessionResponse. export const SessionResponse: MessageType = createMessageType({ typeName: 'signaling.rpc.SessionResponse', fields: [ @@ -316,14 +317,14 @@ export const SessionResponse: MessageType = createMessageType({ no: 1, name: 'opened', kind: 'scalar', - T: 4 /* ScalarType.UINT64 */, + T: ScalarType.UINT64, oneof: 'body', }, { no: 2, name: 'closed', kind: 'scalar', - T: 8 /* ScalarType.BOOL */, + T: ScalarType.BOOL, oneof: 'body', }, { @@ -337,14 +338,14 @@ export const SessionResponse: MessageType = createMessageType({ no: 4, name: 'clear_msg', kind: 'scalar', - T: 4 /* ScalarType.UINT64 */, + T: ScalarType.UINT64, oneof: 'body', }, { no: 5, name: 'ack_msg', kind: 'scalar', - T: 4 /* ScalarType.UINT64 */, + T: ScalarType.UINT64, oneof: 'body', }, ] as readonly PartialFieldInfo[], diff --git a/signaling/rpc/signaling_srpc.pb.go b/signaling/rpc/signaling_srpc.pb.go index 798831dd..2d910007 100644 --- a/signaling/rpc/signaling_srpc.pb.go +++ b/signaling/rpc/signaling_srpc.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-srpc. DO NOT EDIT. -// protoc-gen-srpc version: v0.31.12 +// protoc-gen-srpc version: v0.32.0 // source: github.com/aperturerobotics/bifrost/signaling/rpc/signaling.proto package signaling_rpc diff --git a/stream/api/accept/accept.pb.go b/stream/api/accept/accept.pb.go index fe1a7921..e08c4274 100644 --- a/stream/api/accept/accept.pb.go +++ b/stream/api/accept/accept.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-go-lite. DO NOT EDIT. -// protoc-gen-go-lite version: v0.6.0 +// protoc-gen-go-lite version: v0.6.1 // source: github.com/aperturerobotics/bifrost/stream/api/accept/accept.proto package stream_api_accept diff --git a/stream/api/accept/accept.pb.ts b/stream/api/accept/accept.pb.ts index d9bfb3cb..45a79613 100644 --- a/stream/api/accept/accept.pb.ts +++ b/stream/api/accept/accept.pb.ts @@ -3,7 +3,7 @@ /* eslint-disable */ import type { MessageType, PartialFieldInfo } from '@aptre/protobuf-es-lite' -import { createMessageType, Message } from '@aptre/protobuf-es-lite' +import { createMessageType, Message, ScalarType } from '@aptre/protobuf-es-lite' export const protobufPackage = 'stream.api.accept' @@ -42,34 +42,20 @@ export type Config = Message<{ transportId?: bigint }> +// Config contains the message type declaration for Config. export const Config: MessageType = createMessageType({ typeName: 'stream.api.accept.Config', fields: [ - { - no: 1, - name: 'local_peer_id', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - }, + { no: 1, name: 'local_peer_id', kind: 'scalar', T: ScalarType.STRING }, { no: 2, name: 'remote_peer_ids', kind: 'scalar', - T: 9 /* ScalarType.STRING */, + T: ScalarType.STRING, repeated: true, }, - { - no: 3, - name: 'protocol_id', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - }, - { - no: 4, - name: 'transport_id', - kind: 'scalar', - T: 4 /* ScalarType.UINT64 */, - }, + { no: 3, name: 'protocol_id', kind: 'scalar', T: ScalarType.STRING }, + { no: 4, name: 'transport_id', kind: 'scalar', T: ScalarType.UINT64 }, ] as readonly PartialFieldInfo[], packedByDefault: true, }) diff --git a/stream/api/api.pb.go b/stream/api/api.pb.go index b986fc1c..810d4dc7 100644 --- a/stream/api/api.pb.go +++ b/stream/api/api.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-go-lite. DO NOT EDIT. -// protoc-gen-go-lite version: v0.6.0 +// protoc-gen-go-lite version: v0.6.1 // source: github.com/aperturerobotics/bifrost/stream/api/api.proto package stream_api diff --git a/stream/api/api.pb.ts b/stream/api/api.pb.ts index 96cfd0db..b6a604dd 100644 --- a/stream/api/api.pb.ts +++ b/stream/api/api.pb.ts @@ -26,6 +26,7 @@ export type ForwardStreamsRequest = Message<{ forwardingConfig?: Config }> +// ForwardStreamsRequest contains the message type declaration for ForwardStreamsRequest. export const ForwardStreamsRequest: MessageType = createMessageType({ typeName: 'stream.api.ForwardStreamsRequest', @@ -49,6 +50,7 @@ export type ForwardStreamsResponse = Message<{ controllerStatus?: ControllerStatus }> +// ForwardStreamsResponse contains the message type declaration for ForwardStreamsResponse. export const ForwardStreamsResponse: MessageType = createMessageType({ typeName: 'stream.api.ForwardStreamsResponse', @@ -75,6 +77,7 @@ export type ListenStreamsRequest = Message<{ listeningConfig?: Config$1 }> +// ListenStreamsRequest contains the message type declaration for ListenStreamsRequest. export const ListenStreamsRequest: MessageType = createMessageType({ typeName: 'stream.api.ListenStreamsRequest', @@ -98,6 +101,7 @@ export type ListenStreamsResponse = Message<{ controllerStatus?: ControllerStatus }> +// ListenStreamsResponse contains the message type declaration for ListenStreamsResponse. export const ListenStreamsResponse: MessageType = createMessageType({ typeName: 'stream.api.ListenStreamsResponse', @@ -133,6 +137,7 @@ export type AcceptStreamRequest = Message<{ data?: Data }> +// AcceptStreamRequest contains the message type declaration for AcceptStreamRequest. export const AcceptStreamRequest: MessageType = createMessageType({ typeName: 'stream.api.AcceptStreamRequest', @@ -157,6 +162,7 @@ export type AcceptStreamResponse = Message<{ data?: Data }> +// AcceptStreamResponse contains the message type declaration for AcceptStreamResponse. export const AcceptStreamResponse: MessageType = createMessageType({ typeName: 'stream.api.AcceptStreamResponse', @@ -187,6 +193,7 @@ export type DialStreamRequest = Message<{ data?: Data }> +// DialStreamRequest contains the message type declaration for DialStreamRequest. export const DialStreamRequest: MessageType = createMessageType({ typeName: 'stream.api.DialStreamRequest', @@ -211,6 +218,7 @@ export type DialStreamResponse = Message<{ data?: Data }> +// DialStreamResponse contains the message type declaration for DialStreamResponse. export const DialStreamResponse: MessageType = createMessageType({ typeName: 'stream.api.DialStreamResponse', diff --git a/stream/api/api_srpc.pb.go b/stream/api/api_srpc.pb.go index bc215ec2..5e316837 100644 --- a/stream/api/api_srpc.pb.go +++ b/stream/api/api_srpc.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-srpc. DO NOT EDIT. -// protoc-gen-srpc version: v0.31.12 +// protoc-gen-srpc version: v0.32.0 // source: github.com/aperturerobotics/bifrost/stream/api/api.proto package stream_api diff --git a/stream/api/dial/dial.pb.go b/stream/api/dial/dial.pb.go index ec20660b..8029aeb1 100644 --- a/stream/api/dial/dial.pb.go +++ b/stream/api/dial/dial.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-go-lite. DO NOT EDIT. -// protoc-gen-go-lite version: v0.6.0 +// protoc-gen-go-lite version: v0.6.1 // source: github.com/aperturerobotics/bifrost/stream/api/dial/dial.proto package stream_api_dial diff --git a/stream/api/dial/dial.pb.ts b/stream/api/dial/dial.pb.ts index 44162530..6fdd06b7 100644 --- a/stream/api/dial/dial.pb.ts +++ b/stream/api/dial/dial.pb.ts @@ -3,7 +3,7 @@ /* eslint-disable */ import type { MessageType, PartialFieldInfo } from '@aptre/protobuf-es-lite' -import { createMessageType, Message } from '@aptre/protobuf-es-lite' +import { createMessageType, Message, ScalarType } from '@aptre/protobuf-es-lite' export const protobufPackage = 'stream.api.dial' @@ -53,30 +53,16 @@ export type Config = Message<{ reliable?: boolean }> +// Config contains the message type declaration for Config. export const Config: MessageType = createMessageType({ typeName: 'stream.api.dial.Config', fields: [ - { no: 1, name: 'peer_id', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { - no: 2, - name: 'local_peer_id', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - }, - { - no: 3, - name: 'protocol_id', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - }, - { - no: 4, - name: 'transport_id', - kind: 'scalar', - T: 4 /* ScalarType.UINT64 */, - }, - { no: 5, name: 'encrypted', kind: 'scalar', T: 8 /* ScalarType.BOOL */ }, - { no: 6, name: 'reliable', kind: 'scalar', T: 8 /* ScalarType.BOOL */ }, + { no: 1, name: 'peer_id', kind: 'scalar', T: ScalarType.STRING }, + { no: 2, name: 'local_peer_id', kind: 'scalar', T: ScalarType.STRING }, + { no: 3, name: 'protocol_id', kind: 'scalar', T: ScalarType.STRING }, + { no: 4, name: 'transport_id', kind: 'scalar', T: ScalarType.UINT64 }, + { no: 5, name: 'encrypted', kind: 'scalar', T: ScalarType.BOOL }, + { no: 6, name: 'reliable', kind: 'scalar', T: ScalarType.BOOL }, ] as readonly PartialFieldInfo[], packedByDefault: true, }) diff --git a/stream/api/rpc/rpc.pb.go b/stream/api/rpc/rpc.pb.go index a1cac7dc..59d39224 100644 --- a/stream/api/rpc/rpc.pb.go +++ b/stream/api/rpc/rpc.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-go-lite. DO NOT EDIT. -// protoc-gen-go-lite version: v0.6.0 +// protoc-gen-go-lite version: v0.6.1 // source: github.com/aperturerobotics/bifrost/stream/api/rpc/rpc.proto package stream_api_rpc diff --git a/stream/api/rpc/rpc.pb.ts b/stream/api/rpc/rpc.pb.ts index df8e539c..439a9a25 100644 --- a/stream/api/rpc/rpc.pb.ts +++ b/stream/api/rpc/rpc.pb.ts @@ -7,6 +7,7 @@ import { createEnumType, createMessageType, Message, + ScalarType, } from '@aptre/protobuf-es-lite' export const protobufPackage = 'stream.api.rpc' @@ -67,10 +68,11 @@ export type Data = Message<{ state?: StreamState }> +// Data contains the message type declaration for Data. export const Data: MessageType = createMessageType({ typeName: 'stream.api.rpc.Data', fields: [ - { no: 1, name: 'data', kind: 'scalar', T: 12 /* ScalarType.BYTES */ }, + { no: 1, name: 'data', kind: 'scalar', T: ScalarType.BYTES }, { no: 2, name: 'state', kind: 'enum', T: StreamState_Enum }, ] as readonly PartialFieldInfo[], packedByDefault: true, diff --git a/stream/echo/echo.pb.go b/stream/echo/echo.pb.go index 0250cdaa..1d95195c 100644 --- a/stream/echo/echo.pb.go +++ b/stream/echo/echo.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-go-lite. DO NOT EDIT. -// protoc-gen-go-lite version: v0.6.0 +// protoc-gen-go-lite version: v0.6.1 // source: github.com/aperturerobotics/bifrost/stream/echo/echo.proto package stream_echo diff --git a/stream/echo/echo.pb.ts b/stream/echo/echo.pb.ts index 0db90dd6..b6ed7f02 100644 --- a/stream/echo/echo.pb.ts +++ b/stream/echo/echo.pb.ts @@ -3,7 +3,7 @@ /* eslint-disable */ import type { MessageType, PartialFieldInfo } from '@aptre/protobuf-es-lite' -import { createMessageType, Message } from '@aptre/protobuf-es-lite' +import { createMessageType, Message, ScalarType } from '@aptre/protobuf-es-lite' export const protobufPackage = 'stream.echo' @@ -28,16 +28,12 @@ export type Config = Message<{ protocolId?: string }> +// Config contains the message type declaration for Config. export const Config: MessageType = createMessageType({ typeName: 'stream.echo.Config', fields: [ - { no: 1, name: 'peer_id', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { - no: 2, - name: 'protocol_id', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - }, + { no: 1, name: 'peer_id', kind: 'scalar', T: ScalarType.STRING }, + { no: 2, name: 'protocol_id', kind: 'scalar', T: ScalarType.STRING }, ] as readonly PartialFieldInfo[], packedByDefault: true, }) diff --git a/stream/forwarding/forwarding.pb.go b/stream/forwarding/forwarding.pb.go index 5299c981..45136616 100644 --- a/stream/forwarding/forwarding.pb.go +++ b/stream/forwarding/forwarding.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-go-lite. DO NOT EDIT. -// protoc-gen-go-lite version: v0.6.0 +// protoc-gen-go-lite version: v0.6.1 // source: github.com/aperturerobotics/bifrost/stream/forwarding/forwarding.proto package stream_forwarding diff --git a/stream/forwarding/forwarding.pb.ts b/stream/forwarding/forwarding.pb.ts index b03c4e74..6d47c762 100644 --- a/stream/forwarding/forwarding.pb.ts +++ b/stream/forwarding/forwarding.pb.ts @@ -3,7 +3,7 @@ /* eslint-disable */ import type { MessageType, PartialFieldInfo } from '@aptre/protobuf-es-lite' -import { createMessageType, Message } from '@aptre/protobuf-es-lite' +import { createMessageType, Message, ScalarType } from '@aptre/protobuf-es-lite' export const protobufPackage = 'stream.forwarding' @@ -34,22 +34,13 @@ export type Config = Message<{ targetMultiaddr?: string }> +// Config contains the message type declaration for Config. export const Config: MessageType = createMessageType({ typeName: 'stream.forwarding.Config', fields: [ - { no: 1, name: 'peer_id', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { - no: 2, - name: 'protocol_id', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - }, - { - no: 3, - name: 'target_multiaddr', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - }, + { no: 1, name: 'peer_id', kind: 'scalar', T: ScalarType.STRING }, + { no: 2, name: 'protocol_id', kind: 'scalar', T: ScalarType.STRING }, + { no: 3, name: 'target_multiaddr', kind: 'scalar', T: ScalarType.STRING }, ] as readonly PartialFieldInfo[], packedByDefault: true, }) diff --git a/stream/listening/listening.pb.go b/stream/listening/listening.pb.go index 37f32485..c2fd3275 100644 --- a/stream/listening/listening.pb.go +++ b/stream/listening/listening.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-go-lite. DO NOT EDIT. -// protoc-gen-go-lite version: v0.6.0 +// protoc-gen-go-lite version: v0.6.1 // source: github.com/aperturerobotics/bifrost/stream/listening/listening.proto package stream_listening diff --git a/stream/listening/listening.pb.ts b/stream/listening/listening.pb.ts index 7e3fae30..a5830563 100644 --- a/stream/listening/listening.pb.ts +++ b/stream/listening/listening.pb.ts @@ -3,7 +3,7 @@ /* eslint-disable */ import type { MessageType, PartialFieldInfo } from '@aptre/protobuf-es-lite' -import { createMessageType, Message } from '@aptre/protobuf-es-lite' +import { createMessageType, Message, ScalarType } from '@aptre/protobuf-es-lite' export const protobufPackage = 'stream.listening' @@ -59,41 +59,17 @@ export type Config = Message<{ encrypted?: boolean }> +// Config contains the message type declaration for Config. export const Config: MessageType = createMessageType({ typeName: 'stream.listening.Config', fields: [ - { - no: 1, - name: 'local_peer_id', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - }, - { - no: 2, - name: 'remote_peer_id', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - }, - { - no: 3, - name: 'protocol_id', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - }, - { - no: 4, - name: 'listen_multiaddr', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - }, - { - no: 5, - name: 'transport_id', - kind: 'scalar', - T: 4 /* ScalarType.UINT64 */, - }, - { no: 6, name: 'reliable', kind: 'scalar', T: 8 /* ScalarType.BOOL */ }, - { no: 7, name: 'encrypted', kind: 'scalar', T: 8 /* ScalarType.BOOL */ }, + { no: 1, name: 'local_peer_id', kind: 'scalar', T: ScalarType.STRING }, + { no: 2, name: 'remote_peer_id', kind: 'scalar', T: ScalarType.STRING }, + { no: 3, name: 'protocol_id', kind: 'scalar', T: ScalarType.STRING }, + { no: 4, name: 'listen_multiaddr', kind: 'scalar', T: ScalarType.STRING }, + { no: 5, name: 'transport_id', kind: 'scalar', T: ScalarType.UINT64 }, + { no: 6, name: 'reliable', kind: 'scalar', T: ScalarType.BOOL }, + { no: 7, name: 'encrypted', kind: 'scalar', T: ScalarType.BOOL }, ] as readonly PartialFieldInfo[], packedByDefault: true, }) diff --git a/stream/srpc/client/client.pb.go b/stream/srpc/client/client.pb.go index 540430b8..4e5ce3cf 100644 --- a/stream/srpc/client/client.pb.go +++ b/stream/srpc/client/client.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-go-lite. DO NOT EDIT. -// protoc-gen-go-lite version: v0.6.0 +// protoc-gen-go-lite version: v0.6.1 // source: github.com/aperturerobotics/bifrost/stream/srpc/client/client.proto package stream_srpc_client diff --git a/stream/srpc/client/client.pb.ts b/stream/srpc/client/client.pb.ts index 816d29fd..78b8ee27 100644 --- a/stream/srpc/client/client.pb.ts +++ b/stream/srpc/client/client.pb.ts @@ -3,7 +3,7 @@ /* eslint-disable */ import type { MessageType, PartialFieldInfo } from '@aptre/protobuf-es-lite' -import { createMessageType, Message } from '@aptre/protobuf-es-lite' +import { createMessageType, Message, ScalarType } from '@aptre/protobuf-es-lite' import { Backoff } from '@go/github.com/aperturerobotics/util/backoff/backoff.pb.js' export const protobufPackage = 'stream.srpc.client' @@ -50,6 +50,7 @@ export type Config = Message<{ timeoutDur?: string }> +// Config contains the message type declaration for Config. export const Config: MessageType = createMessageType({ typeName: 'stream.srpc.client.Config', fields: [ @@ -57,28 +58,13 @@ export const Config: MessageType = createMessageType({ no: 1, name: 'server_peer_ids', kind: 'scalar', - T: 9 /* ScalarType.STRING */, + T: ScalarType.STRING, repeated: true, }, { no: 2, name: 'per_server_backoff', kind: 'message', T: () => Backoff }, - { - no: 3, - name: 'src_peer_id', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - }, - { - no: 4, - name: 'transport_id', - kind: 'scalar', - T: 4 /* ScalarType.UINT64 */, - }, - { - no: 5, - name: 'timeout_dur', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - }, + { no: 3, name: 'src_peer_id', kind: 'scalar', T: ScalarType.STRING }, + { no: 4, name: 'transport_id', kind: 'scalar', T: ScalarType.UINT64 }, + { no: 5, name: 'timeout_dur', kind: 'scalar', T: ScalarType.STRING }, ] as readonly PartialFieldInfo[], packedByDefault: true, }) diff --git a/stream/srpc/client/controller/config.pb.go b/stream/srpc/client/controller/config.pb.go index 1ead8071..ad1a404c 100644 --- a/stream/srpc/client/controller/config.pb.go +++ b/stream/srpc/client/controller/config.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-go-lite. DO NOT EDIT. -// protoc-gen-go-lite version: v0.6.0 +// protoc-gen-go-lite version: v0.6.1 // source: github.com/aperturerobotics/bifrost/stream/srpc/client/controller/config.proto package stream_srpc_client_controller diff --git a/stream/srpc/client/controller/config.pb.ts b/stream/srpc/client/controller/config.pb.ts index e6713b30..ce771347 100644 --- a/stream/srpc/client/controller/config.pb.ts +++ b/stream/srpc/client/controller/config.pb.ts @@ -3,7 +3,7 @@ /* eslint-disable */ import type { MessageType, PartialFieldInfo } from '@aptre/protobuf-es-lite' -import { createMessageType, Message } from '@aptre/protobuf-es-lite' +import { createMessageType, Message, ScalarType } from '@aptre/protobuf-es-lite' import { Config as Config$1 } from '../client.pb.js' export const protobufPackage = 'stream.srpc.client.controller' @@ -41,21 +41,17 @@ export type Config = Message<{ serviceIdPrefixes?: string[] }> +// Config contains the message type declaration for Config. export const Config: MessageType = createMessageType({ typeName: 'stream.srpc.client.controller.Config', fields: [ { no: 1, name: 'client', kind: 'message', T: () => Config$1 }, - { - no: 2, - name: 'protocol_id', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - }, + { no: 2, name: 'protocol_id', kind: 'scalar', T: ScalarType.STRING }, { no: 3, name: 'service_id_prefixes', kind: 'scalar', - T: 9 /* ScalarType.STRING */, + T: ScalarType.STRING, repeated: true, }, ] as readonly PartialFieldInfo[], diff --git a/stream/srpc/server/server.pb.go b/stream/srpc/server/server.pb.go index 1237c5fa..4c03f782 100644 --- a/stream/srpc/server/server.pb.go +++ b/stream/srpc/server/server.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-go-lite. DO NOT EDIT. -// protoc-gen-go-lite version: v0.6.0 +// protoc-gen-go-lite version: v0.6.1 // source: github.com/aperturerobotics/bifrost/stream/srpc/server/server.proto package stream_srpc_server diff --git a/stream/srpc/server/server.pb.ts b/stream/srpc/server/server.pb.ts index 038e5203..7b86a661 100644 --- a/stream/srpc/server/server.pb.ts +++ b/stream/srpc/server/server.pb.ts @@ -3,7 +3,7 @@ /* eslint-disable */ import type { MessageType, PartialFieldInfo } from '@aptre/protobuf-es-lite' -import { createMessageType, Message } from '@aptre/protobuf-es-lite' +import { createMessageType, Message, ScalarType } from '@aptre/protobuf-es-lite' export const protobufPackage = 'stream.srpc.server' @@ -35,6 +35,7 @@ export type Config = Message<{ disableEstablishLink?: boolean }> +// Config contains the message type declaration for Config. export const Config: MessageType = createMessageType({ typeName: 'stream.srpc.server.Config', fields: [ @@ -42,21 +43,21 @@ export const Config: MessageType = createMessageType({ no: 1, name: 'peer_ids', kind: 'scalar', - T: 9 /* ScalarType.STRING */, + T: ScalarType.STRING, repeated: true, }, { no: 2, name: 'protocol_ids', kind: 'scalar', - T: 9 /* ScalarType.STRING */, + T: ScalarType.STRING, repeated: true, }, { no: 3, name: 'disable_establish_link', kind: 'scalar', - T: 8 /* ScalarType.BOOL */, + T: ScalarType.BOOL, }, ] as readonly PartialFieldInfo[], packedByDefault: true, diff --git a/tptaddr/controller/config.pb.go b/tptaddr/controller/config.pb.go index 7ff70d9c..a5b54730 100644 --- a/tptaddr/controller/config.pb.go +++ b/tptaddr/controller/config.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-go-lite. DO NOT EDIT. -// protoc-gen-go-lite version: v0.6.0 +// protoc-gen-go-lite version: v0.6.1 // source: github.com/aperturerobotics/bifrost/tptaddr/controller/config.proto package tptaddr_controller diff --git a/tptaddr/controller/config.pb.ts b/tptaddr/controller/config.pb.ts index 7e1aa326..03c0bf4a 100644 --- a/tptaddr/controller/config.pb.ts +++ b/tptaddr/controller/config.pb.ts @@ -17,6 +17,7 @@ export const protobufPackage = 'tptaddr.controller' */ export type Config = Message<{}> +// Config contains the message type declaration for Config. export const Config: MessageType = createMessageType({ typeName: 'tptaddr.controller.Config', fields: [] as readonly PartialFieldInfo[], diff --git a/tptaddr/static/static.pb.go b/tptaddr/static/static.pb.go index bc874b93..06cb28bf 100644 --- a/tptaddr/static/static.pb.go +++ b/tptaddr/static/static.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-go-lite. DO NOT EDIT. -// protoc-gen-go-lite version: v0.6.0 +// protoc-gen-go-lite version: v0.6.1 // source: github.com/aperturerobotics/bifrost/tptaddr/static/static.proto package tptaddr_static diff --git a/tptaddr/static/static.pb.ts b/tptaddr/static/static.pb.ts index 4e5b6997..3850ed80 100644 --- a/tptaddr/static/static.pb.ts +++ b/tptaddr/static/static.pb.ts @@ -3,7 +3,7 @@ /* eslint-disable */ import type { MessageType, PartialFieldInfo } from '@aptre/protobuf-es-lite' -import { createMessageType, Message } from '@aptre/protobuf-es-lite' +import { createMessageType, Message, ScalarType } from '@aptre/protobuf-es-lite' export const protobufPackage = 'tptaddr.static' @@ -26,6 +26,7 @@ export type Config = Message<{ addresses?: string[] }> +// Config contains the message type declaration for Config. export const Config: MessageType = createMessageType({ typeName: 'tptaddr.static.Config', fields: [ @@ -33,7 +34,7 @@ export const Config: MessageType = createMessageType({ no: 1, name: 'addresses', kind: 'scalar', - T: 9 /* ScalarType.STRING */, + T: ScalarType.STRING, repeated: true, }, ] as readonly PartialFieldInfo[], diff --git a/transport/common/conn/conn.pb.go b/transport/common/conn/conn.pb.go index 79e7e6a6..76fd4821 100644 --- a/transport/common/conn/conn.pb.go +++ b/transport/common/conn/conn.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-go-lite. DO NOT EDIT. -// protoc-gen-go-lite version: v0.6.0 +// protoc-gen-go-lite version: v0.6.1 // source: github.com/aperturerobotics/bifrost/transport/common/conn/conn.proto package conn diff --git a/transport/common/conn/conn.pb.ts b/transport/common/conn/conn.pb.ts index bfc8d655..d476dc04 100644 --- a/transport/common/conn/conn.pb.ts +++ b/transport/common/conn/conn.pb.ts @@ -3,7 +3,7 @@ /* eslint-disable */ import type { MessageType, PartialFieldInfo } from '@aptre/protobuf-es-lite' -import { createMessageType, Message } from '@aptre/protobuf-es-lite' +import { createMessageType, Message, ScalarType } from '@aptre/protobuf-es-lite' import { Opts as Opts$1 } from '../quic/quic.pb.js' export const protobufPackage = 'conn' @@ -44,13 +44,14 @@ export type Opts = Message<{ bufSize?: number }> +// Opts contains the message type declaration for Opts. export const Opts: MessageType = createMessageType({ typeName: 'conn.Opts', fields: [ { no: 1, name: 'quic', kind: 'message', T: () => Opts$1 }, - { no: 2, name: 'verbose', kind: 'scalar', T: 8 /* ScalarType.BOOL */ }, - { no: 3, name: 'mtu', kind: 'scalar', T: 13 /* ScalarType.UINT32 */ }, - { no: 4, name: 'buf_size', kind: 'scalar', T: 13 /* ScalarType.UINT32 */ }, + { no: 2, name: 'verbose', kind: 'scalar', T: ScalarType.BOOL }, + { no: 3, name: 'mtu', kind: 'scalar', T: ScalarType.UINT32 }, + { no: 4, name: 'buf_size', kind: 'scalar', T: ScalarType.UINT32 }, ] as readonly PartialFieldInfo[], packedByDefault: true, }) diff --git a/transport/common/dialer/dialer.pb.go b/transport/common/dialer/dialer.pb.go index 048baa3b..486245f3 100644 --- a/transport/common/dialer/dialer.pb.go +++ b/transport/common/dialer/dialer.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-go-lite. DO NOT EDIT. -// protoc-gen-go-lite version: v0.6.0 +// protoc-gen-go-lite version: v0.6.1 // source: github.com/aperturerobotics/bifrost/transport/common/dialer/dialer.proto package dialer diff --git a/transport/common/dialer/dialer.pb.ts b/transport/common/dialer/dialer.pb.ts index c9eefaf9..ae341029 100644 --- a/transport/common/dialer/dialer.pb.ts +++ b/transport/common/dialer/dialer.pb.ts @@ -3,7 +3,7 @@ /* eslint-disable */ import type { MessageType, PartialFieldInfo } from '@aptre/protobuf-es-lite' -import { createMessageType, Message } from '@aptre/protobuf-es-lite' +import { createMessageType, Message, ScalarType } from '@aptre/protobuf-es-lite' import { Backoff } from '@go/github.com/aperturerobotics/util/backoff/backoff.pb.js' export const protobufPackage = 'dialer' @@ -29,10 +29,11 @@ export type DialerOpts = Message<{ backoff?: Backoff }> +// DialerOpts contains the message type declaration for DialerOpts. export const DialerOpts: MessageType = createMessageType({ typeName: 'dialer.DialerOpts', fields: [ - { no: 1, name: 'address', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, + { no: 1, name: 'address', kind: 'scalar', T: ScalarType.STRING }, { no: 2, name: 'backoff', kind: 'message', T: () => Backoff }, ] as readonly PartialFieldInfo[], packedByDefault: true, diff --git a/transport/common/pconn/pconn.pb.go b/transport/common/pconn/pconn.pb.go index 686cfa42..4756e374 100644 --- a/transport/common/pconn/pconn.pb.go +++ b/transport/common/pconn/pconn.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-go-lite. DO NOT EDIT. -// protoc-gen-go-lite version: v0.6.0 +// protoc-gen-go-lite version: v0.6.1 // source: github.com/aperturerobotics/bifrost/transport/common/pconn/pconn.proto package pconn diff --git a/transport/common/pconn/pconn.pb.ts b/transport/common/pconn/pconn.pb.ts index c8aa1501..9f734757 100644 --- a/transport/common/pconn/pconn.pb.ts +++ b/transport/common/pconn/pconn.pb.ts @@ -3,7 +3,7 @@ /* eslint-disable */ import type { MessageType, PartialFieldInfo } from '@aptre/protobuf-es-lite' -import { createMessageType, Message } from '@aptre/protobuf-es-lite' +import { createMessageType, Message, ScalarType } from '@aptre/protobuf-es-lite' import { Opts as Opts$1 } from '../quic/quic.pb.js' export const protobufPackage = 'pconn' @@ -28,11 +28,12 @@ export type Opts = Message<{ verbose?: boolean }> +// Opts contains the message type declaration for Opts. export const Opts: MessageType = createMessageType({ typeName: 'pconn.Opts', fields: [ { no: 1, name: 'quic', kind: 'message', T: () => Opts$1 }, - { no: 2, name: 'verbose', kind: 'scalar', T: 8 /* ScalarType.BOOL */ }, + { no: 2, name: 'verbose', kind: 'scalar', T: ScalarType.BOOL }, ] as readonly PartialFieldInfo[], packedByDefault: true, }) diff --git a/transport/common/quic/quic.pb.go b/transport/common/quic/quic.pb.go index 9d1a4a18..911c3d6b 100644 --- a/transport/common/quic/quic.pb.go +++ b/transport/common/quic/quic.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-go-lite. DO NOT EDIT. -// protoc-gen-go-lite version: v0.6.0 +// protoc-gen-go-lite version: v0.6.1 // source: github.com/aperturerobotics/bifrost/transport/common/quic/quic.proto package transport_quic diff --git a/transport/common/quic/quic.pb.ts b/transport/common/quic/quic.pb.ts index 7558e77d..dc86ef30 100644 --- a/transport/common/quic/quic.pb.ts +++ b/transport/common/quic/quic.pb.ts @@ -3,7 +3,7 @@ /* eslint-disable */ import type { MessageType, PartialFieldInfo } from '@aptre/protobuf-es-lite' -import { createMessageType, Message } from '@aptre/protobuf-es-lite' +import { createMessageType, Message, ScalarType } from '@aptre/protobuf-es-lite' export const protobufPackage = 'transport.quic' @@ -66,6 +66,7 @@ export type Opts = Message<{ verbose?: boolean }> +// Opts contains the message type declaration for Opts. export const Opts: MessageType = createMessageType({ typeName: 'transport.quic.Opts', fields: [ @@ -73,39 +74,24 @@ export const Opts: MessageType = createMessageType({ no: 1, name: 'max_idle_timeout_dur', kind: 'scalar', - T: 9 /* ScalarType.STRING */, + T: ScalarType.STRING, }, { no: 2, name: 'max_incoming_streams', kind: 'scalar', - T: 5 /* ScalarType.INT32 */, - }, - { - no: 3, - name: 'disable_keep_alive', - kind: 'scalar', - T: 8 /* ScalarType.BOOL */, - }, - { - no: 7, - name: 'keep_alive_dur', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - }, - { - no: 4, - name: 'disable_datagrams', - kind: 'scalar', - T: 8 /* ScalarType.BOOL */, + T: ScalarType.INT32, }, + { no: 3, name: 'disable_keep_alive', kind: 'scalar', T: ScalarType.BOOL }, + { no: 7, name: 'keep_alive_dur', kind: 'scalar', T: ScalarType.STRING }, + { no: 4, name: 'disable_datagrams', kind: 'scalar', T: ScalarType.BOOL }, { no: 5, name: 'disable_path_mtu_discovery', kind: 'scalar', - T: 8 /* ScalarType.BOOL */, + T: ScalarType.BOOL, }, - { no: 6, name: 'verbose', kind: 'scalar', T: 8 /* ScalarType.BOOL */ }, + { no: 6, name: 'verbose', kind: 'scalar', T: ScalarType.BOOL }, ] as readonly PartialFieldInfo[], packedByDefault: true, }) diff --git a/transport/controller/controller.pb.go b/transport/controller/controller.pb.go index 87fa1f4b..9f74eac0 100644 --- a/transport/controller/controller.pb.go +++ b/transport/controller/controller.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-go-lite. DO NOT EDIT. -// protoc-gen-go-lite version: v0.6.0 +// protoc-gen-go-lite version: v0.6.1 // source: github.com/aperturerobotics/bifrost/transport/controller/controller.proto package transport_controller diff --git a/transport/controller/controller.pb.ts b/transport/controller/controller.pb.ts index 5a83a4b2..6641527e 100644 --- a/transport/controller/controller.pb.ts +++ b/transport/controller/controller.pb.ts @@ -3,7 +3,7 @@ /* eslint-disable */ import type { MessageType, PartialFieldInfo } from '@aptre/protobuf-es-lite' -import { createMessageType, Message } from '@aptre/protobuf-es-lite' +import { createMessageType, Message, ScalarType } from '@aptre/protobuf-es-lite' export const protobufPackage = 'transport.controller' @@ -23,15 +23,11 @@ export type StreamEstablish = Message<{ protocolId?: string }> +// StreamEstablish contains the message type declaration for StreamEstablish. export const StreamEstablish: MessageType = createMessageType({ typeName: 'transport.controller.StreamEstablish', fields: [ - { - no: 1, - name: 'protocol_id', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - }, + { no: 1, name: 'protocol_id', kind: 'scalar', T: ScalarType.STRING }, ] as readonly PartialFieldInfo[], packedByDefault: true, }) diff --git a/transport/inproc/inproc.pb.go b/transport/inproc/inproc.pb.go index 9d50d21c..acef353d 100644 --- a/transport/inproc/inproc.pb.go +++ b/transport/inproc/inproc.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-go-lite. DO NOT EDIT. -// protoc-gen-go-lite version: v0.6.0 +// protoc-gen-go-lite version: v0.6.1 // source: github.com/aperturerobotics/bifrost/transport/inproc/inproc.proto package inproc diff --git a/transport/inproc/inproc.pb.ts b/transport/inproc/inproc.pb.ts index b020eb01..60550fe8 100644 --- a/transport/inproc/inproc.pb.ts +++ b/transport/inproc/inproc.pb.ts @@ -3,7 +3,7 @@ /* eslint-disable */ import type { MessageType, PartialFieldInfo } from '@aptre/protobuf-es-lite' -import { createMessageType, Message } from '@aptre/protobuf-es-lite' +import { createMessageType, Message, ScalarType } from '@aptre/protobuf-es-lite' import { Opts } from '../common/pconn/pconn.pb.js' import { DialerOpts } from '../common/dialer/dialer.pb.js' @@ -36,21 +36,17 @@ export type Config = Message<{ dialers?: { [key: string]: DialerOpts } }> +// Config contains the message type declaration for Config. export const Config: MessageType = createMessageType({ typeName: 'inproc.Config', fields: [ - { - no: 1, - name: 'transport_peer_id', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - }, + { no: 1, name: 'transport_peer_id', kind: 'scalar', T: ScalarType.STRING }, { no: 2, name: 'packet_opts', kind: 'message', T: () => Opts }, { no: 3, name: 'dialers', kind: 'map', - K: 9 /* ScalarType.STRING */, + K: ScalarType.STRING, V: { kind: 'message', T: () => DialerOpts }, }, ] as readonly PartialFieldInfo[], diff --git a/transport/udp/udp.pb.go b/transport/udp/udp.pb.go index daa2e267..12620f71 100644 --- a/transport/udp/udp.pb.go +++ b/transport/udp/udp.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-go-lite. DO NOT EDIT. -// protoc-gen-go-lite version: v0.6.0 +// protoc-gen-go-lite version: v0.6.1 // source: github.com/aperturerobotics/bifrost/transport/udp/udp.proto package udp diff --git a/transport/udp/udp.pb.ts b/transport/udp/udp.pb.ts index 7a9a576f..48104667 100644 --- a/transport/udp/udp.pb.ts +++ b/transport/udp/udp.pb.ts @@ -3,7 +3,7 @@ /* eslint-disable */ import type { MessageType, PartialFieldInfo } from '@aptre/protobuf-es-lite' -import { createMessageType, Message } from '@aptre/protobuf-es-lite' +import { createMessageType, Message, ScalarType } from '@aptre/protobuf-es-lite' import { Opts } from '../common/pconn/pconn.pb.js' import { DialerOpts } from '../common/dialer/dialer.pb.js' @@ -43,27 +43,18 @@ export type Config = Message<{ dialers?: { [key: string]: DialerOpts } }> +// Config contains the message type declaration for Config. export const Config: MessageType = createMessageType({ typeName: 'udp.Config', fields: [ - { - no: 1, - name: 'transport_peer_id', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - }, - { - no: 2, - name: 'listen_addr', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - }, + { no: 1, name: 'transport_peer_id', kind: 'scalar', T: ScalarType.STRING }, + { no: 2, name: 'listen_addr', kind: 'scalar', T: ScalarType.STRING }, { no: 4, name: 'packet_opts', kind: 'message', T: () => Opts }, { no: 5, name: 'dialers', kind: 'map', - K: 9 /* ScalarType.STRING */, + K: ScalarType.STRING, V: { kind: 'message', T: () => DialerOpts }, }, ] as readonly PartialFieldInfo[], diff --git a/transport/webrtc/webrtc.pb.go b/transport/webrtc/webrtc.pb.go index f37588fa..68af8d1b 100644 --- a/transport/webrtc/webrtc.pb.go +++ b/transport/webrtc/webrtc.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-go-lite. DO NOT EDIT. -// protoc-gen-go-lite version: v0.6.0 +// protoc-gen-go-lite version: v0.6.1 // source: github.com/aperturerobotics/bifrost/transport/webrtc/webrtc.proto package webrtc @@ -583,8 +583,8 @@ func (m *IceServerConfig) CloneVT() *IceServerConfig { } if m.Credential != nil { r.Credential = m.Credential.(interface { - CloneVT() isIceServerConfig_Credential - }).CloneVT() + CloneOneofVT() isIceServerConfig_Credential + }).CloneOneofVT() } if len(m.unknownFields) > 0 { r.unknownFields = make([]byte, len(m.unknownFields)) @@ -606,6 +606,10 @@ func (m *IceServerConfig_Password) CloneVT() *IceServerConfig_Password { return r } +func (m *IceServerConfig_Password) CloneOneofVT() isIceServerConfig_Credential { + return m.CloneVT() +} + func (m *IceServerConfig_Oauth) CloneVT() *IceServerConfig_Oauth { if m == nil { return (*IceServerConfig_Oauth)(nil) @@ -615,13 +619,17 @@ func (m *IceServerConfig_Oauth) CloneVT() *IceServerConfig_Oauth { return r } +func (m *IceServerConfig_Oauth) CloneOneofVT() isIceServerConfig_Credential { + return m.CloneVT() +} + func (m *WebRtcSignal) CloneVT() *WebRtcSignal { if m == nil { return (*WebRtcSignal)(nil) } r := new(WebRtcSignal) if m.Body != nil { - r.Body = m.Body.(interface{ CloneVT() isWebRtcSignal_Body }).CloneVT() + r.Body = m.Body.(interface{ CloneOneofVT() isWebRtcSignal_Body }).CloneOneofVT() } if len(m.unknownFields) > 0 { r.unknownFields = make([]byte, len(m.unknownFields)) @@ -643,6 +651,10 @@ func (m *WebRtcSignal_RequestOffer) CloneVT() *WebRtcSignal_RequestOffer { return r } +func (m *WebRtcSignal_RequestOffer) CloneOneofVT() isWebRtcSignal_Body { + return m.CloneVT() +} + func (m *WebRtcSignal_Sdp) CloneVT() *WebRtcSignal_Sdp { if m == nil { return (*WebRtcSignal_Sdp)(nil) @@ -652,6 +664,10 @@ func (m *WebRtcSignal_Sdp) CloneVT() *WebRtcSignal_Sdp { return r } +func (m *WebRtcSignal_Sdp) CloneOneofVT() isWebRtcSignal_Body { + return m.CloneVT() +} + func (m *WebRtcSignal_Ice) CloneVT() *WebRtcSignal_Ice { if m == nil { return (*WebRtcSignal_Ice)(nil) @@ -661,6 +677,10 @@ func (m *WebRtcSignal_Ice) CloneVT() *WebRtcSignal_Ice { return r } +func (m *WebRtcSignal_Ice) CloneOneofVT() isWebRtcSignal_Body { + return m.CloneVT() +} + func (m *WebRtcSdp) CloneVT() *WebRtcSdp { if m == nil { return (*WebRtcSdp)(nil) diff --git a/transport/webrtc/webrtc.pb.ts b/transport/webrtc/webrtc.pb.ts index 358b3834..2f2aa3b8 100644 --- a/transport/webrtc/webrtc.pb.ts +++ b/transport/webrtc/webrtc.pb.ts @@ -7,6 +7,7 @@ import { createEnumType, createMessageType, Message, + ScalarType, } from '@aptre/protobuf-es-lite' import { Opts } from '../common/quic/quic.pb.js' import { Backoff } from '@go/github.com/aperturerobotics/util/backoff/backoff.pb.js' @@ -64,17 +65,13 @@ export type IceServerConfig_OauthCredential = Message<{ accessToken?: string }> +// IceServerConfig_OauthCredential contains the message type declaration for IceServerConfig_OauthCredential. export const IceServerConfig_OauthCredential: MessageType = createMessageType({ typeName: 'webrtc.IceServerConfig.OauthCredential', fields: [ - { no: 1, name: 'mac_key', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { - no: 2, - name: 'access_token', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - }, + { no: 1, name: 'mac_key', kind: 'scalar', T: ScalarType.STRING }, + { no: 2, name: 'access_token', kind: 'scalar', T: ScalarType.STRING }, ] as readonly PartialFieldInfo[], packedByDefault: true, }) @@ -134,6 +131,7 @@ export type IceServerConfig = Message<{ } }> +// IceServerConfig contains the message type declaration for IceServerConfig. export const IceServerConfig: MessageType = createMessageType({ typeName: 'webrtc.IceServerConfig', fields: [ @@ -141,15 +139,15 @@ export const IceServerConfig: MessageType = createMessageType({ no: 1, name: 'urls', kind: 'scalar', - T: 9 /* ScalarType.STRING */, + T: ScalarType.STRING, repeated: true, }, - { no: 2, name: 'username', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, + { no: 2, name: 'username', kind: 'scalar', T: ScalarType.STRING }, { no: 3, name: 'password', kind: 'scalar', - T: 9 /* ScalarType.STRING */, + T: ScalarType.STRING, oneof: 'credential', }, { @@ -191,6 +189,7 @@ export type WebRtcConfig = Message<{ iceCandidatePoolSize?: number }> +// WebRtcConfig contains the message type declaration for WebRtcConfig. export const WebRtcConfig: MessageType = createMessageType({ typeName: 'webrtc.WebRtcConfig', fields: [ @@ -211,7 +210,7 @@ export const WebRtcConfig: MessageType = createMessageType({ no: 3, name: 'ice_candidate_pool_size', kind: 'scalar', - T: 13 /* ScalarType.UINT32 */, + T: ScalarType.UINT32, }, ] as readonly PartialFieldInfo[], packedByDefault: true, @@ -304,27 +303,13 @@ export type Config = Message<{ verbose?: boolean }> +// Config contains the message type declaration for Config. export const Config: MessageType = createMessageType({ typeName: 'webrtc.Config', fields: [ - { - no: 1, - name: 'signaling_id', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - }, - { - no: 2, - name: 'transport_peer_id', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - }, - { - no: 3, - name: 'transport_type', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - }, + { no: 1, name: 'signaling_id', kind: 'scalar', T: ScalarType.STRING }, + { no: 2, name: 'transport_peer_id', kind: 'scalar', T: ScalarType.STRING }, + { no: 3, name: 'transport_type', kind: 'scalar', T: ScalarType.STRING }, { no: 4, name: 'quic', kind: 'message', T: () => Opts }, { no: 5, name: 'web_rtc', kind: 'message', T: () => WebRtcConfig }, { no: 6, name: 'backoff', kind: 'message', T: () => Backoff }, @@ -332,24 +317,19 @@ export const Config: MessageType = createMessageType({ no: 7, name: 'dialers', kind: 'map', - K: 9 /* ScalarType.STRING */, + K: ScalarType.STRING, V: { kind: 'message', T: () => DialerOpts }, }, - { no: 8, name: 'all_peers', kind: 'scalar', T: 8 /* ScalarType.BOOL */ }, - { - no: 9, - name: 'disable_listen', - kind: 'scalar', - T: 8 /* ScalarType.BOOL */, - }, + { no: 8, name: 'all_peers', kind: 'scalar', T: ScalarType.BOOL }, + { no: 9, name: 'disable_listen', kind: 'scalar', T: ScalarType.BOOL }, { no: 10, name: 'block_peers', kind: 'scalar', - T: 9 /* ScalarType.STRING */, + T: ScalarType.STRING, repeated: true, }, - { no: 11, name: 'verbose', kind: 'scalar', T: 8 /* ScalarType.BOOL */ }, + { no: 11, name: 'verbose', kind: 'scalar', T: ScalarType.BOOL }, ] as readonly PartialFieldInfo[], packedByDefault: true, }) @@ -382,12 +362,13 @@ export type WebRtcSdp = Message<{ sdp?: string }> +// WebRtcSdp contains the message type declaration for WebRtcSdp. export const WebRtcSdp: MessageType = createMessageType({ typeName: 'webrtc.WebRtcSdp', fields: [ - { no: 1, name: 'tx_seqno', kind: 'scalar', T: 4 /* ScalarType.UINT64 */ }, - { no: 2, name: 'sdp_type', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { no: 3, name: 'sdp', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, + { no: 1, name: 'tx_seqno', kind: 'scalar', T: ScalarType.UINT64 }, + { no: 2, name: 'sdp_type', kind: 'scalar', T: ScalarType.STRING }, + { no: 3, name: 'sdp', kind: 'scalar', T: ScalarType.STRING }, ] as readonly PartialFieldInfo[], packedByDefault: true, }) @@ -406,10 +387,11 @@ export type WebRtcIce = Message<{ candidate?: string }> +// WebRtcIce contains the message type declaration for WebRtcIce. export const WebRtcIce: MessageType = createMessageType({ typeName: 'webrtc.WebRtcIce', fields: [ - { no: 1, name: 'candidate', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, + { no: 1, name: 'candidate', kind: 'scalar', T: ScalarType.STRING }, ] as readonly PartialFieldInfo[], packedByDefault: true, }) @@ -460,6 +442,7 @@ export type WebRtcSignal = Message<{ } }> +// WebRtcSignal contains the message type declaration for WebRtcSignal. export const WebRtcSignal: MessageType = createMessageType({ typeName: 'webrtc.WebRtcSignal', fields: [ @@ -467,7 +450,7 @@ export const WebRtcSignal: MessageType = createMessageType({ no: 1, name: 'request_offer', kind: 'scalar', - T: 4 /* ScalarType.UINT64 */, + T: ScalarType.UINT64, oneof: 'body', }, { no: 2, name: 'sdp', kind: 'message', T: () => WebRtcSdp, oneof: 'body' }, diff --git a/transport/websocket/websocket.pb.go b/transport/websocket/websocket.pb.go index 1810cc6e..cfc34244 100644 --- a/transport/websocket/websocket.pb.go +++ b/transport/websocket/websocket.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-go-lite. DO NOT EDIT. -// protoc-gen-go-lite version: v0.6.0 +// protoc-gen-go-lite version: v0.6.1 // source: github.com/aperturerobotics/bifrost/transport/websocket/websocket.proto package websocket diff --git a/transport/websocket/websocket.pb.ts b/transport/websocket/websocket.pb.ts index b388714c..957a71f1 100644 --- a/transport/websocket/websocket.pb.ts +++ b/transport/websocket/websocket.pb.ts @@ -3,7 +3,7 @@ /* eslint-disable */ import type { MessageType, PartialFieldInfo } from '@aptre/protobuf-es-lite' -import { createMessageType, Message } from '@aptre/protobuf-es-lite' +import { createMessageType, Message, ScalarType } from '@aptre/protobuf-es-lite' import { Opts } from '../common/quic/quic.pb.js' import { DialerOpts } from '../common/dialer/dialer.pb.js' @@ -66,35 +66,26 @@ export type Config = Message<{ disableServePeerId?: boolean }> +// Config contains the message type declaration for Config. export const Config: MessageType = createMessageType({ typeName: 'websocket.Config', fields: [ - { - no: 1, - name: 'transport_peer_id', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - }, - { - no: 2, - name: 'listen_addr', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - }, + { no: 1, name: 'transport_peer_id', kind: 'scalar', T: ScalarType.STRING }, + { no: 2, name: 'listen_addr', kind: 'scalar', T: ScalarType.STRING }, { no: 3, name: 'quic', kind: 'message', T: () => Opts }, { no: 4, name: 'dialers', kind: 'map', - K: 9 /* ScalarType.STRING */, + K: ScalarType.STRING, V: { kind: 'message', T: () => DialerOpts }, }, - { no: 5, name: 'http_path', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, + { no: 5, name: 'http_path', kind: 'scalar', T: ScalarType.STRING }, { no: 6, name: 'disable_serve_peer_id', kind: 'scalar', - T: 8 /* ScalarType.BOOL */, + T: ScalarType.BOOL, }, ] as readonly PartialFieldInfo[], packedByDefault: true, diff --git a/yarn.lock b/yarn.lock index 9a36939d..75c1a755 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2,15 +2,15 @@ # yarn lockfile v1 -"@aptre/common@^0.15.0": - version "0.15.1" - resolved "https://registry.yarnpkg.com/@aptre/common/-/common-0.15.1.tgz#120725ae9a0a48ac0a101510afd6780670d9b8ab" - integrity sha512-uM2dimDNUPj5sj9CGLNhw5gdrT8sGl37SM0AWgVJhtflfF75fyJPKbygboLiaBHiEf02SLiIfINEdnBfOyyYGw== +"@aptre/common@^0.15.2": + version "0.15.2" + resolved "https://registry.yarnpkg.com/@aptre/common/-/common-0.15.2.tgz#e2ff139b6a7cd43adef734082badba7c93eea78e" + integrity sha512-3kQCMUYesu8Y53bBFjdphl6NFRtg+3/NUueWcF5O8Esh7wgwT1iBC2hWzDmEkJYt3TTT/mZTQBtwyR8bEUXJ7w== dependencies: - "@aptre/protobuf-es-lite" "^0.4.1" + "@aptre/protobuf-es-lite" "^0.4.3" "@typescript-eslint/eslint-plugin" "^7.8.0" "@typescript-eslint/parser" "^7.8.0" - eslint "^8.0.0" + eslint "^9.1.1" eslint-config-prettier "^9.0.0" eslint-plugin-react-hooks "^4.6.1" eslint-plugin-unused-imports "^3.2.0" @@ -27,7 +27,7 @@ uint8arrays "^5.0.0" ws "^8.4.0" -"@aptre/protobuf-es-lite@0.4.3", "@aptre/protobuf-es-lite@^0.4.0", "@aptre/protobuf-es-lite@^0.4.1", "@aptre/protobuf-es-lite@^0.4.3": +"@aptre/protobuf-es-lite@0.4.3", "@aptre/protobuf-es-lite@^0.4.3": version "0.4.3" resolved "https://registry.yarnpkg.com/@aptre/protobuf-es-lite/-/protobuf-es-lite-0.4.3.tgz#1839154a24ac19fb9f4f3bdb4fb0eccd9abdfebc" integrity sha512-qiWodq4qZ6hAbgzMKHCGjaMoQr/Zj0gn8MGkZq6Pf9T93zEuafl0EijDblqRawmU7Ow9Ogzg/kq6G5bUWGvcpQ== @@ -176,32 +176,32 @@ resolved "https://registry.yarnpkg.com/@eslint-community/regexpp/-/regexpp-4.10.0.tgz#548f6de556857c8bb73bbee70c35dc82a2e74d63" integrity sha512-Cu96Sd2By9mCNTx2iyKOmq10v22jUVQv0lQnlGNy16oE9589yE+QADPbrMGCkA51cKZSg3Pu/aTJVTGfL/qjUA== -"@eslint/eslintrc@^2.1.4": - version "2.1.4" - resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-2.1.4.tgz#388a269f0f25c1b6adc317b5a2c55714894c70ad" - integrity sha512-269Z39MS6wVJtsoUl10L60WdkhJVdPG24Q4eZTH3nnF6lpvSShEK3wQjDX9JRWAUPvPh7COouPpU9IrqaZFvtQ== +"@eslint/eslintrc@^3.0.2": + version "3.0.2" + resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-3.0.2.tgz#36180f8e85bf34d2fe3ccc2261e8e204a411ab4e" + integrity sha512-wV19ZEGEMAC1eHgrS7UQPqsdEiCIbTKTasEfcXAigzoXICcqZSjBZEHlZwNVvKg6UBCjSlos84XiLqsRJnIcIg== dependencies: ajv "^6.12.4" debug "^4.3.2" - espree "^9.6.0" - globals "^13.19.0" + espree "^10.0.1" + globals "^14.0.0" ignore "^5.2.0" import-fresh "^3.2.1" js-yaml "^4.1.0" minimatch "^3.1.2" strip-json-comments "^3.1.1" -"@eslint/js@8.57.0": - version "8.57.0" - resolved "https://registry.yarnpkg.com/@eslint/js/-/js-8.57.0.tgz#a5417ae8427873f1dd08b70b3574b453e67b5f7f" - integrity sha512-Ys+3g2TaW7gADOJzPt83SJtCDhMjndcDMFVQ/Tj9iA1BfJzFKD9mAUXT3OenpuPHbI6P/myECxRJrofUsDx/5g== +"@eslint/js@9.1.1": + version "9.1.1" + resolved "https://registry.yarnpkg.com/@eslint/js/-/js-9.1.1.tgz#eb0f82461d12779bbafc1b5045cde3143d350a8a" + integrity sha512-5WoDz3Y19Bg2BnErkZTp0en+c/i9PvgFS7MBe1+m60HjFr0hrphlAGp4yzI7pxpt4xShln4ZyYp4neJm8hmOkQ== -"@humanwhocodes/config-array@^0.11.14": - version "0.11.14" - resolved "https://registry.yarnpkg.com/@humanwhocodes/config-array/-/config-array-0.11.14.tgz#d78e481a039f7566ecc9660b4ea7fe6b1fec442b" - integrity sha512-3T8LkOmg45BV5FICb15QQMsyUSWrQ8AygVfC7ZG32zOalnqrilm018ZVCw0eapXux8FtA33q8PSRSstjee3jSg== +"@humanwhocodes/config-array@^0.13.0": + version "0.13.0" + resolved "https://registry.yarnpkg.com/@humanwhocodes/config-array/-/config-array-0.13.0.tgz#fb907624df3256d04b9aa2df50d7aa97ec648748" + integrity sha512-DZLEEqFWQFiyK6h5YIeynKx7JlvCYWL0cImfSRXZ9l4Sg2efkFGTuFf6vzXjK1cq6IYkU+Eg/JizXw+TD2vRNw== dependencies: - "@humanwhocodes/object-schema" "^2.0.2" + "@humanwhocodes/object-schema" "^2.0.3" debug "^4.3.1" minimatch "^3.0.5" @@ -210,11 +210,16 @@ resolved "https://registry.yarnpkg.com/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz#af5b2691a22b44be847b0ca81641c5fb6ad0172c" integrity sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA== -"@humanwhocodes/object-schema@^2.0.2": +"@humanwhocodes/object-schema@^2.0.3": version "2.0.3" resolved "https://registry.yarnpkg.com/@humanwhocodes/object-schema/-/object-schema-2.0.3.tgz#4a2868d75d6d6963e423bcf90b7fd1be343409d3" integrity sha512-93zYdMES/c1D69yZiKDBj0V24vqNzB/koF26KPaagAfd3P/4gUlh3Dys5ogAK+Exi9QyzlD8x/08Zt7wIKcDcA== +"@humanwhocodes/retry@^0.2.3": + version "0.2.3" + resolved "https://registry.yarnpkg.com/@humanwhocodes/retry/-/retry-0.2.3.tgz#c9aa036d1afa643f1250e83150f39efb3a15a631" + integrity sha512-X38nUbachlb01YMlvPFojKoiXq+LzZvuSce70KPMPdeM1Rj03k4dR7lDslhbqXn3Ang4EU3+EAmwEAsbrjHW3g== + "@isaacs/cliui@^8.0.2": version "8.0.2" resolved "https://registry.yarnpkg.com/@isaacs/cliui/-/cliui-8.0.2.tgz#b37667b7bc181c168782259bab42474fbf52b550" @@ -544,11 +549,6 @@ dependencies: debug "^4.1.1" -"@ungap/structured-clone@^1.2.0": - version "1.2.0" - resolved "https://registry.yarnpkg.com/@ungap/structured-clone/-/structured-clone-1.2.0.tgz#756641adb587851b5ccb3e095daf27ae581c8406" - integrity sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ== - "@vue/compiler-core@3.4.26": version "3.4.26" resolved "https://registry.yarnpkg.com/@vue/compiler-core/-/compiler-core-3.4.26.tgz#d507886520e83a6f8339ed55ed0b2b5d84b44b73" @@ -601,7 +601,7 @@ acorn-jsx@^5.3.2: resolved "https://registry.yarnpkg.com/acorn-jsx/-/acorn-jsx-5.3.2.tgz#7ed5bb55908b3b2f1bc55c6af1653bada7f07937" integrity sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ== -acorn@^8.9.0: +acorn@^8.11.3: version "8.11.3" resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.11.3.tgz#71e0b14e13a4ec160724b38fb7b0f233b1b81d7a" integrity sha512-Y9rRfJG5jcKOE0CLisYbojUjIrIEE7AGMzA/Sm4BslANhbS+cDMpgBdcPT91oJ7OuJ9hYJBx59RjbhxVnrF8Xg== @@ -881,13 +881,6 @@ dns-packet@^5.6.1: dependencies: "@leichtgewicht/ip-codec" "^2.0.1" -doctrine@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/doctrine/-/doctrine-3.0.0.tgz#addebead72a6574db783639dc87a121773973961" - integrity sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w== - dependencies: - esutils "^2.0.2" - eastasianwidth@^0.2.0: version "0.2.0" resolved "https://registry.yarnpkg.com/eastasianwidth/-/eastasianwidth-0.2.0.tgz#696ce2ec0aa0e6ea93a397ffcf24aa7840c827cb" @@ -952,54 +945,55 @@ eslint-rule-composer@^0.3.0: resolved "https://registry.yarnpkg.com/eslint-rule-composer/-/eslint-rule-composer-0.3.0.tgz#79320c927b0c5c0d3d3d2b76c8b4a488f25bbaf9" integrity sha512-bt+Sh8CtDmn2OajxvNO+BX7Wn4CIWMpTRm3MaiKPCQcnnlm0CS2mhui6QaoeQugs+3Kj2ESKEEGJUdVafwhiCg== -eslint-scope@^7.2.2: - version "7.2.2" - resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-7.2.2.tgz#deb4f92563390f32006894af62a22dba1c46423f" - integrity sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg== +eslint-scope@^8.0.1: + version "8.0.1" + resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-8.0.1.tgz#a9601e4b81a0b9171657c343fb13111688963cfc" + integrity sha512-pL8XjgP4ZOmmwfFE8mEhSxA7ZY4C+LWyqjQ3o4yWkkmD0qcMT9kkW3zWHOczhWcjTSgqycYAgwSlXvZltv65og== dependencies: esrecurse "^4.3.0" estraverse "^5.2.0" -eslint-visitor-keys@^3.3.0, eslint-visitor-keys@^3.4.1, eslint-visitor-keys@^3.4.3: +eslint-visitor-keys@^3.3.0, eslint-visitor-keys@^3.4.3: version "3.4.3" resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz#0cd72fe8550e3c2eae156a96a4dddcd1c8ac5800" integrity sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag== -eslint@^8.0.0: - version "8.57.0" - resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.57.0.tgz#c786a6fd0e0b68941aaf624596fb987089195668" - integrity sha512-dZ6+mexnaTIbSBZWgou51U6OmzIhYM2VcNdtiTtI7qPNZm35Akpr0f6vtw3w1Kmn5PYo+tZVfh13WrhpS6oLqQ== +eslint-visitor-keys@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-4.0.0.tgz#e3adc021aa038a2a8e0b2f8b0ce8f66b9483b1fb" + integrity sha512-OtIRv/2GyiF6o/d8K7MYKKbXrOUBIK6SfkIRM4Z0dY3w+LiQ0vy3F57m0Z71bjbyeiWFiHJ8brqnmE6H6/jEuw== + +eslint@^9.1.1: + version "9.1.1" + resolved "https://registry.yarnpkg.com/eslint/-/eslint-9.1.1.tgz#39ec657ccd12813cb4a1dab2f9229dcc6e468271" + integrity sha512-b4cRQ0BeZcSEzPpY2PjFY70VbO32K7BStTGtBsnIGdTSEEQzBi8hPBcGQmTG2zUvFr9uLe0TK42bw8YszuHEqg== dependencies: "@eslint-community/eslint-utils" "^4.2.0" "@eslint-community/regexpp" "^4.6.1" - "@eslint/eslintrc" "^2.1.4" - "@eslint/js" "8.57.0" - "@humanwhocodes/config-array" "^0.11.14" + "@eslint/eslintrc" "^3.0.2" + "@eslint/js" "9.1.1" + "@humanwhocodes/config-array" "^0.13.0" "@humanwhocodes/module-importer" "^1.0.1" + "@humanwhocodes/retry" "^0.2.3" "@nodelib/fs.walk" "^1.2.8" - "@ungap/structured-clone" "^1.2.0" ajv "^6.12.4" chalk "^4.0.0" cross-spawn "^7.0.2" debug "^4.3.2" - doctrine "^3.0.0" escape-string-regexp "^4.0.0" - eslint-scope "^7.2.2" - eslint-visitor-keys "^3.4.3" - espree "^9.6.1" + eslint-scope "^8.0.1" + eslint-visitor-keys "^4.0.0" + espree "^10.0.1" esquery "^1.4.2" esutils "^2.0.2" fast-deep-equal "^3.1.3" - file-entry-cache "^6.0.1" + file-entry-cache "^8.0.0" find-up "^5.0.0" glob-parent "^6.0.2" - globals "^13.19.0" - graphemer "^1.4.0" ignore "^5.2.0" imurmurhash "^0.1.4" is-glob "^4.0.0" is-path-inside "^3.0.3" - js-yaml "^4.1.0" json-stable-stringify-without-jsonify "^1.0.1" levn "^0.4.1" lodash.merge "^4.6.2" @@ -1009,14 +1003,14 @@ eslint@^8.0.0: strip-ansi "^6.0.1" text-table "^0.2.0" -espree@^9.6.0, espree@^9.6.1: - version "9.6.1" - resolved "https://registry.yarnpkg.com/espree/-/espree-9.6.1.tgz#a2a17b8e434690a5432f2f8018ce71d331a48c6f" - integrity sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ== +espree@^10.0.1: + version "10.0.1" + resolved "https://registry.yarnpkg.com/espree/-/espree-10.0.1.tgz#600e60404157412751ba4a6f3a2ee1a42433139f" + integrity sha512-MWkrWZbJsL2UwnjxTX3gG8FneachS/Mwg7tdGXce011sJd5b0JG54vat5KHnfSBODZ3Wvzd2WnjxyzsRoVv+ww== dependencies: - acorn "^8.9.0" + acorn "^8.11.3" acorn-jsx "^5.3.2" - eslint-visitor-keys "^3.4.1" + eslint-visitor-keys "^4.0.0" esprima@^4.0.0: version "4.0.1" @@ -1102,12 +1096,12 @@ fastq@^1.6.0: dependencies: reusify "^1.0.4" -file-entry-cache@^6.0.1: - version "6.0.1" - resolved "https://registry.yarnpkg.com/file-entry-cache/-/file-entry-cache-6.0.1.tgz#211b2dd9659cb0394b073e7323ac3c933d522027" - integrity sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg== +file-entry-cache@^8.0.0: + version "8.0.0" + resolved "https://registry.yarnpkg.com/file-entry-cache/-/file-entry-cache-8.0.0.tgz#7787bddcf1131bffb92636c69457bbc0edd6d81f" + integrity sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ== dependencies: - flat-cache "^3.0.4" + flat-cache "^4.0.0" fill-range@^7.0.1: version "7.0.1" @@ -1134,14 +1128,13 @@ findup-sync@^5.0.0: micromatch "^4.0.4" resolve-dir "^1.0.1" -flat-cache@^3.0.4: - version "3.2.0" - resolved "https://registry.yarnpkg.com/flat-cache/-/flat-cache-3.2.0.tgz#2c0c2d5040c99b1632771a9d105725c0115363ee" - integrity sha512-CYcENa+FtcUKLmhhqyctpclsq7QF38pKjZHsGNiSQF5r4FtoKDWabFDl3hzaEQMvT1LHEysw5twgLvpYYb4vbw== +flat-cache@^4.0.0: + version "4.0.1" + resolved "https://registry.yarnpkg.com/flat-cache/-/flat-cache-4.0.1.tgz#0ece39fcb14ee012f4b0410bd33dd9c1f011127c" + integrity sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw== dependencies: flatted "^3.2.9" - keyv "^4.5.3" - rimraf "^3.0.2" + keyv "^4.5.4" flatted@^3.2.9: version "3.3.1" @@ -1156,11 +1149,6 @@ foreground-child@^3.1.0: cross-spawn "^7.0.0" signal-exit "^4.0.1" -fs.realpath@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" - integrity sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw== - function-bind@^1.1.2: version "1.1.2" resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.2.tgz#2c02d864d97f3ea6c8830c464cbd11ab6eab7a1c" @@ -1201,18 +1189,6 @@ glob@^10.3.7: minipass "^7.0.4" path-scurry "^1.10.2" -glob@^7.1.3: - version "7.2.3" - resolved "https://registry.yarnpkg.com/glob/-/glob-7.2.3.tgz#b8df0fb802bbfa8e89bd1d938b4e16578ed44f2b" - integrity sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q== - dependencies: - fs.realpath "^1.0.0" - inflight "^1.0.4" - inherits "2" - minimatch "^3.1.1" - once "^1.3.0" - path-is-absolute "^1.0.0" - global-modules@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/global-modules/-/global-modules-1.0.0.tgz#6d770f0eb523ac78164d72b5e71a8877265cc3ea" @@ -1238,12 +1214,10 @@ globals@^11.1.0: resolved "https://registry.yarnpkg.com/globals/-/globals-11.12.0.tgz#ab8795338868a0babd8525758018c2a7eb95c42e" integrity sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA== -globals@^13.19.0: - version "13.24.0" - resolved "https://registry.yarnpkg.com/globals/-/globals-13.24.0.tgz#8432a19d78ce0c1e833949c36adb345400bb1171" - integrity sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ== - dependencies: - type-fest "^0.20.2" +globals@^14.0.0: + version "14.0.0" + resolved "https://registry.yarnpkg.com/globals/-/globals-14.0.0.tgz#898d7413c29babcf6bafe56fcadded858ada724e" + integrity sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ== globby@^11.1.0: version "11.1.0" @@ -1314,19 +1288,6 @@ imurmurhash@^0.1.4: resolved "https://registry.yarnpkg.com/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea" integrity sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA== -inflight@^1.0.4: - version "1.0.6" - resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9" - integrity sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA== - dependencies: - once "^1.3.0" - wrappy "1" - -inherits@2: - version "2.0.4" - resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c" - integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== - ini@^1.3.4: version "1.3.8" resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.8.tgz#a29da425b48806f34767a4efce397269af28432c" @@ -1508,7 +1469,7 @@ json5@^2.2.3: resolved "https://registry.yarnpkg.com/json5/-/json5-2.2.3.tgz#78cd6f1a19bdc12b73db5ad0c61efd66c1e29283" integrity sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg== -keyv@^4.5.3: +keyv@^4.5.4: version "4.5.4" resolved "https://registry.yarnpkg.com/keyv/-/keyv-4.5.4.tgz#a879a99e29452f942439f2a405e3af8b31d4de93" integrity sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw== @@ -1582,7 +1543,7 @@ micromatch@^4.0.4: braces "^3.0.2" picomatch "^2.3.1" -minimatch@^3.0.4, minimatch@^3.0.5, minimatch@^3.1.1, minimatch@^3.1.2: +minimatch@^3.0.4, minimatch@^3.0.5, minimatch@^3.1.2: version "3.1.2" resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.1.2.tgz#19cd194bfd3e428f049a70817c038d89ab4be35b" integrity sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw== @@ -1649,13 +1610,6 @@ netmask@^2.0.2: resolved "https://registry.yarnpkg.com/netmask/-/netmask-2.0.2.tgz#8b01a07644065d536383835823bc52004ebac5e7" integrity sha512-dBpDMdxv9Irdq66304OLfEmQ9tbNRFnFTuZiLo+bD+r332bBmMJ8GBLXklIXXgxd3+v9+KUnZaUR5PJMa75Gsg== -once@^1.3.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" - integrity sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w== - dependencies: - wrappy "1" - optionator@^0.9.3: version "0.9.4" resolved "https://registry.yarnpkg.com/optionator/-/optionator-0.9.4.tgz#7ea1c1a5d91d764fb282139c88fe11e182a3a734" @@ -1727,11 +1681,6 @@ path-exists@^4.0.0: resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-4.0.0.tgz#513bdbe2d3b95d7762e8c1137efa195c6c61b5b3" integrity sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w== -path-is-absolute@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f" - integrity sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg== - path-key@^3.1.0: version "3.1.1" resolved "https://registry.yarnpkg.com/path-key/-/path-key-3.1.1.tgz#581f6ade658cbba65a0d3380de7753295054f375" @@ -1886,13 +1835,6 @@ reusify@^1.0.4: resolved "https://registry.yarnpkg.com/reusify/-/reusify-1.0.4.tgz#90da382b1e126efc02146e90845a88db12925d76" integrity sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw== -rimraf@^3.0.2: - version "3.0.2" - resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-3.0.2.tgz#f1a5402ba6220ad52cc1282bac1ae3aa49fd061a" - integrity sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA== - dependencies: - glob "^7.1.3" - rimraf@^5.0.5: version "5.0.5" resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-5.0.5.tgz#9be65d2d6e683447d2e9013da2bf451139a61ccf" @@ -1970,6 +1912,25 @@ starpc@^0.32.0: uint8arraylist "^2.4.7" ws "^8.17.0" +starpc@^0.32.2: + version "0.32.2" + resolved "https://registry.yarnpkg.com/starpc/-/starpc-0.32.2.tgz#45c22bf59c120340b179f9936946384866ed315b" + integrity sha512-n0Jgf7tLzPDKpz1EL/Y6GhQQhVk5d7l5LWQn7LRZsiMs9siC6HtKGf0WcS7ScJloAPS11eWylLuIdhmca+gpfw== + dependencies: + "@aptre/it-ws" "^1.0.0" + "@aptre/protobuf-es-lite" "^0.4.3" + "@chainsafe/libp2p-yamux" "^6.0.2" + "@libp2p/interface" "^1.3.1" + "@libp2p/logger" "^4.0.12" + event-iterator "^2.0.0" + isomorphic-ws "^5.0.0" + it-first "^3.0.6" + it-pipe "^3.0.1" + it-pushable "^3.2.3" + it-stream-types "^2.0.1" + uint8arraylist "^2.4.7" + ws "^8.17.0" + "string-width-cjs@npm:string-width@^4.2.0": version "4.2.3" resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" @@ -2076,11 +2037,6 @@ type-check@^0.4.0, type-check@~0.4.0: dependencies: prelude-ls "^1.2.1" -type-fest@^0.20.2: - version "0.20.2" - resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.20.2.tgz#1bf207f4b28f91583666cb5fbd327887301cd5f4" - integrity sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ== - typescript@^5.4.4: version "5.4.5" resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.4.5.tgz#42ccef2c571fdbd0f6718b1d1f5e6e5ef006f611" @@ -2166,11 +2122,6 @@ wrap-ansi@^8.1.0: string-width "^5.0.1" strip-ansi "^7.0.1" -wrappy@1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" - integrity sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ== - ws@^8.17.0, ws@^8.4.0: version "8.17.0" resolved "https://registry.yarnpkg.com/ws/-/ws-8.17.0.tgz#d145d18eca2ed25aaf791a183903f7be5e295fea"