@cosmjs/tendermint-rpc
Advanced tools
Comparing version 0.21.0 to 0.21.1
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.createJsonRpcRequest = void 0; | ||
const numbers = "0123456789"; | ||
const numbersWithoutZero = "123456789"; | ||
/** generates a random numeric character */ | ||
function randomNumericChar() { | ||
return numbers[Math.floor(Math.random() * numbers.length)]; | ||
return numbersWithoutZero[Math.floor(Math.random() * numbersWithoutZero.length)]; | ||
} | ||
/** | ||
* An (absolutely not cryptographically secure) random integer > 0. | ||
*/ | ||
function randomId() { | ||
@@ -10,0 +13,0 @@ return parseInt(Array.from({ length: 12 }) |
{ | ||
"name": "@cosmjs/tendermint-rpc", | ||
"version": "0.21.0", | ||
"version": "0.21.1", | ||
"description": "Tendermint RPC clients", | ||
@@ -47,8 +47,8 @@ "contributors": [ | ||
"dependencies": { | ||
"@cosmjs/crypto": "^0.21.0", | ||
"@cosmjs/encoding": "^0.21.0", | ||
"@cosmjs/json-rpc": "^0.21.0", | ||
"@cosmjs/math": "^0.21.0", | ||
"@cosmjs/socket": "^0.21.0", | ||
"@cosmjs/stream": "^0.21.0", | ||
"@cosmjs/crypto": "^0.21.1", | ||
"@cosmjs/encoding": "^0.21.1", | ||
"@cosmjs/json-rpc": "^0.21.1", | ||
"@cosmjs/math": "^0.21.1", | ||
"@cosmjs/socket": "^0.21.1", | ||
"@cosmjs/stream": "^0.21.1", | ||
"axios": "^0.19.0", | ||
@@ -60,5 +60,5 @@ "readonly-date": "^1.0.0", | ||
"devDependencies": { | ||
"@cosmjs/utils": "^0.21.0" | ||
"@cosmjs/utils": "^0.21.1" | ||
}, | ||
"gitHead": "0d4ab069b2277cd186a2037ac3a88a2ab914fbaa" | ||
"gitHead": "66c2b2309c27feecec6fdfb43be50820244665ed" | ||
} |
Sorry, the diff of this file is not supported yet
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
141094
2162
Updated@cosmjs/crypto@^0.21.1
Updated@cosmjs/encoding@^0.21.1
Updated@cosmjs/json-rpc@^0.21.1
Updated@cosmjs/math@^0.21.1
Updated@cosmjs/socket@^0.21.1
Updated@cosmjs/stream@^0.21.1