http-request-manager 18.16.3 → 18.16.6

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.16.3",
3
+ "version": "18.16.6",
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",
@@ -1,7 +1,7 @@
1
1
  import * as rxjs from 'rxjs';
2
2
  import { Observable, Subscription, BehaviorSubject, OperatorFunction } from 'rxjs';
3
3
  import * as i0 from '@angular/core';
4
- import { InjectionToken, OnDestroy, Injector, DestroyRef, OnInit, EventEmitter, ModuleWithProviders } from '@angular/core';
4
+ import { InjectionToken, OnDestroy, Injector, DestroyRef, OnInit, OnChanges, SimpleChanges, EventEmitter, ModuleWithProviders } from '@angular/core';
5
5
  import { ComponentStore } from '@ngrx/component-store';
6
6
  import { HttpClient, HttpHeaders, HttpInterceptor, HttpRequest, HttpHandler, HttpEvent } from '@angular/common/http';
7
7
  import * as http_request_manager from 'http-request-manager';
@@ -696,6 +696,7 @@ declare class HTTPManagerStateService<T extends {
696
696
  private ownSessionId;
697
697
  wsOptions: WSOptions;
698
698
  connectionStatus$: Observable<boolean>;
699
+ isConnecting$: Observable<boolean>;
699
700
  wsRetryCount$: Observable<number>;
700
701
  wsMaxRetries$: Observable<number>;
701
702
  connectionError$: Observable<string | null>;
@@ -842,6 +843,7 @@ declare class HTTPManagerStateService<T extends {
842
843
  private normalizeObject;
843
844
  private filterHeaders;
844
845
  private resolvePath;
846
+ private stripBasePathPrefix;
845
847
  private getEffectiveParams;
846
848
  private buildRequestSignature;
847
849
  private buildSchemaSignature;
@@ -937,8 +939,10 @@ declare class WebsocketService {
937
939
  */
938
940
  declare class WebSocketManagerService {
939
941
  private static socket;
940
- private static isConnecting;
942
+ private static isConnectingSubject;
943
+ isConnecting$: Observable<boolean>;
941
944
  private static connectionInitialized;
945
+ private static shouldRetry;
942
946
  private static lastOptions;
943
947
  private static lastJwtToken;
944
948
  private static retryCount;
@@ -1547,6 +1551,7 @@ declare class HTTPManagerService<T> extends RequestService {
1547
1551
  connectionStatus$: Observable<boolean>;
1548
1552
  messages$: Observable<any>;
1549
1553
  subscribedChannels$: Observable<Set<string>>;
1554
+ isConnecting$: Observable<boolean>;
1550
1555
  retryCount$: Observable<number>;
1551
1556
  maxRetries$: Observable<number>;
1552
1557
  connectionError$: Observable<string | null>;
@@ -3403,7 +3408,7 @@ declare class NotificationServiceDemo {
3403
3408
  static ɵprov: i0.ɵɵInjectableDeclaration<NotificationServiceDemo>;
3404
3409
  }
3405
3410
 
3406
- declare class RequestManagerWsDemoComponent implements OnInit {
3411
+ declare class RequestManagerWsDemoComponent implements OnInit, OnChanges {
3407
3412
  httpManagerService: HTTPManagerService<any>;
3408
3413
  stateService: StateServiceDemo;
3409
3414
  fb: FormBuilder;
@@ -3416,10 +3421,12 @@ declare class RequestManagerWsDemoComponent implements OnInit {
3416
3421
  retryCount$: rxjs.Observable<number>;
3417
3422
  maxRetries$: rxjs.Observable<number>;
3418
3423
  connectionStatus$: rxjs.Observable<boolean>;
3424
+ isConnecting$: rxjs.Observable<boolean>;
3419
3425
  connectionError$: rxjs.Observable<string | null>;
3420
3426
  data$: rxjs.Observable<any>;
3421
3427
  isPending$: rxjs.Observable<boolean>;
3422
3428
  ngOnInit(): void;
3429
+ ngOnChanges(changes: SimpleChanges): void;
3423
3430
  static ɵfac: i0.ɵɵFactoryDeclaration<RequestManagerWsDemoComponent, never>;
3424
3431
  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>;
3425
3432
  }
@@ -3508,7 +3515,7 @@ declare class StateDataRequestService extends HTTPManagerStateService<any> {
3508
3515
  static ɵprov: i0.ɵɵInjectableDeclaration<StateDataRequestService>;
3509
3516
  }
3510
3517
 
3511
- declare class WsDataControlComponent implements OnInit {
3518
+ declare class WsDataControlComponent implements OnInit, OnChanges {
3512
3519
  server: string;
3513
3520
  wsServer: string;
3514
3521
  jwtToken: string;
@@ -3521,7 +3528,9 @@ declare class WsDataControlComponent implements OnInit {
3521
3528
  userAction$: rxjs.Observable<any>;
3522
3529
  data$: rxjs.Observable<any>;
3523
3530
  isUser: (user: any, userItem: any) => boolean;
3531
+ getUserLabel: (user: any) => any;
3524
3532
  ngOnInit(): void;
3533
+ ngOnChanges(changes: SimpleChanges): void;
3525
3534
  onGetData(): void;
3526
3535
  onAddData(): void;
3527
3536
  onUpdateData(data: any[]): void;
Binary file