@tmsoft/webphone 1.1.25 → 2.0.8
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 +144 -165
- package/dist/favicon.ico +0 -0
- package/dist/index.d.ts +2 -68
- package/dist/lib/index.d.ts +3 -0
- package/dist/lib/types.d.ts +17 -0
- package/dist/src/components/WebPhone.vue.d.ts +155 -0
- package/dist/webphone.component.js +296 -0
- package/dist/webphone.es.js +19404 -12703
- package/dist/webphone.umd.js +283 -73
- package/package.json +88 -61
- package/dist/webphone-element.umd.js +0 -86
- package/dist/webphone.cjs.js +0 -79
package/package.json
CHANGED
|
@@ -1,91 +1,118 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tmsoft/webphone",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.8",
|
|
4
|
+
"description": "WebPhone - SIP softphone component for Vue 3 and Web Components",
|
|
4
5
|
"private": false,
|
|
5
6
|
"type": "module",
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
"license": "MIT",
|
|
11
|
-
"main": "./dist/webphone.cjs.js",
|
|
7
|
+
"engines": {
|
|
8
|
+
"node": "^20.19.0 || >=22.12.0"
|
|
9
|
+
},
|
|
10
|
+
"main": "./dist/webphone.umd.js",
|
|
12
11
|
"module": "./dist/webphone.es.js",
|
|
13
|
-
"browser": "./dist/webphone.umd.js",
|
|
14
12
|
"types": "./dist/index.d.ts",
|
|
15
13
|
"exports": {
|
|
16
14
|
".": {
|
|
17
15
|
"types": "./dist/index.d.ts",
|
|
18
|
-
"browser": "./dist/webphone.umd.js",
|
|
19
16
|
"import": "./dist/webphone.es.js",
|
|
20
|
-
"require": "./dist/webphone.
|
|
17
|
+
"require": "./dist/webphone.umd.js"
|
|
18
|
+
},
|
|
19
|
+
"./component": {
|
|
20
|
+
"import": "./dist/webphone.component.js",
|
|
21
|
+
"require": "./dist/webphone.component.js"
|
|
21
22
|
}
|
|
22
23
|
},
|
|
24
|
+
"files": [
|
|
25
|
+
"dist",
|
|
26
|
+
"README.md",
|
|
27
|
+
"LICENSE"
|
|
28
|
+
],
|
|
29
|
+
"sideEffects": [
|
|
30
|
+
"*.css",
|
|
31
|
+
"./dist/webphone.component.js"
|
|
32
|
+
],
|
|
23
33
|
"repository": {
|
|
24
34
|
"type": "git",
|
|
25
|
-
"url": "
|
|
26
|
-
},
|
|
27
|
-
"publishConfig": {
|
|
28
|
-
"access": "public"
|
|
35
|
+
"url": "https://github.com/alternaus/webphone-lib.git"
|
|
29
36
|
},
|
|
37
|
+
"keywords": [
|
|
38
|
+
"webphone",
|
|
39
|
+
"sip",
|
|
40
|
+
"voip",
|
|
41
|
+
"softphone",
|
|
42
|
+
"vue",
|
|
43
|
+
"vue3",
|
|
44
|
+
"web-component",
|
|
45
|
+
"jssip",
|
|
46
|
+
"sip.js"
|
|
47
|
+
],
|
|
48
|
+
"author": "Nebula123",
|
|
49
|
+
"license": "MIT",
|
|
30
50
|
"scripts": {
|
|
31
|
-
"dev": "vite
|
|
32
|
-
"build": "run-p type-check \"build-only {@}\" --
|
|
33
|
-
"build:
|
|
51
|
+
"dev": "vite",
|
|
52
|
+
"build": "run-p type-check \"build-only {@}\" --",
|
|
53
|
+
"build:lib": "run-s type-check build:lib-only build:wc-only",
|
|
54
|
+
"build:lib-only": "vite build --config vite.config.lib.ts",
|
|
55
|
+
"build:wc-only": "vite build --config vite.config.wc.ts",
|
|
34
56
|
"preview": "vite preview",
|
|
35
57
|
"test:unit": "vitest",
|
|
58
|
+
"test:coverage": "vitest run --coverage",
|
|
36
59
|
"test:e2e": "playwright test",
|
|
37
60
|
"build-only": "vite build",
|
|
38
61
|
"type-check": "vue-tsc --build",
|
|
39
|
-
"lint": "
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
|
|
44
|
-
"peerDependencies": {
|
|
45
|
-
"@vueuse/core": "^13.5.0",
|
|
46
|
-
"primeicons": "^7.0.0",
|
|
47
|
-
"primevue": "^4.2.5",
|
|
48
|
-
"vue": "^3.5.13"
|
|
62
|
+
"lint:oxlint": "oxlint . --fix -D correctness --ignore-path .gitignore",
|
|
63
|
+
"lint:eslint": "eslint . --fix --cache",
|
|
64
|
+
"lint": "run-s lint:*",
|
|
65
|
+
"format": "prettier --write --experimental-cli src/",
|
|
66
|
+
"prepublishOnly": "npm run build:lib"
|
|
49
67
|
},
|
|
50
68
|
"dependencies": {
|
|
51
|
-
"
|
|
69
|
+
"@tailwindcss/vite": "^4.1.17",
|
|
70
|
+
"@types/jssip": "^3.5.3",
|
|
71
|
+
"@vueuse/core": "^14.1.0",
|
|
72
|
+
"class-variance-authority": "^0.7.1",
|
|
73
|
+
"clsx": "^2.1.1",
|
|
74
|
+
"jssip": "^3.10.1",
|
|
75
|
+
"lucide-vue-next": "^0.556.0",
|
|
76
|
+
"pinia": "^3.0.4",
|
|
77
|
+
"reka-ui": "^2.6.1",
|
|
78
|
+
"sip.js": "^0.21.2",
|
|
79
|
+
"tailwind-merge": "^3.4.0",
|
|
80
|
+
"tailwindcss": "^4.1.17",
|
|
81
|
+
"vee-validate": "^4.15.1",
|
|
82
|
+
"vue": "^3.5.25",
|
|
83
|
+
"vue-router": "^4.6.3",
|
|
84
|
+
"yup": "^1.7.1"
|
|
52
85
|
},
|
|
53
86
|
"devDependencies": {
|
|
54
|
-
"@playwright/test": "^1.
|
|
55
|
-
"@
|
|
56
|
-
"@
|
|
57
|
-
"@
|
|
58
|
-
"@types/
|
|
59
|
-
"@
|
|
60
|
-
"@
|
|
61
|
-
"@vitest/eslint-plugin": "1.
|
|
87
|
+
"@playwright/test": "^1.57.0",
|
|
88
|
+
"@prettier/plugin-oxc": "^0.0.5",
|
|
89
|
+
"@tsconfig/node24": "^24.0.3",
|
|
90
|
+
"@types/jsdom": "^27.0.0",
|
|
91
|
+
"@types/node": "^24.10.1",
|
|
92
|
+
"@vitejs/plugin-vue": "^6.0.2",
|
|
93
|
+
"@vitest/coverage-v8": "4.0.15",
|
|
94
|
+
"@vitest/eslint-plugin": "^1.5.0",
|
|
62
95
|
"@vue/eslint-config-prettier": "^10.2.0",
|
|
63
|
-
"@vue/eslint-config-typescript": "^14.
|
|
96
|
+
"@vue/eslint-config-typescript": "^14.6.0",
|
|
64
97
|
"@vue/test-utils": "^2.4.6",
|
|
65
|
-
"@vue/tsconfig": "^0.
|
|
66
|
-
"
|
|
67
|
-
"eslint": "
|
|
68
|
-
"eslint-plugin-playwright": "^2.
|
|
69
|
-
"eslint-plugin-vue": "
|
|
70
|
-
"
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
"
|
|
74
|
-
"
|
|
75
|
-
"prettier": "
|
|
76
|
-
"
|
|
77
|
-
"
|
|
78
|
-
"
|
|
79
|
-
"tailwindcss": "^4.1.11",
|
|
80
|
-
"typescript": "~5.7.3",
|
|
81
|
-
"vite": "^6.1.0",
|
|
98
|
+
"@vue/tsconfig": "^0.8.1",
|
|
99
|
+
"eslint": "^9.39.1",
|
|
100
|
+
"eslint-plugin-oxlint": "~1.29.0",
|
|
101
|
+
"eslint-plugin-playwright": "^2.3.0",
|
|
102
|
+
"eslint-plugin-vue": "~10.5.1",
|
|
103
|
+
"fake-indexeddb": "^6.2.5",
|
|
104
|
+
"jiti": "^2.6.1",
|
|
105
|
+
"jsdom": "^27.2.0",
|
|
106
|
+
"npm-run-all2": "^8.0.4",
|
|
107
|
+
"oxlint": "~1.29.0",
|
|
108
|
+
"prettier": "3.6.2",
|
|
109
|
+
"tw-animate-css": "^1.4.0",
|
|
110
|
+
"typescript": "~5.9.0",
|
|
111
|
+
"vite": "npm:rolldown-vite@latest",
|
|
82
112
|
"vite-plugin-css-injected-by-js": "^3.5.2",
|
|
83
|
-
"vite-plugin-dts": "^4.5.
|
|
84
|
-
"vite-plugin-
|
|
85
|
-
"
|
|
86
|
-
"
|
|
87
|
-
"vitest": "^3.0.5",
|
|
88
|
-
"vue": "^3.5.13",
|
|
89
|
-
"vue-tsc": "^2.2.2"
|
|
113
|
+
"vite-plugin-dts": "^4.5.4",
|
|
114
|
+
"vite-plugin-vue-devtools": "^8.0.5",
|
|
115
|
+
"vitest": "^4.0.14",
|
|
116
|
+
"vue-tsc": "^3.1.5"
|
|
90
117
|
}
|
|
91
118
|
}
|