Skip to content

Releases: CrystallizeAPI/node-klarna

v6.0.0

06 Jan 12:43
Compare
Choose a tag to compare

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

05 Jan 13:06
Compare
Choose a tag to compare

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

05 Jan 12:28
Compare
Choose a tag to compare

4.9.1 (2022-01-05)

Bug Fixes

  • node version in CI/CD workflow (3c03c7b)
  • rejected promise on Klarna error (4ba5b4c)

v4.8.0

07 Jan 16:12
Compare
Choose a tag to compare

4.8.0 (2021-01-07)

Features

  • also consider isSubscriptionOnly prop when converting crystallizeLineItem to klarnaLineItem (cc64243)

v4.7.1

07 Jan 14:56
Compare
Choose a tag to compare

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

04 Dec 14:48
Compare
Choose a tag to compare

4.7.0 (2020-12-04)

Features

  • add ordermanagementv1 get order function (96b4e1e)

v4.6.4

28 Oct 13:46
Compare
Choose a tag to compare

4.6.4 (2020-10-28)

Bug Fixes

  • add more types for crystallizeLineItem (1168c8d)

v4.6.3

23 Oct 11:59
Compare
Choose a tag to compare

4.6.3 (2020-10-23)

Bug Fixes

v4.6.2

01 Oct 22:04
Compare
Choose a tag to compare

4.6.2 (2020-10-01)

Bug Fixes

  • crystallize-helpers: add shipping option field & types when generating orderbody (ef4c087)

v4.6.1

01 Oct 21:31
Compare
Choose a tag to compare

4.6.1 (2020-10-01)

Bug Fixes

  • use correct types for customerTokenV1 recurring order (8fba733)