Skip to content

Commit

Permalink
chore: restructre dirs
Browse files Browse the repository at this point in the history
  • Loading branch information
danisharora099 committed Sep 13, 2024
1 parent e192635 commit 58b2c13
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import {
toAsyncIterator
} from "@waku/utils";

import { BaseProtocolSDK } from "../../base_protocol.js";
import { BaseProtocolSDK } from "../base_protocol.js";

import { DEFAULT_SUBSCRIBE_OPTIONS } from "./constants.js";
import { SubscriptionManager } from "./subscription_manager.js";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ import {
import { WakuMessage } from "@waku/proto";
import { groupByContentTopic, Logger } from "@waku/utils";

import { ReliabilityMonitorManager } from "../../reliability_monitor_manager.js";
import { ReceiverReliabilityMonitor } from "../reliability_monitor.js";
import { ReliabilityMonitorManager } from "../../reliability_monitor/index.js";
import { ReceiverReliabilityMonitor } from "../../reliability_monitor/receiver.js";

import { DEFAULT_KEEP_ALIVE, DEFAULT_SUBSCRIBE_OPTIONS } from "./constants.js";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import { ensurePubsubTopicIsConfigured, Logger } from "@waku/utils";

import { BaseProtocolSDK } from "../../base_protocol";

Check failure on line 16 in packages/sdk/src/protocols/lightpush/index.ts

View workflow job for this annotation

GitHub Actions / proto

Missing file extension for "../../base_protocol"
import { ReliabilityMonitorManager } from "../../reliability_monitor_manager";

Check failure on line 17 in packages/sdk/src/protocols/lightpush/index.ts

View workflow job for this annotation

GitHub Actions / proto

Missing file extension for "../../reliability_monitor_manager"
import { SenderReliabilityMonitor } from "../reliability_monitor";
import { SenderReliabilityMonitor } from "../sender_reliability_monitor";

Check failure on line 18 in packages/sdk/src/protocols/lightpush/index.ts

View workflow job for this annotation

GitHub Actions / proto

Missing file extension for "../sender_reliability_monitor"

const log = new Logger("sdk:light-push");

Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import {
PubsubTopic
} from "@waku/interfaces";

import { ReceiverReliabilityMonitor } from "./receiver/reliability_monitor";
import { SenderReliabilityMonitor } from "./sender/reliability_monitor";
import { ReceiverReliabilityMonitor } from "./receiver";

Check failure on line 8 in packages/sdk/src/reliability_monitor/index.ts

View workflow job for this annotation

GitHub Actions / proto

Missing file extension "ts" for "./receiver"
import { SenderReliabilityMonitor } from "./sender";

Check failure on line 9 in packages/sdk/src/reliability_monitor/index.ts

View workflow job for this annotation

GitHub Actions / proto

Missing file extension "ts" for "./sender"

export class ReliabilityMonitorManager {
private static receiverMonitors: Map<
Expand Down
7 changes: 3 additions & 4 deletions packages/sdk/src/waku.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,9 @@ import type {
import { Protocols } from "@waku/interfaces";
import { Logger } from "@waku/utils";

import { wakuFilter } from "./protocols/receiver/filter/index.js";
import { wakuStore } from "./protocols/receiver/store/index.js";
import { ReliabilityMonitorManager } from "./protocols/reliability_monitor_manager.js";
import { wakuLightPush } from "./protocols/sender/lightpush/index.js";
import { ReliabilityMonitorManager } from "./reliability_monitor";

Check failure on line 19 in packages/sdk/src/waku.ts

View workflow job for this annotation

GitHub Actions / proto

Missing file extension "ts" for "./reliability_monitor"

import { wakuFilter, wakuLightPush, wakuStore } from ".";

export const DefaultPingKeepAliveValueSecs = 5 * 60;
export const DefaultRelayKeepAliveValueSecs = 5 * 60;
Expand Down

0 comments on commit 58b2c13

Please sign in to comment.