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 +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1207 -15794
- package/dist/index.mjs +1256 -15866
- package/package.json +2 -1
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
|
|