Compare View

switch
from
...
to
 
Commits (2)

Changes

Showing 2 changed files Side-by-side Diff

1 1 "use strict";
2 2  
3 3 const simpleGit = require('simple-git');
4   -const macaddress = require('macaddress');
  4 +//const macaddress = require('macaddress');
5 5 const machineid = require('node-machine-id');
6 6 const sha1 = require('sha1');
7 7  
... ... @@ -22,6 +22,7 @@ simpleGit(process.cwd()).raw(
22 22 }
23 23 )
24 24  
  25 +/*
25 26 macaddress.one(function(err, mac) {
26 27 if (err) return;
27 28  
... ... @@ -29,7 +30,9 @@ macaddress.one(function(err, mac) {
29 30 })
30 31  
31 32 matrix.host_id.machineid = machineid.machineIdSync();
32   -
33 33 matrix.host_id_hash = sha1('KOMODO' + matrix.host_id.machineid + matrix.host_id.mac);
  34 +*/
  35 +
  36 +matrix.machineid_hashed = sha1('KOMODO' + machineid.machineIdSync());
34 37  
35 38 module.exports = matrix;
1 1 {
2 2 "name": "komodo-sdk",
3   - "version": "1.15.3",
  3 + "version": "1.16.0",
4 4 "description": "SDK for Komodo",
5 5 "main": "index.js",
6 6 "scripts": {