Releases: CrystallizeAPI/node-klarna
Releases · CrystallizeAPI/node-klarna
v6.0.0
6.0.0 (2022-01-06)
Bug Fixes
- missing configuration for logs (35c056c)
- module interface exports (3667122)
- redundant class interface (e0b76bb)
- redundant interface prefix (d234b3d)
BREAKING CHANGES
- Logs are disabled by default now.
You can enable them by adding logs: { enabled: true }
or logs: { useNodeEnv: true }
- Interfaces have same name now as classes, e.g.
IConfig
was changed to Config
- Interfaces are not exported anymore.
It is necessary to use class as a type directly, e.g. Klarna
instead of IKlarnaInstance
v5.0.0
5.0.0 (2022-01-05)
Bug Fixes
- shipping option ID type and merchant urls interface nam (26bcec6)
- typo in order management API (dcb5276)
BREAKING CHANGES
- shipping option id has correct number type now
(Empty commit, released in 13f7f64)
- ordermanagementV1 renamed to orderManagementV1
(Empty commit, released in e0e775c)
v4.9.1
4.9.1 (2022-01-05)
Bug Fixes
- node version in CI/CD workflow (3c03c7b)
- rejected promise on Klarna error (4ba5b4c)
v4.8.0
4.8.0 (2021-01-07)
Features
- also consider isSubscriptionOnly prop when converting crystallizeLineItem to klarnaLineItem (cc64243)
v4.7.1
4.7.1 (2021-01-07)
Bug Fixes
- convert address interface types to optional (as per klarna docs) (e987a0c)
- revert unecessary property (dcb88d4)
v4.7.0
4.7.0 (2020-12-04)
Features
- add ordermanagementv1 get order function (96b4e1e)
v4.6.4
4.6.4 (2020-10-28)
Bug Fixes
- add more types for crystallizeLineItem (1168c8d)
v4.6.3
4.6.3 (2020-10-23)
Bug Fixes
v4.6.2
4.6.2 (2020-10-01)
Bug Fixes
- crystallize-helpers: add shipping option field & types when generating orderbody (ef4c087)
v4.6.1
4.6.1 (2020-10-01)
Bug Fixes
- use correct types for customerTokenV1 recurring order (8fba733)