json-rpc-random-id
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -5,4 +5,4 @@ module.exports = IdIterator | ||
opts = opts || {} | ||
let max = opts.max || Number.MAX_SAFE_INTEGER | ||
let idCounter = typeof opts.start !== 'undefined' ? opts.start : Math.floor(Math.random() * max) | ||
var max = opts.max || Number.MAX_SAFE_INTEGER | ||
var idCounter = typeof opts.start !== 'undefined' ? opts.start : Math.floor(Math.random() * max) | ||
@@ -9,0 +9,0 @@ return function createRandomId () { |
{ | ||
"name": "json-rpc-random-id", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Generates an id useable in json rpc payloads.", | ||
@@ -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