ysyt-agent-sdk 1.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 +3 -0
- package/dist/css/ysyt-agent-sdk.css +1 -0
- package/dist/fonts/iconfont.ttf +0 -0
- package/dist/fonts/iconfont.woff +0 -0
- package/dist/fonts/iconfont.woff2 +0 -0
- package/dist/src/core/api-client.d.ts +20 -0
- package/dist/src/core/components/my-input.d.ts +15 -0
- package/dist/src/core/components/my-message.d.ts +16 -0
- package/dist/src/core/components/my-modal-wrapper.d.ts +12 -0
- package/dist/src/core/components/my-phone-dialer.d.ts +15 -0
- package/dist/src/core/components/my-popover.d.ts +19 -0
- package/dist/src/core/components/my-select.d.ts +28 -0
- package/dist/src/core/components/my-tooltip.d.ts +15 -0
- package/dist/src/core/components/select-option.d.ts +6 -0
- package/dist/src/core/components/timer-component.d.ts +14 -0
- package/dist/src/core/phone-view.d.ts +57 -0
- package/dist/src/core/sip-client.d.ts +96 -0
- package/dist/src/core/ws-client.d.ts +10 -0
- package/dist/src/index.d.ts +63 -0
- package/dist/src/internal/_internalStore.d.ts +15 -0
- package/dist/src/store/call-info-store.d.ts +19 -0
- package/dist/src/store/event-bus.d.ts +9 -0
- package/dist/src/store/event-center.d.ts +47 -0
- package/dist/src/store/network-info-store.d.ts +10 -0
- package/dist/src/store/reactive-store.d.ts +24 -0
- package/dist/src/types/Enum.d.ts +92 -0
- package/dist/src/types/event.d.ts +35 -0
- package/dist/src/types/index.d.ts +114 -0
- package/dist/src/utils/ReconnectingWebSocket.d.ts +28 -0
- package/dist/src/utils/global.d.ts +16 -0
- package/dist/src/utils/http.d.ts +18 -0
- package/dist/src/utils/notification-util.d.ts +22 -0
- package/dist/src/utils/phone-style-config.d.ts +11 -0
- package/dist/src/utils/request.d.ts +16 -0
- package/dist/tsconfig.json +19 -0
- package/dist/vite.config.d.ts +2 -0
- package/dist/ysyt-agent-sdk.cjs.js +777 -0
- package/dist/ysyt-agent-sdk.esm.js +777 -0
- package/dist/ysyt-agent-sdk.umd.js +777 -0
- package/package.json +58 -0
package/package.json
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "ysyt-agent-sdk",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"main": "dist/ysyt-agent-sdk.cjs.js",
|
|
5
|
+
"module": "dist/ysyt-agent-sdk.esm.js",
|
|
6
|
+
"types": "dist/index.d.ts",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": {
|
|
9
|
+
"require": "./dist/ysyt-agent-sdk.cjs.js",
|
|
10
|
+
"import": "./dist/ysyt-agent-sdk.esm.js",
|
|
11
|
+
"types": "./dist/index.d.ts"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"files": [
|
|
15
|
+
"dist"
|
|
16
|
+
],
|
|
17
|
+
"type": "module",
|
|
18
|
+
"scripts": {
|
|
19
|
+
"build": "rollup -c && node scripts/cleanupPublic.js",
|
|
20
|
+
"dev": "vite",
|
|
21
|
+
"tsc": "tsc"
|
|
22
|
+
},
|
|
23
|
+
"dependencies": {
|
|
24
|
+
"js-md5": "^0.8.3",
|
|
25
|
+
"ky": "^1.8.1",
|
|
26
|
+
"lit": "^3.3.0",
|
|
27
|
+
"mitt": "^3.0.1",
|
|
28
|
+
"sip.js": "^0.21.0"
|
|
29
|
+
},
|
|
30
|
+
"devDependencies": {
|
|
31
|
+
"@rollup/plugin-alias": "^5.1.1",
|
|
32
|
+
"@rollup/plugin-commonjs": "^24.1.0",
|
|
33
|
+
"@rollup/plugin-json": "^6.1.0",
|
|
34
|
+
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
35
|
+
"@rollup/plugin-terser": "^0.4.3",
|
|
36
|
+
"@rollup/plugin-typescript": "^11.1.3",
|
|
37
|
+
"@rollup/plugin-url": "^8.0.2",
|
|
38
|
+
"@typescript-eslint/eslint-plugin": "^8.33.0",
|
|
39
|
+
"@typescript-eslint/parser": "^8.33.0",
|
|
40
|
+
"eslint": "^9.27.0",
|
|
41
|
+
"eslint-config-prettier": "^10.1.5",
|
|
42
|
+
"eslint-plugin-prettier": "^5.4.0",
|
|
43
|
+
"postcss-url": "^10.1.3",
|
|
44
|
+
"prettier": "^3.5.3",
|
|
45
|
+
"rollup": "^3.29.4",
|
|
46
|
+
"rollup-plugin-copy": "^3.5.0",
|
|
47
|
+
"rollup-plugin-postcss": "^4.0.2",
|
|
48
|
+
"rollup-plugin-string": "^3.0.0",
|
|
49
|
+
"rollup-plugin-svg": "^2.0.0",
|
|
50
|
+
"typescript": "^4.9.5",
|
|
51
|
+
"vite": "^6.3.5"
|
|
52
|
+
},
|
|
53
|
+
"browserslist": [
|
|
54
|
+
"> 0.5%",
|
|
55
|
+
"last 2 versions",
|
|
56
|
+
"not dead"
|
|
57
|
+
]
|
|
58
|
+
}
|