call-control-sdk 3.2.1 → 3.2.5
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 +5 -10
- package/dist/index.js +15885 -676
- package/dist/index.mjs +15905 -680
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Call Control SDK
|
|
2
2
|
|
|
3
|
-
Achala provide call control SDK with
|
|
3
|
+
Achala provide call control SDK with component, providing control panel for call management.
|
|
4
4
|
|
|
5
5
|
## Features
|
|
6
6
|
|
|
@@ -21,7 +21,7 @@ npm install call-control-sdk
|
|
|
21
21
|
|
|
22
22
|
## Peer Dependencies
|
|
23
23
|
|
|
24
|
-
Make sure you have these installed in your
|
|
24
|
+
Make sure you have these installed in your application:
|
|
25
25
|
|
|
26
26
|
```bash
|
|
27
27
|
npm install react react-dom @mui/material @mui/icons-material @emotion/react @emotion/styled
|
|
@@ -36,7 +36,7 @@ import { initSDK } from 'call-control-sdk';
|
|
|
36
36
|
|
|
37
37
|
// Initialize at the top level of your app
|
|
38
38
|
useEffect(() => {
|
|
39
|
-
// Initialize the SDK
|
|
39
|
+
// Initialize the SDK.
|
|
40
40
|
try {
|
|
41
41
|
initSDK({
|
|
42
42
|
apiKey: "apiKey",
|
|
@@ -115,17 +115,12 @@ Updates the call data that will be passed to the `onDataChange` callback.
|
|
|
115
115
|
- **More Menu**: Access status change options
|
|
116
116
|
|
|
117
117
|
### Persistent State
|
|
118
|
-
All control states are automatically
|
|
118
|
+
All control states are automatically persistent:
|
|
119
119
|
- Hold/mute states
|
|
120
120
|
- Agent status
|
|
121
121
|
- Panel position
|
|
122
122
|
- Call timer state
|
|
123
123
|
|
|
124
|
-
## Styling & Theming
|
|
125
|
-
|
|
126
|
-
The SDK uses Material-UI components and respects your app's MUI theme. Ensure you wrap your app with a `ThemeProvider`:
|
|
127
|
-
|
|
128
|
-
|
|
129
124
|
## Browser Support
|
|
130
125
|
|
|
131
126
|
- Chrome 60+
|
|
@@ -135,4 +130,4 @@ The SDK uses Material-UI components and respects your app's MUI theme. Ensure yo
|
|
|
135
130
|
|
|
136
131
|
## License
|
|
137
132
|
|
|
138
|
-
MIT ©
|
|
133
|
+
MIT © 2025 Achala It Solutions Pvt. Ltd.
|