Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@cosmjs/tendermint-rpc

Package Overview
Dependencies
Maintainers
1
Versions
105
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cosmjs/tendermint-rpc - npm Package Compare versions

Comparing version 0.21.1 to 0.22.0-alpha.0

2

build/index.js

@@ -13,3 +13,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
/* eslint-disable @typescript-eslint/camelcase */
/* eslint-disable @typescript-eslint/naming-convention */
// exported to access version-specific hashing

@@ -16,0 +16,0 @@ var v0_33_1 = require("./v0-33");

@@ -30,5 +30,5 @@ "use strict";

(function (VoteType) {
VoteType[VoteType["PREVOTE"] = 1] = "PREVOTE";
VoteType[VoteType["PRECOMMIT"] = 2] = "PRECOMMIT";
VoteType[VoteType["PreVote"] = 1] = "PreVote";
VoteType[VoteType["PreCommit"] = 2] = "PreCommit";
})(VoteType = exports.VoteType || (exports.VoteType = {}));
//# sourceMappingURL=responses.js.map

@@ -7,3 +7,2 @@ "use strict";

const responses_1 = require("./responses");
// eslint-disable-next-line @typescript-eslint/camelcase
exports.v0_33 = {

@@ -10,0 +9,0 @@ params: requests_1.Params,

@@ -23,2 +23,3 @@ "use strict";

exports.Params = void 0;
/* eslint-disable @typescript-eslint/naming-convention */
const encoding_1 = require("@cosmjs/encoding");

@@ -63,3 +64,2 @@ const encodings_1 = require("../encodings");

page: encodings_1.may(encodings_1.Integer.encode, params.page),
// eslint-disable-next-line @typescript-eslint/camelcase
per_page: encodings_1.may(encodings_1.Integer.encode, params.per_page),

@@ -66,0 +66,0 @@ };

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Responses = void 0;
/* eslint-disable @typescript-eslint/naming-convention */
const encoding_1 = require("@cosmjs/encoding");

@@ -191,3 +192,3 @@ const encodings_1 = require("../encodings");

consensusParams: decodeConsensusParams(data.consensus_params),
validators: encodings_1.assertArray(data.validators).map(decodeValidatorGenesis),
validators: data.validators ? encodings_1.assertArray(data.validators).map(decodeValidatorGenesis) : [],
appHash: encoding_1.fromHex(encodings_1.assertSet(data.app_hash)),

@@ -194,0 +195,0 @@ appState: data.app_state,

{
"name": "@cosmjs/tendermint-rpc",
"version": "0.21.1",
"version": "0.22.0-alpha.0",
"description": "Tendermint RPC clients",

@@ -28,3 +28,3 @@ "contributors": [

"scripts": {
"docs": "shx rm -rf docs && typedoc --options typedoc.js",
"docs": "typedoc --options typedoc.js",
"lint": "eslint --max-warnings 0 \"**/*.{js,ts}\"",

@@ -48,8 +48,8 @@ "lint-fix": "eslint --max-warnings 0 \"**/*.{js,ts}\" --fix",

"dependencies": {
"@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",
"@cosmjs/crypto": "^0.22.0-alpha.0",
"@cosmjs/encoding": "^0.22.0-alpha.0",
"@cosmjs/json-rpc": "^0.22.0-alpha.0",
"@cosmjs/math": "^0.22.0-alpha.0",
"@cosmjs/socket": "^0.22.0-alpha.0",
"@cosmjs/stream": "^0.22.0-alpha.0",
"axios": "^0.19.0",

@@ -61,5 +61,5 @@ "readonly-date": "^1.0.0",

"devDependencies": {
"@cosmjs/utils": "^0.21.1"
"@cosmjs/utils": "^0.22.0-alpha.0"
},
"gitHead": "66c2b2309c27feecec6fdfb43be50820244665ed"
"gitHead": "2f83fcd1f97f4958dbb8911cb29a338153e46460"
}

@@ -178,4 +178,4 @@ import { ReadonlyDate } from "readonly-date";

export declare enum VoteType {
PREVOTE = 1,
PRECOMMIT = 2,
PreVote = 1,
PreCommit = 2,
}

@@ -182,0 +182,0 @@ export interface Vote {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc