Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

hadron-auto-update-manager

Package Overview
Dependencies
Maintainers
26
Versions
85
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hadron-auto-update-manager - npm Package Compare versions

Comparing version 1.0.0 to 2.0.0

4

index.js

@@ -21,3 +21,3 @@ 'use strict';

function AutoUpdateManager(endpointURL, iconURL) {
function AutoUpdateManager(endpointURL, iconURL, product, channel, platform) {
if (!endpointURL) {

@@ -32,3 +32,3 @@ throw new TypeError('endpointURL is required!');

this.state = IdleState;
this.feedURL = `${endpointURL}/update?version=${this.version}&platform=${process.platform}&arch=${process.arch}`;
this.feedURL = `${endpointURL}/api/v2/update/${product}/${channel}/${platform}/${this.version}`;

@@ -35,0 +35,0 @@ debug('auto updater ready and waiting.', {

{
"name": "hadron-auto-update-manager",
"description": "Atoms AutoUpdateManager class as a standalone module.",
"version": "1.0.0",
"version": "2.0.0",
"scripts": {

@@ -6,0 +6,0 @@ "fmt": "mongodb-js-fmt",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc