Skip to content

Commit af5afc7

Browse files
author
Bill Barnes
committed
Fixes #39
1 parent 7c62112 commit af5afc7

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "botframework-directlinejs",
3-
"version": "0.9.13",
3+
"version": "0.9.14",
44
"description": "client library for the Microsoft Bot Framework Direct Line 3.0 protocol",
55
"main": "built/directLine.js",
66
"types": "built/directLine.d.ts",

src/directLine.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -615,7 +615,7 @@ export class DirectLine implements IBotConnection {
615615
// If we periodically ping the server with empty messages, it helps Chrome
616616
// realize when connection breaks, and close the socket. We then throw an
617617
// error, and that give us the opportunity to attempt to reconnect.
618-
sub = Observable.interval(timeout).subscribe(_ => ws.send(null));
618+
sub = Observable.interval(timeout).subscribe(_ => ws.send(""));
619619
}
620620

621621
ws.onclose = close => {

0 commit comments

Comments
 (0)