@tilde-nlp/ngx-common 8.0.6 → 8.0.7

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.
@@ -19,7 +19,7 @@ import { MatTooltipModule } from '@angular/material/tooltip';
19
19
  import * as i2$2 from '@ngbracket/ngx-layout/flex';
20
20
  import * as i3 from '@ngbracket/ngx-layout/extended';
21
21
  import * as i1$4 from '@angular/common/http';
22
- import { HttpErrorResponse, provideHttpClient, withInterceptorsFromDi, HttpClient } from '@angular/common/http';
22
+ import { HttpErrorResponse, HttpHeaders, provideHttpClient, withInterceptorsFromDi, HttpClient } from '@angular/common/http';
23
23
  import * as i15 from '@angular/material/paginator';
24
24
  import { MatPaginatorIntl, MatPaginator, MatPaginatorModule } from '@angular/material/paginator';
25
25
  import * as i2$4 from '@angular/material/progress-spinner';
@@ -632,6 +632,11 @@ class AuthHeadersHelper {
632
632
  }
633
633
  return authHeaders;
634
634
  }
635
+ static getLangHeaders(lang) {
636
+ return new HttpHeaders({
637
+ 'Accept-Language': lang,
638
+ });
639
+ }
635
640
  }
636
641
 
637
642
  class FileExtensionHelper {