Skip to content

Commit

Permalink
misc: remove pubnub subscription support (#833)
Browse files Browse the repository at this point in the history
  • Loading branch information
embbnux authored Jun 19, 2024
1 parent 022d1ec commit bfa6708
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 323 deletions.
16 changes: 2 additions & 14 deletions src/modules/Phone/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,9 @@ import {
VideoConfiguration,
} from '@ringcentral-integration/commons/modules/VideoConfiguration';
import {
WebSocketSubscription,
WebSocketSubscription as Subscription,
} from '@ringcentral-integration/commons/modules/WebSocketSubscription';
import { RingCentralExtensions } from '@ringcentral-integration/commons/modules/RingCentralExtensions';
import {
ActiveCallsUI,
} from '@ringcentral-integration/widgets/modules/ActiveCallsUI';
Expand Down Expand Up @@ -211,15 +212,6 @@ import { RcVideo } from '../RcVideo';
import { RingtoneSettingsUI } from '../RingtoneSettingsUI';
import { SettingsUI } from '../SettingsUI';
import { Storage } from '../Storage';
import {
GenericSubscription as Subscription,
} from '../Subscription'; // TODO: wsg subscription
import { PubnubReadyController } from '../Subscription/PubnubReadyController';
import { PubnubSubscription } from '../Subscription/PubnubSubscription';
import { RingCentralExtensions } from '../Subscription/RingCentralExtensions';
import {
WebSocketReadyController,
} from '../Subscription/WebSocketReadyController';
import { TabManager } from '../TabManager';
import ThirdPartyService from '../ThirdPartyService';
import { ThirdPartySettingSectionUI } from '../ThirdPartySettingSectionUI';
Expand Down Expand Up @@ -273,10 +265,6 @@ import { SideDrawerUI } from '../SideDrawerUI';
{ provide: 'ContactMatcher', useClass: ContactMatcher },
{ provide: 'Subscription', useClass: Subscription },
{ provide: 'RingCentralExtensions', useClass: RingCentralExtensions },
{ provide: 'PubnubReadyController', useClass: PubnubReadyController },
{ provide: 'WebSocketReadyController', useClass: WebSocketReadyController },
{ provide: 'PubnubSubscription', useClass: PubnubSubscription },
{ provide: 'WebSocketSubscription', useClass: WebSocketSubscription },
{ provide: 'RegionSettings', useClass: RegionSettings },
{ provide: 'NumberValidate', useClass: NumberValidate },
{ provide: 'NoiseReduction', useClass: NoiseReduction },
Expand Down
35 changes: 0 additions & 35 deletions src/modules/Subscription/PubnubReadyController.ts

This file was deleted.

65 changes: 0 additions & 65 deletions src/modules/Subscription/PubnubSubscription.ts

This file was deleted.

10 changes: 0 additions & 10 deletions src/modules/Subscription/RingCentralExtensions.ts

This file was deleted.

35 changes: 0 additions & 35 deletions src/modules/Subscription/WebSocketReadyController.ts

This file was deleted.

164 changes: 0 additions & 164 deletions src/modules/Subscription/index.ts

This file was deleted.

0 comments on commit bfa6708

Please sign in to comment.