Skip to content

Commit

Permalink
refactor: update deps
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Stewart <[email protected]>
  • Loading branch information
paralin committed May 29, 2024
1 parent ab43a2b commit 1f95bed
Show file tree
Hide file tree
Showing 53 changed files with 314 additions and 387 deletions.
8 changes: 4 additions & 4 deletions daemon/api/api.pb.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand All @@ -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<Config> = createMessageType({
Expand Down
8 changes: 4 additions & 4 deletions daemon/api/controller/controller.pb.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand All @@ -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.
*
Expand All @@ -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<Config> = createMessageType({
Expand Down
4 changes: 2 additions & 2 deletions entitygraph/config.pb.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/* eslint-disable */

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

export const protobufPackage = 'bifrost.entitygraph'

Expand All @@ -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<Config> = createMessageType({
Expand Down
10 changes: 5 additions & 5 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
20 changes: 10 additions & 10 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -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=
Expand All @@ -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=
Expand Down
5 changes: 2 additions & 3 deletions hash/hash.pb.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import type { MessageType, PartialFieldInfo } from '@aptre/protobuf-es-lite'
import {
createEnumType,
createMessageType,
Message,
ScalarType,
} from '@aptre/protobuf-es-lite'

Expand Down Expand Up @@ -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.
*
Expand All @@ -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<Hash> = createMessageType({
Expand Down
6 changes: 3 additions & 3 deletions http/listener/config.pb.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/* eslint-disable */

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

export const protobufPackage = 'bifrost.http.listener'

Expand All @@ -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.
*
Expand Down Expand Up @@ -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<Config> = createMessageType({
Expand Down
6 changes: 3 additions & 3 deletions link/establish/config.pb.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/* eslint-disable */

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

export const protobufPackage = 'link.establish.controller'

Expand All @@ -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.
*
Expand All @@ -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<Config> = createMessageType({
Expand Down
4 changes: 2 additions & 2 deletions link/hold-open/config.pb.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/* eslint-disable */

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

export const protobufPackage = 'link.holdopen.controller'

Expand All @@ -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<Config> = createMessageType({
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
24 changes: 12 additions & 12 deletions peer/api/api.pb.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand All @@ -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<IdentifyRequest> = createMessageType({
Expand All @@ -38,14 +38,14 @@ export const IdentifyRequest: MessageType<IdentifyRequest> = 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<IdentifyResponse> =
Expand All @@ -67,14 +67,14 @@ export const IdentifyResponse: MessageType<IdentifyResponse> =
*
* @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<GetPeerInfoRequest> =
Expand All @@ -91,14 +91,14 @@ export const GetPeerInfoRequest: MessageType<GetPeerInfoRequest> =
*
* @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<PeerInfo> = createMessageType({
Expand All @@ -114,14 +114,14 @@ export const PeerInfo: MessageType<PeerInfo> = 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<GetPeerInfoResponse> =
Expand Down
2 changes: 1 addition & 1 deletion peer/api/api_srpc.pb.go

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

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

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

export const protobufPackage = 'peer.controller'

Expand All @@ -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.
Expand All @@ -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<Config> = createMessageType({
Expand Down
Loading

0 comments on commit 1f95bed

Please sign in to comment.