interview-widget 0.1.5 → 0.1.7

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/README.md CHANGED
@@ -37,6 +37,10 @@ export default function App() {
37
37
  api: { baseUrl: "/api" },
38
38
  interview: {
39
39
  stt: {
40
+ provider: "groq",
41
+ model: "whisper-large-v3-turbo",
42
+ language: "en",
43
+ },
40
44
  tts: { provider: "piper" },
41
45
  timers: {
42
46
  thinkingDuration: 30,
@@ -46,15 +50,14 @@ export default function App() {
46
50
  },
47
51
  }}
48
52
  >
49
- <InterviewWidget
53
+ <InterviewWidget
50
54
  interviewId="your_interview_id"
51
55
  title="Interview for JS developer"
52
56
  className="iw-rounded-none iw-shadow-none"
53
57
  onInterviewEnd={() => {
54
- console.log("🎉🎉 Interview ended 🎉🎉");
55
- }}
58
+ console.log("🎉🎉 Interview ended 🎉🎉");
59
+ }}
56
60
  />
57
-
58
61
  </InterviewWidgetProvider>
59
62
  );
60
63
  }
@@ -1,5 +1,6 @@
1
1
  import { default as React } from 'react';
2
2
  interface InterviewControllerProps {
3
+ interviewTitle: string;
3
4
  interviewId: string;
4
5
  onComplete?: () => void;
5
6
  className?: string;
@@ -27,6 +27,7 @@ export interface TimerCallbacks {
27
27
  onPhaseChange?: (phase: TimerPhase, state: TimerState) => void;
28
28
  onTick?: (state: TimerState) => void;
29
29
  onInterviewEnd?: () => void;
30
+ onComplete?: () => void;
30
31
  }
31
32
  export declare class TimerService {
32
33
  private config;