@kava-labs/javascript-sdk
Advanced tools
Comparing version 3.0.0-beta.3 to 3.0.0-beta.4
{ | ||
"name": "@kava-labs/javascript-sdk", | ||
"version": "3.0.0-beta.3", | ||
"version": "3.0.0-beta.4", | ||
"description": "Supports interaction with the Kava blockchain via a REST api", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -426,7 +426,6 @@ const sig = require('@kava-labs/sig'); | ||
* @param {String} sequence optional account sequence | ||
* @param {String} feeAmount optional fee amount | ||
* @return {Promise} | ||
*/ | ||
async postPrice(marketID, price, expiry, gas = DEFAULT_GAS, sequence = null, feeAmount = 50000) { | ||
const fee = { amount: String(feeAmount), gas: String(gas) }; | ||
async postPrice(marketID, price, expiry, feeCoins=[], gas = DEFAULT_GAS, sequence = null) { | ||
const fee = { amount: feeCoins, gas: String(gas) }; | ||
const msgPostPrice = msg.kava.newMsgPostPrice( | ||
@@ -491,4 +490,4 @@ this.wallet.address, | ||
*/ | ||
async placeBid(auctionID, amount, gas = DEFAULT_GAS, sequence = null) { | ||
const fee = { amount: [], gas: String(gas) }; | ||
async placeBid(auctionID, amount, feeCoins=[], gas = DEFAULT_GAS, sequence = null) { | ||
const fee = { amount: feeCoins, gas: String(gas) }; | ||
const msgPlaceBid = msg.kava.newMsgPlaceBid( | ||
@@ -495,0 +494,0 @@ auctionID, |
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
84326
1919