Socket
Socket
Sign inDemoInstall

@keplr-wallet/stores

Package Overview
Dependencies
Maintainers
1
Versions
589
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@keplr-wallet/stores - npm Package Compare versions

Comparing version 0.8.7 to 0.8.8

9

build/account/index.d.ts

@@ -14,3 +14,3 @@ import { CoinPrimitive, HasMapStore } from "../common";

}
interface MsgOpt {
export interface MsgOpt {
type: string;

@@ -79,3 +79,3 @@ gas: number;

*/
sendDelegateMsg(amount: string, validatorAddress: string, memo?: string, onFulfill?: (tx: any) => void): Promise<void>;
sendDelegateMsg(amount: string, validatorAddress: string, memo?: string, stdFee?: StdFee, onFulfill?: (tx: any) => void): Promise<void>;
/**

@@ -89,3 +89,3 @@ * Send `MsgUndelegate` msg to the chain.

*/
sendUndelegateMsg(amount: string, validatorAddress: string, memo?: string, onFulfill?: (tx: any) => void): Promise<void>;
sendUndelegateMsg(amount: string, validatorAddress: string, memo?: string, stdFee?: StdFee, onFulfill?: (tx: any) => void): Promise<void>;
/**

@@ -100,3 +100,3 @@ * Send `MsgBeginRedelegate` msg to the chain.

*/
sendBeginRedelegateMsg(amount: string, srcValidatorAddress: string, dstValidatorAddress: string, memo?: string, onFulfill?: (tx: any) => void): Promise<void>;
sendBeginRedelegateMsg(amount: string, srcValidatorAddress: string, dstValidatorAddress: string, memo?: string, stdFee?: StdFee, onFulfill?: (tx: any) => void): Promise<void>;
sendWithdrawDelegationRewardMsgs(validatorAddresses: string[], memo?: string, onFulfill?: (tx: any) => void): Promise<void>;

@@ -127,2 +127,1 @@ sendGovVoteMsg(proposalId: string, option: "Yes" | "No" | "Abstain" | "NoWithVeto", memo?: string, onFulfill?: (tx: any) => void): Promise<void>;

}
export {};

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

*/
sendDelegateMsg(amount, validatorAddress, memo = "", onFulfill) {
sendDelegateMsg(amount, validatorAddress, memo = "", stdFee, onFulfill) {
return __awaiter(this, void 0, void 0, function* () {

@@ -301,3 +301,3 @@ const currency = this.chainGetter.getChain(this.chainId).stakeCurrency;

};
yield this.sendMsgs("delegate", [msg], {
yield this.sendMsgs("delegate", [msg], stdFee !== null && stdFee !== void 0 ? stdFee : {
amount: [],

@@ -335,3 +335,3 @@ gas: this.opts.msgOpts.delegate.gas.toString(),

*/
sendUndelegateMsg(amount, validatorAddress, memo = "", onFulfill) {
sendUndelegateMsg(amount, validatorAddress, memo = "", stdFee, onFulfill) {
return __awaiter(this, void 0, void 0, function* () {

@@ -352,5 +352,5 @@ const currency = this.chainGetter.getChain(this.chainId).stakeCurrency;

};
yield this.sendMsgs("undelegate", [msg], {
yield this.sendMsgs("undelegate", [msg], stdFee !== null && stdFee !== void 0 ? stdFee : {
amount: [],
gas: this.opts.msgOpts.undelegate.gas.toString(),
gas: this.opts.msgOpts.delegate.gas.toString(),
}, memo, (tx) => {

@@ -391,3 +391,3 @@ if (tx.code == null || tx.code === 0) {

*/
sendBeginRedelegateMsg(amount, srcValidatorAddress, dstValidatorAddress, memo = "", onFulfill) {
sendBeginRedelegateMsg(amount, srcValidatorAddress, dstValidatorAddress, memo = "", stdFee, onFulfill) {
return __awaiter(this, void 0, void 0, function* () {

@@ -409,5 +409,5 @@ const currency = this.chainGetter.getChain(this.chainId).stakeCurrency;

};
yield this.sendMsgs("redelegate", [msg], {
yield this.sendMsgs("redelegate", [msg], stdFee !== null && stdFee !== void 0 ? stdFee : {
amount: [],
gas: this.opts.msgOpts.redelegate.gas.toString(),
gas: this.opts.msgOpts.delegate.gas.toString(),
}, memo, (tx) => {

@@ -414,0 +414,0 @@ if (tx.code == null || tx.code === 0) {

{
"name": "@keplr-wallet/stores",
"version": "0.8.7",
"version": "0.8.8",
"main": "build/index.js",

@@ -26,9 +26,9 @@ "author": "chainapsis",

"@cosmjs/tendermint-rpc": "^0.24.1",
"@keplr-wallet/background": "^0.8.7",
"@keplr-wallet/common": "^0.8.7",
"@keplr-wallet/cosmos": "^0.8.7",
"@keplr-wallet/crypto": "^0.8.7",
"@keplr-wallet/router": "^0.8.7",
"@keplr-wallet/types": "^0.8.7",
"@keplr-wallet/unit": "^0.8.7",
"@keplr-wallet/background": "^0.8.8",
"@keplr-wallet/common": "^0.8.8",
"@keplr-wallet/cosmos": "^0.8.8",
"@keplr-wallet/crypto": "^0.8.8",
"@keplr-wallet/router": "^0.8.8",
"@keplr-wallet/types": "^0.8.8",
"@keplr-wallet/unit": "^0.8.8",
"axios": "^0.21.0",

@@ -42,3 +42,3 @@ "buffer": "^6.0.3",

},
"gitHead": "5f1ba5d67458601e436507e72e53cb238db32b0b"
"gitHead": "0f8d8972d90eb40a1538cda79b66557987c40803"
}

@@ -36,3 +36,3 @@ import { CoinPrimitive, HasMapStore } from "../common";

interface MsgOpt {
export interface MsgOpt {
type: string;

@@ -482,2 +482,3 @@ gas: number;

memo: string = "",
stdFee?: StdFee,
onFulfill?: (tx: any) => void

@@ -505,3 +506,3 @@ ) {

[msg],
{
stdFee ?? {
amount: [],

@@ -547,2 +548,3 @@ gas: this.opts.msgOpts.delegate.gas.toString(),

memo: string = "",
stdFee?: StdFee,
onFulfill?: (tx: any) => void

@@ -570,5 +572,5 @@ ) {

[msg],
{
stdFee ?? {
amount: [],
gas: this.opts.msgOpts.undelegate.gas.toString(),
gas: this.opts.msgOpts.delegate.gas.toString(),
},

@@ -618,2 +620,3 @@ memo,

memo: string = "",
stdFee?: StdFee,
onFulfill?: (tx: any) => void

@@ -642,5 +645,5 @@ ) {

[msg],
{
stdFee ?? {
amount: [],
gas: this.opts.msgOpts.redelegate.gas.toString(),
gas: this.opts.msgOpts.delegate.gas.toString(),
},

@@ -647,0 +650,0 @@ memo,

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