Skip to content

Commit

Permalink
fix: wrong return type
Browse files Browse the repository at this point in the history
  • Loading branch information
bangjelkoski committed Oct 6, 2021
1 parent d72f481 commit 53c3fb8
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 6 deletions.
11 changes: 11 additions & 0 deletions packages/chain-consumer/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,17 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.0.81](https://github.com/InjectiveLabs/injective-ts/compare/@injectivelabs/chain-consumer@0.0.80...@injectivelabs/chain-consumer@0.0.81) (2021-10-06)


### Bug Fixes

* wrong return type ([a10e9ef](https://github.com/InjectiveLabs/injective-ts/commit/a10e9efac1c0b4ecd47a631394bc28d0e4dc273f))





## [0.0.80](https://github.com/InjectiveLabs/injective-ts/compare/@injectivelabs/chain-consumer@0.0.79...@injectivelabs/chain-consumer@0.0.80) (2021-10-06)


Expand Down
2 changes: 1 addition & 1 deletion packages/chain-consumer/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@injectivelabs/chain-consumer",
"description": "Interacting with our Chain API made easy. Can be reused throughout Injective's projects.",
"version": "0.0.80",
"version": "0.0.81",
"license": "MIT",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export class DistributionProtoComposer {
}: {
validatorAddress: string
delegatorAddress: AccountAddress
}): Record<string, any> {
}) {
const message = new MsgWithdrawDelegatorReward()
message.setDelegatorAddress(delegatorAddress)
message.setValidatorAddress(validatorAddress)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export class PeggyProtoComposer {
amount: string
bridgeFeeDenom?: string
bridgeFeeAmount?: string
}): Record<string, any> {
}) {
const coinAmount = new Coin()
coinAmount.setDenom(denom)
coinAmount.setAmount(amount)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export class StakingProtoComposer {
validatorAddress: string
injectiveAddress: AccountAddress
amount: string
}): Record<string, any> {
}) {
const coinAmount = new Coin()
coinAmount.setDenom(denom)
coinAmount.setAmount(amount)
Expand Down Expand Up @@ -45,7 +45,7 @@ export class StakingProtoComposer {
destinationValidatorAddress: string
injectiveAddress: AccountAddress
amount: string
}): Record<string, any> {
}) {
const coinAmount = new Coin()
coinAmount.setDenom(denom)
coinAmount.setAmount(amount)
Expand All @@ -72,7 +72,7 @@ export class StakingProtoComposer {
validatorAddress: string
injectiveAddress: AccountAddress
amount: string
}): Record<string, any> {
}) {
const coinAmount = new Coin()
coinAmount.setDenom(denom)
coinAmount.setAmount(amount)
Expand Down

0 comments on commit 53c3fb8

Please sign in to comment.