odaptos_design_system 2.0.38 → 2.0.39

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,10 +39,9 @@ export interface SelfProtocolManagerProps extends HTMLAttributes<HTMLDivElement>
39
39
  disabledStopRecording?: boolean;
40
40
  isExtensionDownloaded?: boolean;
41
41
  startScreenSharing: () => void;
42
- startInterview: (task: any) => void;
43
42
  sendTask: (task: any) => void;
44
43
  stopRecording: () => void;
45
44
  onClickFinishScenario?: () => void;
46
45
  }
47
- export declare const SelfProtocolManager: ({ texts, className, customScrollingClassname, customContentClassname, tasks, idsTasksAlreadySent, currentTask, disableAllTasks, areAllTasksSend, isLastScenario, isRecordingFinished, isUserSharingScreen, isScreenShareMessageDisplayed, isExtensionDownloaded, disabledStopRecording, startScreenSharing, startInterview, sendTask, stopRecording, onClickFinishScenario, ...props }: SelfProtocolManagerProps) => React.JSX.Element;
46
+ export declare const SelfProtocolManager: ({ texts, className, customScrollingClassname, customContentClassname, tasks, idsTasksAlreadySent, currentTask, disableAllTasks, areAllTasksSend, isLastScenario, isRecordingFinished, isUserSharingScreen, isScreenShareMessageDisplayed, isExtensionDownloaded, disabledStopRecording, startScreenSharing, sendTask, stopRecording, onClickFinishScenario, ...props }: SelfProtocolManagerProps) => React.JSX.Element;
48
47
  export {};
@@ -11858,7 +11858,6 @@ const SelfProtocolManager = ({
11858
11858
  isExtensionDownloaded = false,
11859
11859
  disabledStopRecording = false,
11860
11860
  startScreenSharing,
11861
- startInterview,
11862
11861
  sendTask,
11863
11862
  stopRecording,
11864
11863
  onClickFinishScenario,
@@ -11943,7 +11942,7 @@ const SelfProtocolManager = ({
11943
11942
  ctaText: task.index === 1 ? texts.startNowCTA : texts.sendScenarioCTA,
11944
11943
  buttonIcon: /*#__PURE__*/React__default.createElement(SendIcon, null),
11945
11944
  buttonId: 'start_scenario',
11946
- onClick: task.index === 1 ? () => startInterview(task) : () => sendTask(task),
11945
+ onClick: () => sendTask(task),
11947
11946
  isDisplay: task.isDisplay,
11948
11947
  isDisabled: getIsTaskDisabled(task) || !isUserSharingScreen
11949
11948
  });