@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.
- package/dist/PrimeStyleTryon.d.ts +1 -0
- package/dist/api-client.d.ts +12 -0
- package/dist/clarity.d.ts +13 -0
- package/dist/{index-D_9-KLXy.js → index-8lZs7T93.js} +252 -164
- package/dist/index-8lZs7T93.js.map +1 -0
- package/dist/primestyle-tryon.js +162 -151
- package/dist/primestyle-tryon.js.map +1 -1
- package/dist/react/PrimeStyleTryonInner.d.ts +1 -1
- package/dist/react/index.js +4996 -4863
- package/dist/react/index.js.map +1 -1
- package/dist/react/styles.d.ts +1 -1
- package/dist/react/types.d.ts +2 -0
- package/dist/replay.d.ts +9 -0
- package/dist/storefront/primestyle-tryon.js +309 -19
- package/dist/types.d.ts +2 -0
- package/package.json +1 -1
- package/dist/index-D_9-KLXy.js.map +0 -1
package/dist/api-client.d.ts
CHANGED
|
@@ -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 {};
|