server: missing spot for pluginId

This commit is contained in:
Koushik Dutta
2022-04-18 14:02:46 -07:00
parent 167a3b9681
commit 2ae0077ed4
3 changed files with 4 additions and 3 deletions

View File

@@ -1,12 +1,12 @@
{
"name": "@scrypted/server",
"version": "0.0.169",
"version": "0.0.170",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@scrypted/server",
"version": "0.0.169",
"version": "0.0.170",
"license": "ISC",
"dependencies": {
"@mapbox/node-pre-gyp": "^1.0.8",

View File

@@ -1,6 +1,6 @@
{
"name": "@scrypted/server",
"version": "0.0.169",
"version": "0.0.170",
"description": "",
"dependencies": {
"@mapbox/node-pre-gyp": "^1.0.8",

View File

@@ -690,6 +690,7 @@ export class ScryptedRuntime extends PluginHttp<HttpPluginData> {
mixinInterfaces.push(...providedInterfaces.slice());
mixinInterfaces = PluginDeviceProxyHandler.sortInterfaces(mixinInterfaces);
this.stateManager.setPluginDeviceState(pluginDevice, ScryptedInterfaceProperty.pluginId, pluginId);
let interfacesChanged = this.stateManager.setPluginDeviceState(pluginDevice, ScryptedInterfaceProperty.providedInterfaces, providedInterfaces);
interfacesChanged = this.stateManager.setPluginDeviceState(pluginDevice, ScryptedInterfaceProperty.interfaces, mixinInterfaces)
|| interfacesChanged;