@telia-ace/widget-core-flamingo 1.1.56-rc.1 → 1.1.56-rc.3

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@telia-ace/widget-core-flamingo",
3
- "version": "1.1.56-rc.1",
3
+ "version": "1.1.56-rc.3",
4
4
  "dependencies": {
5
5
  "lit": "^3.0.2",
6
6
  "@teliads/icons": "^8.4.0",
@@ -7,8 +7,11 @@ export interface IHttpClient {
7
7
  getSite(url: string): Promise<SiteConfig | null>;
8
8
  getWidget(widgetId: string): Promise<GetWidgetResponse | null>;
9
9
  }
10
+ export declare const createHttpClient: (endpoint?: string) => IHttpClient;
10
11
  export declare class HttpClient implements IHttpClient {
12
+ private _endpoint;
11
13
  private static endpoint;
14
+ constructor(_endpoint?: string);
12
15
  getSite(url: string): Promise<SiteConfig | null>;
13
16
  getWidget(widgetId: string): Promise<GetWidgetResponse | null>;
14
17
  }