Huge News!Announcing our $40M Series B led by Abstract Ventures.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-alpha.2 to 5.1.0-alpha.3

16

lib/msg/hard/index.d.ts
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',

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