Skip to content

Commit a8fbabc

Browse files
committed
fix: using a less restrictive agentService for NodeConnectionManager
1 parent 11788cc commit a8fbabc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/nodes/NodeConnectionManager.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import type {
55
ClientManifest,
66
JSONRPCRequest,
77
JSONRPCResponse,
8+
ServerManifest,
89
} from '@matrixai/rpc';
910
import type {
1011
AuthenticateNetworkForwardCallback,
@@ -16,7 +17,6 @@ import type {
1617
NodesAuthenticateConnectionMessage,
1718
SuccessMessage,
1819
} from './agent/types.js';
19-
import type { AgentServerManifest } from './agent/handlers/index.js';
2020
import type { AgentClientManifestNodeConnectionManager } from './agent/callers/index.js';
2121
import type KeyRing from '../keys/KeyRing.js';
2222
import type { CertificatePEM } from '../keys/types.js';
@@ -566,7 +566,7 @@ class NodeConnectionManager<
566566
reuseAddr,
567567
ipv6Only,
568568
}: {
569-
agentService: AgentServerManifest;
569+
agentService: ServerManifest;
570570
host?: Host;
571571
port?: Port;
572572
reuseAddr?: boolean;

0 commit comments

Comments
 (0)