mirror of
https://github.com/waku-org/js-waku.git
synced 2025-02-23 17:48:19 +00:00
update: interfafces
This commit is contained in:
parent
7e34e5ba11
commit
89f312dc6d
@ -110,7 +110,7 @@ export class WakuNode implements Waku {
|
||||
);
|
||||
}
|
||||
|
||||
get shardingParams(): ShardingParams | undefined {
|
||||
get shardInfo(): ShardingParams | undefined {
|
||||
return this.pubsubShardInfo;
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user