Skip to content

Commit 3d8449a

Browse files
committed
remove pino dep
1 parent bfbdaef commit 3d8449a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/federation-sdk/src/server-discovery/discovery.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import { isIPv4, isIPv6 } from 'node:net';
22
import memoize from 'memoize';
3-
import type { Logger } from 'pino';
43
import { MultiError } from './_multi-error';
54
import { resolver } from './_resolver';
65
import { _URL } from './_url';
@@ -85,10 +84,9 @@ export async function resolveHostname(
8584
* Server names are resolved to an IP address and port to connect to, and have various conditions affecting which certificates and Host headers to send.
8685
*/
8786

88-
// TODO remove logger from here. need to convert this into a service (?)
8987
async function getHomeserverFinalAddressInternal(
9088
addr: AddressString,
91-
logger?: Logger,
89+
logger?: any, // TODO remove logger from here. need to convert this into a service (?)
9290
): Promise<[IP4or6WithPortAndProtocolString, HostHeaders]> {
9391
const url = new _URL(addr);
9492

0 commit comments

Comments
 (0)