diff --git a/src/index.ts b/src/index.ts index ff952b6b..baf4f0d9 100644 --- a/src/index.ts +++ b/src/index.ts @@ -110,7 +110,7 @@ export interface GossipsubOpts extends GossipsubOptsSpec, PubSubInit { /** Do not throw `InsufficientPeers` error if publishing to zero peers */ allowPublishToZeroPeers: boolean /** Do not throw `PublishError.Duplicate` if publishing duplicate messages */ - ignoreDuplicateMessages: boolean + allowPublishDuplicateMessages: boolean /** For a single stream, await processing each RPC before processing the next */ awaitRpcHandler: boolean /** For a single RPC, await processing each message before processing the next */ @@ -2016,13 +2016,13 @@ export class GossipSub extends EventEmitter implements PubSub