@superfeedback/widget 0.0.18 → 0.0.20

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/dist/index.d.ts CHANGED
@@ -15,24 +15,17 @@ declare type Config = {
15
15
  };
16
16
 
17
17
  export declare interface InitOptions {
18
- apiKey?: string;
18
+ projectId?: string;
19
19
  appId?: string;
20
- readonly?: boolean;
21
- defaultOpen?: boolean;
20
+ previewMode?: boolean;
22
21
  config?: Partial<Config>;
23
22
  strategy?: "fixed" | "absolute";
24
23
  }
25
24
 
26
25
  export declare class Superfeedback {
27
- private static instance;
28
- private static readonly CONTAINER_ID;
29
- private app;
30
- private container;
31
- private sessionTracker;
32
- private isLoading;
26
+ #private;
33
27
  constructor(options: InitOptions);
34
- private loadWidget;
35
- static init(options: InitOptions | string): Superfeedback;
28
+ static init(options: InitOptions): Superfeedback;
36
29
  destroy(): void;
37
30
  }
38
31