Skip to content

Commit

Permalink
fix: srpc test and 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 Jan 23, 2024
1 parent b149462 commit 008504f
Show file tree
Hide file tree
Showing 12 changed files with 20 additions and 19 deletions.
2 changes: 1 addition & 1 deletion daemon/api/api.pb.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* eslint-disable */
import { Config as Config1 } from '@go/github.com/aperturerobotics/controllerbus/bus/api/api.pb.js'
import Long from 'long'
import _m0 from 'protobufjs/minimal.js'
import { Config as Config1 } from '../../../controllerbus/bus/api/api.pb.js'

export const protobufPackage = 'bifrost.api'

Expand Down
2 changes: 1 addition & 1 deletion daemon/api/controller/controller.pb.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* eslint-disable */
import { Config as Config2 } from '@go/github.com/aperturerobotics/controllerbus/bus/api/api.pb.js'
import Long from 'long'
import _m0 from 'protobufjs/minimal.js'
import { Config as Config2 } from '../../../../controllerbus/bus/api/api.pb.js'
import { Config as Config1 } from '../api.pb.js'

export const protobufPackage = 'bifrost.api.controller'
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"patch-package": "^8.0.0",
"prettier": "^3.1.1",
"ts-poet": "6.6.0",
"ts-proto": "^1.166.1",
"ts-proto": "^1.167.0",
"typescript": "^5.1.6"
},
"dependencies": {
Expand Down
6 changes: 3 additions & 3 deletions peer/api/api.pb.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/* eslint-disable */
import Long from 'long'
import _m0 from 'protobufjs/minimal.js'
import {
ControllerStatus,
controllerStatusFromJSON,
controllerStatusToJSON,
} from '@go/github.com/aperturerobotics/controllerbus/controller/exec/exec.pb.js'
import Long from 'long'
import _m0 from 'protobufjs/minimal.js'
} from '../../../controllerbus/controller/exec/exec.pb.js'
import { Config } from '../controller/config.pb.js'

export const protobufPackage = 'peer.api'
Expand Down
2 changes: 1 addition & 1 deletion pubsub/util/pubmessage/pubmessage.pb.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* eslint-disable */
import { Timestamp } from '@aperturerobotics/ts-proto-common-types/google/protobuf/timestamp.pb.js'
import Long from 'long'
import _m0 from 'protobufjs/minimal.js'
import { Timestamp } from '../../../../../../google/protobuf/timestamp.pb.js'

export const protobufPackage = 'pubmessage'

Expand Down
2 changes: 1 addition & 1 deletion rpc/access/access.pb.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* eslint-disable */
import { RpcStreamPacket } from '@go/github.com/aperturerobotics/starpc/rpcstream/rpcstream.pb.js'
import Long from 'long'
import _m0 from 'protobufjs/minimal.js'
import { RpcStreamPacket } from '../../../starpc/rpcstream/rpcstream.pb.js'

export const protobufPackage = 'bifrost.rpc.access'

Expand Down
6 changes: 3 additions & 3 deletions stream/api/api.pb.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/* eslint-disable */
import Long from 'long'
import _m0 from 'protobufjs/minimal.js'
import {
ControllerStatus,
controllerStatusFromJSON,
controllerStatusToJSON,
} from '@go/github.com/aperturerobotics/controllerbus/controller/exec/exec.pb.js'
import Long from 'long'
import _m0 from 'protobufjs/minimal.js'
} from '../../../controllerbus/controller/exec/exec.pb.js'
import { Config } from '../forwarding/forwarding.pb.js'
import { Config as Config1 } from '../listening/listening.pb.js'
import { Config as Config2 } from './accept/accept.pb.js'
Expand Down
2 changes: 1 addition & 1 deletion stream/drpc/client/client.pb.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* eslint-disable */
import { Backoff } from '@go/github.com/aperturerobotics/util/backoff/backoff.pb.js'
import Long from 'long'
import _m0 from 'protobufjs/minimal.js'
import { Backoff } from '../../../../util/backoff/backoff.pb.js'
import { DrpcOpts } from '../drpc.pb.js'

export const protobufPackage = 'stream.drpc.client'
Expand Down
2 changes: 1 addition & 1 deletion stream/srpc/client/client.pb.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* eslint-disable */
import { Backoff } from '@go/github.com/aperturerobotics/util/backoff/backoff.pb.js'
import Long from 'long'
import _m0 from 'protobufjs/minimal.js'
import { Backoff } from '../../../../util/backoff/backoff.pb.js'

export const protobufPackage = 'stream.srpc.client'

Expand Down
3 changes: 2 additions & 1 deletion stream/srpc/e2e/e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,10 @@ func TestStarpc(t *testing.T) {
semver.MustParse("0.0.1"),
"test of srpc server",
),
[]stream_srpc_server.RegisterFn{mockServer.Register},
[]protocol.ID{ProtocolID},
[]string{tb2PeerID.String()},
[]stream_srpc_server.RegisterFn{mockServer.Register},
false,
)
if err != nil {
t.Fatal(err.Error())
Expand Down
2 changes: 1 addition & 1 deletion transport/common/dialer/dialer.pb.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* eslint-disable */
import { Backoff } from '@go/github.com/aperturerobotics/util/backoff/backoff.pb.js'
import Long from 'long'
import _m0 from 'protobufjs/minimal.js'
import { Backoff } from '../../../../util/backoff/backoff.pb.js'

export const protobufPackage = 'dialer'

Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2072,10 +2072,10 @@ [email protected]:
long "^5.2.3"
protobufjs "^7.2.4"

ts-proto@^1.166.1:
version "1.166.4"
resolved "https://registry.yarnpkg.com/ts-proto/-/ts-proto-1.166.4.tgz#7ecc4e6f27ee726af62526251055ba519f9d8c0c"
integrity sha512-TGHYGRg8Q8NHXagdiWrRAbuV59sp4EXcWH7bTuhGook2Sc8qM2T/s66usQCb1YekzOLHJDs7p66svjlqHmOMhg==
ts-proto@^1.167.0:
version "1.167.0"
resolved "https://registry.yarnpkg.com/ts-proto/-/ts-proto-1.167.0.tgz#3da5f1cbcdda3a1e339b266b02be40131b278a90"
integrity sha512-ATJ9bN0JpPhtWVymKpkf7zUYOLBZVOA7rWRRH/U+ML8A2xjcBgcM3H4Mme8T8Yn6S4rW6ttNjRAtLZmusAjIIA==
dependencies:
case-anything "^2.1.13"
protobufjs "^7.2.4"
Expand Down

0 comments on commit 008504f

Please sign in to comment.