3.2 KiB
3.2 KiB
CHANGELOG
0.22.2 (2020-08-11)
- @cosmjs/faucet: Log errors for failed send transactions.
- @cosmjs/faucet: Add config variable
FAUCET_MEMO.
0.22.1 (2020-08-11)
- @cosmjs/cli: Import
encodeAminoPubkey,encodeBech32Pubkey,decodeAminoPubkeyanddecodeBech32Pubkeyby default. - @cosmjs/launchpad: Add ed25519 support to
encodeBech32Pubkey. - @cosmjs/launchpad: Add
encodeAminoPubkeyanddecodeAminoPubkey. - @cosmjs/utils: Add
arrayContentEquals. - @cosmjs/faucet: Add config variables
FAUCET_ADDRESS_PREFIXandFAUCET_TOKENS. - @cosmjs/faucet: Remove broken chain ID from
cosmwasm-faucet generate.
0.22.0 (2020-08-03)
- @cosmjs/cli: Now supports HTTPs URLs for
--initcode sources. - @cosmjs/cli: Now supports adding code directly via
--code. - @cosmjs/cosmwasm: Rename
CosmWasmClient.getNoncemethod to.getSequence. - @cosmjs/cosmwasm: Remove
RestClientclass in favour of new modularLcdClientclass from @cosmjs/sdk38. - @cosmjs/cosmwasm: Add
SigningCosmWasmClient.signAndPostas a mid-level abstraction betweenSigningCosmWasmClient.upload/.instantiate/.executeand.postTx. - @cosmjs/cosmwasm: Use
*PostTx*types and helpers from @cosmjs/sdk38. Remove exportedPostTxResult. - @cosmjs/cosmwasm:
ContractDetailswas removed in favour of justContract. The missinginit_msgis now available via the contract's code history (seegetContractCodeHistory). - @cosmjs/cosmwasm: Remove
SigningCallbackin favour of theOfflineSignerinterface. - @cosmjs/sdk38: Rename
CosmosClient.getNoncemethod to.getSequence. - @cosmjs/sdk38: Remove
RestClientclass in favour of new modularLcdClientclass. - @cosmjs/sdk38: Remove
Pentype in favour ofOfflineSignerand removeSecp256k1Penclass in favour ofSecp256k1Walletwhich takes anOfflineSignerinstead of aSigningCallback. - @cosmjs/sdk38: Rename
CosmosSdkAccounttoBaseAccountand export the type. - @cosmjs/sdk38:
BaseAccountnow usesnumber | stringas the type foraccount_numberandsequence. The new helpersuint64ToNumberanduint64ToStringallow you to normalize the mixed input. - @cosmjs/sdk38:
BaseAccountnow usesstring | PubKey | nullas the type forpublic_key. The new helpernormalizePubkeyallows you to normalize the mixed input. - @cosmjs/math: Add missing integer check to
Uint64.fromNumber. BeforeUint64.fromNumber(1.1)produced some result. - @cosmjs/sdk38: Add
SigningCosmosClient.signAndPostas a mid-level abstraction betweenSigningCosmosClient.sendTokensand.postTx. - @cosmjs/sdk38: Export
PostTxFailure/PostTxSuccessand type checkersisPostTxFailure/isPostTxSuccess; exportassertIsPostTxSuccess. - @cosmjs/sdk38:
Secp256k1Wallets can now be generated randomly withSecp256k1Wallet.generate(n)wherenis 12, 15, 18, 21 or 24 mnemonic words. - @cosmjs/sdk38: The new
Secp256k1Wallet.serializeand.deserializeallow encrypted serialization of the wallet. - @cosmjs/sdk38: Remove the obsolete
upload,init,execproperties fromFeeTable. @cosmjs/cosmwasm has its ownFeeTablewith those properties. - @cosmjs/sdk38: Rename package to @cosmjs/launchpad.