hadron-auto-update-manager
Advanced tools
Comparing version 1.0.0 to 2.0.0
@@ -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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
20825
0