@scrypted/client
Advanced tools
Comparing version 1.1.9 to 1.1.10
@@ -31,3 +31,2 @@ "use strict"; | ||
return new Promise((resolve, reject) => { | ||
setTimeout(() => reject(new TimeoutError(promise)), timeout); | ||
const t = setTimeout(() => reject(new TimeoutError(promise)), timeout); | ||
@@ -34,0 +33,0 @@ promise.then(v => { |
{ | ||
"name": "@scrypted/client", | ||
"version": "1.1.9", | ||
"version": "1.1.10", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist/packages/client/src/index.js", |
@@ -39,2 +39,3 @@ "use strict"; | ||
const rpc_serializer_1 = require("../../../server/src/rpc-serializer"); | ||
const package_json_1 = __importDefault(require("../package.json")); | ||
function once(socket, event) { | ||
@@ -135,2 +136,3 @@ return new Promise((resolve, reject) => { | ||
let scryptedCloud; | ||
console.log('@scrypted/client', package_json_1.default.version); | ||
if (username && password) { | ||
@@ -228,2 +230,3 @@ const loginResult = await loginScryptedClient(options); | ||
else { | ||
console.log('using peer to peer', Date.now() - start); | ||
connectionType = 'webrtc'; | ||
@@ -230,0 +233,0 @@ const connectionManagementId = `connectionManagement-${Math.random()}`; |
{ | ||
"name": "@scrypted/client", | ||
"version": "1.1.9", | ||
"version": "1.1.10", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist/packages/client/src/index.js", |
@@ -264,2 +264,3 @@ import { ScryptedStatic, RTCConnectionManagement, RTCSignalingSession } from "@scrypted/types"; | ||
else { | ||
console.log('using peer to peer', Date.now() - start); | ||
connectionType = 'webrtc'; | ||
@@ -266,0 +267,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
342128
3589