@deepdesk/deepdesk-sdk 19.6.2-beta.3 → 19.6.2-beta.4

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.mts CHANGED
@@ -1257,6 +1257,9 @@ interface State$8 {
1257
1257
  type State$7 = {
1258
1258
  data: Profile | null;
1259
1259
  fetchState: FetchState;
1260
+ /** Bumped on reset/clear so in-flight getProfile cannot repopulate profile. */
1261
+ generation: number;
1262
+ inFlightRequestId: string | null;
1260
1263
  };
1261
1264
 
1262
1265
  /**
@@ -3467,6 +3470,17 @@ declare class DeepdeskSDK {
3467
3470
  private setupHandlingTime;
3468
3471
  private handleError;
3469
3472
  private loadProfileConfigPromise;
3473
+ private loadProfileConfigPromiseKey;
3474
+ /**
3475
+ * Subscription/dedupe key for conversation + profile. Admin validates profile codes as
3476
+ * `[a-z0-9-]+` (no colon), so the last `:` separates conversation id from profileCode
3477
+ * even when the id contains `:`.
3478
+ */
3479
+ private getConversationProfileKey;
3480
+ private getProfileLoadKey;
3481
+ private isCurrentProfileLoadKey;
3482
+ private getConversationLoadedKey;
3483
+ private resetProfileDerivedSettings;
3470
3484
  private loadProfileConfig;
3471
3485
  /**
3472
3486
  * Authenticates user via popup window.
package/dist/index.d.ts CHANGED
@@ -1257,6 +1257,9 @@ interface State$8 {
1257
1257
  type State$7 = {
1258
1258
  data: Profile | null;
1259
1259
  fetchState: FetchState;
1260
+ /** Bumped on reset/clear so in-flight getProfile cannot repopulate profile. */
1261
+ generation: number;
1262
+ inFlightRequestId: string | null;
1260
1263
  };
1261
1264
 
1262
1265
  /**
@@ -3467,6 +3470,17 @@ declare class DeepdeskSDK {
3467
3470
  private setupHandlingTime;
3468
3471
  private handleError;
3469
3472
  private loadProfileConfigPromise;
3473
+ private loadProfileConfigPromiseKey;
3474
+ /**
3475
+ * Subscription/dedupe key for conversation + profile. Admin validates profile codes as
3476
+ * `[a-z0-9-]+` (no colon), so the last `:` separates conversation id from profileCode
3477
+ * even when the id contains `:`.
3478
+ */
3479
+ private getConversationProfileKey;
3480
+ private getProfileLoadKey;
3481
+ private isCurrentProfileLoadKey;
3482
+ private getConversationLoadedKey;
3483
+ private resetProfileDerivedSettings;
3470
3484
  private loadProfileConfig;
3471
3485
  /**
3472
3486
  * Authenticates user via popup window.