diff --git a/CHANGELOG.md b/CHANGELOG.md index 9cb774fc9f..b43c8009f6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -37,6 +37,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - `*`: Added `username` back to activity, fixed [#1321](https://github.com/Microsoft/BotFramework-WebChat/issues/1321), by [@compulim](https://github.com/compulim), in PR [#1682](https://github.com/Microsoft/BotFramework-DirectLineJS/pull/1682) - `component`: Allow root component height and width customization via `styleOptions.rootHeight` and `styleOptions.rootWidth`, by [@tonyanziano](https://github.com/tonyanziano), in PR [#1702](https://github.com/Microsoft/BotFramework-WebChat/pull/1702) - `component`: Added `cardActionMiddleware` to customize the behavior of card action, by [@compulim](https://github.com/compulim), in PR [#1704](https://github.com/Microsoft/BotFramework-WebChat/pull/1704) +- `bundle`: Add `watermark` and `streamUrl` parameters to createDirectLine, by [@corinagum](https://github.com/corinagum), in PR [#1817](https://github.com/Microsoft/BotFramework-WebChat/pull/1817) ### Changed diff --git a/packages/bundle/src/createDirectLine.js b/packages/bundle/src/createDirectLine.js index 5e22f3fb1d..31177de59f 100644 --- a/packages/bundle/src/createDirectLine.js +++ b/packages/bundle/src/createDirectLine.js @@ -1,13 +1,15 @@ import { DirectLine } from 'botframework-directlinejs'; -export default function ({conversationId, domain, fetch, pollingInterval, secret, token, webSocket}) { +export default function ({conversationId, domain, fetch, pollingInterval, secret, streamUrl, token, watermark, webSocket}) { return new DirectLine({ conversationId, domain, fetch, pollingInterval, secret, + streamUrl, token, + watermark, webSocket, botAgent: 'webchat', createFormData: attachments => {