call-control-sdk 6.0.11 → 6.1.1
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 +3 -3
- package/package.json +88 -88
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
### Call Control SDK [](https://www.npmjs.com/package/call-control-sdk) [](https://www.npmjs.com/package/call-control-sdk)
|
|
2
2
|
|
|
3
|
-
A lightweight SDK that provides a utility hooks for managing calls in real-time. and designed for
|
|
3
|
+
A lightweight SDK that provides a utility hooks for managing calls in real-time. and designed for productivity.
|
|
4
4
|
|
|
5
5
|
### ✨ Features
|
|
6
6
|
|
|
@@ -32,7 +32,7 @@ react react-dom axios @mui/material @mui/icons-material @emotion/react @emotion/
|
|
|
32
32
|
- [initSDK](#initsdk)
|
|
33
33
|
- [CallControlPanel](#callcontrolpanel)
|
|
34
34
|
- [updateCallData](#updatecalldata)
|
|
35
|
-
3. [SDK Configuration](
|
|
35
|
+
3. [SDK Configuration](#sdk-configuration)
|
|
36
36
|
4. [Hooks](#-hooks)
|
|
37
37
|
- [useLogout](#uselogout)
|
|
38
38
|
- [useClickToCall](#useClickToCall)
|
|
@@ -193,7 +193,7 @@ Update call data programmatically.
|
|
|
193
193
|
| `callReferenceId?` | string | Unique call reference |
|
|
194
194
|
| `agentLoginId?` | string | Agent login identifier |
|
|
195
195
|
|
|
196
|
-
###
|
|
196
|
+
### SDK Configuration
|
|
197
197
|
|
|
198
198
|
You can customize the behavior and appearance of the Call Control SDK by passing configuration options to the `initSDK` method. These options allow you to enable/disable specific controls and apply custom styles for maximum productivity and seamless integration.
|
|
199
199
|
|
package/package.json
CHANGED
|
@@ -1,90 +1,90 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
2
|
+
"name": "call-control-sdk",
|
|
3
|
+
"description": "Call Control SDK for Web RTC",
|
|
4
|
+
"version": "6.1.1",
|
|
5
|
+
"author": "achala IT",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"main": "./dist/index.js",
|
|
8
|
+
"module": "./dist/index.mjs",
|
|
9
|
+
"types": "./dist/index.d.ts",
|
|
10
|
+
"exports": {
|
|
11
|
+
".": {
|
|
12
|
+
"types": "./dist/index.d.ts",
|
|
13
|
+
"import": "./dist/index.mjs",
|
|
14
|
+
"require": "./dist/index.js"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"files": [
|
|
18
|
+
"dist"
|
|
19
|
+
],
|
|
20
|
+
"keywords": [
|
|
21
|
+
"webRTC",
|
|
22
|
+
"call-control",
|
|
23
|
+
"webRTC-sdk",
|
|
24
|
+
"javascript",
|
|
25
|
+
"call-control-sdk",
|
|
26
|
+
"call-control-sdk-for-webRTC",
|
|
27
|
+
"softphone",
|
|
28
|
+
"softphone-sdk",
|
|
29
|
+
"softphone-sdk-for-webRTC",
|
|
30
|
+
"softphone-sdk-for-web",
|
|
31
|
+
"call-control-sdk-for-web",
|
|
32
|
+
"call-control-sdk-for-webRTC"
|
|
33
|
+
],
|
|
34
|
+
"scripts": {
|
|
35
|
+
"build": "tsup call-control-sdk/index.ts --format esm,cjs --dts --sourcemap --minify --clean --tsconfig tsconfig.build.json",
|
|
36
|
+
"lint": "eslint .",
|
|
37
|
+
"format": "prettier --write .",
|
|
38
|
+
"prepublishOnly": "npm run build"
|
|
39
|
+
},
|
|
40
|
+
"dependencies": {
|
|
41
|
+
"@emotion/react": ">=11.0.0",
|
|
42
|
+
"@emotion/styled": ">=11.0.0",
|
|
43
|
+
"@mui/icons-material": ">=5.0.0",
|
|
44
|
+
"@mui/material": ">=5.0.0",
|
|
45
|
+
"axios": ">=1.0.0"
|
|
46
|
+
},
|
|
47
|
+
"peerDependencies": {
|
|
48
|
+
"@emotion/react": ">=11.0.0",
|
|
49
|
+
"@emotion/styled": ">=11.0.0",
|
|
50
|
+
"@mui/icons-material": ">=5.0.0",
|
|
51
|
+
"@mui/material": ">=5.0.0",
|
|
52
|
+
"axios": ">=1.0.0",
|
|
53
|
+
"react": ">=16.0.0",
|
|
54
|
+
"react-dom": ">=16.0.0"
|
|
55
|
+
},
|
|
56
|
+
"peerDependenciesMeta": {
|
|
57
|
+
"@emotion/react": {
|
|
58
|
+
"optional": true
|
|
59
|
+
},
|
|
60
|
+
"@emotion/styled": {
|
|
61
|
+
"optional": true
|
|
62
|
+
},
|
|
63
|
+
"@mui/icons-material": {
|
|
64
|
+
"optional": true
|
|
65
|
+
},
|
|
66
|
+
"@mui/material": {
|
|
67
|
+
"optional": true
|
|
68
|
+
},
|
|
69
|
+
"axios": {
|
|
70
|
+
"optional": true
|
|
71
|
+
},
|
|
72
|
+
"react": {
|
|
73
|
+
"optional": false
|
|
74
|
+
},
|
|
75
|
+
"react-dom": {
|
|
76
|
+
"optional": false
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
"devDependencies": {
|
|
80
|
+
"@types/react": "^18.0.0",
|
|
81
|
+
"@types/react-dom": "^18.0.0",
|
|
82
|
+
"eslint": "^8.0.0",
|
|
83
|
+
"prettier": "^3.0.0",
|
|
84
|
+
"react": "^19.1.1",
|
|
85
|
+
"react-dom": "^19.1.1",
|
|
86
|
+
"tsup": "^8.5.0",
|
|
87
|
+
"typescript": "^5.0.0",
|
|
88
|
+
"vite": "^5.0.0"
|
|
89
|
+
}
|
|
90
90
|
}
|