@elliemae/pui-app-sdk 5.26.3 → 5.27.0

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.
@@ -29,6 +29,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
29
29
  var http_client_exports = {};
30
30
  __export(http_client_exports, {
31
31
  getAuthHTTPClient: () => getAuthHTTPClient,
32
+ getAuthorizationHeader: () => import_helper.getAuthorizationHeader,
32
33
  getHTTPClient: () => getHTTPClient
33
34
  });
34
35
  module.exports = __toCommonJS(http_client_exports);
@@ -32,5 +32,6 @@ const getAuthHTTPClient = ({
32
32
  });
33
33
  export {
34
34
  getAuthHTTPClient,
35
+ getAuthorizationHeader,
35
36
  getHTTPClient
36
37
  };
@@ -1,8 +1,10 @@
1
1
  import { AxiosInstance, RawAxiosRequestHeaders, HeadersDefaults } from 'axios';
2
+ import { getAuthorizationHeader } from '../../utils/auth/helper.js';
2
3
  type AxiosRequestHeaders = RawAxiosRequestHeaders | Partial<HeadersDefaults>;
3
4
  export type RequestConfig = {
4
5
  Authorization?: string;
5
6
  } & AxiosRequestHeaders;
7
+ export { getAuthorizationHeader };
6
8
  export declare const getHTTPClient: ({ baseURL, headers, }?: {
7
9
  baseURL?: string;
8
10
  headers?: RequestConfig;
@@ -12,4 +14,3 @@ export declare const getAuthHTTPClient: ({ baseURL, headers, ...rest }?: {
12
14
  headers?: RequestConfig;
13
15
  rest?: any[];
14
16
  }) => AxiosInstance;
15
- export {};