Skip to content

Commit 5c7f1dc

Browse files
authored
Update docs (#301)
* Add entry * Update signature
1 parent 8df1caa commit 5c7f1dc

2 files changed

Lines changed: 13 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,16 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
1717

1818
### Added
1919

20+
- Added `conversationStartProperties` and `locale`, by [@zhiwang](https://github.com/zhiwang), in PR [#293](https://github.com/microsoft/BotFramework-DirectLineJS/pull/293)
21+
22+
### Fixed
23+
24+
- Fixed [#287](https://github.com/microsoft/BotFramework-DirectLineJS/issues/287), removed `x-ms-bot-id` header, by [@swagatmishra2007](https://github.com/swagatmishra2007), in PR [#296](https://github.com/microsoft/BotFramework-DirectLineJS/pull/296)
25+
26+
## [0.12.0] - 2020-06-04
27+
28+
### Added
29+
2030
- Added support of Direct Line App Service Extension, by [@ckkashyap](https://github.com/ckkashyap), in PR [#183](https://github.com/microsoft/BotFramework-DirectLineJS/pull/183) and [#274](https://github.com/microsoft/BotFramework-DirectLineJS/pull/274)
2131
- Added support for `Retry-After` header and version information to `x-ms-bot-agent` header, by [@swagatmishra2007](https://github.com/swagatmishra2007), in PR [#247](https://github.com/microsoft/BotFramework-DirectLineJS/pull/247)
2232
- Also improved testability of the package

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,9 @@ var directLine = new DirectLine({
7979
webSocket: /* optional: false if you want to use polling GET to receive messages. Defaults to true (use WebSocket). */,
8080
pollingInterval: /* optional: set polling interval in milliseconds. Defaults to 1000 */,
8181
timeout: /* optional: a timeout in milliseconds for requests to the bot. Defaults to 20000 */,
82+
conversationStartProperties: { /* optional: properties to send to the bot on conversation start */
83+
locale: 'en-US'
84+
}
8285
});
8386
```
8487

0 commit comments

Comments
 (0)