@iobroker/socket-classes 2.3.4 → 2.3.6

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 CHANGED
@@ -1029,6 +1029,10 @@ Unsubscribe from file changes in ioBroker DB
1029
1029
  Placeholder for the next version (at the beginning of the line):
1030
1030
  ### **WORK IN PROGRESS**
1031
1031
  -->
1032
+ ### 2.3.6 (2026-06-20)
1033
+ * (@GermanBluefox) Updated packages
1034
+ * (@GermanBluefox) Corrected type
1035
+
1032
1036
  ### 2.3.4 (2026-06-08)
1033
1037
  * (@GermanBluefox) Extended cmdExec with files
1034
1038
  * (@GermanBluefox) Migrated to TS 6
@@ -66,7 +66,7 @@ export interface SocketIoOptions {
66
66
  pingInterval: number;
67
67
  pingTimeout: number;
68
68
  cors?: {
69
- origin: number;
69
+ origin: string;
70
70
  allowedHeaders: string[];
71
71
  credentials: boolean;
72
72
  };
package/package.json CHANGED
@@ -1,75 +1,72 @@
1
1
  {
2
- "name": "@iobroker/socket-classes",
3
- "version": "2.3.4",
4
- "description": "ioBroker server-side web sockets",
5
- "author": {
6
- "name": "bluefox",
7
- "email": "dogafox@gmail.com"
8
- },
9
- "publishConfig": {
10
- "access": "public"
11
- },
12
- "homepage": "https://github.com/ioBroker/ioBroker.socket-classes",
13
- "keywords": [
14
- "ioBroker",
15
- "web",
16
- "socket",
17
- "web-socket"
18
- ],
19
- "repository": {
20
- "type": "git",
21
- "url": "https://github.com/ioBroker/ioBroker.socket-classes"
22
- },
23
- "dependencies": {
24
- "@iobroker/adapter-core": "^3.3.2",
25
- "axios": "^1.17.0",
26
- "cookie-parser": "^1.4.7",
27
- "passport": "^0.7.0"
28
- },
29
- "devDependencies": {
30
- "@alcalzone/release-script": "^5.2.1",
31
- "@alcalzone/release-script-plugin-license": "^5.2.0",
32
- "@iobroker/eslint-config": "^2.3.4",
33
- "@iobroker/js-controller-common-db": "^7.1.2",
34
- "@iobroker/ws-server": "^4.4.1",
35
- "@iobroker/types": "^7.1.2",
36
- "@types/cookie-parser": "^1.4.10",
37
- "@types/node": "^25.9.2",
38
- "@types/passport": "^1.0.17",
39
- "iobroker.js-controller": "^7.1.2",
40
- "mocha": "^11.7.6",
41
- "typescript": "~6.0.3"
42
- },
43
- "bugs": {
44
- "url": "https://github.com/ioBroker/ioBroker.socket-classes/issues"
45
- },
46
- "main": "build/index.js",
47
- "files": [
48
- "LICENSE",
49
- "build/"
50
- ],
51
- "scripts": {
52
- "lint": "eslint -c eslint.config.mjs",
53
- "test": "npm run test:integration",
54
- "test:integration": "mocha --exit",
55
- "build": "npm run build-backend && npm run docs",
56
- "build-backend": "tsc -p tsconfig.build.json && node tasks --prebuild",
57
- "release": "release-script",
58
- "release-patch": "release-script patch --no-update-lockfile --yes",
59
- "release-minor": "release-script minor --no-update-lockfile --yes",
60
- "release-major": "release-script major --no-update-lockfile --yes",
61
- "update-packages": "npx -y npm-check-updates --upgrade",
62
- "docs": "node tasks",
63
- "npm": "npm i -f"
64
- },
65
- "license": "MIT",
66
- "maintainers": [
67
- {
68
- "name": "bluefox",
69
- "email": "dogafox@gmail.com"
70
- }
71
- ],
72
- "overrides": {
73
- "@iobroker/adapter-core": "^3.3.2"
74
- }
2
+ "name": "@iobroker/socket-classes",
3
+ "version": "2.3.6",
4
+ "description": "ioBroker server-side web sockets",
5
+ "author": {
6
+ "name": "bluefox",
7
+ "email": "dogafox@gmail.com"
8
+ },
9
+ "publishConfig": {
10
+ "access": "public"
11
+ },
12
+ "homepage": "https://github.com/ioBroker/ioBroker.socket-classes",
13
+ "keywords": [
14
+ "ioBroker",
15
+ "web",
16
+ "socket",
17
+ "web-socket"
18
+ ],
19
+ "repository": {
20
+ "type": "git",
21
+ "url": "https://github.com/ioBroker/ioBroker.socket-classes"
22
+ },
23
+ "dependencies": {
24
+ "@iobroker/adapter-core": "^3.4.1",
25
+ "axios": "^1.18.0",
26
+ "cookie-parser": "^1.4.7",
27
+ "passport": "^0.7.0"
28
+ },
29
+ "devDependencies": {
30
+ "@alcalzone/release-script": "^5.2.1",
31
+ "@alcalzone/release-script-plugin-license": "^5.2.0",
32
+ "@iobroker/eslint-config": "^2.3.4",
33
+ "@iobroker/js-controller-common-db": "^7.2.2",
34
+ "@iobroker/ws-server": "^4.4.1",
35
+ "@iobroker/types": "^7.2.2",
36
+ "@types/cookie-parser": "^1.4.10",
37
+ "@types/node": "^22.20.0",
38
+ "@types/passport": "^1.0.17",
39
+ "iobroker.js-controller": "^7.2.2",
40
+ "mocha": "^11.7.6",
41
+ "typescript": "~6.0.3"
42
+ },
43
+ "bugs": {
44
+ "url": "https://github.com/ioBroker/ioBroker.socket-classes/issues"
45
+ },
46
+ "main": "build/index.js",
47
+ "files": [
48
+ "LICENSE",
49
+ "build/"
50
+ ],
51
+ "scripts": {
52
+ "lint": "eslint -c eslint.config.mjs",
53
+ "test": "npm run test:integration",
54
+ "test:integration": "mocha --exit",
55
+ "build": "npm run build-backend && npm run docs",
56
+ "build-backend": "tsc -p tsconfig.build.json && node tasks --prebuild",
57
+ "release": "release-script",
58
+ "release-patch": "release-script patch --no-update-lockfile --yes",
59
+ "release-minor": "release-script minor --no-update-lockfile --yes",
60
+ "release-major": "release-script major --no-update-lockfile --yes",
61
+ "update-packages": "npx -y npm-check-updates --upgrade",
62
+ "docs": "node tasks",
63
+ "npm": "npm i -f"
64
+ },
65
+ "license": "MIT",
66
+ "maintainers": [
67
+ {
68
+ "name": "bluefox",
69
+ "email": "dogafox@gmail.com"
70
+ }
71
+ ]
75
72
  }