diff --git a/daemon/api/api.pb.ts b/daemon/api/api.pb.ts index 650659cc..37c0e04e 100644 --- a/daemon/api/api.pb.ts +++ b/daemon/api/api.pb.ts @@ -2,9 +2,9 @@ // @generated from file github.com/aperturerobotics/bifrost/daemon/api/api.proto (package bifrost.api, syntax proto3) /* eslint-disable */ -import type { MessageType, PartialFieldInfo } from '@aptre/protobuf-es-lite' -import { createMessageType, Message } from '@aptre/protobuf-es-lite' import { Config as Config$1 } from '@go/github.com/aperturerobotics/controllerbus/bus/api/api.pb.js' +import type { MessageType, PartialFieldInfo } from '@aptre/protobuf-es-lite' +import { createMessageType } from '@aptre/protobuf-es-lite' export const protobufPackage = 'bifrost.api' @@ -13,14 +13,14 @@ export const protobufPackage = 'bifrost.api' * * @generated from message bifrost.api.Config */ -export type Config = Message<{ +export interface Config { /** * BusConfig configures the bus api. * * @generated from field: bus.api.Config bus_config = 1; */ busConfig?: Config$1 -}> +} // Config contains the message type declaration for Config. export const Config: MessageType = createMessageType({ diff --git a/daemon/api/controller/controller.pb.ts b/daemon/api/controller/controller.pb.ts index 0c896186..f497d01c 100644 --- a/daemon/api/controller/controller.pb.ts +++ b/daemon/api/controller/controller.pb.ts @@ -2,10 +2,10 @@ // @generated from file github.com/aperturerobotics/bifrost/daemon/api/controller/controller.proto (package bifrost.api.controller, syntax proto3) /* eslint-disable */ -import type { MessageType, PartialFieldInfo } 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' +import type { MessageType, PartialFieldInfo } from '@aptre/protobuf-es-lite' +import { createMessageType, ScalarType } from '@aptre/protobuf-es-lite' export const protobufPackage = 'bifrost.api.controller' @@ -14,7 +14,7 @@ export const protobufPackage = 'bifrost.api.controller' * * @generated from message bifrost.api.controller.Config */ -export type Config = Message<{ +export interface Config { /** * ListenAddr is the address to listen on for connections. * @@ -40,7 +40,7 @@ export type Config = Message<{ * @generated from field: bus.api.Config bus_api_config = 4; */ busApiConfig?: Config$2 -}> +} // Config contains the message type declaration for Config. export const Config: MessageType = createMessageType({ diff --git a/entitygraph/config.pb.ts b/entitygraph/config.pb.ts index d29cd4b7..d7868a63 100644 --- a/entitygraph/config.pb.ts +++ b/entitygraph/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 } from '@aptre/protobuf-es-lite' export const protobufPackage = 'bifrost.entitygraph' @@ -12,7 +12,7 @@ export const protobufPackage = 'bifrost.entitygraph' * * @generated from message bifrost.entitygraph.Config */ -export type Config = Message<{}> +export interface Config {} // Config contains the message type declaration for Config. export const Config: MessageType = createMessageType({ diff --git a/go.mod b/go.mod index 39417319..32f656e8 100644 --- a/go.mod +++ b/go.mod @@ -3,18 +3,18 @@ module github.com/aperturerobotics/bifrost go 1.22 require ( - github.com/aperturerobotics/common v0.16.6 // latest - github.com/aperturerobotics/controllerbus v0.45.5 // latest + github.com/aperturerobotics/common v0.16.8 // latest + github.com/aperturerobotics/controllerbus v0.45.6 // latest github.com/aperturerobotics/entitygraph v0.9.1 // latest github.com/aperturerobotics/protobuf-go-lite v0.6.5 // latest - github.com/aperturerobotics/starpc v0.32.11 // latest - github.com/aperturerobotics/util v1.23.4 // master + github.com/aperturerobotics/starpc v0.32.12 // latest + github.com/aperturerobotics/util v1.23.5 // master ) // aperture: use compatibility forks replace ( github.com/ipfs/go-log/v2 => github.com/paralin/ipfs-go-logrus v0.0.0-20240410105224-e24cb05f9e98 // master - github.com/libp2p/go-libp2p => github.com/aperturerobotics/go-libp2p v0.33.1-0.20240511072027-002c32698a19 // aperture + github.com/libp2p/go-libp2p => github.com/aperturerobotics/go-libp2p v0.33.1-0.20240511223728-e0b67c111765 // aperture github.com/libp2p/go-msgio => github.com/aperturerobotics/go-libp2p-msgio v0.0.0-20240511033615-1b69178aa5c8 // aperture github.com/multiformats/go-multiaddr => github.com/aperturerobotics/go-multiaddr v0.12.4-0.20240407071906-6f0354cc6755 // aperture github.com/multiformats/go-multihash => github.com/aperturerobotics/go-multihash v0.2.3 // aperture diff --git a/go.sum b/go.sum index 06d73318..13c96a79 100644 --- a/go.sum +++ b/go.sum @@ -4,14 +4,14 @@ 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.16.6 h1:xSeQAJkari6JHNwycngVNP5t59CSVDrpqm9xvIsVo48= -github.com/aperturerobotics/common v0.16.6/go.mod h1:CNUQ4LRn9e2zwKKrWMZiKoywhWV9+Wpn3QPn9uE2E7Y= -github.com/aperturerobotics/controllerbus v0.45.5 h1:2gxMGx/TrelhGd8Fv1+lZ2JxNiJAN4zz98JHzB572oM= -github.com/aperturerobotics/controllerbus v0.45.5/go.mod h1:Xa8bH9OF61SsghTXh6jxUDG71xWAXwOQGest+oI0ChI= +github.com/aperturerobotics/common v0.16.8 h1:uKHIqQ+NMkn7G+dSUEvP/ZvjA0M5i/aXO/7l5GSeC/8= +github.com/aperturerobotics/common v0.16.8/go.mod h1:CNUQ4LRn9e2zwKKrWMZiKoywhWV9+Wpn3QPn9uE2E7Y= +github.com/aperturerobotics/controllerbus v0.45.6 h1:njOmC3ki3MIS3jUaPNbEe0zGqRYDvkqGWNLK6ZIt7LY= +github.com/aperturerobotics/controllerbus v0.45.6/go.mod h1:ie4PXjT+WlVMutRJlhG/Yr6Bhounzus6ZMDpUEyzf9c= github.com/aperturerobotics/entitygraph v0.9.1 h1:bCl0Q9N1hkQnOtdCYz7pNSYqH+5CY3EUCuD19dQmJeI= github.com/aperturerobotics/entitygraph v0.9.1/go.mod h1:40VoNXSslWQieSS4V3HyzqOOZnRiGxItj/qZYSHg8Rw= -github.com/aperturerobotics/go-libp2p v0.33.1-0.20240511072027-002c32698a19 h1:ZpnWhPCmYo//h1Jx9iOGPGG1cbFRM7Ij+ms+mCK6RUo= -github.com/aperturerobotics/go-libp2p v0.33.1-0.20240511072027-002c32698a19/go.mod h1:/TIElEA8TzmHQTgGJQyzg0zHNZRCMYbdKyOsKwn9i6E= +github.com/aperturerobotics/go-libp2p v0.33.1-0.20240511223728-e0b67c111765 h1:KTSK6vPrh6gaT6CH0G2yAnmlcdjsc9Bk5JCqSeePrUw= +github.com/aperturerobotics/go-libp2p v0.33.1-0.20240511223728-e0b67c111765/go.mod h1:/TIElEA8TzmHQTgGJQyzg0zHNZRCMYbdKyOsKwn9i6E= github.com/aperturerobotics/go-libp2p-msgio v0.0.0-20240511033615-1b69178aa5c8 h1:S9prTCDvkYfJ9ATV+B1yoNESE5w5dbFM5GmriXRG0Lk= github.com/aperturerobotics/go-libp2p-msgio v0.0.0-20240511033615-1b69178aa5c8/go.mod h1:fK2s0Xpx0LYL2YQpYGJ7H+QwrC8+EgZ4Dd4G/vaLMW8= github.com/aperturerobotics/go-multiaddr v0.12.4-0.20240407071906-6f0354cc6755 h1:VWOdcRKb6Y+N2SvBT9UmgxllGJTud4ya0AIc0/JVGxw= @@ -26,10 +26,10 @@ github.com/aperturerobotics/protobuf-go-lite v0.6.5 h1:AuPPcZ7ZaJe9ZYYC4gF7/5/Xb github.com/aperturerobotics/protobuf-go-lite v0.6.5/go.mod h1:YTbfnUj3feSULhs8VgepAHFnF3wUc0CPj4jd2axy21I= github.com/aperturerobotics/quic-go v0.43.1-0.20240504081906-25e38f065e10 h1:xtQ4K5XBgTSO47KbLYYEy9Y3HWLGeVNlbJXw1RfAXt4= github.com/aperturerobotics/quic-go v0.43.1-0.20240504081906-25e38f065e10/go.mod h1:IWwvw/rjosC5aPDuEgzbRPNlZSHC4b4ABztoalIe59g= -github.com/aperturerobotics/starpc v0.32.11 h1:u7YdybGmhJI8yBUvEHxyBOh19j6KgxAkSLltTkvIFI4= -github.com/aperturerobotics/starpc v0.32.11/go.mod h1:CVH9wMjd4jjsD5xo/SCQu2vFv8u1etYG7+7FVDavH6w= -github.com/aperturerobotics/util v1.23.4 h1:IXkVoN3Cc+5U5Rhd5hC00VGgL1PainhpaTyz5IPkc8I= -github.com/aperturerobotics/util v1.23.4/go.mod h1:y/BGl05icfllBf7l51IMJ6UOjpsDscAPt3ynhDZrwZ4= +github.com/aperturerobotics/starpc v0.32.12 h1:ImN0h1Y9wpSGPmuXIwJVZgzomxqxqkFi5BM0BJpj1UU= +github.com/aperturerobotics/starpc v0.32.12/go.mod h1:CVH9wMjd4jjsD5xo/SCQu2vFv8u1etYG7+7FVDavH6w= +github.com/aperturerobotics/util v1.23.5 h1:OkqrAI3fJGwNyMk7WNpYZD9CvkTemxSZinqb1RzFvHY= +github.com/aperturerobotics/util v1.23.5/go.mod h1:SBLeMheuujF7z+CZM58iPV9yvEwDiHrPIWUjdf0vVFY= 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= diff --git a/hash/hash.pb.ts b/hash/hash.pb.ts index 76f879a6..f4d5c967 100644 --- a/hash/hash.pb.ts +++ b/hash/hash.pb.ts @@ -6,7 +6,6 @@ import type { MessageType, PartialFieldInfo } from '@aptre/protobuf-es-lite' import { createEnumType, createMessageType, - Message, ScalarType, } from '@aptre/protobuf-es-lite' @@ -62,7 +61,7 @@ export const HashType_Enum = createEnumType('hash.HashType', [ * * @generated from message hash.Hash */ -export type Hash = Message<{ +export interface Hash { /** * HashType is the hash type in use. * @@ -75,7 +74,7 @@ export type Hash = Message<{ * @generated from field: bytes hash = 2; */ hash?: Uint8Array -}> +} // Hash contains the message type declaration for Hash. export const Hash: MessageType = createMessageType({ diff --git a/http/listener/config.pb.ts b/http/listener/config.pb.ts index 18c72f37..7e55fd5f 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, ScalarType } from '@aptre/protobuf-es-lite' +import { createMessageType, ScalarType } from '@aptre/protobuf-es-lite' export const protobufPackage = 'bifrost.http.listener' @@ -14,7 +14,7 @@ export const protobufPackage = 'bifrost.http.listener' * * @generated from message bifrost.http.listener.Config */ -export type Config = Message<{ +export interface Config { /** * Addr is the address to listen. * @@ -51,7 +51,7 @@ export type Config = Message<{ * @generated from field: bool wait = 5; */ wait?: boolean -}> +} // Config contains the message type declaration for Config. export const Config: MessageType = createMessageType({ diff --git a/link/establish/config.pb.ts b/link/establish/config.pb.ts index 49513694..1ed69123 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, ScalarType } from '@aptre/protobuf-es-lite' +import { createMessageType, ScalarType } from '@aptre/protobuf-es-lite' export const protobufPackage = 'link.establish.controller' @@ -13,7 +13,7 @@ export const protobufPackage = 'link.establish.controller' * * @generated from message link.establish.controller.Config */ -export type Config = Message<{ +export interface Config { /** * PeerIds is the list of peer IDs to attempt to establish links to. * @@ -27,7 +27,7 @@ export type Config = Message<{ * @generated from field: string src_peer_id = 2; */ srcPeerId?: string -}> +} // Config contains the message type declaration for Config. export const Config: MessageType = createMessageType({ diff --git a/link/hold-open/config.pb.ts b/link/hold-open/config.pb.ts index 638cd32e..02bb56a2 100644 --- a/link/hold-open/config.pb.ts +++ b/link/hold-open/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 } from '@aptre/protobuf-es-lite' export const protobufPackage = 'link.holdopen.controller' @@ -14,7 +14,7 @@ export const protobufPackage = 'link.holdopen.controller' * * @generated from message link.holdopen.controller.Config */ -export type Config = Message<{}> +export interface Config {} // Config contains the message type declaration for Config. export const Config: MessageType = createMessageType({ diff --git a/package.json b/package.json index c349ad67..e0870d50 100644 --- a/package.json +++ b/package.json @@ -44,17 +44,17 @@ "singleQuote": true }, "devDependencies": { - "@aptre/common": "^0.16.4", + "@aptre/common": "^0.16.8", "depcheck": "^1.4.6", "prettier": "^3.1.1", "rimraf": "^5.0.6", "typescript": "^5.4.4" }, "dependencies": { - "@aptre/protobuf-es-lite": "^0.4.3", - "starpc": "^0.32.10" + "@aptre/protobuf-es-lite": "^0.4.5", + "starpc": "^0.32.12" }, "resolutions": { - "@aptre/protobuf-es-lite": "0.4.4" + "@aptre/protobuf-es-lite": "0.4.5" } } diff --git a/peer/api/api.pb.ts b/peer/api/api.pb.ts index 958baa7b..c68fa8ed 100644 --- a/peer/api/api.pb.ts +++ b/peer/api/api.pb.ts @@ -2,9 +2,9 @@ // @generated from file github.com/aperturerobotics/bifrost/peer/api/api.proto (package peer.api, syntax proto3) /* eslint-disable */ -import type { MessageType, PartialFieldInfo } from '@aptre/protobuf-es-lite' -import { createMessageType, Message, ScalarType } from '@aptre/protobuf-es-lite' import { Config } from '../controller/config.pb.js' +import type { MessageType, PartialFieldInfo } from '@aptre/protobuf-es-lite' +import { createMessageType, ScalarType } from '@aptre/protobuf-es-lite' 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' @@ -15,14 +15,14 @@ export const protobufPackage = 'peer.api' * * @generated from message peer.api.IdentifyRequest */ -export type IdentifyRequest = Message<{ +export interface IdentifyRequest { /** * Config is the request to configure the peer controller. * * @generated from field: peer.controller.Config config = 1; */ config?: Config -}> +} // IdentifyRequest contains the message type declaration for IdentifyRequest. export const IdentifyRequest: MessageType = createMessageType({ @@ -38,14 +38,14 @@ export const IdentifyRequest: MessageType = createMessageType({ * * @generated from message peer.api.IdentifyResponse */ -export type IdentifyResponse = Message<{ +export interface IdentifyResponse { /** * ControllerStatus is the status of the peer controller. * * @generated from field: controller.exec.ControllerStatus controller_status = 1; */ controllerStatus?: ControllerStatus -}> +} // IdentifyResponse contains the message type declaration for IdentifyResponse. export const IdentifyResponse: MessageType = @@ -67,14 +67,14 @@ export const IdentifyResponse: MessageType = * * @generated from message peer.api.GetPeerInfoRequest */ -export type GetPeerInfoRequest = Message<{ +export interface GetPeerInfoRequest { /** * PeerId restricts the response to a specific peer ID. * * @generated from field: string peer_id = 1; */ peerId?: string -}> +} // GetPeerInfoRequest contains the message type declaration for GetPeerInfoRequest. export const GetPeerInfoRequest: MessageType = @@ -91,14 +91,14 @@ export const GetPeerInfoRequest: MessageType = * * @generated from message peer.api.PeerInfo */ -export type PeerInfo = Message<{ +export interface PeerInfo { /** * PeerId is the b58 peer ID. * * @generated from field: string peer_id = 1; */ peerId?: string -}> +} // PeerInfo contains the message type declaration for PeerInfo. export const PeerInfo: MessageType = createMessageType({ @@ -114,14 +114,14 @@ export const PeerInfo: MessageType = createMessageType({ * * @generated from message peer.api.GetPeerInfoResponse */ -export type GetPeerInfoResponse = Message<{ +export interface GetPeerInfoResponse { /** * LocalPeers is the set of peers loaded. * * @generated from field: repeated peer.api.PeerInfo local_peers = 1; */ localPeers?: PeerInfo[] -}> +} // GetPeerInfoResponse contains the message type declaration for GetPeerInfoResponse. export const GetPeerInfoResponse: MessageType = diff --git a/peer/api/api_srpc.pb.go b/peer/api/api_srpc.pb.go index 72065773..f3722eae 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.32.9 +// protoc-gen-srpc version: v0.32.11 // source: github.com/aperturerobotics/bifrost/peer/api/api.proto package peer_api diff --git a/peer/controller/config.pb.ts b/peer/controller/config.pb.ts index cbae173e..e18530c7 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, ScalarType } from '@aptre/protobuf-es-lite' +import { createMessageType, ScalarType } from '@aptre/protobuf-es-lite' export const protobufPackage = 'peer.controller' @@ -12,7 +12,7 @@ export const protobufPackage = 'peer.controller' * * @generated from message peer.controller.Config */ -export type Config = Message<{ +export interface Config { /** * PrivKey is the peer private key in either b58 or PEM format. * See confparse.MarshalPrivateKey. @@ -36,7 +36,7 @@ export type Config = Message<{ * @generated from field: string peer_id = 3; */ peerId?: string -}> +} // Config contains the message type declaration for Config. export const Config: MessageType = createMessageType({ diff --git a/peer/peer.pb.ts b/peer/peer.pb.ts index db5771e8..3dade481 100644 --- a/peer/peer.pb.ts +++ b/peer/peer.pb.ts @@ -2,10 +2,10 @@ // @generated from file github.com/aperturerobotics/bifrost/peer/peer.proto (package peer, syntax proto3) /* eslint-disable */ -import type { MessageType, PartialFieldInfo } 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 type { MessageType, PartialFieldInfo } from '@aptre/protobuf-es-lite' +import { createMessageType, ScalarType } from '@aptre/protobuf-es-lite' export const protobufPackage = 'peer' @@ -14,7 +14,7 @@ export const protobufPackage = 'peer' * * @generated from message peer.Signature */ -export type Signature = Message<{ +export interface Signature { /** * PubKey is the public key of the peer. * May be empty if the public key is to be inferred from context. @@ -36,7 +36,7 @@ export type Signature = Message<{ * @generated from field: bytes sig_data = 3; */ sigData?: Uint8Array -}> +} // Signature contains the message type declaration for Signature. export const Signature: MessageType = createMessageType({ @@ -54,7 +54,7 @@ export const Signature: MessageType = createMessageType({ * * @generated from message peer.SignedMsg */ -export type SignedMsg = Message<{ +export interface SignedMsg { /** * FromPeerId is the peer identifier of the sender. * @@ -74,7 +74,7 @@ export type SignedMsg = Message<{ * @generated from field: bytes data = 3; */ data?: Uint8Array -}> +} // SignedMsg contains the message type declaration for SignedMsg. export const SignedMsg: MessageType = createMessageType({ diff --git a/pubsub/api/api.pb.ts b/pubsub/api/api.pb.ts index 96009f08..4f0f5c08 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, ScalarType } from '@aptre/protobuf-es-lite' +import { createMessageType, ScalarType } from '@aptre/protobuf-es-lite' export const protobufPackage = 'pubsub.api' @@ -12,7 +12,7 @@ export const protobufPackage = 'pubsub.api' * * @generated from message pubsub.api.PublishRequest */ -export type PublishRequest = Message<{ +export interface PublishRequest { /** * Data is the published data. * @@ -26,7 +26,7 @@ export type PublishRequest = Message<{ * @generated from field: uint32 identifier = 2; */ identifier?: number -}> +} // PublishRequest contains the message type declaration for PublishRequest. export const PublishRequest: MessageType = createMessageType({ @@ -43,7 +43,7 @@ export const PublishRequest: MessageType = createMessageType({ * * @generated from message pubsub.api.SubscribeRequest */ -export type SubscribeRequest = Message<{ +export interface SubscribeRequest { /** * ChannelId is the channel id to subscribe to. * Must be sent before / with publish. @@ -72,7 +72,7 @@ export type SubscribeRequest = Message<{ * @generated from field: pubsub.api.PublishRequest publish_request = 4; */ publishRequest?: PublishRequest -}> +} // SubscribeRequest contains the message type declaration for SubscribeRequest. export const SubscribeRequest: MessageType = @@ -97,7 +97,7 @@ export const SubscribeRequest: MessageType = * * @generated from message pubsub.api.IncomingMessage */ -export type IncomingMessage = Message<{ +export interface IncomingMessage { /** * FromPeerId is the peer identifier of the sender. * @@ -116,7 +116,7 @@ export type IncomingMessage = Message<{ * @generated from field: bytes data = 3; */ data?: Uint8Array -}> +} // IncomingMessage contains the message type declaration for IncomingMessage. export const IncomingMessage: MessageType = createMessageType({ @@ -134,7 +134,7 @@ export const IncomingMessage: MessageType = createMessageType({ * * @generated from message pubsub.api.OutgoingStatus */ -export type OutgoingStatus = Message<{ +export interface OutgoingStatus { /** * Identifier is the request-provided identifier for the message. * @@ -147,7 +147,7 @@ export type OutgoingStatus = Message<{ * @generated from field: bool sent = 2; */ sent?: boolean -}> +} // OutgoingStatus contains the message type declaration for OutgoingStatus. export const OutgoingStatus: MessageType = createMessageType({ @@ -164,14 +164,14 @@ export const OutgoingStatus: MessageType = createMessageType({ * * @generated from message pubsub.api.SubscriptionStatus */ -export type SubscriptionStatus = Message<{ +export interface SubscriptionStatus { /** * Subscribed indicates the subscription is established. * * @generated from field: bool subscribed = 1; */ subscribed?: boolean -}> +} // SubscriptionStatus contains the message type declaration for SubscriptionStatus. export const SubscriptionStatus: MessageType = @@ -188,7 +188,7 @@ export const SubscriptionStatus: MessageType = * * @generated from message pubsub.api.SubscribeResponse */ -export type SubscribeResponse = Message<{ +export interface SubscribeResponse { /** * IncomingMessage is an incoming message. * @@ -208,7 +208,7 @@ export type SubscribeResponse = Message<{ * @generated from field: pubsub.api.SubscriptionStatus subscription_status = 3; */ subscriptionStatus?: SubscriptionStatus -}> +} // SubscribeResponse contains the message type declaration for SubscribeResponse. export const SubscribeResponse: MessageType = diff --git a/pubsub/api/api_srpc.pb.go b/pubsub/api/api_srpc.pb.go index 7dc3d92c..c73db52d 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.32.9 +// protoc-gen-srpc version: v0.32.11 // source: github.com/aperturerobotics/bifrost/pubsub/api/api.proto package pubsub_api diff --git a/pubsub/floodsub/controller/config.pb.ts b/pubsub/floodsub/controller/config.pb.ts index 2dd2b501..5d332a04 100644 --- a/pubsub/floodsub/controller/config.pb.ts +++ b/pubsub/floodsub/controller/config.pb.ts @@ -2,9 +2,9 @@ // @generated from file github.com/aperturerobotics/bifrost/pubsub/floodsub/controller/config.proto (package floodsub.controller, syntax proto3) /* eslint-disable */ -import type { MessageType, PartialFieldInfo } from '@aptre/protobuf-es-lite' -import { createMessageType, Message } from '@aptre/protobuf-es-lite' import { Config as Config$1 } from '../floodsub.pb.js' +import type { MessageType, PartialFieldInfo } from '@aptre/protobuf-es-lite' +import { createMessageType } from '@aptre/protobuf-es-lite' export const protobufPackage = 'floodsub.controller' @@ -13,14 +13,14 @@ export const protobufPackage = 'floodsub.controller' * * @generated from message floodsub.controller.Config */ -export type Config = Message<{ +export interface Config { /** * FloodsubConfig are pubsub provider specific configuration variables. * * @generated from field: floodsub.Config floodsub_config = 1; */ floodsubConfig?: Config$1 -}> +} // Config contains the message type declaration for Config. export const Config: MessageType = createMessageType({ diff --git a/pubsub/floodsub/floodsub.pb.ts b/pubsub/floodsub/floodsub.pb.ts index 00553f82..190d9243 100644 --- a/pubsub/floodsub/floodsub.pb.ts +++ b/pubsub/floodsub/floodsub.pb.ts @@ -2,10 +2,10 @@ // @generated from file github.com/aperturerobotics/bifrost/pubsub/floodsub/floodsub.proto (package floodsub, syntax proto3) /* eslint-disable */ -import type { MessageType, PartialFieldInfo } 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 type { MessageType, PartialFieldInfo } from '@aptre/protobuf-es-lite' +import { createMessageType, ScalarType } from '@aptre/protobuf-es-lite' import { SignedMsg } from '../../peer/peer.pb.js' export const protobufPackage = 'floodsub' @@ -15,7 +15,7 @@ export const protobufPackage = 'floodsub' * * @generated from message floodsub.Config */ -export type Config = Message<{ +export interface Config { /** * PublishHashType is the hash type to use when signing published messages. * Defaults to sha256 @@ -23,7 +23,7 @@ export type Config = Message<{ * @generated from field: hash.HashType publish_hash_type = 1; */ publishHashType?: HashType -}> +} // Config contains the message type declaration for Config. export const Config: MessageType = createMessageType({ @@ -39,7 +39,7 @@ export const Config: MessageType = createMessageType({ * * @generated from message floodsub.SubscriptionOpts */ -export type SubscriptionOpts = Message<{ +export interface SubscriptionOpts { /** * Subscribe indicates if we are subscribing to this channel ID. * @@ -52,7 +52,7 @@ export type SubscriptionOpts = Message<{ * @generated from field: string channel_id = 2; */ channelId?: string -}> +} // SubscriptionOpts contains the message type declaration for SubscriptionOpts. export const SubscriptionOpts: MessageType = @@ -70,7 +70,7 @@ export const SubscriptionOpts: MessageType = * * @generated from message floodsub.Packet */ -export type Packet = Message<{ +export interface Packet { /** * Subscriptions contains any new subscription changes. * @@ -83,7 +83,7 @@ export type Packet = Message<{ * @generated from field: repeated peer.SignedMsg publish = 2; */ publish?: SignedMsg[] -}> +} // Packet contains the message type declaration for Packet. export const Packet: MessageType = createMessageType({ diff --git a/pubsub/nats/controller/config.pb.ts b/pubsub/nats/controller/config.pb.ts index 75443d5e..cf483c05 100644 --- a/pubsub/nats/controller/config.pb.ts +++ b/pubsub/nats/controller/config.pb.ts @@ -2,9 +2,9 @@ // @generated from file github.com/aperturerobotics/bifrost/pubsub/nats/controller/config.proto (package nats.controller, syntax proto3) /* eslint-disable */ -import type { MessageType, PartialFieldInfo } from '@aptre/protobuf-es-lite' -import { createMessageType, Message, ScalarType } from '@aptre/protobuf-es-lite' import { Config as Config$1 } from '../nats.pb.js' +import type { MessageType, PartialFieldInfo } from '@aptre/protobuf-es-lite' +import { createMessageType, ScalarType } from '@aptre/protobuf-es-lite' export const protobufPackage = 'nats.controller' @@ -13,7 +13,7 @@ export const protobufPackage = 'nats.controller' * * @generated from message nats.controller.Config */ -export type Config = Message<{ +export interface Config { /** * PeerID sets the peer ID to attach the server to. * Must be set. @@ -28,7 +28,7 @@ export type Config = Message<{ * @generated from field: nats.Config nats_config = 2; */ natsConfig?: Config$1 -}> +} // Config contains the message type declaration for Config. export const Config: MessageType = createMessageType({ diff --git a/pubsub/nats/nats.pb.ts b/pubsub/nats/nats.pb.ts index 0e12b1b1..d05e77c4 100644 --- a/pubsub/nats/nats.pb.ts +++ b/pubsub/nats/nats.pb.ts @@ -6,7 +6,6 @@ import type { MessageType, PartialFieldInfo } from '@aptre/protobuf-es-lite' import { createEnumType, createMessageType, - Message, ScalarType, } from '@aptre/protobuf-es-lite' import type { HashType } from '../../hash/hash.pb.js' @@ -57,7 +56,7 @@ export const NatsConnType_Enum = createEnumType('nats.NatsConnType', [ * * @generated from message nats.Config */ -export type Config = Message<{ +export interface Config { /** * ClusterName is the cluster ID string to use. * This must be the same on all nodes. @@ -93,7 +92,7 @@ export type Config = Message<{ * @generated from field: bool log_trace_verbose = 5; */ logTraceVerbose?: boolean -}> +} // Config contains the message type declaration for Config. export const Config: MessageType = createMessageType({ diff --git a/pubsub/relay/config.pb.ts b/pubsub/relay/config.pb.ts index 04b0cdb9..98c0da6d 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, ScalarType } from '@aptre/protobuf-es-lite' +import { createMessageType, ScalarType } from '@aptre/protobuf-es-lite' export const protobufPackage = 'pubsub.relay' @@ -13,7 +13,7 @@ export const protobufPackage = 'pubsub.relay' * * @generated from message pubsub.relay.Config */ -export type Config = Message<{ +export interface Config { /** * PeerId is the peer ID to look up and use private key for. * @@ -26,7 +26,7 @@ export type Config = Message<{ * @generated from field: repeated string topic_ids = 2; */ topicIds?: string[] -}> +} // Config contains the message type declaration for Config. export const Config: MessageType = createMessageType({ diff --git a/pubsub/util/pubmessage/pubmessage.pb.ts b/pubsub/util/pubmessage/pubmessage.pb.ts index b10dfd55..7532ced3 100644 --- a/pubsub/util/pubmessage/pubmessage.pb.ts +++ b/pubsub/util/pubmessage/pubmessage.pb.ts @@ -5,7 +5,6 @@ import type { MessageType, PartialFieldInfo } from '@aptre/protobuf-es-lite' import { createMessageType, - Message, ScalarType, Timestamp, } from '@aptre/protobuf-es-lite' @@ -17,7 +16,7 @@ export const protobufPackage = 'pubmessage' * * @generated from message pubmessage.PubMessageInner */ -export type PubMessageInner = Message<{ +export interface PubMessageInner { /** * Data is the message data. * @@ -36,7 +35,7 @@ export type PubMessageInner = Message<{ * @generated from field: google.protobuf.Timestamp timestamp = 3; */ timestamp?: Date -}> +} // PubMessageInner contains the message type declaration for PubMessageInner. export const PubMessageInner: MessageType = createMessageType({ diff --git a/rpc/access/access.pb.ts b/rpc/access/access.pb.ts index 2c3c9a46..19e9cc71 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, ScalarType } from '@aptre/protobuf-es-lite' +import { createMessageType, ScalarType } from '@aptre/protobuf-es-lite' export const protobufPackage = 'bifrost.rpc.access' @@ -12,7 +12,7 @@ export const protobufPackage = 'bifrost.rpc.access' * * @generated from message bifrost.rpc.access.LookupRpcServiceRequest */ -export type LookupRpcServiceRequest = Message<{ +export interface LookupRpcServiceRequest { /** * ServiceId is the service identifier. * @@ -26,7 +26,7 @@ export type LookupRpcServiceRequest = Message<{ * @generated from field: string server_id = 2; */ serverId?: string -}> +} // LookupRpcServiceRequest contains the message type declaration for LookupRpcServiceRequest. export const LookupRpcServiceRequest: MessageType = @@ -44,7 +44,7 @@ export const LookupRpcServiceRequest: MessageType = * * @generated from message bifrost.rpc.access.LookupRpcServiceResponse */ -export type LookupRpcServiceResponse = Message<{ +export interface LookupRpcServiceResponse { /** * Idle indicates the directive is now idle. * @@ -63,7 +63,7 @@ export type LookupRpcServiceResponse = Message<{ * @generated from field: bool removed = 3; */ removed?: boolean -}> +} // LookupRpcServiceResponse contains the message type declaration for LookupRpcServiceResponse. export const LookupRpcServiceResponse: MessageType = diff --git a/rpc/access/access_srpc.pb.go b/rpc/access/access_srpc.pb.go index b8a726b4..830e18f8 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.32.9 +// protoc-gen-srpc version: v0.32.11 // source: github.com/aperturerobotics/bifrost/rpc/access/access.proto package bifrost_rpc_access diff --git a/signaling/echo/echo.pb.ts b/signaling/echo/echo.pb.ts index 861bfc4d..8b50d313 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, ScalarType } from '@aptre/protobuf-es-lite' +import { createMessageType, ScalarType } from '@aptre/protobuf-es-lite' export const protobufPackage = 'signaling.echo' @@ -12,7 +12,7 @@ export const protobufPackage = 'signaling.echo' * * @generated from message signaling.echo.Config */ -export type Config = Message<{ +export interface Config { /** * SignalingId is the incoming signaling ID to handle and echo messages. * Cannot be empty. @@ -20,7 +20,7 @@ export type Config = Message<{ * @generated from field: string signaling_id = 1; */ signalingId?: string -}> +} // Config contains the message type declaration for Config. export const Config: MessageType = createMessageType({ diff --git a/signaling/rpc/client/config.pb.ts b/signaling/rpc/client/config.pb.ts index 72c2dfe9..33019da6 100644 --- a/signaling/rpc/client/config.pb.ts +++ b/signaling/rpc/client/config.pb.ts @@ -2,10 +2,10 @@ // @generated from file github.com/aperturerobotics/bifrost/signaling/rpc/client/config.proto (package signaling.rpc.client, syntax proto3) /* eslint-disable */ -import type { MessageType, PartialFieldInfo } 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' +import type { MessageType, PartialFieldInfo } from '@aptre/protobuf-es-lite' +import { createMessageType, ScalarType } from '@aptre/protobuf-es-lite' export const protobufPackage = 'signaling.rpc.client' @@ -14,7 +14,7 @@ export const protobufPackage = 'signaling.rpc.client' * * @generated from message signaling.rpc.client.Config */ -export type Config = Message<{ +export interface Config { /** * SignalingId is the signaling channel ID. * Filters which SignalPeer directives will be handled. @@ -65,7 +65,7 @@ export type Config = Message<{ * @generated from field: bool disable_listen = 7; */ disableListen?: boolean -}> +} // Config contains the message type declaration for Config. export const Config: MessageType = createMessageType({ diff --git a/signaling/rpc/server/server.pb.ts b/signaling/rpc/server/server.pb.ts index 3432ff38..ac788ffe 100644 --- a/signaling/rpc/server/server.pb.ts +++ b/signaling/rpc/server/server.pb.ts @@ -2,9 +2,9 @@ // @generated from file github.com/aperturerobotics/bifrost/signaling/rpc/server/server.proto (package signaling.rpc.server, syntax proto3) /* eslint-disable */ -import type { MessageType, PartialFieldInfo } from '@aptre/protobuf-es-lite' -import { createMessageType, Message } from '@aptre/protobuf-es-lite' import { Config as Config$1 } from '../../../stream/srpc/server/server.pb.js' +import type { MessageType, PartialFieldInfo } from '@aptre/protobuf-es-lite' +import { createMessageType } from '@aptre/protobuf-es-lite' export const protobufPackage = 'signaling.rpc.server' @@ -13,14 +13,14 @@ export const protobufPackage = 'signaling.rpc.server' * * @generated from message signaling.rpc.server.Config */ -export type Config = Message<{ +export interface Config { /** * Server configures the peer ids and protocol ids to listen on. * * @generated from field: stream.srpc.server.Config server = 1; */ server?: Config$1 -}> +} // Config contains the message type declaration for Config. export const Config: MessageType = createMessageType({ diff --git a/signaling/rpc/signaling.pb.ts b/signaling/rpc/signaling.pb.ts index e13fae64..e620e13a 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, ScalarType } from '@aptre/protobuf-es-lite' +import { createMessageType, ScalarType } from '@aptre/protobuf-es-lite' import { SignedMsg } from '../../peer/peer.pb.js' export const protobufPackage = 'signaling.rpc' @@ -13,7 +13,7 @@ export const protobufPackage = 'signaling.rpc' * * @generated from message signaling.rpc.ListenRequest */ -export type ListenRequest = Message<{}> +export interface ListenRequest {} // ListenRequest contains the message type declaration for ListenRequest. export const ListenRequest: MessageType = createMessageType({ @@ -27,7 +27,7 @@ export const ListenRequest: MessageType = createMessageType({ * * @generated from message signaling.rpc.ListenResponse */ -export type ListenResponse = Message<{ +export interface ListenResponse { /** * Body is the body of the response. * @@ -58,7 +58,7 @@ export type ListenResponse = Message<{ value: string case: 'clearPeer' } -}> +} // ListenResponse contains the message type declaration for ListenResponse. export const ListenResponse: MessageType = createMessageType({ @@ -87,14 +87,14 @@ export const ListenResponse: MessageType = createMessageType({ * * @generated from message signaling.rpc.SessionInit */ -export type SessionInit = Message<{ +export interface SessionInit { /** * PeerId is the remote peer id we want to contact. * * @generated from field: string peer_id = 1; */ peerId?: string -}> +} // SessionInit contains the message type declaration for SessionInit. export const SessionInit: MessageType = createMessageType({ @@ -110,7 +110,7 @@ export const SessionInit: MessageType = createMessageType({ * * @generated from message signaling.rpc.SessionMsg */ -export type SessionMsg = Message<{ +export interface SessionMsg { /** * SignedMsg is the signed message body. * @@ -123,7 +123,7 @@ export type SessionMsg = Message<{ * @generated from field: uint64 seqno = 2; */ seqno?: bigint -}> +} // SessionMsg contains the message type declaration for SessionMsg. export const SessionMsg: MessageType = createMessageType({ @@ -140,7 +140,7 @@ export const SessionMsg: MessageType = createMessageType({ * * @generated from message signaling.rpc.SessionRequest */ -export type SessionRequest = Message<{ +export interface SessionRequest { /** * SessionSeqno is the session sequence number. * If this doesn't match the current session no, this pkt will be dropped. @@ -202,7 +202,7 @@ export type SessionRequest = Message<{ value: bigint case: 'ackMsg' } -}> +} // SessionRequest contains the message type declaration for SessionRequest. export const SessionRequest: MessageType = createMessageType({ @@ -246,7 +246,7 @@ export const SessionRequest: MessageType = createMessageType({ * * @generated from message signaling.rpc.SessionResponse */ -export type SessionResponse = Message<{ +export interface SessionResponse { /** * Body is the body of the request. * @@ -307,7 +307,7 @@ export type SessionResponse = Message<{ value: bigint case: 'ackMsg' } -}> +} // SessionResponse contains the message type declaration for SessionResponse. export const SessionResponse: MessageType = createMessageType({ diff --git a/signaling/rpc/signaling_srpc.pb.go b/signaling/rpc/signaling_srpc.pb.go index efdc3575..1b9b3c97 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.32.9 +// protoc-gen-srpc version: v0.32.11 // source: github.com/aperturerobotics/bifrost/signaling/rpc/signaling.proto package signaling_rpc diff --git a/stream/api/accept/accept.pb.ts b/stream/api/accept/accept.pb.ts index 45a79613..76b5c2e7 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, ScalarType } from '@aptre/protobuf-es-lite' +import { createMessageType, ScalarType } from '@aptre/protobuf-es-lite' export const protobufPackage = 'stream.api.accept' @@ -12,7 +12,7 @@ export const protobufPackage = 'stream.api.accept' * * @generated from message stream.api.accept.Config */ -export type Config = Message<{ +export interface Config { /** * LocalPeerId is the peer ID to accept incoming connections with. * Can be empty to accept any peer. @@ -40,7 +40,7 @@ export type Config = Message<{ * @generated from field: uint64 transport_id = 4; */ transportId?: bigint -}> +} // Config contains the message type declaration for Config. export const Config: MessageType = createMessageType({ diff --git a/stream/api/api.pb.ts b/stream/api/api.pb.ts index b6a604dd..8952443c 100644 --- a/stream/api/api.pb.ts +++ b/stream/api/api.pb.ts @@ -2,9 +2,9 @@ // @generated from file github.com/aperturerobotics/bifrost/stream/api/api.proto (package stream.api, syntax proto3) /* eslint-disable */ -import type { MessageType, PartialFieldInfo } from '@aptre/protobuf-es-lite' -import { createMessageType, Message } from '@aptre/protobuf-es-lite' import { Config } from '../forwarding/forwarding.pb.js' +import type { MessageType, PartialFieldInfo } from '@aptre/protobuf-es-lite' +import { createMessageType } from '@aptre/protobuf-es-lite' 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' import { Config as Config$1 } from '../listening/listening.pb.js' @@ -19,12 +19,12 @@ export const protobufPackage = 'stream.api' * * @generated from message stream.api.ForwardStreamsRequest */ -export type ForwardStreamsRequest = Message<{ +export interface ForwardStreamsRequest { /** * @generated from field: stream.forwarding.Config forwarding_config = 1; */ forwardingConfig?: Config -}> +} // ForwardStreamsRequest contains the message type declaration for ForwardStreamsRequest. export const ForwardStreamsRequest: MessageType = @@ -41,14 +41,14 @@ export const ForwardStreamsRequest: MessageType = * * @generated from message stream.api.ForwardStreamsResponse */ -export type ForwardStreamsResponse = Message<{ +export interface ForwardStreamsResponse { /** * ControllerStatus is the status of the forwarding controller. * * @generated from field: controller.exec.ControllerStatus controller_status = 1; */ controllerStatus?: ControllerStatus -}> +} // ForwardStreamsResponse contains the message type declaration for ForwardStreamsResponse. export const ForwardStreamsResponse: MessageType = @@ -70,12 +70,12 @@ export const ForwardStreamsResponse: MessageType = * * @generated from message stream.api.ListenStreamsRequest */ -export type ListenStreamsRequest = Message<{ +export interface ListenStreamsRequest { /** * @generated from field: stream.listening.Config listening_config = 1; */ listeningConfig?: Config$1 -}> +} // ListenStreamsRequest contains the message type declaration for ListenStreamsRequest. export const ListenStreamsRequest: MessageType = @@ -92,14 +92,14 @@ export const ListenStreamsRequest: MessageType = * * @generated from message stream.api.ListenStreamsResponse */ -export type ListenStreamsResponse = Message<{ +export interface ListenStreamsResponse { /** * ControllerStatus is the status of the forwarding controller. * * @generated from field: controller.exec.ControllerStatus controller_status = 1; */ controllerStatus?: ControllerStatus -}> +} // ListenStreamsResponse contains the message type declaration for ListenStreamsResponse. export const ListenStreamsResponse: MessageType = @@ -121,7 +121,7 @@ export const ListenStreamsResponse: MessageType = * * @generated from message stream.api.AcceptStreamRequest */ -export type AcceptStreamRequest = Message<{ +export interface AcceptStreamRequest { /** * Config is the configuration for the accept. * The first packet will contain this value. @@ -135,7 +135,7 @@ export type AcceptStreamRequest = Message<{ * @generated from field: stream.api.rpc.Data data = 2; */ data?: Data -}> +} // AcceptStreamRequest contains the message type declaration for AcceptStreamRequest. export const AcceptStreamRequest: MessageType = @@ -153,14 +153,14 @@ export const AcceptStreamRequest: MessageType = * * @generated from message stream.api.AcceptStreamResponse */ -export type AcceptStreamResponse = Message<{ +export interface AcceptStreamResponse { /** * Data is a data packet. * * @generated from field: stream.api.rpc.Data data = 1; */ data?: Data -}> +} // AcceptStreamResponse contains the message type declaration for AcceptStreamResponse. export const AcceptStreamResponse: MessageType = @@ -177,7 +177,7 @@ export const AcceptStreamResponse: MessageType = * * @generated from message stream.api.DialStreamRequest */ -export type DialStreamRequest = Message<{ +export interface DialStreamRequest { /** * Config is the configuration for the dial. * The first packet will contain this value. @@ -191,7 +191,7 @@ export type DialStreamRequest = Message<{ * @generated from field: stream.api.rpc.Data data = 2; */ data?: Data -}> +} // DialStreamRequest contains the message type declaration for DialStreamRequest. export const DialStreamRequest: MessageType = @@ -209,14 +209,14 @@ export const DialStreamRequest: MessageType = * * @generated from message stream.api.DialStreamResponse */ -export type DialStreamResponse = Message<{ +export interface DialStreamResponse { /** * Data is a data packet. * * @generated from field: stream.api.rpc.Data data = 1; */ data?: Data -}> +} // DialStreamResponse contains the message type declaration for DialStreamResponse. export const DialStreamResponse: MessageType = diff --git a/stream/api/api_srpc.pb.go b/stream/api/api_srpc.pb.go index 446eeea6..f5118e00 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.32.9 +// protoc-gen-srpc version: v0.32.11 // source: github.com/aperturerobotics/bifrost/stream/api/api.proto package stream_api diff --git a/stream/api/dial/dial.pb.ts b/stream/api/dial/dial.pb.ts index 6fdd06b7..cc307f29 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, ScalarType } from '@aptre/protobuf-es-lite' +import { createMessageType, ScalarType } from '@aptre/protobuf-es-lite' export const protobufPackage = 'stream.api.dial' @@ -12,7 +12,7 @@ export const protobufPackage = 'stream.api.dial' * * @generated from message stream.api.dial.Config */ -export type Config = Message<{ +export interface Config { /** * PeerId is the remote peer ID to dial. * @@ -51,7 +51,7 @@ export type Config = Message<{ * @generated from field: bool reliable = 6; */ reliable?: boolean -}> +} // Config contains the message type declaration for Config. export const Config: MessageType = createMessageType({ diff --git a/stream/api/rpc/rpc.pb.ts b/stream/api/rpc/rpc.pb.ts index 439a9a25..6db9da2c 100644 --- a/stream/api/rpc/rpc.pb.ts +++ b/stream/api/rpc/rpc.pb.ts @@ -6,7 +6,6 @@ import type { MessageType, PartialFieldInfo } from '@aptre/protobuf-es-lite' import { createEnumType, createMessageType, - Message, ScalarType, } from '@aptre/protobuf-es-lite' @@ -52,7 +51,7 @@ export const StreamState_Enum = createEnumType('stream.api.rpc.StreamState', [ * * @generated from message stream.api.rpc.Data */ -export type Data = Message<{ +export interface Data { /** * State indicates stream state in-band. * Data is packet data from the remote. @@ -66,7 +65,7 @@ export type Data = Message<{ * @generated from field: stream.api.rpc.StreamState state = 2; */ state?: StreamState -}> +} // Data contains the message type declaration for Data. export const Data: MessageType = createMessageType({ diff --git a/stream/echo/echo.pb.ts b/stream/echo/echo.pb.ts index b6ed7f02..0c4cb290 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, ScalarType } from '@aptre/protobuf-es-lite' +import { createMessageType, ScalarType } from '@aptre/protobuf-es-lite' export const protobufPackage = 'stream.echo' @@ -12,7 +12,7 @@ export const protobufPackage = 'stream.echo' * * @generated from message stream.echo.Config */ -export type Config = Message<{ +export interface Config { /** * PeerId is the peer ID to echo for. * Can be empty. @@ -26,7 +26,7 @@ export type Config = Message<{ * @generated from field: string protocol_id = 2; */ protocolId?: string -}> +} // Config contains the message type declaration for Config. export const Config: MessageType = createMessageType({ diff --git a/stream/forwarding/forwarding.pb.ts b/stream/forwarding/forwarding.pb.ts index fabeec8f..ed5e0565 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, ScalarType } from '@aptre/protobuf-es-lite' +import { createMessageType, ScalarType } from '@aptre/protobuf-es-lite' export const protobufPackage = 'stream.forwarding' @@ -12,7 +12,7 @@ export const protobufPackage = 'stream.forwarding' * * @generated from message stream.forwarding.Config */ -export type Config = Message<{ +export interface Config { /** * PeerId is the peer ID to listen for incoming streams. * Can be empty to accept any. @@ -33,7 +33,7 @@ export type Config = Message<{ * @generated from field: string target_multiaddr = 3; */ targetMultiaddr?: string -}> +} // Config contains the message type declaration for Config. export const Config: MessageType = createMessageType({ diff --git a/stream/listening/listening.pb.ts b/stream/listening/listening.pb.ts index a5830563..832dc2e6 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, ScalarType } from '@aptre/protobuf-es-lite' +import { createMessageType, ScalarType } from '@aptre/protobuf-es-lite' export const protobufPackage = 'stream.listening' @@ -12,7 +12,7 @@ export const protobufPackage = 'stream.listening' * * @generated from message stream.listening.Config */ -export type Config = Message<{ +export interface Config { /** * LocalPeerId is the peer ID to forward incoming connections with. * Can be empty. @@ -57,7 +57,7 @@ export type Config = Message<{ * @generated from field: bool encrypted = 7; */ encrypted?: boolean -}> +} // Config contains the message type declaration for Config. export const Config: MessageType = createMessageType({ diff --git a/stream/relay/relay.pb.ts b/stream/relay/relay.pb.ts index 8304921b..5aeedf51 100644 --- a/stream/relay/relay.pb.ts +++ b/stream/relay/relay.pb.ts @@ -3,7 +3,7 @@ /* eslint-disable */ import type { MessageType, PartialFieldInfo } from '@aptre/protobuf-es-lite' -import { createMessageType, Message, ScalarType } from '@aptre/protobuf-es-lite' +import { createMessageType, ScalarType } from '@aptre/protobuf-es-lite' export const protobufPackage = 'stream.relay' @@ -12,7 +12,7 @@ export const protobufPackage = 'stream.relay' * * @generated from message stream.relay.Config */ -export type Config = Message<{ +export interface Config { /** * PeerId is the peer ID to listen for incoming streams. * Can be empty to accept any. @@ -41,7 +41,7 @@ export type Config = Message<{ * @generated from field: string target_protocol_id = 4; */ targetProtocolId?: string -}> +} // Config contains the message type declaration for Config. export const Config: MessageType = createMessageType({ diff --git a/stream/srpc/client/client.pb.ts b/stream/srpc/client/client.pb.ts index 78b8ee27..51030cb8 100644 --- a/stream/srpc/client/client.pb.ts +++ b/stream/srpc/client/client.pb.ts @@ -2,9 +2,9 @@ // @generated from file github.com/aperturerobotics/bifrost/stream/srpc/client/client.proto (package stream.srpc.client, syntax proto3) /* eslint-disable */ -import type { MessageType, PartialFieldInfo } 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' +import type { MessageType, PartialFieldInfo } from '@aptre/protobuf-es-lite' +import { createMessageType, ScalarType } from '@aptre/protobuf-es-lite' export const protobufPackage = 'stream.srpc.client' @@ -13,7 +13,7 @@ export const protobufPackage = 'stream.srpc.client' * * @generated from message stream.srpc.client.Config */ -export type Config = Message<{ +export interface Config { /** * ServerPeerIds are the static list of peer IDs to contact. * @@ -48,7 +48,7 @@ export type Config = Message<{ * @generated from field: string timeout_dur = 5; */ timeoutDur?: string -}> +} // Config contains the message type declaration for Config. export const Config: MessageType = createMessageType({ diff --git a/stream/srpc/client/controller/config.pb.ts b/stream/srpc/client/controller/config.pb.ts index ce771347..c7180fbe 100644 --- a/stream/srpc/client/controller/config.pb.ts +++ b/stream/srpc/client/controller/config.pb.ts @@ -2,9 +2,9 @@ // @generated from file github.com/aperturerobotics/bifrost/stream/srpc/client/controller/config.proto (package stream.srpc.client.controller, syntax proto3) /* eslint-disable */ -import type { MessageType, PartialFieldInfo } from '@aptre/protobuf-es-lite' -import { createMessageType, Message, ScalarType } from '@aptre/protobuf-es-lite' import { Config as Config$1 } from '../client.pb.js' +import type { MessageType, PartialFieldInfo } from '@aptre/protobuf-es-lite' +import { createMessageType, ScalarType } from '@aptre/protobuf-es-lite' export const protobufPackage = 'stream.srpc.client.controller' @@ -14,7 +14,7 @@ export const protobufPackage = 'stream.srpc.client.controller' * * @generated from message stream.srpc.client.controller.Config */ -export type Config = Message<{ +export interface Config { /** * Client contains srpc.client configuration for the RPC client. * @@ -39,7 +39,7 @@ export type Config = Message<{ * @generated from field: repeated string service_id_prefixes = 3; */ serviceIdPrefixes?: string[] -}> +} // Config contains the message type declaration for Config. export const Config: MessageType = createMessageType({ diff --git a/stream/srpc/server/server.pb.ts b/stream/srpc/server/server.pb.ts index 7b86a661..34871be9 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, ScalarType } from '@aptre/protobuf-es-lite' +import { createMessageType, ScalarType } from '@aptre/protobuf-es-lite' export const protobufPackage = 'stream.srpc.server' @@ -12,7 +12,7 @@ export const protobufPackage = 'stream.srpc.server' * * @generated from message stream.srpc.server.Config */ -export type Config = Message<{ +export interface Config { /** * PeerIds are the list of peer IDs to listen on. * If empty, allows any incoming peer id w/ the protocol id(s). @@ -33,7 +33,7 @@ export type Config = Message<{ * @generated from field: bool disable_establish_link = 3; */ disableEstablishLink?: boolean -}> +} // Config contains the message type declaration for Config. export const Config: MessageType = createMessageType({ diff --git a/tptaddr/controller/config.pb.ts b/tptaddr/controller/config.pb.ts index 03c0bf4a..fa3e3825 100644 --- a/tptaddr/controller/config.pb.ts +++ b/tptaddr/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 } from '@aptre/protobuf-es-lite' export const protobufPackage = 'tptaddr.controller' @@ -15,7 +15,7 @@ export const protobufPackage = 'tptaddr.controller' * * @generated from message tptaddr.controller.Config */ -export type Config = Message<{}> +export interface Config {} // Config contains the message type declaration for Config. export const Config: MessageType = createMessageType({ diff --git a/tptaddr/static/static.pb.ts b/tptaddr/static/static.pb.ts index 3850ed80..78fa32b8 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, ScalarType } from '@aptre/protobuf-es-lite' +import { createMessageType, ScalarType } from '@aptre/protobuf-es-lite' export const protobufPackage = 'tptaddr.static' @@ -14,7 +14,7 @@ export const protobufPackage = 'tptaddr.static' * * @generated from message tptaddr.static.Config */ -export type Config = Message<{ +export interface Config { /** * Addresses is the mapping of peer id to address list. * @@ -24,7 +24,7 @@ export type Config = Message<{ * @generated from field: repeated string addresses = 1; */ addresses?: string[] -}> +} // Config contains the message type declaration for Config. export const Config: MessageType = createMessageType({ diff --git a/transport/common/conn/conn.pb.ts b/transport/common/conn/conn.pb.ts index d476dc04..ed335dfc 100644 --- a/transport/common/conn/conn.pb.ts +++ b/transport/common/conn/conn.pb.ts @@ -2,9 +2,9 @@ // @generated from file github.com/aperturerobotics/bifrost/transport/common/conn/conn.proto (package conn, syntax proto3) /* eslint-disable */ -import type { MessageType, PartialFieldInfo } from '@aptre/protobuf-es-lite' -import { createMessageType, Message, ScalarType } from '@aptre/protobuf-es-lite' import { Opts as Opts$1 } from '../quic/quic.pb.js' +import type { MessageType, PartialFieldInfo } from '@aptre/protobuf-es-lite' +import { createMessageType, ScalarType } from '@aptre/protobuf-es-lite' export const protobufPackage = 'conn' @@ -13,7 +13,7 @@ export const protobufPackage = 'conn' * * @generated from message conn.Opts */ -export type Opts = Message<{ +export interface Opts { /** * Quic are the quic protocol options. * @@ -42,7 +42,7 @@ export type Opts = Message<{ * @generated from field: uint32 buf_size = 4; */ bufSize?: number -}> +} // Opts contains the message type declaration for Opts. export const Opts: MessageType = createMessageType({ diff --git a/transport/common/dialer/dialer.pb.ts b/transport/common/dialer/dialer.pb.ts index ae341029..cdd08a94 100644 --- a/transport/common/dialer/dialer.pb.ts +++ b/transport/common/dialer/dialer.pb.ts @@ -2,9 +2,9 @@ // @generated from file github.com/aperturerobotics/bifrost/transport/common/dialer/dialer.proto (package dialer, syntax proto3) /* eslint-disable */ -import type { MessageType, PartialFieldInfo } 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' +import type { MessageType, PartialFieldInfo } from '@aptre/protobuf-es-lite' +import { createMessageType, ScalarType } from '@aptre/protobuf-es-lite' export const protobufPackage = 'dialer' @@ -13,7 +13,7 @@ export const protobufPackage = 'dialer' * * @generated from message dialer.DialerOpts */ -export type DialerOpts = Message<{ +export interface DialerOpts { /** * Address is the address of the peer, in the format expected by the transport. * @@ -27,7 +27,7 @@ export type DialerOpts = Message<{ * @generated from field: backoff.Backoff backoff = 2; */ backoff?: Backoff -}> +} // DialerOpts contains the message type declaration for DialerOpts. export const DialerOpts: MessageType = createMessageType({ diff --git a/transport/common/pconn/pconn.pb.ts b/transport/common/pconn/pconn.pb.ts index 9f734757..6b5b1669 100644 --- a/transport/common/pconn/pconn.pb.ts +++ b/transport/common/pconn/pconn.pb.ts @@ -2,9 +2,9 @@ // @generated from file github.com/aperturerobotics/bifrost/transport/common/pconn/pconn.proto (package pconn, syntax proto3) /* eslint-disable */ -import type { MessageType, PartialFieldInfo } from '@aptre/protobuf-es-lite' -import { createMessageType, Message, ScalarType } from '@aptre/protobuf-es-lite' import { Opts as Opts$1 } from '../quic/quic.pb.js' +import type { MessageType, PartialFieldInfo } from '@aptre/protobuf-es-lite' +import { createMessageType, ScalarType } from '@aptre/protobuf-es-lite' export const protobufPackage = 'pconn' @@ -13,7 +13,7 @@ export const protobufPackage = 'pconn' * * @generated from message pconn.Opts */ -export type Opts = Message<{ +export interface Opts { /** * Quic are the quic protocol options. * @@ -26,7 +26,7 @@ export type Opts = Message<{ * @generated from field: bool verbose = 2; */ verbose?: boolean -}> +} // Opts contains the message type declaration for Opts. export const Opts: MessageType = createMessageType({ diff --git a/transport/common/quic/quic.pb.ts b/transport/common/quic/quic.pb.ts index dc86ef30..c81efbaf 100644 --- a/transport/common/quic/quic.pb.ts +++ b/transport/common/quic/quic.pb.ts @@ -3,14 +3,14 @@ /* eslint-disable */ import type { MessageType, PartialFieldInfo } from '@aptre/protobuf-es-lite' -import { createMessageType, Message, ScalarType } from '@aptre/protobuf-es-lite' +import { createMessageType, ScalarType } from '@aptre/protobuf-es-lite' export const protobufPackage = 'transport.quic' /** * @generated from message transport.quic.Opts */ -export type Opts = Message<{ +export interface Opts { /** * MaxIdleTimeoutDur is the duration of idle after which conn is closed. * @@ -64,7 +64,7 @@ export type Opts = Message<{ * @generated from field: bool verbose = 6; */ verbose?: boolean -}> +} // Opts contains the message type declaration for Opts. export const Opts: MessageType = createMessageType({ diff --git a/transport/controller/controller.pb.ts b/transport/controller/controller.pb.ts index 6641527e..08f4e429 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, ScalarType } from '@aptre/protobuf-es-lite' +import { createMessageType, ScalarType } from '@aptre/protobuf-es-lite' export const protobufPackage = 'transport.controller' @@ -14,14 +14,14 @@ export const protobufPackage = 'transport.controller' * * @generated from message transport.controller.StreamEstablish */ -export type StreamEstablish = Message<{ +export interface StreamEstablish { /** * ProtocolID is the protocol identifier string for the stream. * * @generated from field: string protocol_id = 1; */ protocolId?: string -}> +} // StreamEstablish contains the message type declaration for StreamEstablish. export const StreamEstablish: MessageType = createMessageType({ diff --git a/transport/inproc/inproc.pb.ts b/transport/inproc/inproc.pb.ts index 60550fe8..0aa16231 100644 --- a/transport/inproc/inproc.pb.ts +++ b/transport/inproc/inproc.pb.ts @@ -2,10 +2,10 @@ // @generated from file github.com/aperturerobotics/bifrost/transport/inproc/inproc.proto (package inproc, syntax proto3) /* eslint-disable */ -import type { MessageType, PartialFieldInfo } 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' +import type { MessageType, PartialFieldInfo } from '@aptre/protobuf-es-lite' +import { createMessageType, ScalarType } from '@aptre/protobuf-es-lite' export const protobufPackage = 'inproc' @@ -14,7 +14,7 @@ export const protobufPackage = 'inproc' * * @generated from message inproc.Config */ -export type Config = Message<{ +export interface Config { /** * TransportPeerID sets the peer ID to attach the transport to. * If unset, attaches to any running peer with a private key. @@ -34,7 +34,7 @@ export type Config = Message<{ * @generated from field: map dialers = 3; */ dialers?: { [key: string]: DialerOpts } -}> +} // Config contains the message type declaration for Config. export const Config: MessageType = createMessageType({ diff --git a/transport/udp/udp.pb.ts b/transport/udp/udp.pb.ts index 48104667..874225b6 100644 --- a/transport/udp/udp.pb.ts +++ b/transport/udp/udp.pb.ts @@ -2,10 +2,10 @@ // @generated from file github.com/aperturerobotics/bifrost/transport/udp/udp.proto (package udp, syntax proto3) /* eslint-disable */ -import type { MessageType, PartialFieldInfo } 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' +import type { MessageType, PartialFieldInfo } from '@aptre/protobuf-es-lite' +import { createMessageType, ScalarType } from '@aptre/protobuf-es-lite' export const protobufPackage = 'udp' @@ -14,7 +14,7 @@ export const protobufPackage = 'udp' * * @generated from message udp.Config */ -export type Config = Message<{ +export interface Config { /** * TransportPeerID sets the peer ID to attach the transport to. * If unset, attaches to any running peer with a private key. @@ -41,7 +41,7 @@ export type Config = Message<{ * @generated from field: map dialers = 5; */ dialers?: { [key: string]: DialerOpts } -}> +} // Config contains the message type declaration for Config. export const Config: MessageType = createMessageType({ diff --git a/transport/webrtc/webrtc.pb.ts b/transport/webrtc/webrtc.pb.ts index 2f2aa3b8..e7ad61ed 100644 --- a/transport/webrtc/webrtc.pb.ts +++ b/transport/webrtc/webrtc.pb.ts @@ -6,7 +6,6 @@ import type { MessageType, PartialFieldInfo } from '@aptre/protobuf-es-lite' import { createEnumType, createMessageType, - Message, ScalarType, } from '@aptre/protobuf-es-lite' import { Opts } from '../common/quic/quic.pb.js' @@ -50,7 +49,7 @@ export const IceTransportPolicy_Enum = createEnumType( * * @generated from message webrtc.IceServerConfig.OauthCredential */ -export type IceServerConfig_OauthCredential = Message<{ +export interface IceServerConfig_OauthCredential { /** * MacKey is a base64-url format. * @@ -63,7 +62,7 @@ export type IceServerConfig_OauthCredential = Message<{ * @generated from field: string access_token = 2; */ accessToken?: string -}> +} // IceServerConfig_OauthCredential contains the message type declaration for IceServerConfig_OauthCredential. export const IceServerConfig_OauthCredential: MessageType = @@ -81,7 +80,7 @@ export const IceServerConfig_OauthCredential: MessageType +} // IceServerConfig contains the message type declaration for IceServerConfig. export const IceServerConfig: MessageType = createMessageType({ @@ -166,7 +165,7 @@ export const IceServerConfig: MessageType = createMessageType({ * * @generated from message webrtc.WebRtcConfig */ -export type WebRtcConfig = Message<{ +export interface WebRtcConfig { /** * IceServers contains the list of ICE servers to use. * @@ -187,7 +186,7 @@ export type WebRtcConfig = Message<{ * @generated from field: uint32 ice_candidate_pool_size = 3; */ iceCandidatePoolSize?: number -}> +} // WebRtcConfig contains the message type declaration for WebRtcConfig. export const WebRtcConfig: MessageType = createMessageType({ @@ -221,7 +220,7 @@ export const WebRtcConfig: MessageType = createMessageType({ * * @generated from message webrtc.Config */ -export type Config = Message<{ +export interface Config { /** * SignalingId is the signaling channel identifier. * Cannot be empty. @@ -301,7 +300,7 @@ export type Config = Message<{ * @generated from field: bool verbose = 11; */ verbose?: boolean -}> +} // Config contains the message type declaration for Config. export const Config: MessageType = createMessageType({ @@ -339,7 +338,7 @@ export const Config: MessageType = createMessageType({ * * @generated from message webrtc.WebRtcSdp */ -export type WebRtcSdp = Message<{ +export interface WebRtcSdp { /** * TxSeqno is the sequence number of the transmitting peer. * The receiver should update the local seqno to match. @@ -360,7 +359,7 @@ export type WebRtcSdp = Message<{ * @generated from field: string sdp = 3; */ sdp?: string -}> +} // WebRtcSdp contains the message type declaration for WebRtcSdp. export const WebRtcSdp: MessageType = createMessageType({ @@ -378,14 +377,14 @@ export const WebRtcSdp: MessageType = createMessageType({ * * @generated from message webrtc.WebRtcIce */ -export type WebRtcIce = Message<{ +export interface WebRtcIce { /** * Candidate contains the JSON-encoded ICE candidate. * * @generated from field: string candidate = 1; */ candidate?: string -}> +} // WebRtcIce contains the message type declaration for WebRtcIce. export const WebRtcIce: MessageType = createMessageType({ @@ -401,7 +400,7 @@ export const WebRtcIce: MessageType = createMessageType({ * * @generated from message webrtc.WebRtcSignal */ -export type WebRtcSignal = Message<{ +export interface WebRtcSignal { /** * Body is the body of the message. * @@ -440,7 +439,7 @@ export type WebRtcSignal = Message<{ value: WebRtcIce case: 'ice' } -}> +} // WebRtcSignal contains the message type declaration for WebRtcSignal. export const WebRtcSignal: MessageType = createMessageType({ diff --git a/transport/websocket/websocket.pb.ts b/transport/websocket/websocket.pb.ts index 957a71f1..947a4a19 100644 --- a/transport/websocket/websocket.pb.ts +++ b/transport/websocket/websocket.pb.ts @@ -2,10 +2,10 @@ // @generated from file github.com/aperturerobotics/bifrost/transport/websocket/websocket.proto (package websocket, syntax proto3) /* eslint-disable */ -import type { MessageType, PartialFieldInfo } 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' +import type { MessageType, PartialFieldInfo } from '@aptre/protobuf-es-lite' +import { createMessageType, ScalarType } from '@aptre/protobuf-es-lite' export const protobufPackage = 'websocket' @@ -19,7 +19,7 @@ export const protobufPackage = 'websocket' * * @generated from message websocket.Config */ -export type Config = Message<{ +export interface Config { /** * TransportPeerID sets the peer ID to attach the transport to. * If unset, attaches to any running peer with a private key. @@ -64,7 +64,7 @@ export type Config = Message<{ * @generated from field: bool disable_serve_peer_id = 6; */ disableServePeerId?: boolean -}> +} // Config contains the message type declaration for Config. export const Config: MessageType = createMessageType({ diff --git a/yarn.lock b/yarn.lock index 87f51d45..b5dee760 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2,19 +2,19 @@ # yarn lockfile v1 -"@aptre/common@^0.16.4": - version "0.16.6" - resolved "https://registry.yarnpkg.com/@aptre/common/-/common-0.16.6.tgz#a6e31cc5d255f63f6dec19262426ba43e0285122" - integrity sha512-5AhyprJ0zJnJrfZhj7nuLpe/vLsC3Xg6p0IF90J3Vv6TtZWERD9xkOtFBip9tnZXbredQ5QpPVGzQBCQbyWZ8w== +"@aptre/common@^0.16.8": + version "0.16.8" + resolved "https://registry.yarnpkg.com/@aptre/common/-/common-0.16.8.tgz#70fbdb9ff7af835436ea0b9484332c28e41b5d14" + integrity sha512-IQxw2Td0s+q0OP6UUYZx+EI3lT2rdBo/ASe36+Jeo2gwABk+kedRnh8FWniorlg20ifircxwUPxhM43i4w6CJw== dependencies: - "@aptre/protobuf-es-lite" "^0.4.4" + "@aptre/protobuf-es-lite" "^0.4.5" "@typescript-eslint/eslint-plugin" "^7.8.0" "@typescript-eslint/parser" "^7.8.0" - eslint "^8.0.0" + eslint "^9.3.0" eslint-config-prettier "^9.0.0" eslint-plugin-react-hooks "^4.6.1" - eslint-plugin-unused-imports "^3.2.0" - starpc "^0.32.10" + eslint-plugin-unused-imports "^4.0.0" + starpc "^0.32.12" vitest "^1.6.0" "@aptre/it-ws@^1.0.0": @@ -28,10 +28,10 @@ uint8arrays "^5.0.0" ws "^8.4.0" -"@aptre/protobuf-es-lite@0.4.4", "@aptre/protobuf-es-lite@^0.4.3", "@aptre/protobuf-es-lite@^0.4.4": - version "0.4.4" - resolved "https://registry.yarnpkg.com/@aptre/protobuf-es-lite/-/protobuf-es-lite-0.4.4.tgz#2c5a305bd984a197c4b0fa57a5d23165ddac6535" - integrity sha512-fw5ukLnaK0b27oFir5vxucL/g7cv7Dv7298rBWNH2VcFVkYmr1dDJTAWpoSPc9OvJbGFX5rvdg0b8pRn5ZM0FA== +"@aptre/protobuf-es-lite@0.4.5", "@aptre/protobuf-es-lite@^0.4.5": + version "0.4.5" + resolved "https://registry.yarnpkg.com/@aptre/protobuf-es-lite/-/protobuf-es-lite-0.4.5.tgz#97ffb6abe822a1e5f59079561e86b65e6e9ce743" + integrity sha512-A8c20z5D22vvmcB40txZQMkz3EVtHmQdskX1V1mHAvBny99/jMJZmNqJFE0dqczrhAXdupr2162jX0Hiwt7LjQ== dependencies: "@typescript/vfs" "^1.5.0" lz-string "^1.5.0" @@ -292,32 +292,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.1.0": + version "3.1.0" + resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-3.1.0.tgz#dbd3482bfd91efa663cbe7aa1f506839868207b6" + integrity sha512-4Bfj15dVJdoy3RfZmmo86RK1Fwzn6SstsvK9JS+BaVKqC6QQQQyXekNaC+g+LKNgkQ+2VhGAzm6hO40AhMR3zQ== 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.3.0": + version "9.3.0" + resolved "https://registry.yarnpkg.com/@eslint/js/-/js-9.3.0.tgz#2e8f65c9c55227abc4845b1513c69c32c679d8fe" + integrity sha512-niBqk8iwv96+yuTwjM6bWg8ovzAPF9qkICsGtcoa5/dmqcEMfdwNAX7+/OHcJHc7wj7XqPxH98oAHytFYlw6Sw== -"@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" @@ -326,11 +326,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.3.0": + version "0.3.0" + resolved "https://registry.yarnpkg.com/@humanwhocodes/retry/-/retry-0.3.0.tgz#6d86b8cb322660f03d3f0aa94b99bdd8e172d570" + integrity sha512-d2CGZR2o7fS6sWB7DG/3a95bGKQyHMACZ5aW8qGkkqQpUoZV6C0X7Pc7l4ZNMZkfNBf4VWNe9E1jRsf0G146Ew== + "@isaacs/cliui@^8.0.2": version "8.0.2" resolved "https://registry.yarnpkg.com/@isaacs/cliui/-/cliui-8.0.2.tgz#b37667b7bc181c168782259bab42474fbf52b550" @@ -743,11 +748,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== - "@vitest/expect@1.6.0": version "1.6.0" resolved "https://registry.yarnpkg.com/@vitest/expect/-/expect-1.6.0.tgz#0b3ba0914f738508464983f4d811bc122b51fb30" @@ -849,7 +849,7 @@ acorn-walk@^8.3.2: resolved "https://registry.yarnpkg.com/acorn-walk/-/acorn-walk-8.3.2.tgz#7703af9415f1b6db9315d6895503862e231d34aa" integrity sha512-cjkyv4OtNCIeqhHrfS81QWXoCBPExR/J62oyEqepVw8WaQeSqpW2uhuLPh1m9eWhDuOo/jUXVTlifvesOWp/4A== -acorn@^8.11.3, 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== @@ -1186,13 +1186,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" @@ -1274,10 +1267,10 @@ eslint-plugin-react-hooks@^4.6.1: resolved "https://registry.yarnpkg.com/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.6.2.tgz#c829eb06c0e6f484b3fbb85a97e57784f328c596" integrity sha512-QzliNJq4GinDBcD8gPB5v0wh6g8q3SUi6EFF0x8N/BL9PoVs0atuGc47ozMRyOWAKdwaZ5OnbOEa3WR+dSGKuQ== -eslint-plugin-unused-imports@^3.2.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/eslint-plugin-unused-imports/-/eslint-plugin-unused-imports-3.2.0.tgz#63a98c9ad5f622cd9f830f70bc77739f25ccfe0d" - integrity sha512-6uXyn6xdINEpxE1MtDjxQsyXB37lfyO2yKGVVgtD7WEWQGORSOZjgrD6hBhvGv4/SO+TOlS+UnC6JppRqbuwGQ== +eslint-plugin-unused-imports@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/eslint-plugin-unused-imports/-/eslint-plugin-unused-imports-4.0.0.tgz#93f3a7ee6088221e4a1d7127866e05d5917a9f65" + integrity sha512-mzM+y2B7XYpQryVa1usT+Y/BdNAtAZiXzwpSyDCboFoJN/LZRN67TNvQxKtuTK/Aplya3sLNQforiubzPPaIcQ== dependencies: eslint-rule-composer "^0.3.0" @@ -1286,54 +1279,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.3.0: + version "9.3.0" + resolved "https://registry.yarnpkg.com/eslint/-/eslint-9.3.0.tgz#36a96db84592618d6ed9074d677e92f4e58c08b9" + integrity sha512-5Iv4CsZW030lpUqHBapdPo3MJetAPtejVW8B84GIcIIv8+ohFaddXsrn1Gn8uD9ijDb+kcYKFUVmC8qG8B2ORQ== 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.1.0" + "@eslint/js" "9.3.0" + "@humanwhocodes/config-array" "^0.13.0" "@humanwhocodes/module-importer" "^1.0.1" + "@humanwhocodes/retry" "^0.3.0" "@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" @@ -1343,14 +1337,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" @@ -1458,12 +1452,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.1.1: version "7.1.1" @@ -1490,14 +1484,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" @@ -1512,11 +1505,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== - fsevents@~2.3.2, fsevents@~2.3.3: version "2.3.3" resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.3.tgz#cac6407785d03675a2a5e1a5305c697b347d90d6" @@ -1572,18 +1560,6 @@ glob@^10.3.7: minipass "^7.0.4" path-scurry "^1.11.0" -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" @@ -1609,12 +1585,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" @@ -1690,19 +1664,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" @@ -1894,7 +1855,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== @@ -1986,7 +1947,7 @@ mimic-fn@^4.0.0: resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-4.0.0.tgz#60a90550d5cb0b239cca65d893b1a53b29871ecc" integrity sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw== -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== @@ -2070,13 +2031,6 @@ npm-run-path@^5.1.0: dependencies: path-key "^4.0.0" -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" - onetime@^6.0.0: version "6.0.0" resolved "https://registry.yarnpkg.com/onetime/-/onetime-6.0.0.tgz#7c24c18ed1fd2e9bca4bd26806a33613c77d34b4" @@ -2162,11 +2116,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" @@ -2359,13 +2308,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.6: version "5.0.7" resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-5.0.7.tgz#27bddf202e7d89cb2e0381656380d1734a854a74" @@ -2457,13 +2399,13 @@ stackback@0.0.2: resolved "https://registry.yarnpkg.com/stackback/-/stackback-0.0.2.tgz#1ac8a0d9483848d1695e418b6d031a3c3ce68e3b" integrity sha512-1XMJE5fQo1jGH6Y/7ebnwPOBEkIEnT4QF32d5R1+VXdXveM0IBMJt8zfaxX1P3QhVwrYe+576+jkANtSS2mBbw== -starpc@^0.32.10: - version "0.32.11" - resolved "https://registry.yarnpkg.com/starpc/-/starpc-0.32.11.tgz#fb0ef73b3cd9a69a26946c447732147ddcdc37fb" - integrity sha512-rmyGp/4s4TOmYzOWRc+x7mOrmCp/wa769EwvxyGelyQmWu3g8hDEBQ6QCQpKTNUpUI3yjG16XxJGw7Hw4juSLw== +starpc@^0.32.12: + version "0.32.12" + resolved "https://registry.yarnpkg.com/starpc/-/starpc-0.32.12.tgz#280288eddc0400027686414cb23c6f9e8f317a79" + integrity sha512-t9nBfmCaV4Nkvupr85YIqpQyorcbw1pWj+Nm4/B+1UECTb8Lr7NPcYn459f4JtqAvhh9a5OLWZTJ8gArgs/Ndg== dependencies: "@aptre/it-ws" "^1.0.0" - "@aptre/protobuf-es-lite" "^0.4.4" + "@aptre/protobuf-es-lite" "^0.4.5" "@chainsafe/libp2p-yamux" "^6.0.2" "@libp2p/interface" "^1.3.1" "@libp2p/logger" "^4.0.12" @@ -2619,11 +2561,6 @@ type-detect@^4.0.0, type-detect@^4.0.8: resolved "https://registry.yarnpkg.com/type-detect/-/type-detect-4.0.8.tgz#7646fb5f18871cfbb7749e69bd39a6388eb7450c" integrity sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g== -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" @@ -2770,11 +2707,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"