Skip to content
This repository has been archived by the owner on Dec 25, 2023. It is now read-only.

Commit

Permalink
Filter out non needed symbols
Browse files Browse the repository at this point in the history
  • Loading branch information
msteiner96 committed Feb 8, 2022
1 parent cb61648 commit cd8f85f
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 159 deletions.
11 changes: 10 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,16 @@
"access": "public",
"registry": "https://registry.npmjs.org"
},
"author": "Milan Steiner <[email protected]>",
"contributors": [
{
"name": "Simon Warta",
"email": "[email protected]"
},
{
"name": "Milan Steiner",
"email": "[email protected]"
}
],
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/confio/cosmwasm.js/issues"
Expand Down
9 changes: 0 additions & 9 deletions src/amino.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
export {
pubkeyToAddress,
pubkeyToRawAddress,
rawEd25519PubkeyToRawAddress,
rawSecp256k1PubkeyToRawAddress,
decodeAminoPubkey,
decodeBech32Pubkey,
Expand All @@ -12,19 +11,13 @@ export {
parseCoins,
encodeBech32Pubkey,
encodeSecp256k1Pubkey,
createMultisigThresholdPubkey,
makeCosmoshubPath,
Ed25519Pubkey,
isEd25519Pubkey,
isMultisigThresholdPubkey,
isSecp256k1Pubkey,
isSinglePubkey,
MultisigThresholdPubkey,
Pubkey,
pubkeyType,
Secp256k1Pubkey,
SinglePubkey,
extractKdfConfiguration,
Secp256k1HdWallet,
Secp256k1HdWalletOptions,
Secp256k1Wallet,
Expand All @@ -43,6 +36,4 @@ export {
isStdTx,
makeStdTx,
StdTx,
executeKdf,
KdfConfiguration
} from "@cosmjs/amino";
1 change: 1 addition & 0 deletions src/cosmwasm-stargate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ export {
InstantiateOptions,
InstantiateResult,
MigrateResult,
CosmWasmClient,
SigningCosmWasmClient,
SigningCosmWasmClientOptions,
UploadResult,
Expand Down
30 changes: 0 additions & 30 deletions src/crypto.ts
Original file line number Diff line number Diff line change
@@ -1,34 +1,4 @@
export {
Bip39,
EnglishMnemonic,
HashFunction,
Hmac,
Keccak256,
keccak256,
Argon2id,
Argon2idOptions,
Ed25519,
Ed25519Keypair,
isArgon2idOptions,
xchacha20NonceLength,
Xchacha20poly1305Ietf,
Random,
Ripemd160,
ripemd160,
Secp256k1,
Secp256k1Keypair,
ExtendedSecp256k1Signature,
Secp256k1Signature,
Sha256,
sha256,
Sha512,
sha512,
HdPath,
pathToString,
Slip10,
Slip10Curve,
slip10CurveFromString,
Slip10RawIndex,
Slip10Result,
stringToPath,
} from "@cosmjs/crypto";
17 changes: 0 additions & 17 deletions src/proto-signing.ts
Original file line number Diff line number Diff line change
@@ -1,23 +1,6 @@
export {
DecodedTxRaw,
decodeTxRaw,
DirectSecp256k1HdWallet,
DirectSecp256k1HdWalletOptions,
DirectSecp256k1Wallet,
decodePubkey,
encodePubkey,
DecodeObject,
EncodeObject,
GeneratedType,
isPbjsGeneratedType,
isTsProtoGeneratedType,
isTxBodyEncodeObject,
PbjsGeneratedType,
Registry,
TsProtoGeneratedType,
TxBodyEncodeObject,
DirectSignResponse,
isOfflineDirectSigner,
OfflineDirectSigner,
OfflineSigner
} from "@cosmjs/proto-signing";
107 changes: 6 additions & 101 deletions src/stargate.ts
Original file line number Diff line number Diff line change
@@ -1,103 +1,8 @@
export {
AminoMsgBeginRedelegate,
AminoMsgCreateValidator,
AminoMsgDelegate,
AminoMsgDeposit,
AminoMsgEditValidator,
AminoMsgFundCommunityPool,
AminoMsgMultiSend,
AminoMsgSend,
AminoMsgSetWithdrawAddress,
AminoMsgSubmitEvidence,
AminoMsgSubmitProposal,
AminoMsgUndelegate,
AminoMsgUnjail,
AminoMsgVerifyInvariant,
AminoMsgVote,
AminoMsgWithdrawDelegatorReward,
AminoMsgWithdrawValidatorCommission,
isAminoMsgBeginRedelegate,
isAminoMsgCreateValidator,
isAminoMsgDelegate,
isAminoMsgDeposit,
isAminoMsgEditValidator,
isAminoMsgFundCommunityPool,
isAminoMsgMultiSend,
isAminoMsgSend,
isAminoMsgSetWithdrawAddress,
isAminoMsgSubmitEvidence,
isAminoMsgSubmitProposal,
isAminoMsgUndelegate,
isAminoMsgUnjail,
isAminoMsgVerifyInvariant,
isAminoMsgVote,
isAminoMsgWithdrawDelegatorReward,
isAminoMsgWithdrawValidatorCommission,
AminoConverter,
isMsgDelegateEncodeObject,
isMsgDepositEncodeObject,
isMsgSendEncodeObject,
isMsgSubmitProposalEncodeObject,
isMsgTransferEncodeObject,
isMsgUndelegateEncodeObject,
isMsgVoteEncodeObject,
isMsgWithdrawDelegatorRewardEncodeObject,
MsgDelegateEncodeObject,
MsgDepositEncodeObject,
MsgSendEncodeObject,
MsgSubmitProposalEncodeObject,
MsgTransferEncodeObject,
MsgUndelegateEncodeObject,
MsgVoteEncodeObject,
MsgWithdrawDelegatorRewardEncodeObject,
calculateFee,
GasPrice,
makeMultisignedTx,
AuthExtension,
BankExtension,
createPagination,
createProtobufRpcClient,
decodeCosmosSdkDecFromProto,
DistributionExtension,
GovExtension,
GovParamsType,
GovProposalId,
IbcExtension,
MintExtension,
MintParams,
ProtobufRpcClient,
QueryClient,
setupAuthExtension,
setupBankExtension,
setupDistributionExtension,
setupGovExtension,
setupIbcExtension,
setupMintExtension,
setupStakingExtension,
setupTxExtension,
StakingExtension,
TxExtension,
isSearchByHeightQuery,
isSearchBySentFromOrToQuery,
isSearchByTagsQuery,
SearchByHeightQuery,
SearchBySentFromOrToQuery,
SearchByTagsQuery,
SearchTxFilter,
SearchTxQuery,
defaultRegistryTypes,
SignerData,
SigningStargateClient,
SigningStargateClientOptions,
assertIsDeliverTxFailure,
assertIsDeliverTxSuccess,
Block,
BlockHeader,
DeliverTxResponse,
IndexedTx,
isDeliverTxFailure,
isDeliverTxSuccess,
SequenceResponse,
StargateClient,
TimeoutError,
IndexedTx,
StargateClient,
SigningStargateClient,
GasPrice,
QueryClient,
Block
} from "@cosmjs/stargate";
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"compilerOptions": {
"target": "es5",
"target": "es2018",
"module": "commonjs",
"declaration": true,
"outDir": "./build",
Expand Down

0 comments on commit cd8f85f

Please sign in to comment.