From 4369653892d1434b9519f8f7f93371ae4531bc21 Mon Sep 17 00:00:00 2001 From: Daniel Norman <1992255+2color@users.noreply.github.com> Date: Mon, 27 Feb 2023 17:01:02 +0100 Subject: [PATCH] docs: fix typos (#4) --- packages/ipns/src/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/ipns/src/index.ts b/packages/ipns/src/index.ts index 2e13c946..5991e1ea 100644 --- a/packages/ipns/src/index.ts +++ b/packages/ipns/src/index.ts @@ -6,7 +6,7 @@ * @example * * ```typescript - * import { gossipsub } from '@chainsafe/libp2p' + * import { gossipsub } from '@chainsafe/libp2p-gossipsub' * import { kadDHT } from '@libp2p/kad-dht' * import { createLibp2p } from 'libp2p' * import { createHelia } from 'helia' @@ -31,7 +31,7 @@ * //.. other options * }) * const name = ipns(helia, [ - * dht(helia) + * dht(helia), * pubsub(helia) * ]) *