@primestyleai/tryon 5.10.195 → 5.10.196

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.
@@ -39,6 +39,7 @@ export declare class PrimeStyleTryon extends HTMLElement {
39
39
  private emit;
40
40
  private get eventProductContext();
41
41
  private reportProductView;
42
+ private tagClarity;
42
43
  private reportEvent;
43
44
  private reportClientError;
44
45
  private get buttonText();
@@ -81,6 +81,15 @@ export interface SdkClientErrorInput {
81
81
  jobId?: string;
82
82
  metadata?: Record<string, unknown>;
83
83
  }
84
+ export interface SdkReplayChunkInput {
85
+ sessionId: string;
86
+ sequence: number;
87
+ events: unknown[];
88
+ productId?: string;
89
+ productTitle?: string;
90
+ productUrl?: string;
91
+ deviceHint?: string | null;
92
+ }
84
93
  export declare class ApiClient {
85
94
  private apiKey?;
86
95
  private baseUrl;
@@ -97,6 +106,9 @@ export declare class ApiClient {
97
106
  reportClientError(input: SdkClientErrorInput): Promise<{
98
107
  ok: true;
99
108
  }>;
109
+ reportReplayChunk(input: SdkReplayChunkInput): Promise<{
110
+ ok: true;
111
+ }>;
100
112
  getStreamUrl(jobId?: string): string;
101
113
  }
102
114
  export declare function jsonHeaders(apiKey?: string): Record<string, string>;
@@ -0,0 +1,13 @@
1
+ interface SdkClarityContext {
2
+ projectId?: string | null;
3
+ productId?: string | null;
4
+ productTitle?: string | null;
5
+ productUrl?: string | null;
6
+ view?: string | null;
7
+ jobId?: string | null;
8
+ source?: string | null;
9
+ }
10
+ export declare function resolveSdkClarityProjectId(projectId?: string | null): string | null;
11
+ export declare function tagSdkClaritySession(input?: SdkClarityContext): void;
12
+ export declare function startSdkClarity(input?: SdkClarityContext): boolean;
13
+ export {};