@scrypted/server 0.7.64 → 0.7.65

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.

Potentially problematic release.


This version of @scrypted/server might be problematic. Click here for more details.

package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scrypted/server",
3
- "version": "0.7.64",
3
+ "version": "0.7.65",
4
4
  "description": "",
5
5
  "dependencies": {
6
6
  "@mapbox/node-pre-gyp": "^1.0.10",
@@ -183,9 +183,9 @@ export class SystemManagerImpl implements SystemManager {
183
183
  else {
184
184
  for (const check of Object.keys(this.state)) {
185
185
  const state = this.state[check];
186
- if (state[ScryptedInterfaceProperty.pluginId] === idOrPluginId) {
186
+ if (state[ScryptedInterfaceProperty.pluginId].value === idOrPluginId) {
187
187
  // null and undefined should match here.
188
- if (nativeId == state[ScryptedInterfaceProperty.nativeId]) {
188
+ if (nativeId == state[ScryptedInterfaceProperty.nativeId].value) {
189
189
  id = check;
190
190
  break;
191
191
  }