New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@scrypted/amcrest

Package Overview
Dependencies
Maintainers
1
Versions
147
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@scrypted/amcrest - npm Package Compare versions

Comparing version

to
0.0.101

2

package.json
{
"name": "@scrypted/amcrest",
"version": "0.0.100",
"version": "0.0.101",
"description": "Amcrest Plugin for Scrypted",

@@ -5,0 +5,0 @@ "author": "Scrypted",

@@ -42,4 +42,17 @@ import { listenZero } from "@scrypted/common/src/listen-cluster";

this.updateDeviceInfo();
this.updateManagementUrl();
}
updateManagementUrl() {
const ip = this.storage.getItem('ip');
if (!ip)
return;
const info = this.info || {};
const managementUrl = `http://${ip}`;
if (info.managementUrl !== managementUrl) {
info.managementUrl = managementUrl;
this.info = info;
}
}
getRecordingStreamThumbnail(time: number): Promise<MediaObject> {

@@ -416,2 +429,4 @@ throw new Error("Method not implemented.");

provider.updateDevice(this.nativeId, this.name, interfaces, type);
this.updateManagementUrl();
}

@@ -418,0 +433,0 @@

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet