@tripian/core 7.3.0 → 8.0.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.
package/xhr/xhrFetch.d.ts CHANGED
@@ -2,7 +2,6 @@ import 'cross-fetch/polyfill';
2
2
  import Model from '@tripian/model';
3
3
  import IXhrOptions from './IXhrOptions';
4
4
  declare class XHR {
5
- private static instance;
6
5
  private baseURL;
7
6
  private xApiKey;
8
7
  private timeout;
@@ -11,9 +10,8 @@ declare class XHR {
11
10
  getToken: () => Model.Token | undefined;
12
11
  setToken: (token: Model.Token) => void;
13
12
  removeToken: () => void;
14
- private constructor();
15
- static getInstance: (xhrOptions: IXhrOptions) => XHR;
16
- static refreshXhrToken: () => Promise<Model.Token> | undefined;
13
+ constructor(xhrOptions: IXhrOptions);
14
+ refreshXhrToken: () => Promise<Model.Token> | undefined;
17
15
  private get;
18
16
  private getWithPage;
19
17
  private post;