completely forgot about the websocket-polyfill, removed from the nostr-tools readme. Now recommends this:
``
import { useFetchImplementation } from 'nostr-tools/nip05'
useFetchImplementation(require('node-fetch'))
``
Adding that to ndk fixed it. Thanks!