mollie / mollie-api-node

Official Mollie API client for Node
http://www.mollie.com
BSD 3-Clause "New" or "Revised" License
235 stars 63 forks source link

Remove snake_case client properties #314

Closed Pimm closed 1 year ago

Pimm commented 1 year ago

The snake case client properties (such as customers_payments) were renamed to dromedary case (such as customerPayments) a while ago. The first version to include this rename is 3.6.0, released on 10 February 2022.

The snake case naming doesn't fit in with the JavaScript ecosystem, and is even inconsistent with the rest of the library.

This commit removes the snake case aliases.

The change is breaking. The next release will be 4.0.0.