@scrypted/client
Advanced tools
Comparing version 1.0.26 to 1.0.27
@@ -160,3 +160,3 @@ "use strict"; | ||
} | ||
if (global.RTCPeerConnection) { | ||
if (globalThis.RTCPeerConnection) { | ||
promises.push((async () => { | ||
@@ -163,0 +163,0 @@ const webrtcEioOptions = { |
@@ -79,2 +79,3 @@ /// <reference types="node" /> | ||
unzippedPath?: string; | ||
fork?: boolean; | ||
} | ||
@@ -81,0 +82,0 @@ export interface PluginRemote { |
@@ -442,3 +442,5 @@ "use strict"; | ||
WebSocket: (0, plugin_remote_websocket_1.createWebSocketClass)(websocketConnect), | ||
pluginRuntimeAPI: ret, | ||
}; | ||
params.pluginRuntimeAPI = ret; | ||
return options.onLoadZip(ret, params, packageJson, zipData, zipOptions); | ||
@@ -445,0 +447,0 @@ }, |
{ | ||
"name": "@scrypted/client", | ||
"version": "1.0.26", | ||
"version": "1.0.27", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist/packages/client/src/index.js", |
@@ -177,3 +177,3 @@ import { ScryptedStatic } from "@scrypted/types"; | ||
if (global.RTCPeerConnection) { | ||
if (globalThis.RTCPeerConnection) { | ||
promises.push((async () => { | ||
@@ -180,0 +180,0 @@ const webrtcEioOptions: Partial<SocketOptions> = { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
303063
3121