common: update types

This commit is contained in:
Koushik Dutta
2026-04-07 10:17:40 -07:00
parent c6be722989
commit fbb4fc8fa4
3 changed files with 32 additions and 92 deletions

120
common/package-lock.json generated
View File

@@ -10,7 +10,7 @@
"license": "ISC",
"dependencies": {
"@scrypted/sdk": "file:../sdk",
"@scrypted/types": "^0.5.27",
"@scrypted/types": "^0.5.55",
"http-auth-utils": "^5.0.1",
"typescript": "^5.5.3"
},
@@ -22,44 +22,48 @@
},
"../sdk": {
"name": "@scrypted/sdk",
"version": "0.5.39",
"version": "0.5.59",
"license": "ISC",
"dependencies": {
"@babel/preset-typescript": "^7.27.1",
"@rollup/plugin-commonjs": "^28.0.5",
"@rollup/plugin-commonjs": "^28.0.9",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^16.0.1",
"@rollup/plugin-typescript": "^12.1.2",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^12.3.0",
"@rollup/plugin-virtual": "^3.0.2",
"@scrypted/auth-fetch": "^1.0.5",
"adm-zip": "^0.5.16",
"axios": "^1.10.0",
"babel-loader": "^10.0.0",
"babel-plugin-const-enum": "^1.2.0",
"ncp": "^2.0.0",
"openai": "^5.3.0",
"openai": "^6.1.0",
"raw-loader": "^4.0.2",
"rimraf": "^6.0.1",
"rollup": "^4.43.0",
"rollup": "^4.52.5",
"tmp": "^0.2.3",
"ts-loader": "^9.5.2",
"ts-loader": "^9.5.4",
"tslib": "^2.8.1",
"typescript": "^5.8.3",
"typescript": "^5.9.3",
"webpack": "^5.99.9",
"webpack-bundle-analyzer": "^4.10.2"
},
"bin": {
"scrypted-changelog": "bin/scrypted-changelog.js",
"scrypted-debug": "bin/scrypted-debug.js",
"scrypted-deploy": "bin/scrypted-deploy.js",
"scrypted-deploy-debug": "bin/scrypted-deploy-debug.js",
"scrypted-package-json": "bin/scrypted-package-json.js",
"scrypted-setup-project": "bin/scrypted-setup-project.js",
"scrypted-webpack": "bin/scrypted-webpack.js"
"scrypted-changelog": "bin/cli.js",
"scrypted-debug": "bin/cli.js",
"scrypted-deploy": "bin/cli.js",
"scrypted-deploy-debug": "bin/cli.js",
"scrypted-package-json": "bin/cli.js",
"scrypted-setup-project": "bin/cli.js",
"scrypted-webpack": "bin/cli.js"
},
"devDependencies": {
"@types/node": "^24.0.1",
"@types/adm-zip": "^0.5.8",
"@types/ncp": "^2.0.8",
"@types/node": "^24.9.2",
"@types/tmp": "^0.2.6",
"ts-node": "^10.9.2",
"typedoc": "^0.28.5"
"typedoc": "^0.28.14"
}
},
"../sdk/node_modules/@ampproject/remapping": {
@@ -1008,19 +1012,6 @@
"dev": true,
"license": "Python-2.0"
},
"../sdk/node_modules/asynckit": {
"version": "0.4.0",
"license": "MIT"
},
"../sdk/node_modules/axios": {
"version": "1.7.8",
"license": "MIT",
"dependencies": {
"follow-redirects": "^1.15.6",
"form-data": "^4.0.0",
"proxy-from-env": "^1.1.0"
}
},
"../sdk/node_modules/babel-loader": {
"version": "9.2.1",
"license": "MIT",
@@ -1190,16 +1181,6 @@
"version": "1.1.4",
"license": "MIT"
},
"../sdk/node_modules/combined-stream": {
"version": "1.0.8",
"license": "MIT",
"dependencies": {
"delayed-stream": "~1.0.0"
},
"engines": {
"node": ">= 0.8"
}
},
"../sdk/node_modules/comma-separated-tokens": {
"version": "2.0.3",
"dev": true,
@@ -1269,13 +1250,6 @@
"node": ">=0.10.0"
}
},
"../sdk/node_modules/delayed-stream": {
"version": "1.0.0",
"license": "MIT",
"engines": {
"node": ">=0.4.0"
}
},
"../sdk/node_modules/dequal": {
"version": "2.0.3",
"dev": true,
@@ -1483,24 +1457,6 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
"../sdk/node_modules/follow-redirects": {
"version": "1.15.9",
"funding": [
{
"type": "individual",
"url": "https://github.com/sponsors/RubenVerborgh"
}
],
"license": "MIT",
"engines": {
"node": ">=4.0"
},
"peerDependenciesMeta": {
"debug": {
"optional": true
}
}
},
"../sdk/node_modules/foreground-child": {
"version": "3.3.0",
"license": "ISC",
@@ -1515,18 +1471,6 @@
"url": "https://github.com/sponsors/isaacs"
}
},
"../sdk/node_modules/form-data": {
"version": "4.0.1",
"license": "MIT",
"dependencies": {
"asynckit": "^0.4.0",
"combined-stream": "^1.0.8",
"mime-types": "^2.1.12"
},
"engines": {
"node": ">= 6"
}
},
"../sdk/node_modules/fsevents": {
"version": "2.3.3",
"license": "MIT",
@@ -2178,10 +2122,6 @@
"url": "https://github.com/sponsors/wooorm"
}
},
"../sdk/node_modules/proxy-from-env": {
"version": "1.1.0",
"license": "MIT"
},
"../sdk/node_modules/punycode": {
"version": "2.3.1",
"license": "MIT",
@@ -3311,12 +3251,12 @@
"link": true
},
"node_modules/@scrypted/types": {
"version": "0.5.27",
"resolved": "https://registry.npmjs.org/@scrypted/types/-/types-0.5.27.tgz",
"integrity": "sha512-1SAEa6Js1VeAzGtaCQXXpNc2Ty1ZB6aqqNLtsoPeeuNw+JlSdK42sX4wVnzKxkAOcS1WZiC1fj6DV9B/CNyGtA==",
"version": "0.5.55",
"resolved": "https://registry.npmjs.org/@scrypted/types/-/types-0.5.55.tgz",
"integrity": "sha512-99YAdiPRwR3q4ysA1hLZk1ZTdBwUFFUlh+18ESdcPOTRMWo0TI3JxfwniNsVMPmGZHcoM1yipC8xWkf9v+PB0g==",
"license": "ISC",
"dependencies": {
"openai": "^5.3.0"
"openai": "^6.1.0"
}
},
"node_modules/@tsconfig/node10": {
@@ -3407,16 +3347,16 @@
"license": "MIT"
},
"node_modules/openai": {
"version": "5.8.2",
"resolved": "https://registry.npmjs.org/openai/-/openai-5.8.2.tgz",
"integrity": "sha512-8C+nzoHYgyYOXhHGN6r0fcb4SznuEn1R7YZMvlqDbnCuE0FM2mm3T1HiYW6WIcMS/F1Of2up/cSPjLPaWt0X9Q==",
"version": "6.33.0",
"resolved": "https://registry.npmjs.org/openai/-/openai-6.33.0.tgz",
"integrity": "sha512-xAYN1W3YsDXJWA5F277135YfkEk6H7D3D6vWwRhJ3OEkzRgcyK8z/P5P9Gyi/wB4N8kK9kM5ZjprfvyHagKmpw==",
"license": "Apache-2.0",
"bin": {
"openai": "bin/cli"
},
"peerDependencies": {
"ws": "^8.18.0",
"zod": "^3.23.8"
"zod": "^3.25 || ^4.0"
},
"peerDependenciesMeta": {
"ws": {

View File

@@ -12,7 +12,7 @@
"license": "ISC",
"dependencies": {
"@scrypted/sdk": "file:../sdk",
"@scrypted/types": "^0.5.27",
"@scrypted/types": "^0.5.55",
"http-auth-utils": "^5.0.1",
"typescript": "^5.5.3"
},

View File

@@ -1,4 +1,4 @@
import type { RTCAVSignalingSetup, RTCSignalingOptions, RTCSignalingSendIceCandidate, RTCSignalingSession } from "../../sdk/types/src/types.input";
import type { RTCAVSignalingSetup, RTCSignalingOptions, RTCSignalingSendIceCandidate, RTCSignalingSession } from "@scrypted/types";
import { Deferred } from "./deferred";
function getUserAgent() {