Skip to content

Commit

Permalink
Merge branch 'main' into fix/pass-signal-to-dial
Browse files Browse the repository at this point in the history
  • Loading branch information
achingbrain authored Feb 24, 2025
2 parents 05cb100 + e3a3feb commit e86f44c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/libp2p-daemon-protocol/src/upgrader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,8 @@ export class PassThroughUpgrader implements Upgrader {
this.onConnection = handler
}

async upgradeInbound (maConn: MultiaddrConnection): Promise<Connection> {
async upgradeInbound (maConn: MultiaddrConnection): Promise<void> {
this.onConnection?.(maConn)
// @ts-expect-error should return a connection
return maConn
}

async upgradeOutbound (maConn: MultiaddrConnection): Promise<Connection> {
Expand Down

0 comments on commit e86f44c

Please sign in to comment.