From 0eab1b020ec5d544cdef7e1187482049af508f6f Mon Sep 17 00:00:00 2001 From: willclarktech Date: Wed, 15 Jul 2020 17:31:57 +0200 Subject: [PATCH] sdk38: Export distribution module types and setup function --- packages/sdk38/src/index.ts | 10 ++++++++++ packages/sdk38/src/lcdapi/index.ts | 12 ++++++++++++ packages/sdk38/types/index.d.ts | 10 ++++++++++ packages/sdk38/types/lcdapi/index.d.ts | 12 ++++++++++++ 4 files changed, 44 insertions(+) diff --git a/packages/sdk38/src/index.ts b/packages/sdk38/src/index.ts index d9dd90ce..1032a86f 100644 --- a/packages/sdk38/src/index.ts +++ b/packages/sdk38/src/index.ts @@ -27,6 +27,15 @@ export { BankExtension, BlockResponse, BroadcastMode, + DistributionCommunityPoolResponse, + DistributionDelegatorRewardResponse, + DistributionDelegatorRewardsResponse, + DistributionExtension, + DistributionParametersResponse, + DistributionValidatorOutstandingRewardsResponse, + DistributionValidatorResponse, + DistributionValidatorRewardsResponse, + DistributionWithdrawAddressResponse, EncodeTxResponse, GovExtension, GovParametersResponse, @@ -50,6 +59,7 @@ export { SearchTxsResponse, setupAuthExtension, setupBankExtension, + setupDistributionExtension, setupGovExtension, setupMintExtension, setupSlashingExtension, diff --git a/packages/sdk38/src/lcdapi/index.ts b/packages/sdk38/src/lcdapi/index.ts index 80bd53b7..742a2a1b 100644 --- a/packages/sdk38/src/lcdapi/index.ts +++ b/packages/sdk38/src/lcdapi/index.ts @@ -4,6 +4,18 @@ export { AuthExtension, AuthAccountsResponse, setupAuthExtension } from "./auth"; export { BankBalancesResponse, BankExtension, setupBankExtension } from "./bank"; +export { + DistributionCommunityPoolResponse, + DistributionDelegatorRewardResponse, + DistributionDelegatorRewardsResponse, + DistributionExtension, + DistributionParametersResponse, + DistributionValidatorOutstandingRewardsResponse, + DistributionValidatorResponse, + DistributionValidatorRewardsResponse, + DistributionWithdrawAddressResponse, + setupDistributionExtension, +} from "./distribution"; export { GovExtension, GovParametersResponse, diff --git a/packages/sdk38/types/index.d.ts b/packages/sdk38/types/index.d.ts index 4f22dbbc..12f5c1a6 100644 --- a/packages/sdk38/types/index.d.ts +++ b/packages/sdk38/types/index.d.ts @@ -25,6 +25,15 @@ export { BankExtension, BlockResponse, BroadcastMode, + DistributionCommunityPoolResponse, + DistributionDelegatorRewardResponse, + DistributionDelegatorRewardsResponse, + DistributionExtension, + DistributionParametersResponse, + DistributionValidatorOutstandingRewardsResponse, + DistributionValidatorResponse, + DistributionValidatorRewardsResponse, + DistributionWithdrawAddressResponse, EncodeTxResponse, GovExtension, GovParametersResponse, @@ -48,6 +57,7 @@ export { SearchTxsResponse, setupAuthExtension, setupBankExtension, + setupDistributionExtension, setupGovExtension, setupMintExtension, setupSlashingExtension, diff --git a/packages/sdk38/types/lcdapi/index.d.ts b/packages/sdk38/types/lcdapi/index.d.ts index b9f984ac..77819d6c 100644 --- a/packages/sdk38/types/lcdapi/index.d.ts +++ b/packages/sdk38/types/lcdapi/index.d.ts @@ -1,5 +1,17 @@ export { AuthExtension, AuthAccountsResponse, setupAuthExtension } from "./auth"; export { BankBalancesResponse, BankExtension, setupBankExtension } from "./bank"; +export { + DistributionCommunityPoolResponse, + DistributionDelegatorRewardResponse, + DistributionDelegatorRewardsResponse, + DistributionExtension, + DistributionParametersResponse, + DistributionValidatorOutstandingRewardsResponse, + DistributionValidatorResponse, + DistributionValidatorRewardsResponse, + DistributionWithdrawAddressResponse, + setupDistributionExtension, +} from "./distribution"; export { GovExtension, GovParametersResponse,