@marketrix.ai/widget 3.8.445 → 3.8.447

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.
@@ -6,6 +6,7 @@ export declare class RrwebSessionRecorder {
6
6
  private stopRecording;
7
7
  private flushTimer;
8
8
  private flushPromise;
9
+ private stopped;
9
10
  constructor(chatId: string, applicationId: number);
10
11
  start(): Promise<void>;
11
12
  stop(): void;
@@ -1,4 +1,2 @@
1
- import { type WidgetData, type WidgetSettingsData } from '../sdk';
2
- export declare function getWidgetSettings(widget: WidgetData): WidgetSettingsData | null;
3
- /** Null without credentials — that is the dashboard preview, which has none. */
4
- export declare function fetchWidgetSettings(mtxId?: string, mtxKey?: string): Promise<WidgetData | null>;
1
+ import type { MarketrixConfig } from '../types';
2
+ export declare function loadWidgetConfig(config: MarketrixConfig): Promise<MarketrixConfig>;
@@ -1,4 +1,2 @@
1
- import type { WidgetSettingsData } from '../sdk';
2
- export declare function isWidgetSettingsData(data: unknown): data is WidgetSettingsData;
3
1
  export declare function isHTMLElement(element: Element | null): element is HTMLElement;
4
2
  export declare function isHTMLScriptElement(element: Element | null): element is HTMLScriptElement;