@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/index.d.ts +1 -1
- package/index.js +18 -16
- package/index.mjs +280 -274
- package/package.json +1 -1
- package/services/http-client.service.d.ts +3 -0
package/package.json
CHANGED
@@ -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
|
}
|