# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.4.0] - 2022-05-02

### Fixed

- Improved packaging:
  - commonjs and esm version for node runtimes
  - esm version and umd version for browser

### Removed

- Pigi V1 envelope

## [1.3.10] - 2022-04-28

Browser build is now included in npm package

## [1.3.9] - 2022-04-26

No changes

## [1.3.8] - 2022-04-26

### Fixed

- CommonJS build is now included in npm package

## [1.3.7] - 2022-04-26

### Fixed

- CommonJS is now supported again

## [1.3.5] - 2022-04-21

No changes

## [1.3.4] - 2022-04-21

### Fixed

- Fixed main entrypoint in package json

## [1.3.3] - 2022-04-21

### Added

- All types are now exported from the main entrypoint

## [1.3.2] - 2022-04-20

### Fixed

- Fixed an issue with importing the library in commonjs format

## [1.3.1] - 2022-04-20

### Fixed

- Fixed an issue with importing the library in commonjs format

## [1.3.0] - 2022-04-20

### Added

- Browser builds with webpack
- Doc v1 envelope type
- Shared browser/nodejs tests

### Fixed

- Various bugs in browser related to envelopes

## [1.2.6] - 2022-03-30

### Fixed

- Fixed a padding issue with uncompressed keys

### Added

- Added TransactionStatus type

## [1.2.6] - 2022-03-30

### Fixed

- Fixed issue causing listTransactions to fail when no dates were supplied in the options

## [1.2.5] - 2022-03-29

### Fixed

- Fixed issue when creating Peppol v1 output via createTransaction

## [1.2.4] - 2022-03-29

### Fixed

- Fixed issue when creating Peppol v1 output

## [1.2.3] - 2022-03-28

### Fixed

- Some Transaction fields were Date but are actually ISO Strings

## [1.2.2] - 2022-03-28

### Fixed

- Improve typings of listTransactions and createTransaction

## [1.2.1] - 2022-12-08

### Added

- Alternative Key fingerprint using SHA1 for KVK

## [1.2.0] - 2022-12-07

### Fixed

- Improve types

### Added

- Support for compressed keys in Peppol outputs
- experimentalGetKeyInfo functions now also return compressedPublicKey, jwk, kid and info

## [1.1.0] - 2022-10-12

### Added

- recoverUserKeyAttributes() regenerates userKeyAttributes from a recovery key and a new password

## [1.0.8] - 2022-10-12

No significant changes

Added experimental KVK key

## [1.0.7] - 2022-10-12

Updated README

# [1.0.6] - 2022-10-12

Version bump to keep in sync with @mintblue/sdk-server

## [1.0.5] - 2022-10-12

### Fixed

- Decryption of Peppol outputs in browser
- Peppol output type now correctly returs pubKey after parsing

## [1.0.1] - 2022-09-19

### Fixed

- Missing dependency 'form-data'

## [1.0.0] - 2022-09-13

### Added

- Ability to instantiate Mintblue SDK with SDK token
- utilities related to key management
- Encrypted envelope for Yuki v1, Yuki v2, Peppol v1
- Create projects
- Create transactions
