You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/federation-sdk/src/server-discovery/discovery.ts
+1-3Lines changed: 1 addition & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,5 @@
1
1
import{isIPv4,isIPv6}from'node:net';
2
2
importmemoizefrom'memoize';
3
-
importtype{Logger}from'pino';
4
3
import{MultiError}from'./_multi-error';
5
4
import{resolver}from'./_resolver';
6
5
import{_URL}from'./_url';
@@ -85,10 +84,9 @@ export async function resolveHostname(
85
84
* 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.
86
85
*/
87
86
88
-
// TODO remove logger from here. need to convert this into a service (?)
89
87
asyncfunctiongetHomeserverFinalAddressInternal(
90
88
addr: AddressString,
91
-
logger?: Logger,
89
+
logger?: any,// TODO remove logger from here. need to convert this into a service (?)
0 commit comments