4.8.0 (2021-01-07)
- also consider isSubscriptionOnly prop when converting crystallizeLineItem to klarnaLineItem (cc64243)
4.7.1 (2021-01-07)
- convert address interface types to optional (as per klarna docs) (e987a0c)
- revert unecessary property (dcb88d4)
4.7.0 (2020-12-04)
- add ordermanagementv1 get order function (96b4e1e)
4.6.4 (2020-10-28)
- add more types for crystallizeLineItem (1168c8d)
4.6.3 (2020-10-23)
- null check (df07181)
4.6.2 (2020-10-01)
- crystallize-helpers: add shipping option field & types when generating orderbody (ef4c087)
4.6.1 (2020-10-01)
- use correct types for customerTokenV1 recurring order (8fba733)
4.6.0 (2020-10-01)
- crystallize-helpers: indicate if product is a subscription in klarna merchant_data (9ca7778)
4.5.0 (2020-10-01)
- added types must be optional (7717b9c)
- add additional type fields for klarna order_line (5edfa8c)
4.4.0 (2020-10-01)
- lint error (6387417)
- destructure interface, add shared address types, added additional types (c1cc0b4)
4.3.0 (2020-10-01)
- add recurring token fields for orderResponse type (8534e70)
4.2.0 (2020-10-01)
- add billing_address type support for orderResponse + export crystallize helper types (d71162a)
4.1.1 (2020-10-01)
- lint: trailing semicolon (1175b4a)
4.1.0 (2020-09-30)
- add recurring field for orders generated via crystallize helper functions (4545421)
4.0.1 (2020-09-30)
- crystallizeHelperFunction kebab_case to camelCase for lineItem (1640801)
4.0.0 (2020-09-30)
- 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)
- 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)
- Move to typescript, improved structure for library, bug fixes and added typings based on klarna api
4.0.0-beta.10 (2020-09-24)
- handle empty string response from klarna api (4b2baa3)
4.0.0-beta.9 (2020-09-23)
- remove unused props, use correct prop name (1c95676)
4.0.0-beta.8 (2020-09-23)
- use correct host_uri variable (f185a89)
4.0.0-beta.7 (2020-09-23)
- prettier lint (c8adfb8)
- Added CrystallizeKlarnaHelper class to generate klarnaOrderBody (4c31808)
4.0.0-beta.6 (2020-09-22)
- ci: add commitlint step before fetching cached node_modules (e63b705)
4.0.0-beta.5 (2020-09-22)
- ordermanagement v1 -> add additional helper functions for orders (113506a)
4.0.0-beta.4 (2020-09-22)
- git-hooks: make sure pre commit hook is working (75d3523)
- ordermanagement v1 -> refunds helper functions added (c458f8f)
- orders -> cancel order function added (bea9fd6)
4.0.0-beta.3 (2020-09-22)
- add customer token v1 endpoint helper functions (0b87176)
- add ordermanagement v1 endpoint helper functions (67b824e)
4.0.0-beta.2 (2020-09-21)
- correct naming for checkout function (ae7b065)
4.0.0-beta.1 (2020-09-16)
- ci: npm_token spell fix (86ea1a8)
- set npm publish irrespective of branches, add npm_token for ci env (27ea9ae)
- Move to typescript, improved structure for library, bug fixes and added typings based on klarna api