diff --git a/src/nodes/agent/handlers/NodesNetworkSignClaim.ts b/src/nodes/agent/handlers/NodesNetworkSignClaim.ts index 646cea142..c8c462bac 100644 --- a/src/nodes/agent/handlers/NodesNetworkSignClaim.ts +++ b/src/nodes/agent/handlers/NodesNetworkSignClaim.ts @@ -1,9 +1,6 @@ import type { AgentRPCRequestParams, AgentRPCResponseResult, - HolePunchSignalMessage, - AddressMessage, - NetworkEntryRequestMessage, AgentClaimMessage, } from '../types'; import type NodeManager from '../../../nodes/NodeManager'; diff --git a/src/nodes/agent/handlers/NodesNetworkVerifyClaim.ts b/src/nodes/agent/handlers/NodesNetworkVerifyClaim.ts index a0eb7797d..bae58b8f5 100644 --- a/src/nodes/agent/handlers/NodesNetworkVerifyClaim.ts +++ b/src/nodes/agent/handlers/NodesNetworkVerifyClaim.ts @@ -1,9 +1,6 @@ import type { AgentRPCRequestParams, AgentRPCResponseResult, - HolePunchSignalMessage, - AddressMessage, - NetworkEntryRequestMessage, } from '../types'; import type NodeConnectionManager from '../../../nodes/NodeConnectionManager'; import type { Host, Port } from '../../../network/types'; @@ -20,11 +17,11 @@ class NodesNetworkAuthenticate extends UnaryHandler< { nodeConnectionManager: NodeConnectionManager; }, - AgentRPCRequestParams, + AgentRPCRequestParams<{}>, AgentRPCResponseResult<{}> > { public handle = async ( - input: AgentRPCRequestParams, + input: AgentRPCRequestParams<{}>, _cancel, meta: Record | undefined, ): Promise> => {