http-request-manager 22.0.0 → 22.0.4

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "http-request-manager",
3
- "version": "22.0.0",
3
+ "version": "22.0.4",
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",
@@ -24,7 +24,7 @@
24
24
  "file-downloader-action": "^22.0.0",
25
25
  "node-sql-parser": "~5.4.0",
26
26
  "rxjs": "~7.8.0",
27
- "toast-message-display": "^18.0.7"
27
+ "toast-message-display": "^19.0.3"
28
28
  },
29
29
  "dependencies": {
30
30
  "tslib": "^2.3.0"
@@ -1125,6 +1125,11 @@ declare class WebSocketManagerService {
1125
1125
  * Disconnect from WebSocket server
1126
1126
  */
1127
1127
  disconnect(): void;
1128
+ /**
1129
+ * Clear a stale connectionError without triggering a connection attempt.
1130
+ * Used when no wsServer is configured so the UI shows clean "Disconnected" state.
1131
+ */
1132
+ clearConnectionError(): void;
1128
1133
  private sendSubscribe;
1129
1134
  /**
1130
1135
  * Send subscribe with lastSeenId for message sync support
@@ -1696,6 +1701,10 @@ declare class HTTPManagerService<T> extends RequestService {
1696
1701
  * Disconnect from WebSocket server
1697
1702
  */
1698
1703
  disconnect(): void;
1704
+ /**
1705
+ * Clear any stale connection error without triggering a connection attempt
1706
+ */
1707
+ clearConnectionError(): void;
1699
1708
  /**
1700
1709
  * Subscribe to a channel
1701
1710
  */
@@ -3509,8 +3518,11 @@ declare class RequestManagerWsDemoComponent implements OnInit, OnChanges {
3509
3518
  connectionError$: rxjs.Observable<string | null>;
3510
3519
  data$: rxjs.Observable<any>;
3511
3520
  isPending$: rxjs.Observable<boolean>;
3521
+ wsServerControl: FormControl<string | null>;
3512
3522
  ngOnInit(): void;
3513
3523
  ngOnChanges(changes: SimpleChanges): void;
3524
+ onConnect(): void;
3525
+ onDisconnect(): void;
3514
3526
  static ɵfac: i0.ɵɵFactoryDeclaration<RequestManagerWsDemoComponent, never>;
3515
3527
  static ɵcmp: i0.ɵɵComponentDeclaration<RequestManagerWsDemoComponent, "app-request-manager-ws-demo", never, { "server": { "alias": "server"; "required": false; }; "wsServer": { "alias": "wsServer"; "required": false; }; "jwtToken": { "alias": "jwtToken"; "required": false; }; "user": { "alias": "user"; "required": false; }; "path": { "alias": "path"; "required": false; }; }, {}, never, never, false, never>;
3516
3528
  }
Binary file