core: pubish

This commit is contained in:
Koushik Dutta
2022-03-01 20:49:33 -08:00
parent 030a629758
commit 2782d8cc4d
3 changed files with 4 additions and 8 deletions

View File

@@ -1,12 +1,12 @@
{
"name": "@scrypted/core",
"version": "0.0.204",
"version": "0.0.205",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@scrypted/core",
"version": "0.0.204",
"version": "0.0.205",
"license": "Apache-2.0",
"dependencies": {
"@koush/wrtc": "^0.5.2",

View File

@@ -1,6 +1,6 @@
{
"name": "@scrypted/core",
"version": "0.0.204",
"version": "0.0.205",
"description": "Scrypted Core plugin. Provides the UI, websocket, and engine.io APIs.",
"author": "Scrypted",
"license": "Apache-2.0",

View File

@@ -1,6 +1,5 @@
import { ScryptedDeviceBase, HttpRequestHandler, HttpRequest, HttpResponse, EngineIOHandler, Device, DeviceProvider, ScryptedInterface, ScryptedDeviceType, RTCSignalingChannel, VideoCamera } from '@scrypted/sdk';
import sdk from '@scrypted/sdk';
const { systemManager, deviceManager, mediaManager, endpointManager } = sdk;
import Router from 'router';
import { UserStorage } from './userStorage';
import { RpcPeer } from '../../../server/src/rpc';
@@ -11,15 +10,12 @@ import { sendJSON } from './http-helpers';
import { Automation } from './automation';
import { AggregateDevice, createAggregateDevice } from './aggregate';
import net from 'net';
import { addBuiltins } from "@scrypted/common/src/ffmpeg-to-wrtc";
import { updatePluginsData } from './update-plugins';
import { MediaCore } from './media-core';
import { startBrowserRTCSignaling } from "@scrypted/common/src/ffmpeg-to-wrtc";
import { ScriptCore, ScriptCoreNativeId } from './script-core';
addBuiltins(mediaManager);
const { pluginHostAPI } = sdk;
const { pluginHostAPI, systemManager, deviceManager, mediaManager, endpointManager } = sdk;
const indexHtml = fs.readFileSync('dist/index.html').toString();