New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@kava-labs/javascript-sdk

Package Overview
Dependencies
Maintainers
5
Versions
81
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kava-labs/javascript-sdk - npm Package Compare versions

Comparing version 5.1.0-beta.3 to 5.1.1-beta

16

lib/index.d.ts

@@ -38,2 +38,10 @@ /// <reference types="node" />

};
newMsgVoteGovernance: (proposalID: string, voter: string, voteType: import("./types/VoteType").VoteType) => {
type: string;
value: {
voter: string;
proposal_id: string;
option: import("./types/VoteType").VoteType;
};
};
};

@@ -144,10 +152,2 @@ kava: {

};
newMsgVoteGovernance: (proposalID: string, voter: string, voteType: import("./types/VoteType").VoteType) => {
type: string;
value: {
voter: string;
proposal_id: string;
option: import("./types/VoteType").VoteType;
};
};
newMsgClaimUSDXMintingReward: (sender: string, multiplierName: string) => {

@@ -154,0 +154,0 @@ type: string;

@@ -0,1 +1,2 @@

import { VoteType } from '../../types/VoteType';
/**

@@ -32,6 +33,15 @@ * Creates a new StdTx from some messages with a default fee

};
declare function newMsgVoteGovernance(proposalID: string, voter: string, voteType: VoteType): {
type: string;
value: {
voter: string;
proposal_id: string;
option: VoteType;
};
};
export declare const cosmos: {
newStdTx: typeof newStdTx;
newMsgSend: typeof newMsgSend;
newMsgVoteGovernance: typeof newMsgVoteGovernance;
};
export {};

@@ -40,5 +40,16 @@ "use strict";

}
function newMsgVoteGovernance(proposalID, voter, voteType) {
return {
type: 'cosmos-sdk/MsgVote',
value: {
voter: voter,
proposal_id: proposalID,
option: voteType,
},
};
}
exports.cosmos = {
newStdTx,
newMsgSend,
newMsgVoteGovernance
};

@@ -26,2 +26,10 @@ export declare const msg: {

};
newMsgVoteGovernance: (proposalID: string, voter: string, voteType: import("../types/VoteType").VoteType) => {
type: string;
value: {
voter: string;
proposal_id: string;
option: import("../types/VoteType").VoteType;
};
};
};

@@ -132,10 +140,2 @@ kava: {

};
newMsgVoteGovernance: (proposalID: string, voter: string, voteType: import("../types/VoteType").VoteType) => {
type: string;
value: {
voter: string;
proposal_id: string;
option: import("../types/VoteType").VoteType;
};
};
newMsgClaimUSDXMintingReward: (sender: string, multiplierName: string) => {

@@ -142,0 +142,0 @@ type: string;

@@ -119,10 +119,2 @@ import { Coin } from '../../types/Coin';

};
declare function newMsgVoteGovernance(proposalID: string, voter: string, voteType: VoteType): {
type: string;
value: {
voter: string;
proposal_id: string;
option: VoteType;
};
};
/***************************************************

@@ -258,3 +250,2 @@ * Incentive

newMsgVote: typeof newMsgVote;
newMsgVoteGovernance: typeof newMsgVoteGovernance;
newMsgClaimUSDXMintingReward: typeof newMsgClaimUSDXMintingReward;

@@ -261,0 +252,0 @@ newMsgClaimUSDXMintingRewardVVesting: typeof newMsgClaimUSDXMintingRewardVVesting;

@@ -146,12 +146,2 @@ "use strict";

}
function newMsgVoteGovernance(proposalID, voter, voteType) {
return {
type: 'cosmos-sdk/MsgVote',
value: {
voter: voter,
proposal_id: proposalID,
option: voteType,
},
};
}
/***************************************************

@@ -315,3 +305,2 @@ * Incentive

newMsgVote,
newMsgVoteGovernance,
newMsgClaimUSDXMintingReward,

@@ -318,0 +307,0 @@ newMsgClaimUSDXMintingRewardVVesting,

{
"name": "@kava-labs/javascript-sdk",
"version": "5.1.0-beta.3",
"version": "5.1.1-beta",
"description": "Supports interaction with the Kava blockchain via a REST api",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

import _ from 'lodash';
import { VoteType } from '../../types/VoteType';

@@ -43,5 +44,17 @@ const FEE_DEFAULT = { amount: [], gas: '300000' };

function newMsgVoteGovernance(proposalID: string, voter: string, voteType: VoteType) {
return {
type: 'cosmos-sdk/MsgVote',
value: {
voter: voter,
proposal_id: proposalID,
option: voteType,
},
};
}
export const cosmos = {
newStdTx,
newMsgSend,
};
newMsgVoteGovernance
};

@@ -207,13 +207,2 @@ import { Coin } from '../../types/Coin';

function newMsgVoteGovernance(proposalID: string, voter: string, voteType: VoteType) {
return {
type: 'cosmos-sdk/MsgVote',
value: {
voter: voter,
proposal_id: proposalID,
option: voteType,
},
};
}
/***************************************************

@@ -419,3 +408,2 @@ * Incentive

newMsgVote,
newMsgVoteGovernance,
newMsgClaimUSDXMintingReward,

@@ -422,0 +410,0 @@ newMsgClaimUSDXMintingRewardVVesting,

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