@kava-labs/javascript-sdk
Advanced tools
Comparing version 5.1.0-alpha.2 to 5.1.0-alpha.3
import { Coin } from "../../types/Coin"; | ||
declare function newMsgDeposit(depositor: string, amount: Coin): { | ||
declare function newMsgDeposit(depositor: string, amount: Coin[]): { | ||
type: string; | ||
value: { | ||
depositor: string; | ||
amount: Coin; | ||
amount: Coin[]; | ||
}; | ||
}; | ||
declare function newMsgWithdraw(depositor: string, amount: Coin): { | ||
declare function newMsgWithdraw(depositor: string, amount: Coin[]): { | ||
type: string; | ||
value: { | ||
depositor: string; | ||
amount: Coin; | ||
amount: Coin[]; | ||
}; | ||
}; | ||
declare function newMsgBorrow(borrower: string, amount: Coin): { | ||
declare function newMsgBorrow(borrower: string, amount: Coin[]): { | ||
type: string; | ||
value: { | ||
borrower: string; | ||
amount: Coin; | ||
amount: Coin[]; | ||
}; | ||
}; | ||
declare function newMsgRepay(sender: string, owner: string, amount: Coin): { | ||
declare function newMsgRepay(sender: string, owner: string, amount: Coin[]): { | ||
type: string; | ||
@@ -28,3 +28,3 @@ value: { | ||
owner: string; | ||
amount: Coin; | ||
amount: Coin[]; | ||
}; | ||
@@ -31,0 +31,0 @@ }; |
@@ -241,24 +241,24 @@ export declare const msg: { | ||
hard: { | ||
newMsgDeposit: (depositor: string, amount: import("../types/Coin").Coin) => { | ||
newMsgDeposit: (depositor: string, amount: import("../types/Coin").Coin[]) => { | ||
type: string; | ||
value: { | ||
depositor: string; | ||
amount: import("../types/Coin").Coin; | ||
amount: import("../types/Coin").Coin[]; | ||
}; | ||
}; | ||
newMsgWithdraw: (depositor: string, amount: import("../types/Coin").Coin) => { | ||
newMsgWithdraw: (depositor: string, amount: import("../types/Coin").Coin[]) => { | ||
type: string; | ||
value: { | ||
depositor: string; | ||
amount: import("../types/Coin").Coin; | ||
amount: import("../types/Coin").Coin[]; | ||
}; | ||
}; | ||
newMsgBorrow: (borrower: string, amount: import("../types/Coin").Coin) => { | ||
newMsgBorrow: (borrower: string, amount: import("../types/Coin").Coin[]) => { | ||
type: string; | ||
value: { | ||
borrower: string; | ||
amount: import("../types/Coin").Coin; | ||
amount: import("../types/Coin").Coin[]; | ||
}; | ||
}; | ||
newMsgRepay: (sender: string, owner: string, amount: import("../types/Coin").Coin) => { | ||
newMsgRepay: (sender: string, owner: string, amount: import("../types/Coin").Coin[]) => { | ||
type: string; | ||
@@ -268,3 +268,3 @@ value: { | ||
owner: string; | ||
amount: import("../types/Coin").Coin; | ||
amount: import("../types/Coin").Coin[]; | ||
}; | ||
@@ -271,0 +271,0 @@ }; |
{ | ||
"name": "@kava-labs/javascript-sdk", | ||
"version": "5.1.0-alpha.2", | ||
"version": "5.1.0-alpha.3", | ||
"description": "Supports interaction with the Kava blockchain via a REST api", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
import { Coin } from "../../types/Coin"; | ||
function newMsgDeposit(depositor: string, amount: Coin) { | ||
function newMsgDeposit(depositor: string, amount: Coin[]) { | ||
return { | ||
@@ -13,3 +13,3 @@ type: 'hard/MsgDeposit', | ||
function newMsgWithdraw(depositor: string, amount: Coin) { | ||
function newMsgWithdraw(depositor: string, amount: Coin[]) { | ||
return { | ||
@@ -24,3 +24,3 @@ type: 'hard/MsgWithdraw', | ||
function newMsgBorrow(borrower: string, amount: Coin) { | ||
function newMsgBorrow(borrower: string, amount: Coin[]) { | ||
return { | ||
@@ -35,3 +35,3 @@ type: 'hard/MsgBorrow', | ||
function newMsgRepay(sender: string, owner: string, amount: Coin) { | ||
function newMsgRepay(sender: string, owner: string, amount: Coin[]) { | ||
return { | ||
@@ -38,0 +38,0 @@ type: 'hard/MsgRepay', |
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
160577