From 02e709d1150cf24df3781b78b9de8c59af1a8566 Mon Sep 17 00:00:00 2001 From: achingbrain Date: Tue, 12 Mar 2024 14:19:10 +0100 Subject: [PATCH] chore: fix deps --- packages/helia/package.json | 1 + packages/interop/src/ipns-dnslink.spec.ts | 28 ----------------------- 2 files changed, 1 insertion(+), 28 deletions(-) delete mode 100644 packages/interop/src/ipns-dnslink.spec.ts diff --git a/packages/helia/package.json b/packages/helia/package.json index 8c22b4d4..0f535c8b 100644 --- a/packages/helia/package.json +++ b/packages/helia/package.json @@ -78,6 +78,7 @@ "@libp2p/webrtc": "^4.0.20", "@libp2p/websockets": "^8.0.16", "@libp2p/webtransport": "^4.0.20", + "@multiformats/dns": "^1.0.1", "blockstore-core": "^4.4.0", "datastore-core": "^9.2.9", "interface-blockstore": "^5.2.10", diff --git a/packages/interop/src/ipns-dnslink.spec.ts b/packages/interop/src/ipns-dnslink.spec.ts deleted file mode 100644 index 82db389d..00000000 --- a/packages/interop/src/ipns-dnslink.spec.ts +++ /dev/null @@ -1,28 +0,0 @@ -/* eslint-env mocha */ - -import { ipns } from '@helia/ipns' -import { createHeliaNode } from './fixtures/create-helia.js' -import type { IPNS } from '@helia/ipns' -import type { HeliaLibp2p } from 'helia' - -describe.only('@helia/ipns - dnslink', () => { - let helia: HeliaLibp2p - let name: IPNS - - beforeEach(async () => { - helia = await createHeliaNode() - name = ipns(helia) - }) - - afterEach(async () => { - if (helia != null) { - await helia.stop() - } - }) - - it('should resolve ipfs.io', async () => { - const result = await name.resolveDns('ipfs.io') - - console.info(result) - }) -})