Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "uuid-cron", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -12,5 +12,12 @@ const { v4: uuidv4 } = require('uuid'); | ||
let job; | ||
const initialized = false; | ||
let initialized = false; | ||
/** | ||
* Starting cron job according your configuration | ||
* @param humanCron - e.g. each 20 seconds, more details here: | ||
* https://www.npmjs.com/package/human-to-cron | ||
* @param numOfRandomsInTime - amount of random uuids for each cron job | ||
*/ | ||
function init(humanCron, numOfRandomsInTime) { | ||
initialized = true; | ||
const cronTime = humanToCron(humanCron); | ||
@@ -17,0 +24,0 @@ uuidv4Value = uuidv4(); |
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
3360
101