sdk: fixup call to setScryptedInterfaceDescriptors

This commit is contained in:
Koushik Dutta
2025-01-03 08:36:00 -08:00
parent 0f02f96b89
commit ea63a96444
6 changed files with 8 additions and 8 deletions

4
sdk/package-lock.json generated
View File

@@ -1,12 +1,12 @@
{
"name": "@scrypted/sdk",
"version": "0.3.103",
"version": "0.3.104",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@scrypted/sdk",
"version": "0.3.103",
"version": "0.3.104",
"license": "ISC",
"dependencies": {
"@babel/preset-typescript": "^7.26.0",

View File

@@ -1,6 +1,6 @@
{
"name": "@scrypted/sdk",
"version": "0.3.103",
"version": "0.3.104",
"description": "",
"main": "dist/src/index.js",
"exports": {

View File

@@ -266,7 +266,7 @@ try {
}
try {
(systemManager as any).setScryptedInterfaceDescriptors?.(TYPES_VERSION, ScryptedInterfaceDescriptors)?.catch(() => { });
(sdk.systemManager as any).setScryptedInterfaceDescriptors?.(TYPES_VERSION, ScryptedInterfaceDescriptors)?.catch(() => { });
}
catch (e) {
}

View File

@@ -1,12 +1,12 @@
{
"name": "@scrypted/types",
"version": "0.3.95",
"version": "0.3.96",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@scrypted/types",
"version": "0.3.95",
"version": "0.3.96",
"license": "ISC"
}
}

View File

@@ -1,6 +1,6 @@
{
"name": "@scrypted/types",
"version": "0.3.95",
"version": "0.3.96",
"description": "",
"main": "dist/index.js",
"author": "",

View File

@@ -951,7 +951,7 @@ class TamperState(TypedDict):
pass
TYPES_VERSION = "0.3.95"
TYPES_VERSION = "0.3.96"
class AirPurifier: