emartech / suite-js-sdk

Simple Javascript wrapper for the Emarsys API
MIT License
9 stars 35 forks source link

use host in request options instead of environment #192

Closed balintsoos closed 1 year ago

balintsoos commented 1 year ago

The @emartech/escher-request package has a hidden breaking change in version 18. Previously, it required an environment property in the request options object but in version 18, it changed to host.

v17: https://github.com/emartech/escher-suiteapi-js/blob/v17.0.0/lib/requestOption.js#L20 v18: https://github.com/emartech/escher-suiteapi-js/blob/v18.0.0/src/requestOption.ts#L43

emarsys-deployer commented 1 year ago

:tada: This PR is included in version 20.0.6 :tada:

The release is available on:

Your semantic-release bot :package::rocket: