diff --git a/packages/dids/src/dht.ts b/packages/dids/src/dht.ts index b3e2c0958..92a56c591 100644 --- a/packages/dids/src/dht.ts +++ b/packages/dids/src/dht.ts @@ -1,10 +1,10 @@ import DHT from 'bittorrent-dht'; import ed from 'bittorrent-dht-sodium'; -import type {DidDocument} from './types.js'; -import dns, {AUTHORITATIVE_ANSWER, Packet, TxtAnswer} from 'dns-packet'; +import dns, { AUTHORITATIVE_ANSWER, Packet, TxtAnswer } from 'dns-packet'; import Encoder from '@decentralized-identity/ion-sdk/dist/lib/Encoder.js'; -import type {PublicKeyJwk, Web5Crypto} from '@web5/crypto'; -import {Jose} from '@web5/crypto'; +import type { PublicKeyJwk, Web5Crypto } from '@web5/crypto'; +import { Jose } from '@web5/crypto'; +import type { DidDocument } from './types.js'; const DEFAULT_BOOTSTRAP = [ 'router.magnets.im:6881', diff --git a/packages/dids/src/did-dht.ts b/packages/dids/src/did-dht.ts index f3806d603..5e6f26679 100644 --- a/packages/dids/src/did-dht.ts +++ b/packages/dids/src/did-dht.ts @@ -1,6 +1,6 @@ import z32 from 'z32'; import { sha1 } from '@noble/hashes/sha1'; -import {EcdsaAlgorithm, EdDsaAlgorithm, Jose, JwkKeyPair, PublicKeyJwk, Web5Crypto} from '@web5/crypto'; +import { EcdsaAlgorithm, EdDsaAlgorithm, Jose, JwkKeyPair, PublicKeyJwk, Web5Crypto } from '@web5/crypto'; import { DidDocument, DidKeySetVerificationMethodKey, @@ -9,7 +9,7 @@ import { DidService, PortableDid, VerificationRelationship } from './types.js'; -import {DidDht} from './dht.js'; +import { DidDht } from './dht.js'; const SupportedCryptoKeyTypes = [ 'Ed25519',