# @reactioncommerce/api-plugin-surcharges

## 2.0.0

### Major Changes

- [#6740](https://github.com/reactioncommerce/reaction/pull/6740) [`fee4dbe95`](https://github.com/reactioncommerce/reaction/commit/fee4dbe952e557db8ca658dc08283ba6c7343af9) Thanks [@sujithvn](https://github.com/sujithvn)! - Node18 upgrade includes assert json

### Minor Changes

- [#6744](https://github.com/reactioncommerce/reaction/pull/6744) [`a50a7b359`](https://github.com/reactioncommerce/reaction/commit/a50a7b359bbb546b7abab0e0bfed4c5d8b5ad759) Thanks [@sujithvn](https://github.com/sujithvn)! - checks for encodedId before calling decode. Normal-id pass through

### Patch Changes

- Updated dependencies [[`a50a7b359`](https://github.com/reactioncommerce/reaction/commit/a50a7b359bbb546b7abab0e0bfed4c5d8b5ad759), [`315bb97ab`](https://github.com/reactioncommerce/reaction/commit/315bb97abc3e70dcb1a89da8adca5468302b24be), [`fee4dbe95`](https://github.com/reactioncommerce/reaction/commit/fee4dbe952e557db8ca658dc08283ba6c7343af9)]:
  - @reactioncommerce/api-utils@2.0.0

## 1.1.8

### Patch Changes

- [#6576](https://github.com/reactioncommerce/reaction/pull/6576) [`bb93339fb`](https://github.com/reactioncommerce/reaction/commit/bb93339fb4da5b1cb131a9e0bf50e502433d519d) Thanks [@sushmitha-malae](https://github.com/sushmitha-malae)! - Fixed Update surcharge mutation to return the whole item from db

- Updated dependencies [[`8c5645764`](https://github.com/reactioncommerce/reaction/commit/8c5645764a746ce4171747072eacfe87bf62abe3)]:
  - @reactioncommerce/api-utils@1.17.0

## 1.1.7

### Patch Changes

- [#6556](https://github.com/reactioncommerce/reaction/pull/6556) [`48c610511`](https://github.com/reactioncommerce/reaction/commit/48c610511f359ff144c99aac53751d00bc8d69a3) Thanks [@shwetha263](https://github.com/shwetha263)! - Updated surcharge resolver to handle the amount value being 0
