diff --git a/packages/libp2p-daemon-server/src/index.ts b/packages/libp2p-daemon-server/src/index.ts index 377acd06..beb685d2 100644 --- a/packages/libp2p-daemon-server/src/index.ts +++ b/packages/libp2p-daemon-server/src/index.ts @@ -114,7 +114,9 @@ export class Server implements Libp2pServer { log('openStream - open stream for protocol %s', proto) const stream = await connection.newStream(proto, { - runOnTransientConnection: true + runOnTransientConnection: true, + // @ts-expect-error this has not been released yet + runOnLimitedConnection: true }) return { @@ -192,7 +194,9 @@ export class Server implements Libp2pServer { } }) }, { - runOnTransientConnection: true + runOnTransientConnection: true, + // @ts-expect-error this has not been released yet + runOnLimitedConnection: true }) }