http-request-manager 18.5.23 → 18.6.1

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.23",
3
+ "version": "18.6.1",
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",
@@ -1647,6 +1647,10 @@ declare class WsMessagingComponent implements OnInit, OnDestroy {
1647
1647
  toastService: ToastMessageDisplayService;
1648
1648
  channels$: Observable<string[]>;
1649
1649
  subscribedChannels$: Observable<string[]>;
1650
+ /**
1651
+ * Helper to ensure channel has PUB- prefix for outgoing communication
1652
+ */
1653
+ private toPublicChannel;
1650
1654
  user$: Observable<WSUser | null>;
1651
1655
  data$: Observable<any>;
1652
1656
  connectionStatus$: Observable<boolean>;
@@ -1672,16 +1676,27 @@ declare class WsMessagingComponent implements OnInit, OnDestroy {
1672
1676
  onCreateChannel(): void;
1673
1677
  /**
1674
1678
  * Subscribe to a channel to receive messages
1679
+ * Auto-adds PUB- prefix for outgoing communication
1675
1680
  */
1676
1681
  onSubscribeToChannel(channel: string): void;
1677
1682
  /**
1678
1683
  * Unsubscribe from a channel
1684
+ * Auto-adds PUB- prefix for outgoing communication
1679
1685
  */
1680
1686
  onUnsubscribeFromChannel(channel: string): void;
1687
+ /**
1688
+ * Handle chip toggle for subscribe/unsubscribe
1689
+ */
1690
+ onChipToggle(channel: string, event: any): void;
1681
1691
  /**
1682
1692
  * Check if currently subscribed to a channel
1693
+ * Compares display names (without PUB- prefix)
1683
1694
  */
1684
1695
  isSubscribed(channel: string, subscribedChannels: string[]): boolean;
1696
+ /**
1697
+ * Handle chip click - toggle subscription state
1698
+ */
1699
+ onChipClick(channel: string, subscribedChannels: string[]): void;
1685
1700
  onSendMessage(user: WSUser): void;
1686
1701
  static ɵfac: i0.ɵɵFactoryDeclaration<WsMessagingComponent, never>;
1687
1702
  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