Skip to content

Latest commit

 

History

History
253 lines (120 loc) · 11.6 KB

CHANGELOG.md

File metadata and controls

253 lines (120 loc) · 11.6 KB

4.8.0 (2021-01-07)

Features

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

4.7.1 (2021-01-07)

Bug Fixes

  • convert address interface types to optional (as per klarna docs) (e987a0c)
  • revert unecessary property (dcb88d4)

4.7.0 (2020-12-04)

Features

  • add ordermanagementv1 get order function (96b4e1e)

4.6.4 (2020-10-28)

Bug Fixes

  • add more types for crystallizeLineItem (1168c8d)

4.6.3 (2020-10-23)

Bug Fixes

4.6.2 (2020-10-01)

Bug Fixes

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

4.6.1 (2020-10-01)

Bug Fixes

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

4.6.0 (2020-10-01)

Features

  • crystallize-helpers: indicate if product is a subscription in klarna merchant_data (9ca7778)

4.5.0 (2020-10-01)

Bug Fixes

  • added types must be optional (7717b9c)

Features

  • add additional type fields for klarna order_line (5edfa8c)

4.4.0 (2020-10-01)

Bug Fixes

Features

  • destructure interface, add shared address types, added additional types (c1cc0b4)

4.3.0 (2020-10-01)

Features

  • add recurring token fields for orderResponse type (8534e70)

4.2.0 (2020-10-01)

Features

  • add billing_address type support for orderResponse + export crystallize helper types (d71162a)

4.1.1 (2020-10-01)

Bug Fixes

  • lint: trailing semicolon (1175b4a)

4.1.0 (2020-09-30)

Bug Fixes

  • recurring property should be optional based on klarna api docs (64da0d7)
  • lint: prettier (3aecc41)

Features

  • add recurring field for orders generated via crystallize helper functions (4545421)

4.0.1 (2020-09-30)

Bug Fixes

  • crystallizeHelperFunction kebab_case to camelCase for lineItem (1640801)

4.0.0 (2020-09-30)

Bug Fixes

  • add correct capture body interface (50796cc)
  • correct naming for checkout function (ae7b065)
  • handle empty string response from klarna api (4b2baa3)
  • prettier lint (c8adfb8)
  • remove unused props, use correct prop name (1c95676)
  • use correct host_uri variable (f185a89)
  • ci: add commitlint step before fetching cached node_modules (e63b705)
  • ci: npm_token spell fix (86ea1a8)
  • git-hooks: make sure pre commit hook is working (75d3523)
  • lint: prettier (0c77e96)

Features

  • add customer token v1 endpoint helper functions (0b87176)
  • add ordermanagement v1 endpoint helper functions (67b824e)
  • Added CrystallizeKlarnaHelper class to generate klarnaOrderBody (4c31808)
  • ordermanagement v1 -> add additional helper functions for orders (113506a)
  • ordermanagement v1 -> refunds helper functions added (c458f8f)
  • orders -> cancel order function added (bea9fd6)
  • set npm publish irrespective of branches, add npm_token for ci env (27ea9ae)

BREAKING CHANGES

  • Move to typescript, improved structure for library, bug fixes and added typings based on klarna api

4.0.0-beta.10 (2020-09-24)

Bug Fixes

  • handle empty string response from klarna api (4b2baa3)

4.0.0-beta.9 (2020-09-23)

Bug Fixes

  • remove unused props, use correct prop name (1c95676)

4.0.0-beta.8 (2020-09-23)

Bug Fixes

  • use correct host_uri variable (f185a89)

4.0.0-beta.7 (2020-09-23)

Bug Fixes

Features

  • Added CrystallizeKlarnaHelper class to generate klarnaOrderBody (4c31808)

4.0.0-beta.6 (2020-09-22)

Bug Fixes

  • ci: add commitlint step before fetching cached node_modules (e63b705)

4.0.0-beta.5 (2020-09-22)

Bug Fixes

  • lint: prettier (0c77e96)
  • add correct capture body interface (50796cc)

Features

  • ordermanagement v1 -> add additional helper functions for orders (113506a)

4.0.0-beta.4 (2020-09-22)

Bug Fixes

  • git-hooks: make sure pre commit hook is working (75d3523)

Features

  • ordermanagement v1 -> refunds helper functions added (c458f8f)
  • orders -> cancel order function added (bea9fd6)

4.0.0-beta.3 (2020-09-22)

Features

  • add customer token v1 endpoint helper functions (0b87176)
  • add ordermanagement v1 endpoint helper functions (67b824e)

4.0.0-beta.2 (2020-09-21)

Bug Fixes

  • correct naming for checkout function (ae7b065)

4.0.0-beta.1 (2020-09-16)

Bug Fixes

  • ci: npm_token spell fix (86ea1a8)

Features

  • set npm publish irrespective of branches, add npm_token for ci env (27ea9ae)

BREAKING CHANGES

  • Move to typescript, improved structure for library, bug fixes and added typings based on klarna api