@telia-ace/widget-core-flamingo 1.1.72-rc.11 → 1.1.72-rc.12
Sign up to get free protection for your applications and to get access to all the features.
- package/bootstrap.d.ts +4 -1
- package/index.js +17 -17
- package/index.mjs +276 -272
- package/models/site.d.ts +2 -0
- package/package.json +1 -1
package/models/site.d.ts
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
import { IHttpClient } from '../services/http-client.service';
|
1
2
|
import { SiteAPI } from '../services/site-api';
|
2
3
|
import { InitConfig } from '../types';
|
3
4
|
import { Environment } from './environment';
|
@@ -10,6 +11,7 @@ export declare class Site {
|
|
10
11
|
constructor(urlOrConfig: string | InitConfig);
|
11
12
|
load(url: string): Promise<void>;
|
12
13
|
loadFromConfig(config: InitConfig): void;
|
14
|
+
setHttpClient(client: IHttpClient): void;
|
13
15
|
bootstrap(handler: (environment: Environment) => void): Promise<void>;
|
14
16
|
private addGlobal;
|
15
17
|
}
|