http-request-manager 18.5.22 → 18.5.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "http-request-manager",
|
|
3
|
-
"version": "18.5.
|
|
3
|
+
"version": "18.5.23",
|
|
4
4
|
"homepage": "https://wavecoders.ca",
|
|
5
5
|
"author": "Mike Bonifacio <wavecoders@gmail.com> (http://wavecoders@gmail.com/)",
|
|
6
6
|
"description": "This is an Angular Module containing Components/Services using Material",
|
|
@@ -1504,6 +1504,14 @@ declare class StateRequestServiceDemo extends HTTPManagerStateService<any> {
|
|
|
1504
1504
|
updateConnection(server: string, wsServer: string, jwtToken: string, user: any): void;
|
|
1505
1505
|
sendMessage(data: ChannelMessage, channels?: string[]): void;
|
|
1506
1506
|
getAllChannels(): void;
|
|
1507
|
+
/**
|
|
1508
|
+
* Subscribe to a channel to receive messages
|
|
1509
|
+
*/
|
|
1510
|
+
subscribeToChannel(channel: string): void;
|
|
1511
|
+
/**
|
|
1512
|
+
* Unsubscribe from a channel
|
|
1513
|
+
*/
|
|
1514
|
+
unsubscribeFromChannel(channel: string): void;
|
|
1507
1515
|
static ɵfac: i0.ɵɵFactoryDeclaration<StateRequestServiceDemo, never>;
|
|
1508
1516
|
static ɵprov: i0.ɵɵInjectableDeclaration<StateRequestServiceDemo>;
|
|
1509
1517
|
}
|
|
@@ -1636,18 +1644,19 @@ declare class WsMessagingComponent implements OnInit, OnDestroy {
|
|
|
1636
1644
|
private destroy$;
|
|
1637
1645
|
fb: FormBuilder;
|
|
1638
1646
|
stateRequestServiceDemo: StateRequestServiceDemo;
|
|
1647
|
+
toastService: ToastMessageDisplayService;
|
|
1639
1648
|
channels$: Observable<string[]>;
|
|
1649
|
+
subscribedChannels$: Observable<string[]>;
|
|
1640
1650
|
user$: Observable<WSUser | null>;
|
|
1641
1651
|
data$: Observable<any>;
|
|
1642
1652
|
connectionStatus$: Observable<boolean>;
|
|
1653
|
+
newChannelName: FormControl<string | null>;
|
|
1643
1654
|
messages: _angular_forms.FormGroup<{
|
|
1644
|
-
|
|
1655
|
+
selectedChannels: FormControl<string[] | null>;
|
|
1645
1656
|
content: FormControl<string | null>;
|
|
1646
1657
|
}>;
|
|
1647
|
-
get
|
|
1658
|
+
get selectedChannels(): FormControl;
|
|
1648
1659
|
get content(): FormControl;
|
|
1649
|
-
get isValid(): boolean;
|
|
1650
|
-
get selectedChannels(): any;
|
|
1651
1660
|
communicationMessages$: Observable<any[]>;
|
|
1652
1661
|
latestCommunicationMessages$: Observable<any>;
|
|
1653
1662
|
chat$: Observable<{
|
|
@@ -1656,6 +1665,23 @@ declare class WsMessagingComponent implements OnInit, OnDestroy {
|
|
|
1656
1665
|
} | any>;
|
|
1657
1666
|
ngOnInit(): void;
|
|
1658
1667
|
ngOnDestroy(): void;
|
|
1668
|
+
/**
|
|
1669
|
+
* Create a new public channel without auto-subscribing
|
|
1670
|
+
* Public channels use PUB- prefix, system channels use SYS- prefix
|
|
1671
|
+
*/
|
|
1672
|
+
onCreateChannel(): void;
|
|
1673
|
+
/**
|
|
1674
|
+
* Subscribe to a channel to receive messages
|
|
1675
|
+
*/
|
|
1676
|
+
onSubscribeToChannel(channel: string): void;
|
|
1677
|
+
/**
|
|
1678
|
+
* Unsubscribe from a channel
|
|
1679
|
+
*/
|
|
1680
|
+
onUnsubscribeFromChannel(channel: string): void;
|
|
1681
|
+
/**
|
|
1682
|
+
* Check if currently subscribed to a channel
|
|
1683
|
+
*/
|
|
1684
|
+
isSubscribed(channel: string, subscribedChannels: string[]): boolean;
|
|
1659
1685
|
onSendMessage(user: WSUser): void;
|
|
1660
1686
|
static ɵfac: i0.ɵɵFactoryDeclaration<WsMessagingComponent, never>;
|
|
1661
1687
|
static ɵcmp: i0.ɵɵComponentDeclaration<WsMessagingComponent, "app-ws-messaging", never, { "server": { "alias": "server"; "required": false; }; "wsServer": { "alias": "wsServer"; "required": false; }; "jwtToken": { "alias": "jwtToken"; "required": false; }; "user": { "alias": "user"; "required": false; }; }, {}, never, never, false, never>;
|
|
Binary file
|