Skip to content

Commit

Permalink
Removed stats-reporter
Browse files Browse the repository at this point in the history
  • Loading branch information
DoctorMcKay committed Sep 7, 2019
1 parent 5319de0 commit 1eefe03
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

This lightweight module generates Steam-style 5-digit alphanumeric two-factor authentication codes given a shared secret.

This reports anonymous usage statistics to the author. [See here](https://github.com/DoctorMcKay/node-stats-reporter) for more information.

**As of v2.0.0, Node.js v6.0.0 or later is REQUIRED. This LTS Node.js release will be supported by this module for the duration of Node's LTS support.**

Usage is simple:
Expand Down
5 changes: 2 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
'use strict';
require('@doctormckay/stats-reporter').setup(require('./package.json'));

const Crypto = require('crypto');

Expand All @@ -25,14 +24,14 @@ exports.generateAuthCode = exports.getAuthCode = function(secret, timeOffset) {
timeOffset(err);
return;
}

let code = exports.generateAuthCode(secret, offset);
timeOffset(null, code, offset, latency);
});

return;
}

secret = bufferizeSecret(secret);

let time = exports.time(timeOffset);
Expand Down
3 changes: 0 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@
"type": "git",
"url": "https://github.com/DoctorMcKay/node-steam-totp.git"
},
"dependencies": {
"@doctormckay/stats-reporter": "^1.0.0"
},
"engines": {
"node": ">=6.0.0"
}
Expand Down

0 comments on commit 1eefe03

Please sign in to comment.