Closed cdt105 closed 3 years ago
Hi @cdt105 ,
Thanks for your pull request! Just reviewed the commits and all looks fine!
As this repo used semantic versioning and the name of your commits does not match the semantic versioning commit message format (https://github.com/semantic-release/semantic-release#commit-message-format) I have to figure out how I can merge this pull request properly. For some reason the circle-ci check is not kicking in.
I have good hope that i can fix this tommorow!
:tada: This PR is included in version 6.4.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
HI! This PR is to modify the options structure passed into the Kentico DeliveryClient. The current one doesn't allow us to use preview mode as you couldn't write to globalQueryConfig.usePreviewMode as it was being overridden by the custom header.
This code fixes that and also removes the old enablePreviewMode flag which is not used by the SDK anymore. See https://docs.kontent.ai/tutorials/develop-apps/build-strong-foundation/set-up-preview. Thanks!