Skip to content

Commit

Permalink
sdk: fixup call to setScryptedInterfaceDescriptors
Browse files Browse the repository at this point in the history
  • Loading branch information
koush committed Jan 3, 2025
1 parent 0f02f96 commit ea63a96
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions sdk/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@scrypted/sdk",
"version": "0.3.103",
"version": "0.3.104",
"description": "",
"main": "dist/src/index.js",
"exports": {
Expand Down
2 changes: 1 addition & 1 deletion sdk/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
}
Expand Down
4 changes: 2 additions & 2 deletions sdk/types/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion sdk/types/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@scrypted/types",
"version": "0.3.95",
"version": "0.3.96",
"description": "",
"main": "dist/index.js",
"author": "",
Expand Down
2 changes: 1 addition & 1 deletion sdk/types/scrypted_python/scrypted_sdk/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -951,7 +951,7 @@ class TamperState(TypedDict):
pass


TYPES_VERSION = "0.3.95"
TYPES_VERSION = "0.3.96"


class AirPurifier:
Expand Down

0 comments on commit ea63a96

Please sign in to comment.