From 747df0b15f71ba46a28e9a607995f349086a8010 Mon Sep 17 00:00:00 2001 From: achingbrain Date: Mon, 11 Mar 2024 12:39:21 +0100 Subject: [PATCH] chore: update docs --- README.md | 2 ++ src/index.ts | 2 ++ 2 files changed, 4 insertions(+) diff --git a/README.md b/README.md index 58f73829..fc17c5cd 100644 --- a/README.md +++ b/README.md @@ -94,6 +94,8 @@ console.info(await ma.resolve(resolved) ## Example - Using a custom DNS resolver to resolve DNSADDR Multiaddrs +See the docs for [@multiformats/dns](https://www.npmjs.com/package/@multiformats/dns) for a full breakdown of how to specify multiple resolvers or resolvers that can be used for specific TLDs. + ```TypeScript import { multiaddr } from '@multiformats/multiaddr' import { dns } from '@multiformats/dns' diff --git a/src/index.ts b/src/index.ts index 08f81f3b..f009901a 100644 --- a/src/index.ts +++ b/src/index.ts @@ -72,6 +72,8 @@ * * @example Using a custom DNS resolver to resolve DNSADDR Multiaddrs * + * See the docs for [@multiformats/dns](https://www.npmjs.com/package/@multiformats/dns) for a full breakdown of how to specify multiple resolvers or resolvers that can be used for specific TLDs. + * * ```TypeScript * import { multiaddr } from '@multiformats/multiaddr' * import { dns } from '@multiformats/dns'