iobroker.mywebui 1.40.0 → 1.40.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/io-package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "common": {
3
3
  "name": "mywebui",
4
- "version": "1.40.0",
4
+ "version": "1.40.1",
5
5
  "titleLang": {
6
6
  "en": "mywebui",
7
7
  "de": "mywebui",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iobroker.mywebui",
3
- "version": "1.40.0",
3
+ "version": "1.40.1",
4
4
  "description": "ioBroker mywebui - Custom edited mywebui by gokturk413 with 3D Editor",
5
5
  "type": "module",
6
6
  "main": "dist/backend/main.js",
@@ -66,7 +66,8 @@
66
66
  },
67
67
  "dependencies": {
68
68
  "@iobroker/adapter-core": "^3.3.2",
69
- "@types/node": "^24.7.2"
69
+ "@types/node": "^24.7.2",
70
+ "three": "^r128"
70
71
  },
71
72
  "devDependencies": {
72
73
  "@adobe/css-tools": "4.4.4",
@@ -193,12 +193,12 @@
193
193
  </div>
194
194
  </div>
195
195
 
196
- <!-- Import Three.js from CDN -->
196
+ <!-- Import Three.js from npm (local node_modules) -->
197
197
  <script type="importmap">
198
198
  {
199
199
  "imports": {
200
- "three": "https://cdn.jsdelivr.net/npm/three@r128/build/three.module.js",
201
- "three/addons/": "https://cdn.jsdelivr.net/npm/three@r128/examples/jsm/"
200
+ "three": "../../node_modules/three/build/three.module.js",
201
+ "three/addons/": "../../node_modules/three/examples/jsm/"
202
202
  }
203
203
  }
204
204
  </script>
package/www/demo.html CHANGED
@@ -193,12 +193,12 @@
193
193
  </div>
194
194
  </div>
195
195
 
196
- <!-- Import Three.js from CDN -->
196
+ <!-- Import Three.js from npm (local node_modules) -->
197
197
  <script type="importmap">
198
198
  {
199
199
  "imports": {
200
- "three": "https://cdn.jsdelivr.net/npm/three@r128/build/three.module.js",
201
- "three/addons/": "https://cdn.jsdelivr.net/npm/three@r128/examples/jsm/"
200
+ "three": "../node_modules/three/build/three.module.js",
201
+ "three/addons/": "../node_modules/three/examples/jsm/"
202
202
  }
203
203
  }
204
204
  </script>