2.1 KiB
2.1 KiB
CHANGELOG
HEAD
- @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/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.