Skip to content

Commit

Permalink
Merge pull request #173 from Concordium/increase-version
Browse files Browse the repository at this point in the history
Bump version to 4.2.0 for release.
  • Loading branch information
abizjak authored Sep 27, 2022
2 parents 8658d39 + c44bc19 commit 2844800
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
2 changes: 2 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## Unreleased

## 4.2.0

- Fix handling of `--no-confirm` in `contract init`, `contract update`, `module
deploy`, and `register data` transactions. This flag is now respected.
- Add support for importing accounts exported by the browser extension wallet.
Expand Down
2 changes: 1 addition & 1 deletion concordium-client.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ cabal-version: 2.0
-- see: https://github.com/sol/hpack

name: concordium-client
version: 4.1.0
version: 4.2.0
description: Please see the README on GitHub at <https://github.com/Concordium/concordium-client#readme>
homepage: https://github.com/Concordium/concordium-client#readme
bug-reports: https://github.com/Concordium/concordium-client/issues
Expand Down
2 changes: 1 addition & 1 deletion package.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: concordium-client
version: 4.1.0
version: 4.2.0
github: "Concordium/concordium-client"
author: "Concordium"
maintainer: "developers@concordium.com"
Expand Down
10 changes: 7 additions & 3 deletions src/Concordium/Client/Export.hs
Original file line number Diff line number Diff line change
Expand Up @@ -166,10 +166,14 @@ instance AE.FromJSON WalletExportAccount where
, weaCredMap = OrdMap.singleton 0 (IDTypes.credId credential)
, weaEncryptionKey = e }

-- | Decode, decrypt and parse a mobile wallet export, reencrypting the singing keys with the same password.
-- | Decode, potentially decrypt and parse a wallet export. The function asks
-- for the password when it is needed. If importing the old mobile wallet export
-- then the keys are encrypted using the same password that is used for
-- decrypting the export.w
decodeMobileFormattedAccountExport
:: BS.ByteString -- ^ JSON with encrypted accounts and identities,
-- which must include the fields of an 'EncryptedJSON WalletExport'.
:: BS.ByteString
-- ^ JSON with accounts and identities, this can either be encrypted or not. If it is encrypted it must be encrypted
-- using the format expected of an 'EncryptedJSON WalletExport'.
-> Maybe Text -- ^ Only return the account with the given name (if it exists, otherwise return none).
-> IO Password -- ^ Action to ask for password to decrypt the export or to encrypt the sign keys.
-> IO (Either String ([AccountConfig], Environment)) -- ^ A list of resulting 'AccountConfig's and their environment, or an error message on failure.
Expand Down

0 comments on commit 2844800

Please sign in to comment.