update: interfafces

This commit is contained in:
danisharora099 2024-01-10 14:09:12 +05:30
parent 7e34e5ba11
commit 89f312dc6d
No known key found for this signature in database
GPG Key ID: FBD2BF500037F135
2 changed files with 3 additions and 4 deletions

View File

@ -110,7 +110,7 @@ export class WakuNode implements Waku {
);
}
get shardingParams(): ShardingParams | undefined {
get shardInfo(): ShardingParams | undefined {
return this.pubsubShardInfo;
}

View File

@ -3,11 +3,10 @@ import type { PeerId } from "@libp2p/interface/peer-id";
import type { Multiaddr } from "@multiformats/multiaddr";
import { IConnectionManager } from "./connection_manager.js";
import type { ShardInfo } from "./enr.js";
import type { IFilter } from "./filter.js";
import type { Libp2p } from "./libp2p.js";
import type { ILightPush } from "./light_push.js";
import { Protocols } from "./protocols.js";
import { Protocols, ShardingParams } from "./protocols.js";
import type { IRelay } from "./relay.js";
import type { IStore } from "./store.js";
@ -18,7 +17,7 @@ export interface Waku {
filter?: IFilter;
lightPush?: ILightPush;
shardInfo?: ShardInfo;
shardInfo?: ShardingParams;
connectionManager: IConnectionManager;