node-license-client
Advanced tools
Comparing version 0.0.1 to 0.0.2
@@ -32,3 +32,3 @@ const fetch = require('node-fetch') | ||
_constructor (options) { | ||
_constructor (options={}) { | ||
logger = options.logger || console | ||
@@ -93,3 +93,3 @@ if (options.certHex) this.PublicKey = Buffer.from(options.certHex, 'hex').toString() | ||
// get machine id | ||
const machineId = MD.get().digest | ||
const machineId = md.get().digest | ||
@@ -123,3 +123,3 @@ // load license from somewhere | ||
async verify() { | ||
verify() { | ||
return this.checkLicense() | ||
@@ -126,0 +126,0 @@ } |
{ | ||
"name": "node-license-client", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "client module for node-license-server", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
9778