call-control-sdk 3.3.0 → 4.0.0

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
@@ -24,7 +24,7 @@ npm install call-control-sdk
24
24
  Make sure you have these installed in your application:
25
25
 
26
26
  ```bash
27
- npm install react react-dom @mui/material @mui/icons-material @emotion/react @emotion/styled
27
+ npm install react react-dom axios @mui/material @mui/icons-material @emotion/react @emotion/styled
28
28
  ```
29
29
 
30
30
  ## Quick Start
package/dist/index.d.mts CHANGED
@@ -8,7 +8,7 @@ interface CallData {
8
8
  interface CallControlPanelProps {
9
9
  onDataChange?: (data: CallData) => void;
10
10
  }
11
- type CallStatus = "idle" | "ready" | "break";
11
+ type CallStatus = "idle" | "ready" | "break" | "on call" | "wrap up" | "dial" | "hold" | "mute";
12
12
 
13
13
  declare function CallControlPanel({ onDataChange }: CallControlPanelProps): react_jsx_runtime.JSX.Element | null;
14
14
 
package/dist/index.d.ts CHANGED
@@ -8,7 +8,7 @@ interface CallData {
8
8
  interface CallControlPanelProps {
9
9
  onDataChange?: (data: CallData) => void;
10
10
  }
11
- type CallStatus = "idle" | "ready" | "break";
11
+ type CallStatus = "idle" | "ready" | "break" | "on call" | "wrap up" | "dial" | "hold" | "mute";
12
12
 
13
13
  declare function CallControlPanel({ onDataChange }: CallControlPanelProps): react_jsx_runtime.JSX.Element | null;
14
14