@osovitny/anatoly 3.21.42 → 3.21.44

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.
@@ -375,7 +375,7 @@ class LoggingService {
375
375
  if (info.indexOf(LoggingService.packagePrefix) === 0) {
376
376
  return info;
377
377
  }
378
- return `${LoggingService.packagePrefix}: ${info}`;
378
+ return `${LoggingService.packagePrefix}. ${info}`;
379
379
  }
380
380
  static getOptionalParams(info, optionalParams) {
381
381
  if (typeof info === 'string') {
@@ -678,7 +678,7 @@ class AppContextService extends ApiServiceBase {
678
678
  return;
679
679
  }
680
680
  //Logging
681
- let stopwatch = new Stopwatch("@osovitny/anatoly. AppContextService: Requesting a new AppContext");
681
+ let stopwatch = new Stopwatch("AppContextService. Requesting a new AppContext");
682
682
  stopwatch.start();
683
683
  this.subscription = this.get('getCurrentContext', null).subscribe({
684
684
  next: (data) => {
@@ -748,7 +748,7 @@ class AppContextService extends ApiServiceBase {
748
748
  }));
749
749
  let tasks$ = forkJoin([countries$, languages$, timezones$, usStates$]);
750
750
  //Logging
751
- let stopwatch = new Stopwatch("@osovitny/anatoly. AppContextService: loading standard json files");
751
+ let stopwatch = new Stopwatch("AppContextService. loading standard json files");
752
752
  stopwatch.start();
753
753
  return tasks$.pipe(tap(() => {
754
754
  this.fireStandardJsonFilesLoaded();
@@ -1702,7 +1702,6 @@ class Guid {
1702
1702
 
1703
1703
  Authors:
1704
1704
  Vadim Osovitny vadim.osovitny@osovitny.com
1705
- Anatoly Osovitny anatoly.osovitny@osovitny.com
1706
1705
 
1707
1706
  Created:
1708
1707
  20 Sep 2023
@@ -1733,11 +1732,11 @@ class MSALStorage {
1733
1732
  return;
1734
1733
  }
1735
1734
  localStorage.setItem(MSALStorageKeys.redirectTo, redirectTo);
1736
- LoggingService.info(`msal.app: redirect state saved: ${redirectTo}. Called by: ${calledBy}`);
1735
+ LoggingService.info(`MSAL. redirect state saved: ${redirectTo}. Called by: ${calledBy}`);
1737
1736
  }
1738
1737
  static getRedirectState(calledBy) {
1739
1738
  let redirectTo = localStorage.getItem(MSALStorageKeys.redirectTo);
1740
- LoggingService.info(`msal.app: redirect state requested: ${redirectTo}. Called by: ${calledBy}`);
1739
+ LoggingService.info(`MSAL. redirect state requested: ${redirectTo}. Called by: ${calledBy}`);
1741
1740
  if (!MSALStorage.hasRedirectValue(redirectTo)) {
1742
1741
  MSALStorage.clearRedirectState(calledBy);
1743
1742
  return null;
@@ -1746,7 +1745,7 @@ class MSALStorage {
1746
1745
  }
1747
1746
  static clearRedirectState(calledBy) {
1748
1747
  localStorage.removeItem(MSALStorageKeys.redirectTo);
1749
- LoggingService.info(`msal.app: redirect state cleared. Called by: ${calledBy}`);
1748
+ LoggingService.info(`MSAL. redirect state cleared. Called by: ${calledBy}`);
1750
1749
  }
1751
1750
  }
1752
1751
 
@@ -1757,7 +1756,6 @@ class MSALStorage {
1757
1756
 
1758
1757
  Authors:
1759
1758
  Vadim Osovitny vadim.osovitny@osovitny.com
1760
- Anatoly Osovitny anatoly.osovitny@osovitny.com
1761
1759
 
1762
1760
  Created:
1763
1761
  20 Sep 2023
@@ -1818,7 +1816,6 @@ let MSALB2CConfig;
1818
1816
 
1819
1817
  Authors:
1820
1818
  Vadim Osovitny vadim.osovitny@osovitny.com
1821
- Anatoly Osovitny anatoly.osovitny@osovitny.com
1822
1819
 
1823
1820
  Created:
1824
1821
  27 Nov 2023
@@ -1860,7 +1857,6 @@ class MSALUtils {
1860
1857
 
1861
1858
  Authors:
1862
1859
  Vadim Osovitny vadim.osovitny@osovitny.com
1863
- Anatoly Osovitny anatoly.osovitny@osovitny.com
1864
1860
 
1865
1861
  Created:
1866
1862
  20 Sep 2023
@@ -1899,7 +1895,6 @@ class MSALB2C {
1899
1895
 
1900
1896
  Authors:
1901
1897
  Vadim Osovitny vadim.osovitny@osovitny.com
1902
- Anatoly Osovitny anatoly.osovitny@osovitny.com
1903
1898
 
1904
1899
  Created:
1905
1900
  20 Sep 2023
@@ -1924,7 +1919,6 @@ const PolicyType = {
1924
1919
 
1925
1920
  Authors:
1926
1921
  Vadim Osovitny vadim.osovitny@osovitny.com
1927
- Anatoly Osovitny anatoly.osovitny@osovitny.com
1928
1922
 
1929
1923
  Created:
1930
1924
  20 Sep 2023
@@ -1975,7 +1969,7 @@ class AuthService extends ApiServiceBase {
1975
1969
  this.resetPasswordPolicy = MSALB2C.getPolicyByType(PolicyType.resetPassword);
1976
1970
  this.msalService.handleRedirectObservable().subscribe({
1977
1971
  next: (result) => {
1978
- this.logger.info(`iam.msal: handleRedirectObservable`);
1972
+ this.logger.info(`MSAL. handleRedirectObservable`);
1979
1973
  },
1980
1974
  error: (error) => {
1981
1975
  this.logger.error(error);
@@ -1998,7 +1992,7 @@ class AuthService extends ApiServiceBase {
1998
1992
  .subscribe((msg) => {
1999
1993
  switch (msg.eventType) {
2000
1994
  case EventType.INITIALIZE_END:
2001
- this.logger.info(`iam.msal: INITIALIZE_END fired`);
1995
+ this.logger.info(`MSAL. INITIALIZE_END fired`);
2002
1996
  break;
2003
1997
  case EventType.ACCOUNT_ADDED:
2004
1998
  case EventType.ACCOUNT_REMOVED:
@@ -2093,13 +2087,13 @@ class AuthService extends ApiServiceBase {
2093
2087
  * Initial status before interaction occurs
2094
2088
  */
2095
2089
  case InteractionStatus.Startup:
2096
- this.logger.info(`iam.msal: InteractionStatus.Startup`);
2090
+ this.logger.info(`MSAL. InteractionStatus.Startup`);
2097
2091
  break;
2098
2092
  /**
2099
2093
  * Status set when interaction is complete
2100
2094
  */
2101
2095
  case InteractionStatus.None:
2102
- this.logger.info(`iam.msal: InteractionStatus.None`);
2096
+ this.logger.info(`MSAL. InteractionStatus.None`);
2103
2097
  MSALRedirect.handle(this.router, 'msalBroadcastService.inProgress$ InteractionStatus.None');
2104
2098
  this.checkAndSetActiveAccount();
2105
2099
  setTimeout(() => {
@@ -2445,7 +2439,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImpo
2445
2439
 
2446
2440
  Authors:
2447
2441
  Vadim Osovitny vadim.osovitny@osovitny.com
2448
- Anatoly Osovitny anatoly.osovitny@osovitny.com
2449
2442
 
2450
2443
  Created:
2451
2444
  6 Dec 2018
@@ -2528,7 +2521,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImpo
2528
2521
 
2529
2522
  Authors:
2530
2523
  Vadim Osovitny vadim.osovitny@osovitny.com
2531
- Anatoly Osovitny anatoly.osovitny@osovitny.com
2532
2524
 
2533
2525
  Created:
2534
2526
  27 Nov 2023
@@ -2796,12 +2788,12 @@ class StarterService extends ApiServiceBase {
2796
2788
  let context = this.appContext.current;
2797
2789
  if (!is.objectNullOrEmpty(context)) {
2798
2790
  //Logging
2799
- this.logger.info('@osovitny/anatoly. StarterService: getting AppContext from Session Storage');
2791
+ this.logger.info('StarterService. getting AppContext from Session Storage');
2800
2792
  this.appContext.init(context);
2801
2793
  return of(context);
2802
2794
  }
2803
2795
  //Logging
2804
- let stopwatch = new Stopwatch("@osovitny/anatoly. StarterService: getting AppContext from API");
2796
+ let stopwatch = new Stopwatch("StarterService. getting AppContext from API");
2805
2797
  stopwatch.start();
2806
2798
  this.baseUrl = `${ApiUrl}/app`;
2807
2799
  return this.get('appStarting').pipe(map(data => {
@@ -2844,7 +2836,7 @@ class StarterService extends ApiServiceBase {
2844
2836
  tasks$ = applicationStarting$;
2845
2837
  }
2846
2838
  //Logging
2847
- let stopwatch = new Stopwatch("@osovitny/anatoly. StarterService: ensureApplicationStarted");
2839
+ let stopwatch = new Stopwatch("StarterService. ensureApplicationStarted");
2848
2840
  stopwatch.start();
2849
2841
  return tasks$.pipe(map(() => {
2850
2842
  //Logging
@@ -9350,7 +9342,6 @@ function loggerCallback(logLevel, message, containsPii) {
9350
9342
 
9351
9343
  Authors:
9352
9344
  Vadim Osovitny vadim.osovitny@osovitny.com
9353
- Anatoly Osovitny anatoly.osovitny@osovitny.com
9354
9345
 
9355
9346
  Created:
9356
9347
  6 Dec 2018
@@ -9413,7 +9404,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImpo
9413
9404
 
9414
9405
  Authors:
9415
9406
  Vadim Osovitny vadim.osovitny@osovitny.com
9416
- Anatoly Osovitny anatoly.osovitny@osovitny.com
9417
9407
 
9418
9408
  Created:
9419
9409
  20 Sep 2023
@@ -9448,7 +9438,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImpo
9448
9438
 
9449
9439
  Authors:
9450
9440
  Vadim Osovitny vadim.osovitny@osovitny.com
9451
- Anatoly Osovitny anatoly.osovitny@osovitny.com
9452
9441
 
9453
9442
  Created:
9454
9443
  20 Sep 2023
@@ -9483,7 +9472,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImpo
9483
9472
 
9484
9473
  Authors:
9485
9474
  Vadim Osovitny vadim.osovitny@osovitny.com
9486
- Anatoly Osovitny anatoly.osovitny@osovitny.com
9487
9475
 
9488
9476
  Created:
9489
9477
  20 Sep 2023
@@ -9518,7 +9506,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImpo
9518
9506
 
9519
9507
  Authors:
9520
9508
  Vadim Osovitny vadim.osovitny@osovitny.com
9521
- Anatoly Osovitny anatoly.osovitny@osovitny.com
9522
9509
 
9523
9510
  Created:
9524
9511
  2 May 2023
@@ -9558,7 +9545,6 @@ const PAGES = [
9558
9545
 
9559
9546
  Authors:
9560
9547
  Vadim Osovitny vadim.osovitny@osovitny.com
9561
- Anatoly Osovitny anatoly.osovitny@osovitny.com
9562
9548
 
9563
9549
  Created:
9564
9550
  6 Dec 2018
@@ -10099,7 +10085,7 @@ class AppService extends ApiServiceBase {
10099
10085
  }
10100
10086
  loadAppInitializerSettings() {
10101
10087
  //Logging
10102
- let stopwatch = new Stopwatch("@osovitny/anatoly. AppService: loadAppInitializerSettings");
10088
+ let stopwatch = new Stopwatch("AppService. loadAppInitializerSettings");
10103
10089
  stopwatch.start();
10104
10090
  return this.get('loadAppInitializerSettings').pipe(map$1(data => {
10105
10091
  //Logging