diff --git a/src/lib/waku_store/index.ts b/src/lib/waku_store/index.ts index 619f4b8f88..3a360c4357 100644 --- a/src/lib/waku_store/index.ts +++ b/src/lib/waku_store/index.ts @@ -13,7 +13,7 @@ export const StoreCodec = '/vac/waku/store/2.0.0-beta3'; export { Direction }; -export interface Options { +export interface QueryOptions { peerId: PeerId; contentTopics: string[]; pubsubTopic?: string; @@ -40,7 +40,7 @@ export class WakuStore { * @param options.callback Callback called on page of stored messages as they are retrieved * @throws If not able to reach the peer to query. */ - async queryHistory(options: Options): Promise { + async queryHistory(options: QueryOptions): Promise { const opts = Object.assign( { pubsubTopic: DefaultPubsubTopic,