vrack2-core 1.0.0 → 1.0.2

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
@@ -9,13 +9,20 @@ VRack2 Core
9
9
 
10
10
  --------
11
11
 
12
+
13
+ ### Последнее обновление 1.0.2
14
+
15
+ - Откат от валидации в `DeviceManager.getDeviceInfo()`
16
+
12
17
  **Использовать эту документацию имеет смысл только для более глубокого изучения устройства VRack2 или для создания сервиса независимого от VRack2**
13
18
 
14
19
  -------
15
20
 
16
21
  - [VRack2](https://github.com/VRack2/vrack2) - Официальный репозиторий
17
- - [VRack2-service](https://github.com/VRack2/vrack2-service) - Репозиторий для запуска сервисов на основе VRack2-Core, включая официальный VRack2.
22
+ - [VRack2-service](https://github.com/VRack2/vrack2-service) - Запуск сервисов на VRack2-Core
18
23
  - [VRack2 Manager](https://github.com/VRack2/vrack2-manager) - Интерфейс для работы с сервисами VRack2
24
+ - [VGranite](https://github.com/VRack2/VGranite) - Сервис для создания туннелей Socket -> Serial
25
+
19
26
 
20
27
  Основная документация для VRack2-Core на данный момент не готова. Часть документации в виде черновиков уже есть.
21
28
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vrack2-core",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "Фреймворк для создания событийно-ориентированных сервисов на JavaScript/TypeScript",
5
5
  "main": "./lib/index",
6
6
  "scripts": {},
@@ -15,13 +15,13 @@
15
15
  },
16
16
  "homepage": "https://github.com/VRack2/vrack2-core#readme",
17
17
  "devDependencies": {
18
- "@types/node": "^18.11.17",
19
- "@typescript-eslint/eslint-plugin": "^5.45.0",
20
- "@typescript-eslint/parser": "^5.45.0",
21
- "eslint": "^8.29.0",
22
- "typescript": "^4.9.3"
18
+ "@types/node": "^24.9.1",
19
+ "@typescript-eslint/eslint-plugin": "^8.46.2",
20
+ "@typescript-eslint/parser": "^8.46.2",
21
+ "eslint": "^9.38.0",
22
+ "typescript": "^5.9.3"
23
23
  },
24
24
  "dependencies": {
25
- "vrack-db": "^3.0.1"
25
+ "vrack-db": "^3.0.2"
26
26
  }
27
27
  }
@@ -174,6 +174,7 @@ export default class DeviceManager extends BootClass {
174
174
  const di = [vendor, device].join('.')
175
175
  const DeviceClass = await this.get(di)
176
176
  const dev = new DeviceClass('1', di, this) as Device
177
+
177
178
  const result: IDeivceInfo = { actions: {}, metrics: {}, inputs: {}, outputs: {}, options: {}, description: '' }
178
179
  try {
179
180
  const preOptions = dev.checkOptions();