Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

botframework-webchat-core

Package Overview
Dependencies
Maintainers
1
Versions
370
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

botframework-webchat-core - npm Package Compare versions

Comparing version 4.0.0-preview.ffda5c5 to 4.1.0-master.769e2ad

lib/actions/incomingActivity.js

12

lib/actions/connect.js

@@ -8,6 +8,2 @@ "use strict";

exports.CONNECT_FULFILLED = exports.CONNECT_REJECTED = exports.CONNECT_PENDING = exports.CONNECT = void 0;
// TODO: [P4] Mark actions with correct family
// E.g. POST_ACTIVITY belongs to DIRECT_LINE
// E.g. SEND_MESSAGE belongs to WEB_CHAT
// We are trying to curb down the number of DIRECT_LINE/* to make backend easier to rebuild
var CONNECT = 'DIRECT_LINE/CONNECT';

@@ -24,4 +20,3 @@ exports.CONNECT = CONNECT;

var directLine = _ref.directLine,
userID = _ref.userID,
username = _ref.username;
userID = _ref.userID;
return {

@@ -31,7 +26,6 @@ type: CONNECT,

directLine: directLine,
userID: userID,
username: username
userID: userID
}
};
}
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9hY3Rpb25zL2Nvbm5lY3QuanMiXSwibmFtZXMiOlsiQ09OTkVDVCIsIkNPTk5FQ1RfUEVORElORyIsIkNPTk5FQ1RfUkVKRUNURUQiLCJDT05ORUNUX0ZVTEZJTExFRCIsImRpcmVjdExpbmUiLCJ1c2VySUQiLCJ1c2VybmFtZSIsInR5cGUiLCJwYXlsb2FkIl0sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQSxJQUFNQSxVQUFVLHFCQUFoQjs7QUFDQSxJQUFNQyw0QkFBc0JELE9BQXRCLGFBQU47O0FBQ0EsSUFBTUUsNkJBQXVCRixPQUF2QixjQUFOOztBQUNBLElBQU1HLD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k5FQ1QgfV9GVUxGSUxMRURgO1xuXG5leHBvcnQgZGVmYXVsdCBmdW5jdGlvbiAoeyBkaXJlY3RMaW5lLCB1c2VySUQgfSkge1xuICByZXR1cm4ge1xuICAgIHR5cGU6IENPTk5FQ1QsXG4gICAgcGF5bG9hZDogeyBkaXJlY3RMaW5lLCB1c2VySUQgfVxuICB9O1xufVxuXG5leHBvcnQge1xuICBDT05ORUNULFxuICBDT05ORUNUX1BFTkRJTkcsXG4gIENPTk5FQ1RfUkVKRUNURUQsXG4gIENPTk5FQ1RfRlVMRklMTEVEXG59XG4iXX0=

@@ -11,10 +11,10 @@ "use strict";

function _default(readyState) {
function _default(connectionStatus) {
return {
type: CONNECTION_STATUS_UPDATE,
payload: {
readyState: readyState
connectionStatus: connectionStatus
}
};
}
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9hY3Rpb25zL2Nvbm5lY3Rpb25TdGF0dXNVcGRhdGUuanMiXSwibmFtZXMiOlsiQ09OTkVDVElPTl9TVEFUVVNfVVBEQVRFIiwicmVhZHlTdGF0ZSIsInR5cGUiLCJwYXlsb2FkIl0sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBQUEsSUFBTUEsMkJBQTJCLHNDQUFqQzs7O0FBRWUsa0JBQVVDLFVBQVYsRUFBc0I7QUFDbkMsU0FBTztBQUNMQyxVQUFNRix3QkFERDtBQUVMRyxhQUFTO0FBQUVGO0FBQUY7QUFGSixHQUFQO0FBSUQiLCJzb3VyY2VzQ29udGVudCI6WyJjb25zdCBDT05ORUNUSU9OX1NUQVRVU19VUERBVEUgPSAnRElSRUNUX0xJTkUvQ09OTkVDVElPTl9TVEFUVVNfVVBEQVRFJztcblxuZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24gKHJlYWR5U3RhdGUpIHtcbiAgcmV0dXJuIHtcbiAgICB0eXBlOiBDT05ORUNUSU9OX1NUQVRVU19VUERBVEUsXG4gICAgcGF5bG9hZDogeyByZWFkeVN0YXRlIH1cbiAgfTtcbn1cblxuZXhwb3J0IHsgQ09OTkVDVElPTl9TVEFUVVNfVVBEQVRFIH1cbiJdfQ==
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9hY3Rpb25zL2Nvbm5lY3Rpb25TdGF0dXNVcGRhdGUuanMiXSwibmFtZXMiOlsiQ09OTkVDVElPTl9TVEFUVVNfVVBEQVRFIiwiY29ubmVjdGlvblN0YXR1cyIsInR5cGUiLCJwYXlsb2FkIl0sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBQUEsSUFBTUEsMkJBQTJCLHNDQUFqQzs7O0FBRWUsa0JBQVVDLGdCQUFWLEVBQTRCO0FBQ3pDLFNBQU87QUFDTEMsVUFBTUYsd0JBREQ7QUFFTEcsYUFBUztBQUFFRjtBQUFGO0FBRkosR0FBUDtBQUlEIiwic291cmNlc0NvbnRlbnQiOlsiY29uc3QgQ09OTkVDVElPTl9TVEFUVVNfVVBEQVRFID0gJ0RJUkVDVF9MSU5FL0NPTk5FQ1RJT05fU1RBVFVTX1VQREFURSc7XG5cbmV4cG9ydCBkZWZhdWx0IGZ1bmN0aW9uIChjb25uZWN0aW9uU3RhdHVzKSB7XG4gIHJldHVybiB7XG4gICAgdHlwZTogQ09OTkVDVElPTl9TVEFUVVNfVVBEQVRFLFxuICAgIHBheWxvYWQ6IHsgY29ubmVjdGlvblN0YXR1cyB9XG4gIH07XG59XG5cbmV4cG9ydCB7IENPTk5FQ1RJT05fU1RBVFVTX1VQREFURSB9XG4iXX0=

@@ -8,3 +8,3 @@ "use strict";

exports.MARK_ACTIVITY = void 0;
var MARK_ACTIVITY = 'ACTIVITY/MARK';
var MARK_ACTIVITY = 'WEB_CHAT/MARK_ACTIVITY';
exports.MARK_ACTIVITY = MARK_ACTIVITY;

@@ -23,2 +23,2 @@

}
//# sourceMappingURL=data:application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aXZpdHlJRCIsImlkIiwidHlwZSIsInBheWxvYWQiXSwibWFwcGluZ3MiOiI7Ozs7Ozs7QUFBQSxJQUFNQSxnQkFBZ0Isd0JBQXRCOzs7QUFFZSxTQUFTQyxZQUFULE9BQTBDQyxJQUExQyxFQUFnREMsS0FBaEQsRUFBdUQ7QUFBQSxNQUEzQkMsVUFBMkIsUUFBL0JDLEVBQStCO0FBQ3BFLFNBQU87QUFDTEMsVUFBTU4sYUFERDtBQUVMTyxhQUFTO0FBQ1BILDRCQURPO0FBRVBGLGdCQUZPO0FBR1BDO0FBSE87QUFGSixHQUFQO0FBUUQiLCJzb3VyY2VzQ29udGVudCI6WyJjb25zdCBNQVJLX0FDVElWSVRZID0gJ1dFQl9DSEFUL01BUktfQUNUSVZJVFknO1xuXG5leHBvcnQgZGVmYXVsdCBmdW5jdGlvbiBtYXJrQWN0aXZpdHkoeyBpZDogYWN0aXZpdHlJRCB9LCBuYW1lLCB2YWx1ZSkge1xuICByZXR1cm4ge1xuICAgIHR5cGU6IE1BUktfQUNUSVZJVFksXG4gICAgcGF5bG9hZDoge1xuICAgICAgYWN0aXZpdHlJRCxcbiAgICAgIG5hbWUsXG4gICAgICB2YWx1ZVxuICAgIH1cbiAgfTtcbn1cblxuZXhwb3J0IHsgTUFSS19BQ1RJVklUWSB9XG4iXX0=

@@ -8,3 +8,3 @@ "use strict";

exports.SEND_FILES = void 0;
var SEND_FILES = 'INPUT/SEND_FILES';
var SEND_FILES = 'WEB_CHAT/SEND_FILES';
exports.SEND_FILES = SEND_FILES;

@@ -20,2 +20,2 @@

}
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9hY3Rpb25zL3NlbmRGaWxlcy5qcyJdLCJuYW1lcyI6WyJTRU5EX0ZJTEVTIiwic2VuZEZpbGVzIiwiZmlsZXMiLCJ0eXBlIiwicGF5bG9hZCJdLCJtYXBwaW5ncyI6Ijs7Oz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3J0IHsgU0VORF9GSUxFUyB9XG4iXX0=

@@ -8,3 +8,3 @@ "use strict";

exports.SEND_MESSAGE = void 0;
var SEND_MESSAGE = 'INPUT/SEND_MESSAGE';
var SEND_MESSAGE = 'WEB_CHAT/SEND_MESSAGE';
exports.SEND_MESSAGE = SEND_MESSAGE;

@@ -21,2 +21,2 @@

}
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9hY3Rpb25zL3NlbmRNZXNzYWdlLmpzIl0sIm5hbWVzIjpbIlNFTkRfTUVTU0FHRSIsInNlbmRNZXNzYWdlIiwidGV4dCIsInZpYSIsInR5cGUiLCJwYXlsb2FkIl0sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBQUEsSUFBTUEsZUFBZSxvQkFBckI7OztBQUVlLFNBQVNDLFdBQVQsQ0FBcUJDLElBQXJCLEVBQTJCQyxHQUEzQixFQUFnQztBQUM3QyxTQUFPO0FBQ0xDLFVBQU1KLFlBREQ7QUFFTEssYUFBUztBQUFFSCxnQkFBRjtBQUFRQztBQUFSO0FBRkosR0FBUDtBQUlEIiwic291cmNlc0NvbnRlbnQiOlsiY29uc3QgU0VORF9NRVNTQUdFID0gJ0lOUFVUL1NFTkRfTUVTU0FHRSc7XG5cbmV4cG9ydCBkZWZhdWx0IGZ1bmN0aW9uIHNlbmRNZXNzYWdlKHRleHQsIHZpYSkge1xuICByZXR1cm4ge1xuICAgIHR5cGU6IFNFTkRfTUVTU0FHRSxcbiAgICBwYXlsb2FkOiB7IHRleHQsIHZpYSB9XG4gIH07XG59XG5cbmV4cG9ydCB7IFNFTkRfTUVTU0FHRSB9XG4iXX0=
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9hY3Rpb25zL3NlbmRNZXNzYWdlLmpzIl0sIm5hbWVzIjpbIlNFTkRfTUVTU0FHRSIsInNlbmRNZXNzYWdlIiwidGV4dCIsInZpYSIsInR5cGUiLCJwYXlsb2FkIl0sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBQUEsSUFBTUEsZUFBZSx1QkFBckI7OztBQUVlLFNBQVNDLFdBQVQsQ0FBcUJDLElBQXJCLEVBQTJCQyxHQUEzQixFQUFnQztBQUM3QyxTQUFPO0FBQ0xDLFVBQU1KLFlBREQ7QUFFTEssYUFBUztBQUFFSCxnQkFBRjtBQUFRQztBQUFSO0FBRkosR0FBUDtBQUlEIiwic291cmNlc0NvbnRlbnQiOlsiY29uc3QgU0VORF9NRVNTQUdFID0gJ1dFQl9DSEFUL1NFTkRfTUVTU0FHRSc7XG5cbmV4cG9ydCBkZWZhdWx0IGZ1bmN0aW9uIHNlbmRNZXNzYWdlKHRleHQsIHZpYSkge1xuICByZXR1cm4ge1xuICAgIHR5cGU6IFNFTkRfTUVTU0FHRSxcbiAgICBwYXlsb2FkOiB7IHRleHQsIHZpYSB9XG4gIH07XG59XG5cbmV4cG9ydCB7IFNFTkRfTUVTU0FHRSB9XG4iXX0=

@@ -8,3 +8,3 @@ "use strict";

exports.SEND_POST_BACK = void 0;
var SEND_POST_BACK = 'INPUT/SEND_POST_BACK';
var SEND_POST_BACK = 'WEB_CHAT/SEND_POST_BACK';
exports.SEND_POST_BACK = SEND_POST_BACK;

@@ -20,2 +20,2 @@

}
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9hY3Rpb25zL3NlbmRQb3N0QmFjay5qcyJdLCJuYW1lcyI6WyJTRU5EX1BPU1RfQkFDSyIsInNlbmRQb3N0YmFjayIsInZhbHVlIiwidHlwZSIsInBheWxvYWQiXSwibWFwcGluZ3MiOiI7Ozs7Ozs7QUFBQSxJQUFNQSxpQkFBaUIsc0JBQXZCOzs7QUFFZSxTQUFTQyxZQUFULENBQXNCQyxLQUF0QixFQUE2QjtBQUMxQyxTQUFPO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19

@@ -8,3 +8,3 @@ "use strict";

exports.SET_DICTATE_INTERIMS = void 0;
var SET_DICTATE_INTERIMS = 'INPUT/SET_DICTATE_INTERIMS';
var SET_DICTATE_INTERIMS = 'WEB_CHAT/SET_DICTATE_INTERIMS';
exports.SET_DICTATE_INTERIMS = SET_DICTATE_INTERIMS;

@@ -20,2 +20,2 @@

}
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9hY3Rpb25zL3NldERpY3RhdGVJbnRlcmltcy5qcyJdLCJuYW1lcyI6WyJTRVRfRElDVEFURV9JTlRFUklNUyIsImRpY3RhdGVJbnRlcmltcyIsInR5cGUiLCJwYXlsb2FkIl0sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBQUEsSUFBTUEsdUJBQXVCLDRCQUE3Qjs7O0FBRWUsa0JBQVVDLGVBQVYsRUFBMkI7QUFDeEMsU0FBTztBQUNMQyxVQUFNRixvQkFERDtBQUVMRyxhQUFTO0FBQUVGO0FBQUY7QUFGSixHQUFQO0FBSUQiLCJzb3VyY2VzQ29udGVudCI6WyJjb25zdCBTRVRfRElDVEFURV9JTlRFUklNUyA9ICdJTlBVVC9TRVRfRElDVEFURV9JTlRFUklNUyc7XG5cbmV4cG9ydCBkZWZhdWx0IGZ1bmN0aW9uIChkaWN0YXRlSW50ZXJpbXMpIHtcbiAgcmV0dXJuIHtcbiAgICB0eXBlOiBTRVRfRElDVEFURV9JTlRFUklNUyxcbiAgICBwYXlsb2FkOiB7IGRpY3RhdGVJbnRlcmltcyB9XG4gIH07XG59XG5cbmV4cG9ydCB7IFNFVF9ESUNUQVRFX0lOVEVSSU1TIH1cbiJdfQ==
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9hY3Rpb25zL3NldERpY3RhdGVJbnRlcmltcy5qcyJdLCJuYW1lcyI6WyJTRVRfRElDVEFURV9JTlRFUklNUyIsImRpY3RhdGVJbnRlcmltcyIsInR5cGUiLCJwYXlsb2FkIl0sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBQUEsSUFBTUEsdUJBQXVCLCtCQUE3Qjs7O0FBRWUsa0JBQVVDLGVBQVYsRUFBMkI7QUFDeEMsU0FBTztBQUNMQyxVQUFNRixvQkFERDtBQUVMRyxhQUFTO0FBQUVGO0FBQUY7QUFGSixHQUFQO0FBSUQiLCJzb3VyY2VzQ29udGVudCI6WyJjb25zdCBTRVRfRElDVEFURV9JTlRFUklNUyA9ICdXRUJfQ0hBVC9TRVRfRElDVEFURV9JTlRFUklNUyc7XG5cbmV4cG9ydCBkZWZhdWx0IGZ1bmN0aW9uIChkaWN0YXRlSW50ZXJpbXMpIHtcbiAgcmV0dXJuIHtcbiAgICB0eXBlOiBTRVRfRElDVEFURV9JTlRFUklNUyxcbiAgICBwYXlsb2FkOiB7IGRpY3RhdGVJbnRlcmltcyB9XG4gIH07XG59XG5cbmV4cG9ydCB7IFNFVF9ESUNUQVRFX0lOVEVSSU1TIH1cbiJdfQ==

@@ -8,3 +8,3 @@ "use strict";

exports.SET_DICTATE_STATE = void 0;
var SET_DICTATE_STATE = 'INPUT/SET_DICTATE_STATE';
var SET_DICTATE_STATE = 'WEB_CHAT/SET_DICTATE_STATE';
exports.SET_DICTATE_STATE = SET_DICTATE_STATE;

@@ -20,2 +20,2 @@

}
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9hY3Rpb25zL3NldERpY3RhdGVTdGF0ZS5qcyJdLCJuYW1lcyI6WyJTRVRfRElDVEFURV9TVEFURSIsImRpY3RhdGVTdGF0ZSIsInR5cGUiLCJwYXlsb2FkIl0sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBQUEsSUFBTUEsb0JBQW9CLHlCQUExQjs7O0FBRWUsa0JBQVVDLFlBQVYsRUFBd0I7QU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VF9ESUNUQVRFX1NUQVRFIH1cbiJdfQ==

@@ -8,3 +8,3 @@ "use strict";

exports.SET_LANGUAGE = void 0;
var SET_LANGUAGE = 'SETTINGS/SET_LANGUAGE';
var SET_LANGUAGE = 'WEB_CHAT/SET_LANGUAGE';
exports.SET_LANGUAGE = SET_LANGUAGE;

@@ -20,2 +20,2 @@

}
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9hY3Rpb25zL3NldExhbmd1YWdlLmpzIl0sIm5hbWVzIjpbIlNFVF9MQU5HVUFHRSIsInNldExhbmd1YWdlIiwibGFuZ3VhZ2UiLCJ0eXBlIiwicGF5bG9hZCJdLCJtYXBwaW5ncyI6Ijs7Ozs7OztBQUFBLElBQU1BLGVBQWUsdUJBQXJCOzs7QUFFZSxTQUFTQyxXQUFULENBQXFCQyxRQUFyQixFQUErQjtBQUM1QyxTQUFPO0FBQ0xDLFVBQU1ILFlBREQ7QUFFTEksYUFBUztBQUFFRjtBQUFGO0FBRkosR0FBUDtBQUlEIiwic291cmNlc0NvbnRlbnQiOlsiY29uc3QgU0VUX0xBTkdVQUdFID0gJ1NFVFRJTkdTL1NFVF9MQU5HVUFHRSc7XG5cbmV4cG9ydCBkZWZhdWx0IGZ1bmN0aW9uIHNldExhbmd1YWdlKGxhbmd1YWdlKSB7XG4gIHJldHVybiB7XG4gICAgdHlwZTogU0VUX0xBTkdVQUdFLFxuICAgIHBheWxvYWQ6IHsgbGFuZ3VhZ2UgfVxuICB9O1xufVxuXG5leHBvcnQgeyBTRVRfTEFOR1VBR0UgfVxuIl19
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9hY3Rpb25zL3NldExhbmd1YWdlLmpzIl0sIm5hbWVzIjpbIlNFVF9MQU5HVUFHRSIsInNldExhbmd1YWdlIiwibGFuZ3VhZ2UiLCJ0eXBlIiwicGF5bG9hZCJdLCJtYXBwaW5ncyI6Ijs7Ozs7OztBQUFBLElBQU1BLGVBQWUsdUJBQXJCOzs7QUFFZSxTQUFTQyxXQUFULENBQXFCQyxRQUFyQixFQUErQjtBQUM1QyxTQUFPO0FBQ0xDLFVBQU1ILFlBREQ7QUFFTEksYUFBUztBQUFFRjtBQUFGO0FBRkosR0FBUDtBQUlEIiwic291cmNlc0NvbnRlbnQiOlsiY29uc3QgU0VUX0xBTkdVQUdFID0gJ1dFQl9DSEFUL1NFVF9MQU5HVUFHRSc7XG5cbmV4cG9ydCBkZWZhdWx0IGZ1bmN0aW9uIHNldExhbmd1YWdlKGxhbmd1YWdlKSB7XG4gIHJldHVybiB7XG4gICAgdHlwZTogU0VUX0xBTkdVQUdFLFxuICAgIHBheWxvYWQ6IHsgbGFuZ3VhZ2UgfVxuICB9O1xufVxuXG5leHBvcnQgeyBTRVRfTEFOR1VBR0UgfVxuIl19

@@ -8,3 +8,3 @@ "use strict";

exports.SET_SEND_BOX = void 0;
var SET_SEND_BOX = 'INPUT/SET_SEND_BOX';
var SET_SEND_BOX = 'WEB_CHAT/SET_SEND_BOX';
exports.SET_SEND_BOX = SET_SEND_BOX;

@@ -21,2 +21,2 @@

}
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9hY3Rpb25zL3NldFNlbmRCb3guanMiXSwibmFtZXMiOlsiU0VUX1NFTkRfQk9YIiwidGV4dCIsInZpYSIsInR5cGUiLCJwYXlsb2FkIl0sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBQUEsSUFBTUEsZUFBZSxvQkFBckI7OztBQUVlLGtCQUFVQyxJQUFWLEVBQWdCQyxHQUFoQixFQUFxQjtBQUNsQyxTQUFPO0FBQ0xDLFVBQU1ILFlBREQ7QUFFTEksYUFBUztBQUFFSCxnQkFBRjtBQUFRQztBQUFSO0FBRkosR0FBUDtBQUlEIiwic291cmNlc0NvbnRlbnQiOlsiY29uc3QgU0VUX1NFTkRfQk9YID0gJ0lOUFVUL1NFVF9TRU5EX0JPWCc7XG5cbmV4cG9ydCBkZWZhdWx0IGZ1bmN0aW9uICh0ZXh0LCB2aWEpIHtcbiAgcmV0dXJuIHtcbiAgICB0eXBlOiBTRVRfU0VORF9CT1gsXG4gICAgcGF5bG9hZDogeyB0ZXh0LCB2aWEgfVxuICB9O1xufVxuXG5leHBvcnQgeyBTRVRfU0VORF9CT1ggfVxuIl19
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9hY3Rpb25zL3NldFNlbmRCb3guanMiXSwibmFtZXMiOlsiU0VUX1NFTkRfQk9YIiwidGV4dCIsInZpYSIsInR5cGUiLCJwYXlsb2FkIl0sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBQUEsSUFBTUEsZUFBZSx1QkFBckI7OztBQUVlLGtCQUFVQyxJQUFWLEVBQWdCQyxHQUFoQixFQUFxQjtBQUNsQyxTQUFPO0FBQ0xDLFVBQU1ILFlBREQ7QUFFTEksYUFBUztBQUFFSCxnQkFBRjtBQUFRQztBQUFSO0FBRkosR0FBUDtBQUlEIiwic291cmNlc0NvbnRlbnQiOlsiY29uc3QgU0VUX1NFTkRfQk9YID0gJ1dFQl9DSEFUL1NFVF9TRU5EX0JPWCc7XG5cbmV4cG9ydCBkZWZhdWx0IGZ1bmN0aW9uICh0ZXh0LCB2aWEpIHtcbiAgcmV0dXJuIHtcbiAgICB0eXBlOiBTRVRfU0VORF9CT1gsXG4gICAgcGF5bG9hZDogeyB0ZXh0LCB2aWEgfVxuICB9O1xufVxuXG5leHBvcnQgeyBTRVRfU0VORF9CT1ggfVxuIl19

@@ -8,3 +8,3 @@ "use strict";

exports.SET_SEND_TYPING = void 0;
var SET_SEND_TYPING = 'SETTINGS/SET_SEND_TYPING';
var SET_SEND_TYPING = 'WEB_CHAT/SET_SEND_TYPING';
exports.SET_SEND_TYPING = SET_SEND_TYPING;

@@ -20,2 +20,2 @@

}
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9hY3Rpb25zL3NldFNlbmRUeXBpbmcuanMiXSwibmFtZXMiOlsiU0VUX1NFTkRfVFlQSU5HIiwidmFsdWUiLCJ0eXBlIiwicGF5bG9hZCIsInNlbmRUeXBpbmciXSwibWFwcGluZ3MiOiI7Ozs7Ozs7QUFBQSxJQUFNQSxrQkFBa0IsMEJBQXhCOzs7QUFFZSxrQkFBVUMsS0FBVixFQUFpQjtBQUM5QixTQUFPO0FBQ0xDLFVBQU1GLGVBREQ7QUFFTEcsYUFBUztBQUFFQyxrQkFBWSxDQUFDLENBQUNIO0FBQWhCO0FBRkosR0FBUDtBQUlEIiwic291cmNlc0NvbnRlbnQiOlsiY29uc3QgU0VUX1NFTkRfVFlQSU5HID0gJ1NFVFRJTkdTL1NFVF9TRU5EX1RZUElORyc7XG5cbmV4cG9ydCBkZWZhdWx0IGZ1bmN0aW9uICh2YWx1ZSkge1xuICByZXR1cm4ge1xuICAgIHR5cGU6IFNFVF9TRU5EX1RZUElORyxcbiAgICBwYXlsb2FkOiB7IHNlbmRUeXBpbmc6ICEhdmFsdWUgfVxuICB9O1xufVxuXG5leHBvcnQgeyBTRVRfU0VORF9UWVBJTkcgfVxuIl19
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9hY3Rpb25zL3NldFNlbmRUeXBpbmcuanMiXSwibmFtZXMiOlsiU0VUX1NFTkRfVFlQSU5HIiwidmFsdWUiLCJ0eXBlIiwicGF5bG9hZCIsInNlbmRUeXBpbmciXSwibWFwcGluZ3MiOiI7Ozs7Ozs7QUFBQSxJQUFNQSxrQkFBa0IsMEJBQXhCOzs7QUFFZSxrQkFBVUMsS0FBVixFQUFpQjtBQUM5QixTQUFPO0FBQ0xDLFVBQU1GLGVBREQ7QUFFTEcsYUFBUztBQUFFQyxrQkFBWSxDQUFDLENBQUNIO0FBQWhCO0FBRkosR0FBUDtBQUlEIiwic291cmNlc0NvbnRlbnQiOlsiY29uc3QgU0VUX1NFTkRfVFlQSU5HID0gJ1dFQl9DSEFUL1NFVF9TRU5EX1RZUElORyc7XG5cbmV4cG9ydCBkZWZhdWx0IGZ1bmN0aW9uICh2YWx1ZSkge1xuICByZXR1cm4ge1xuICAgIHR5cGU6IFNFVF9TRU5EX1RZUElORyxcbiAgICBwYXlsb2FkOiB7IHNlbmRUeXBpbmc6ICEhdmFsdWUgfVxuICB9O1xufVxuXG5leHBvcnQgeyBTRVRfU0VORF9UWVBJTkcgfVxuIl19

@@ -9,3 +9,3 @@ "use strict";

var EMPTY_ARRAY = [];
var SET_SUGGESTED_ACTIONS = 'SUGGESTED_ACTIONS/SET';
var SET_SUGGESTED_ACTIONS = 'WEB_CHAT/SET_SUGGESTED_ACTIONS';
exports.SET_SUGGESTED_ACTIONS = SET_SUGGESTED_ACTIONS;

@@ -22,2 +22,2 @@

}
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9hY3Rpb25zL3NldFN1Z2dlc3RlZEFjdGlvbnMuanMiXSwibmFtZXMiOlsiRU1QVFlfQVJSQVkiLCJTRVRfU1VHR0VTVEVEX0FDVElPTlMiLCJzZXRTdWdnZXN0ZWRBY3Rpb25zIiwic3VnZ2VzdGVkQWN0aW9ucyIsInR5cGUiLCJwYXlsb2FkIl0sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBQUEsSUFBTUEsY0FBYyxFQUFwQjtBQUVBLElBQU1DLHdCQUF3Qix1QkFBOUI7OztBQUVlLFNBQVNDLG1CQUFULEdBQTZEO0FBQUEsTUFBaENDLGdCQUFnQyx1RUFBYkgsV0FBYTtBQUMxRSxTQUFPO0FBQ0xJLFVB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nN0IFNFVF9TVUdHRVNURURfQUNUSU9OUyA9ICdXRUJfQ0hBVC9TRVRfU1VHR0VTVEVEX0FDVElPTlMnO1xuXG5leHBvcnQgZGVmYXVsdCBmdW5jdGlvbiBzZXRTdWdnZXN0ZWRBY3Rpb25zKHN1Z2dlc3RlZEFjdGlvbnMgPSBFTVBUWV9BUlJBWSkge1xuICByZXR1cm4ge1xuICAgIHR5cGU6IFNFVF9TVUdHRVNURURfQUNUSU9OUyxcbiAgICBwYXlsb2FkOiB7IHN1Z2dlc3RlZEFjdGlvbnMgfVxuICB9O1xufVxuXG5leHBvcnQgeyBTRVRfU1VHR0VTVEVEX0FDVElPTlMgfVxuIl19

@@ -8,3 +8,3 @@ "use strict";

exports.START_SPEAKING_ACTIVITY = void 0;
var START_SPEAKING_ACTIVITY = 'ACTIVITY/START_SPEAKING';
var START_SPEAKING_ACTIVITY = 'WEB_CHAT/START_SPEAKING';
exports.START_SPEAKING_ACTIVITY = START_SPEAKING_ACTIVITY;

@@ -17,2 +17,2 @@

}
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9hY3Rpb25zL3N0YXJ0U3BlYWtpbmdBY3Rpdml0eS5qcyJdLCJuYW1lcyI6WyJTVEFSVF9TUEVBS0lOR19BQ1RJVklUWSIsInN0YXJ0U3BlYWtpbmdBY3Rpdml0eSIsInR5cGUiXSwibWFwcGluZ3MiOiI7Ozs7Ozs7QUFBQSxJQUFNQSwwQkFBMEIseUJBQWhDOzs7QUFFZSxTQUFTQyxxQkFBVCxHQUFpQztBQUM5QyxTQUFPO0FBQ0xDLFVBQU1GO0FBREQsR0FBUDtBQUdEIiwic291cmNlc0NvbnRlbnQiOlsiY29uc3QgU1RBUlRfU1BFQUtJTkdfQUNUSVZJVFkgPSAnQUNUSVZJVFkvU1RBUlRfU1BFQUtJTkcnO1xuXG5leHBvcnQgZGVmYXVsdCBmdW5jdGlvbiBzdGFydFNwZWFraW5nQWN0aXZpdHkoKSB7XG4gIHJldHVybiB7XG4gICAgdHlwZTogU1RBUlRfU1BFQUtJTkdfQUNUSVZJVFlcbiAgfTtcbn1cblxuZXhwb3J0IHsgU1RBUlRfU1BFQUtJTkdfQUNUSVZJVFkgfVxuIl19
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9hY3Rpb25zL3N0YXJ0U3BlYWtpbmdBY3Rpdml0eS5qcyJdLCJuYW1lcyI6WyJTVEFSVF9TUEVBS0lOR19BQ1RJVklUWSIsInN0YXJ0U3BlYWtpbmdBY3Rpdml0eSIsInR5cGUiXSwibWFwcGluZ3MiOiI7Ozs7Ozs7QUFBQSxJQUFNQSwwQkFBMEIseUJBQWhDOzs7QUFFZSxTQUFTQyxxQkFBVCxHQUFpQztBQUM5QyxTQUFPO0FBQ0xDLFVBQU1GO0FBREQsR0FBUDtBQUdEIiwic291cmNlc0NvbnRlbnQiOlsiY29uc3QgU1RBUlRfU1BFQUtJTkdfQUNUSVZJVFkgPSAnV0VCX0NIQVQvU1RBUlRfU1BFQUtJTkcnO1xuXG5leHBvcnQgZGVmYXVsdCBmdW5jdGlvbiBzdGFydFNwZWFraW5nQWN0aXZpdHkoKSB7XG4gIHJldHVybiB7XG4gICAgdHlwZTogU1RBUlRfU1BFQUtJTkdfQUNUSVZJVFlcbiAgfTtcbn1cblxuZXhwb3J0IHsgU1RBUlRfU1BFQUtJTkdfQUNUSVZJVFkgfVxuIl19

@@ -8,3 +8,3 @@ "use strict";

exports.STOP_SPEAKING_ACTIVITY = void 0;
var STOP_SPEAKING_ACTIVITY = 'ACTIVITY/STOP_SPEAKING';
var STOP_SPEAKING_ACTIVITY = 'WEB_CHAT/STOP_SPEAKING';
exports.STOP_SPEAKING_ACTIVITY = STOP_SPEAKING_ACTIVITY;

@@ -17,2 +17,2 @@

}
//# sourceMappingURL=data:application/json;charset=utf-8;base64,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0hBVC9TVE9QX1NQRUFLSU5HJztcblxuZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24gc3RvcFNwZWFraW5nQWN0aXZpdHkoKSB7XG4gIHJldHVybiB7XG4gICAgdHlwZTogU1RPUF9TUEVBS0lOR19BQ1RJVklUWVxuICB9O1xufVxuXG5leHBvcnQgeyBTVE9QX1NQRUFLSU5HX0FDVElWSVRZIH1cbiJdfQ==

@@ -8,3 +8,3 @@ "use strict";

exports.SUBMIT_SEND_BOX = void 0;
var SUBMIT_SEND_BOX = 'INPUT/SUBMIT_SEND_BOX';
var SUBMIT_SEND_BOX = 'WEB_CHAT/SUBMIT_SEND_BOX';
exports.SUBMIT_SEND_BOX = SUBMIT_SEND_BOX;

@@ -20,2 +20,2 @@

}
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9hY3Rpb25zL3N1Ym1pdFNlbmRCb3guanMiXSwibmFtZXMiOlsiU1VCTUlUX1NFTkRfQk9YIiwic3VibWl0U2VuZEJveCIsInZpYSIsInR5cGUiLCJwYXlsb2FkIl0sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBQUEsSUFBTUEsa0JBQWtCLHVCQUF4Qjs7O0FBRWUsU0FBU0MsYUFBVCxDQUF1QkMsR0FBdkIsRUFBNEI7QUFDekMsU0FBTztBQUNMQyxVQUFNSCxlQUREO0FBRUxJLGFBQVM7QUFBRUY7QUFBRjtBQUZKLEdBQVA7QUFJRCIsInNvdXJjZXNDb250ZW50IjpbImNvbnN0IFNVQk1JVF9TRU5EX0JPWCA9ICdJTlBVVC9TVUJNSVRfU0VORF9CT1gnO1xuXG5leHBvcnQgZGVmYXVsdCBmdW5jdGlvbiBzdWJtaXRTZW5kQm94KHZpYSkge1xuICByZXR1cm4ge1xuICAgIHR5cGU6IFNVQk1JVF9TRU5EX0JPWCxcbiAgICBwYXlsb2FkOiB7IHZpYSB9XG4gIH07XG59XG5cbmV4cG9ydCB7IFNVQk1JVF9TRU5EX0JPWCB9XG4iXX0=
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9hY3Rpb25zL3N1Ym1pdFNlbmRCb3guanMiXSwibmFtZXMiOlsiU1VCTUlUX1NFTkRfQk9YIiwic3VibWl0U2VuZEJveCIsInZpYSIsInR5cGUiLCJwYXlsb2FkIl0sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBQUEsSUFBTUEsa0JBQWtCLDBCQUF4Qjs7O0FBRWUsU0FBU0MsYUFBVCxDQUF1QkMsR0FBdkIsRUFBNEI7QUFDekMsU0FBTztBQUNMQyxVQUFNSCxlQUREO0FBRUxJLGFBQVM7QUFBRUY7QUFBRjtBQUZKLEdBQVA7QUFJRCIsInNvdXJjZXNDb250ZW50IjpbImNvbnN0IFNVQk1JVF9TRU5EX0JPWCA9ICdXRUJfQ0hBVC9TVUJNSVRfU0VORF9CT1gnO1xuXG5leHBvcnQgZGVmYXVsdCBmdW5jdGlvbiBzdWJtaXRTZW5kQm94KHZpYSkge1xuICByZXR1cm4ge1xuICAgIHR5cGU6IFNVQk1JVF9TRU5EX0JPWCxcbiAgICBwYXlsb2FkOiB7IHZpYSB9XG4gIH07XG59XG5cbmV4cG9ydCB7IFNVQk1JVF9TRU5EX0JPWCB9XG4iXX0=

@@ -8,2 +8,3 @@ "use strict";

// TODO: [P3] Move to p-defer
function createDeferred() {

@@ -26,2 +27,2 @@ var reject, resolve;

}
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9jcmVhdGVEZWZlcnJlZC5qcyJdLCJuYW1lcyI6WyJjcmVhdGVEZWZlcnJlZCIsInJlamVjdCIsInJlc29sdmUiLCJwcm9taXNlIiwiUHJvbWlzZSIsInByb21pc2VSZXNvbHZlIiwicHJvbWlzZVJlamVjdCIsIkVycm9yIl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ciBpbW1lZGlhdGVseScpO1xuICB9XG5cbiAgcmV0dXJuIHsgcHJvbWlzZSwgcmVqZWN0LCByZXNvbHZlIH07XG59XG4iXX0=

@@ -25,13 +25,6 @@ "use strict";

var store = (0, _redux.createStore)(_reducer.default, initialState || {}, _redux.applyMiddleware.apply(void 0, [sagaMiddleware, function (store) {
return function (next) {
return function (action) {
console.debug(action);
return next(action);
};
};
}].concat(middlewares)));
var store = (0, _redux.createStore)(_reducer.default, initialState || {}, _redux.applyMiddleware.apply(void 0, [sagaMiddleware].concat(middlewares)));
sagaMiddleware.run(_sagas.default);
return store;
}
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9jcmVhdGVTdG9yZS50cyJdLCJuYW1lcyI6WyJpbml0aWFsU3RhdGUiLCJzYWdhTWlkZGxld2FyZSIsIm1pZGRsZXdhcmVzIiwic3RvcmUiLCJyZWR1Y2VyIiwiYXBwbHlNaWRkbGV3YXJlIiwiY29uc29sZSIsImRlYnVnIiwiYWN0aW9uIiwibmV4dCIsInJ1biIsInNhZ2FzIl0sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7QUFBQTs7QUFDQTs7QUFFQTs7QUFDQTs7QUFLZSxrQkFBVUEsWUFBVixFQUF3QztBQUNyRCxNQUFNQyxpQkFBaUIseUJBQXZCOztBQURxRCxvQ0FBYkMsV0FBYTtBQUFiQSxlQUFhO0FBQUE7O0FBRXJELE1BQU1DLFFBQXNCLHdCQUMxQkMsZ0JBRDBCLEVBRTFCSixnQkFBZ0IsRUFGVSxFQUcxQkssc0NBQ0VKLGNBREYsRUFFRTtBQUFBLFdBQVM7QUFBQSxhQUFRLGtCQUFVO0FBQ3pCSyxnQkFBUUMsS0FBUixDQUFjQyxNQUFkO0FBRUEsZUFBT0MsS0FBS0QsTUFBTCxDQUFQO0FBQ0QsT0FKUTtBQUFBLEtBQVQ7QUFBQSxHQUZGLFNBT0tOLFdBUEw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Bjb25zdCBzdG9yZTogU3RvcmU8U3RhdGU+ID0gY3JlYXRlU3RvcmUoXG4gICAgcmVkdWNlcixcbiAgICBpbml0aWFsU3RhdGUgfHwge30sXG4gICAgYXBwbHlNaWRkbGV3YXJlKFxuICAgICAgc2FnYU1pZGRsZXdhcmUsXG4gICAgICAuLi5taWRkbGV3YXJlc1xuICAgIClcbiAgKTtcblxuICBzYWdhTWlkZGxld2FyZS5ydW4oc2FnYXMpO1xuXG4gIHJldHVybiBzdG9yZTtcbn1cbiJdfQ==

@@ -82,2 +82,8 @@ "use strict";

});
Object.defineProperty(exports, "setSendTimeout", {
enumerable: true,
get: function get() {
return _setSendTimeout.default;
}
});
Object.defineProperty(exports, "setSendTyping", {

@@ -89,2 +95,8 @@ enumerable: true,

});
Object.defineProperty(exports, "startDictate", {
enumerable: true,
get: function get() {
return _startDictate.default;
}
});
Object.defineProperty(exports, "startSpeakingActivity", {

@@ -96,6 +108,6 @@ enumerable: true,

});
Object.defineProperty(exports, "startSpeechInput", {
Object.defineProperty(exports, "stopDictate", {
enumerable: true,
get: function get() {
return _startSpeechInput.default;
return _stopDictate.default;
}

@@ -109,8 +121,2 @@ });

});
Object.defineProperty(exports, "stopSpeechInput", {
enumerable: true,
get: function get() {
return _stopSpeechInput.default;
}
});
Object.defineProperty(exports, "submitSendBox", {

@@ -122,3 +128,3 @@ enumerable: true,

});
exports.Constants = void 0;
exports.version = exports.Constants = void 0;

@@ -149,12 +155,14 @@ var _connect = _interopRequireDefault(require("./actions/connect"));

var _setSendTimeout = _interopRequireDefault(require("./actions/setSendTimeout"));
var _setSendTyping = _interopRequireDefault(require("./actions/setSendTyping"));
var _startDictate = _interopRequireDefault(require("./actions/startDictate"));
var _startSpeakingActivity = _interopRequireDefault(require("./actions/startSpeakingActivity"));
var _startSpeechInput = _interopRequireDefault(require("./actions/startSpeechInput"));
var _stopDictate = _interopRequireDefault(require("./actions/stopDictate"));
var _stopSpeakingActivity = _interopRequireDefault(require("./actions/stopSpeakingActivity"));
var _stopSpeechInput = _interopRequireDefault(require("./actions/stopSpeechInput"));
var _submitSendBox = _interopRequireDefault(require("./actions/submitSendBox"));

@@ -171,2 +179,4 @@

exports.Constants = Constants;
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9pbmRleC5qcyJdLCJuYW1lcyI6WyJDb25zdGFudHMiLCJBY3Rpdml0eUNsaWVudFN0YXRlIiwiRGljdGF0ZVN0YXRlIl0sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQUFBOztBQUNBOztBQUNBOztBQUNBOztBQUNBOztBQUNBOztBQUNBOztBQUNBOztBQUNBOztBQUNBOztBQUNBOztBQUNBOztBQUNBOztBQUNBOztBQUNBOztBQUNBOztBQUNBOztBQUNBOztBQUVBOztBQUNBOztBQUVBLElBQU1BLFlBQVk7QUFBRUMsMENBQUY7QUFBdUJDO0FBQXZCLENBQWxCIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IGNvbm5lY3QgZnJvbSAnLi9hY3Rpb25zL2Nvbm5lY3QnO1xuaW1wb3J0IGNyZWF0ZVN0b3JlIGZyb20gJy4vY3JlYXRlU3RvcmUnO1xuaW1wb3J0IGRpc2Nvbm5lY3QgZnJvbSAnLi9hY3Rpb25zL2Rpc2Nvbm5lY3QnO1xuaW1wb3J0IG1hcmtBY3Rpdml0eSBmcm9tICcuL2FjdGlvbnMvbWFya0FjdGl2aXR5JztcbmltcG9ydCBwb3N0QWN0aXZpdHkgZnJvbSAnLi9hY3Rpb25zL3Bvc3RBY3Rpdml0eSc7XG5pbXB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9zdEJhY2ssXG4gIHNldERpY3RhdGVJbnRlcmltcyxcbiAgc2V0RGljdGF0ZVN0YXRlLFxuICBzZXRMYW5ndWFnZSxcbiAgc2V0U2VuZEJveCxcbiAgc2V0U2VuZFRpbWVvdXQsXG4gIHNldFNlbmRUeXBpbmcsXG4gIHN0YXJ0RGljdGF0ZSxcbiAgc3RhcnRTcGVha2luZ0FjdGl2aXR5LFxuICBzdG9wRGljdGF0ZSxcbiAgc3RvcFNwZWFraW5nQWN0aXZpdHksXG4gIHN1Ym1pdFNlbmRCb3gsXG4gIHZlcnNpb25cbn1cbiJdfQ==
declare const _default: import("redux").Reducer<{
activities: {};
connection: {};
input: {};
settings: {};
dictateInterims: {};
dictateState: {};
language: {};
readyState: {};
referenceGrammarID: {};
sendBoxValue: {};
sendTimeout: {};
suggestedActions: {};
}, import("redux").AnyAction>;
export default _default;

@@ -14,8 +14,16 @@ "use strict";

var _connection = _interopRequireDefault(require("./reducers/connection"));
var _dictateInterims = _interopRequireDefault(require("./reducers/dictateInterims"));
var _input = _interopRequireDefault(require("./reducers/input"));
var _dictateState = _interopRequireDefault(require("./reducers/dictateState"));
var _settings = _interopRequireDefault(require("./reducers/settings"));
var _language = _interopRequireDefault(require("./reducers/language"));
var _readyState = _interopRequireDefault(require("./reducers/readyState"));
var _referenceGrammarID = _interopRequireDefault(require("./reducers/referenceGrammarID"));
var _sendBoxValue = _interopRequireDefault(require("./reducers/sendBoxValue"));
var _sendTimeout = _interopRequireDefault(require("./reducers/sendTimeout"));
var _suggestedActions = _interopRequireDefault(require("./reducers/suggestedActions"));

@@ -25,5 +33,9 @@

activities: _activities.default,
connection: _connection.default,
input: _input.default,
settings: _settings.default,
dictateInterims: _dictateInterims.default,
dictateState: _dictateState.default,
language: _language.default,
readyState: _readyState.default,
referenceGrammarID: _referenceGrammarID.default,
sendBoxValue: _sendBoxValue.default,
sendTimeout: _sendTimeout.default,
suggestedActions: _suggestedActions.default

@@ -33,2 +45,2 @@ });

exports.default = _default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RCb3hWYWx1ZSc7XG5pbXBvcnQgc2VuZFRpbWVvdXQgZnJvbSAnLi9yZWR1Y2Vycy9zZW5kVGltZW91dCc7XG5pbXBvcnQgc3VnZ2VzdGVkQWN0aW9ucyBmcm9tICcuL3JlZHVjZXJzL3N1Z2dlc3RlZEFjdGlvbnMnO1xuXG5leHBvcnQgZGVmYXVsdCBjb21iaW5lUmVkdWNlcnMoe1xuICBhY3Rpdml0aWVzLFxuICBkaWN0YXRlSW50ZXJpbXMsXG4gIGRpY3RhdGVTdGF0ZSxcbiAgbGFuZ3VhZ2UsXG4gIHJlYWR5U3RhdGUsXG4gIHJlZmVyZW5jZUdyYW1tYXJJRCxcbiAgc2VuZEJveFZhbHVlLFxuICBzZW5kVGltZW91dCxcbiAgc3VnZ2VzdGVkQWN0aW9uc1xufSlcbiJdfQ==

@@ -14,6 +14,6 @@ "use strict";

var _incomingActivity = require("../actions/incomingActivity");
var _markActivity = require("../actions/markActivity");
var _upsertActivity = require("../actions/upsertActivity");
var _postActivity = require("../actions/postActivity");

@@ -121,3 +121,3 @@

case _upsertActivity.UPSERT_ACTIVITY:
case _incomingActivity.INCOMING_ACTIVITY:
// UpdateActivity is not supported right now because we ignore duplicated activity ID

@@ -139,2 +139,2 @@ if (!~state.findIndex(function (_ref7) {

}
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9yZWR1Y2Vycy9hY3Rpdml0aWVzLmpzIl0sIm5hbWVzIjpbIkRFRkFVTFRfU1RBVEUiLCJnZXRDbGllbnRBY3Rpdml0eUlEIiwiY2hhbm5lbERhdGEiLCJjbGllbnRBY3Rpdml0eUlEIiwiZmluZEJ5Q2xpZW50QWN0aXZpdHlJRCIsImFjdGl2aXR5IiwidXBzZXJ0QWN0aXZpdHlXaXRoU29ydCIsImFjdGl2aXRpZXMiLCJuZXh0QWN0aXZpdHkiLCJuZXh0Q2xpZW50QWN0aXZpdHlJR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ga = _interopRequireDefault(require("./sagas/startSpeechInputAfterSpeakActivitySaga"));
var _startDictateAfterSpeakActivitySaga = _interopRequireDefault(require("./sagas/startDictateAfterSpeakActivitySaga"));
var _stopDictateOnCardAction = _interopRequireDefault(require("./sagas/stopDictateOnCardAction"));
var _stopSpeakActivityOnInputSaga = _interopRequireDefault(require("./sagas/stopSpeakActivityOnInputSaga"));
var _stopSpeechInputOnCardAction = _interopRequireDefault(require("./sagas/stopSpeechInputOnCardAction"));
var _submitSendBoxSaga = _interopRequireDefault(require("./sagas/submitSendBoxSaga"));

@@ -99,11 +99,11 @@

_context.next = 24;
return (0, _effects.fork)(_startSpeechInputAfterSpeakActivitySaga.default);
return (0, _effects.fork)(_startDictateAfterSpeakActivitySaga.default);
case 24:
_context.next = 26;
return (0, _effects.fork)(_stopSpeakActivityOnInputSaga.default);
return (0, _effects.fork)(_stopDictateOnCardAction.default);
case 26:
_context.next = 28;
return (0, _effects.fork)(_stopSpeechInputOnCardAction.default);
return (0, _effects.fork)(_stopSpeakActivityOnInputSaga.default);

@@ -121,2 +121,2 @@ case 28:

}
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9zYWdhcy5qcyJdLCJuYW1lcyI6WyJjbGVhclN1Z2dlc3RlZEFjdGlvbnNPblBvc3RBY3Rpdml0eVNhZ2EiLCJjb25uZWN0aW9uU3RhdHVzVXBkYXRlU2FnYSIsImNvbm5lY3RTYWdhIiwiaW5jb21pbmdBY3Rpdml0eVNhZ2EiLCJpbmNvbWluZ1R5cGluZ1NhZ2EiLCJtYXJrQWN0aXZpdHlGb3JTcGVha1NhZ2EiLCJwb3N0QWN0aXZpdHlTYWdhIiwic2VuZEZpbGVzVG9Qb3N0QWN0aXZpdHlTYWdhIiwic2VuZE1lc3NhZ2VUb1Bvc3RBY3Rpdml0eVNhZ2EiLCJzZW5kUG9zdEJhY2tUb1Bvc3RBY3Rpdml0eVNhZ2E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4gIHlpZWxkIGZvcmsoaW5jb21pbmdUeXBpbmdTYWdhKTtcbiAgeWllbGQgZm9yayhtYXJrQWN0aXZpdHlGb3JTcGVha1NhZ2EpO1xuICB5aWVsZCBmb3JrKHBvc3RBY3Rpdml0eVNhZ2EpO1xuICB5aWVsZCBmb3JrKHNlbmRGaWxlc1RvUG9zdEFjdGl2aXR5U2FnYSk7XG4gIHlpZWxkIGZvcmsoc2VuZE1lc3NhZ2VUb1Bvc3RBY3Rpdml0eVNhZ2EpO1xuICB5aWVsZCBmb3JrKHNlbmRQb3N0QmFja1RvUG9zdEFjdGl2aXR5U2FnYSk7XG4gIHlpZWxkIGZvcmsoc2VuZFR5cGluZ09uU2V0U2VuZEJveFNhZ2EpO1xuICB5aWVsZCBmb3JrKHN0YXJ0RGljdGF0ZUFmdGVyU3BlYWtBY3Rpdml0eVNhZ2EpO1xuICB5aWVsZCBmb3JrKHN0b3BEaWN0YXRlT25DYXJkQWN0aW9uKTtcbiAgeWllbGQgZm9yayhzdG9wU3BlYWtBY3Rpdml0eU9uSW5wdXRTYWdhKTtcbiAgeWllbGQgZm9yayhzdWJtaXRTZW5kQm94U2FnYSk7XG59XG4iXX0=

@@ -18,5 +18,5 @@ "use strict";

var _connectionStatusUpdate = require("../actions/connectionStatusUpdate");
var _connectionStatusUpdate = _interopRequireDefault(require("../actions/connectionStatusUpdate"));
var _setReferenceGrammarId = require("../actions/setReferenceGrammarId");
var _setReferenceGrammarID = _interopRequireDefault(require("../actions/setReferenceGrammarID"));

@@ -49,17 +49,7 @@ var _marked =

_context.next = 2;
return (0, _effects.put)({
type: _connectionStatusUpdate.CONNECTION_STATUS_UPDATE,
payload: {
connectionStatus: connectionStatus
}
});
return (0, _effects.put)((0, _connectionStatusUpdate.default)(connectionStatus));
case 2:
_context.next = 4;
return (0, _effects.put)({
type: _setReferenceGrammarId.SET_REFERENCE_GRAMMAR_ID,
payload: {
referenceGrammarId: directLine.referenceGrammarId
}
});
return (0, _effects.put)((0, _setRe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9lZmZlY3RzL3doaWxlQ29ubmVjdGVkJztcblxuaW1wb3J0IGNvbm5lY3Rpb25TdGF0dXNVcGRhdGUgZnJvbSAnLi4vYWN0aW9ucy9jb25uZWN0aW9uU3RhdHVzVXBkYXRlJztcbmltcG9ydCBzZXRSZWZlcmVuY2VHcmFtbWFySUQgZnJvbSAnLi4vYWN0aW9ucy9zZXRSZWZlcmVuY2VHcmFtbWFySUQnO1xuXG5leHBvcnQgZGVmYXVsdCBmdW5jdGlvbiogKCkge1xuICB5aWVsZCB3aGlsZUNvbm5lY3RlZChmdW5jdGlvbiogKGRpcmVjdExpbmUpIHtcbiAgICB5aWVsZCBvYnNlcnZlRWFjaChkaXJlY3RMaW5lLmNvbm5lY3Rpb25TdGF0dXMkLCBmdW5jdGlvbiogKGNvbm5lY3Rpb25TdGF0dXMpIHtcbiAgICAgIHlpZWxkIHB1dChjb25uZWN0aW9uU3RhdHVzVXBkYXRlKGNvbm5lY3Rpb25TdGF0dXMpKTtcbiAgICAgIHlpZWxkIHB1dChzZXRSZWZlcmVuY2VHcmFtbWFySUQoZGlyZWN0TGluZS5yZWZlcmVuY2VHcmFtbWFySWQpKTtcbiAgICB9KTtcbiAgfSk7XG59XG4iXX0=

@@ -14,2 +14,4 @@ "use strict";

var _jsonwebtoken = require("jsonwebtoken");
var _callUntil = _interopRequireDefault(require("./effects/callUntil"));

@@ -41,5 +43,6 @@

var ENDED = 5;
var DEFAULT_USER_ID = 'default-user';
function _callee() {
var _ref, _ref$payload, directLine, userID, username, connectTask;
var _ref, _ref$payload, directLine, userID, token, _ref2, userIDFromToken, connectTask;

@@ -58,20 +61,33 @@ return _regenerator.default.wrap(function _callee$(_context) {

userID = _ref$payload.userID;
username = _ref$payload.username;
_context.next = 9;
return (0, _effects.fork)(connectSaga, directLine, userID, username);
token = directLine.token;
_ref2 = (0, _jsonwebtoken.decode)(token) || {}, userIDFromToken = _ref2.user;
case 9:
if (userIDFromToken) {
if (userID && userID !== userIDFromToken) {
console.warn('Web Chat: user ID is both specified in the Direct Line token and passed in, will use the user ID from the token.');
}
userID = userIDFromToken;
} else if (!userID) {
// Only specify "default-user" if not found from token and not passed in
userID = DEFAULT_USER_ID;
}
_context.next = 11;
return (0, _effects.fork)(connectSaga, directLine, userID);
case 11:
connectTask = _context.sent;
_context.next = 12;
_context.next = 14;
return (0, _effects.take)(_disconnect.DISCONNECT);
case 12:
_context.next = 14;
case 14:
_context.next = 16;
return (0, _effects.call)(disconnectSaga, connectTask, directLine);
case 14:
case 16:
_context.next = 0;
break;
case 16:
case 18:
case "end":

@@ -84,3 +100,3 @@ return _context.stop();

function connectSaga(directLine, userID, username) {
function connectSaga(directLine, userID) {
var meta, connectionStatusQueue, connectionStatusSubscription, activitySubscription;

@@ -92,4 +108,3 @@ return _regenerator.default.wrap(function connectSaga$(_context2) {

meta = {
userID: userID,
username: username
userID: userID
};

@@ -266,2 +281,2 @@ _context2.next = 3;

}
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9zYWdhcy9jb25uZWN0U2FnYS5qcyJdLCJuYW1lcyI6WyJjb25uZWN0U2FnYSIsImRpc2Nvbm5lY3RTYWdhIiwiT05MSU5FIiwiRU5ERUQiLCJDT05ORUNUIiwicGF5bG9hZCIsImRpcmVjdExpbmUiLCJ1c2VySUQiLCJ1c2VybmFtZSIsImNvbm5lY3RUYXNrIiwiRElTQ09OTkVDVCIsIm1ldGEiLCJ0eXBlIiwiQ09OTkVDVF9QRU5ESU5HIiwiY29ubmVjdGlvblN0YXR1c1F1ZXVlIiwiY29ubmVjdGlvblN0YXR1c1N1YnNjcmlwdGlvbiIsImNvbm5lY3Rpb25TdGF0dXMkIiwic3Vic2NyaWJlIiwibmV4dCIsInB1c2giLCJhY3Rpdml0eVN1YnNjcmlwdGlvbiIsImFjdGl2aXR5JCIsInNoaWZ0IiwiY29ubmVjdGlvblN0YXR1cyIsIkNPTk5FQ1RfRl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xsZWQoKSkge1xuICAgICAgeWllbGQgcHV0KHsgdHlwZTogRElTQ09OTkVDVF9SRUpFQ1RFRCwgZXJyb3I6IHRydWUsIHBheWxvYWQ6IG5ldyBFcnJvcignY2FuY2VsbGVkJykgfSk7XG4gICAgfVxuXG4gICAgdW5zdWJzY3JpYmUoKTtcbiAgfVxufVxuIl19

@@ -22,3 +22,3 @@ "use strict";

_regenerator.default.mark(function _callee() {
var _ref, _ref$meta, userID, username, directLine, task;
var _ref, userID, directLine, task;

@@ -34,23 +34,21 @@ return _regenerator.default.wrap(function _callee$(_context) {

_ref = _context.sent;
_ref$meta = _ref.meta;
userID = _ref$meta.userID;
username = _ref$meta.username;
userID = _ref.meta.userID;
directLine = _ref.payload.directLine;
_context.next = 9;
return (0, _effects.fork)(fn, directLine, userID, username);
_context.next = 7;
return (0, _effects.fork)(fn, directLine, userID);
case 9:
case 7:
task = _context.sent;
_context.next = 12;
_context.next = 10;
return (0, _effects.take)(_disconnect.DISCONNECT_FULFILLED);
case 12:
_context.next = 14;
case 10:
_context.next = 12;
return (0, _effects.cancel)(task);
case 14:
case 12:
_context.next = 0;
break;
case 16:
case 14:
case "end":

@@ -63,2 +61,2 @@ return _context.stop();

}
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9zYWdhcy9lZmZlY3RzL3doaWxlQ29ubmVjdGVkLmpzIl0sIm5hbWVzIjpbImZuIiwiQ09OTkVDVF9GVUxGSUxMRUQiLCJtZXRhIiwidXNlcklEIiwidXNlcm5hbWUiLCJkaXJlY3RMaW5lIiwicGF5bG9hZCIsInRhc2siLCJESVNDT05ORUNUX0ZVTEZJTExFRCJdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7QUFBQTs7QUFPQTs7QUFDQTs7QUFFZSxrQkFBVUEsRUFBVixFQUFjO0FBQzNCLFNBQU87QUFBQTtBQUFBLDRCQUFLO0FBQUE7O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FBQTtBQUFBO0FBQUE7QUFBQTtBQUFBLEdBQUwsRUFBUDtBQVNEIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHtcbiAgY2FsbCxcbiAgY2FuY2VsLFxuICBmb3JrLFxuICB0YWtlXG59IGZyb20gJ3JlZHV4LXNhZ2EvZWZmZWN0cyc7XG5cbmltcG9ydCB7IENPTk5FQ1RfRlVMRklMTEVEIH0gZnJvbSAnLi4vLi4vYWN0aW9ucy9jb25uZWN0JztcbmltcG9ydCB7IERJU0NPTk5FQ1RfRlVMRklMTEVEIH0gZnJvbSAnLi4vLi4vYWN0aW9ucy9kaXNjb25uZWN0JztcblxuZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24gKGZuKSB7XG4gIHJldHVybiBjYWxsKGZ1bmN0aW9uKiAoKSB7XG4gICAgZm9yICg7Oykge1xuICAgICAgY29uc3QgeyBtZXRhOiB7IHVzZXJJRCB9LCBwYXlsb2FkOiB7IGRpcmVjdExpbmUgfSB9ID0geWllbGQgdGFrZShDT05ORUNUX0ZVTEZJTExFRCk7XG4gICAgICBjb25zdCB0YXNrID0geWllbGQgZm9yayhmbiwgZGlyZWN0TGluZSwgdXNlcklEKTtcblxuICAgICAgeWllbGQgdGFrZShESVNDT05ORUNUX0ZVTEZJTExFRCk7XG4gICAgICB5aWVsZCBjYW5jZWwodGFzayk7XG4gICAgfVxuICB9KTtcbn1cbiJdfQ==

@@ -20,6 +20,6 @@ "use strict";

var _incomingActivity = _interopRequireDefault(require("../actions/incomingActivity"));
var _setSuggestedActions = _interopRequireDefault(require("../actions/setSuggestedActions"));
var _upsertActivity = _interopRequireDefault(require("../actions/upsertActivity"));
var _marked =

@@ -73,3 +73,3 @@ /*#__PURE__*/

_context.next = 4;
return (0, _effects.put)((0, _upsertActivity.default)(activity));
return (0, _effects.put)((0, _incomingActivity.default)(activity));

@@ -124,2 +124,2 @@ case 4:

}
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIj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dGl2aXR5LmZyb20ucm9sZSkge1xuICAgICAgICBpZiAoYWN0aXZpdHkuZnJvbS5pZCA9PT0gdXNlcklEKSB7XG4gICAgICAgICAgYWN0aXZpdHkuZnJvbS5yb2xlID0gJ3VzZXInO1xuICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgIGFjdGl2aXR5LmZyb20ucm9sZSA9ICdib3QnO1xuICAgICAgICB9XG4gICAgICB9XG5cbiAgICAgIHlpZWxkIHB1dChpbmNvbWluZ0FjdGl2aXR5KGFjdGl2aXR5KSk7XG5cbiAgICAgIC8vIFVwZGF0ZSBzdWdnZXN0ZWQgYWN0aW9uc1xuICAgICAgY29uc3QgYWN0aXZpdGllcyA9IHlpZWxkIHNlbGVjdCgoeyBhY3Rpdml0aWVzIH0pID0+IGFjdGl2aXRpZXMpO1xuICAgICAgY29uc3QgbGFzdE1lc3NhZ2VBY3Rpdml0eSA9IGxhc3QoYWN0aXZpdGllcywgKHsgdHlwZSB9KSA9PiB0eXBlID09PSAnbWVzc2FnZScpO1xuXG4gICAgICBpZiAobGFzdE1lc3NhZ2VBY3Rpdml0eS5mcm9tLnJvbGUgPT09ICdib3QnKSB7XG4gICAgICAgIGNvbnN0IHsgc3VnZ2VzdGVkQWN0aW9uczogeyBhY3Rpb25zIH0gPSB7fSB9ID0gbGFzdE1lc3NhZ2VBY3Rpdml0eTtcblxuICAgICAgICB5aWVsZCBwdXQoc2V0U3VnZ2VzdGVkQWN0aW9ucyhhY3Rpb25zKSk7XG4gICAgICB9XG4gICAgfSk7XG4gIH0pO1xufVxuIl19

@@ -16,3 +16,3 @@ "use strict";

var _upsertActivity = require("../actions/upsertActivity");
var _incomingActivity = require("../actions/incomingActivity");

@@ -32,3 +32,3 @@ var _marked =

payload = _ref.payload;
return type === _upsertActivity.UPSERT_ACTIVITY && payload.activity.type === 'typing';
return type === _incomingActivity.INCOMING_ACTIVITY && payload.activity.type === 'typing';
}

@@ -74,2 +74,2 @@

}
//# sourceMappingURL=data:application/json;char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UE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHtcbiAgY2FsbCxcbiAgcHV0LFxuICB0YWtlTGF0ZXN0XG59IGZyb20gJ3JlZHV4LXNhZ2EvZWZmZWN0cyc7XG5cbmltcG9ydCBkZWxldGVBY3Rpdml0eSBmcm9tICcuLi9hY3Rpb25zL2RlbGV0ZUFjdGl2aXR5JztcbmltcG9ydCB7IElOQ09NSU5HX0FDVElWSVRZIH0gZnJvbSAnLi4vYWN0aW9ucy9pbmNvbWluZ0FjdGl2aXR5JztcblxuZnVuY3Rpb24gc2xlZXAobXMpIHtcbiAgcmV0dXJuIG5ldyBQcm9taXNlKHJlc29sdmUgPT4gc2V0VGltZW91dChyZXNvbHZlLCBtcykpO1xufVxuXG5mdW5jdGlvbiBpc1R5cGluZ0FjdGl2aXR5KHsgdHlwZSwgcGF5bG9hZCB9KSB7XG4gIHJldHVybiB0eXBlID09PSBJTkNPTUlOR19BQ1RJVklUWSAmJiBwYXlsb2FkLmFjdGl2aXR5LnR5cGUgPT09ICd0eXBpbmcnO1xufVxuXG5leHBvcnQgZGVmYXVsdCBmdW5jdGlvbiogKCkge1xuICB5aWVsZCB0YWtlTGF0ZXN0KGlzVHlwaW5nQWN0aXZpdHksIGZ1bmN0aW9uKiAoeyBwYXlsb2FkOiB7IGFjdGl2aXR5IH0gfSkge1xuICAgIGNvbnN0IGlkID0gYWN0aXZpdHkuaWQ7XG5cbiAgICB5aWVsZCBjYWxsKHNsZWVwLCA1MDAwKTtcbiAgICB5aWVsZCBwdXQoZGVsZXRlQWN0aXZpdHkoaWQpKTtcbiAgfSk7XG59XG4iXX0=

@@ -18,2 +18,4 @@ "use strict";

var _incomingActivity = require("../actions/incomingActivity");
var _startSpeakingActivity = require("../actions/startSpeakingActivity");

@@ -23,4 +25,2 @@

var _upsertActivity = require("../actions/upsertActivity");
var _markActivity = _interopRequireDefault(require("../actions/markActivity"));

@@ -98,3 +98,3 @@

type = _ref2.type;
return type === _upsertActivity.UPSERT_ACTIVITY && (0, _speakableActivity.default)(activity, userID);
return type === _incomingActivity.INCOMING_ACTIVITY && (0, _speakableActivity.default)(activity, userID);
});

@@ -119,2 +119,2 @@

}
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9zYWdhcy9tYXJrQWN0aXZpdHlGb3JTcGVha1NhZ2EuanMiXSwibmFtZXMiOlsibWFya0FjdGl2aXR5Rm9yU3BlYWtTYWdhIiwiXyIsInVzZXJJRCIsIlNUQVJUX1NQRUFLSU5HX0FDVElWSVRZIiwidGFzayIsIlNUT1BfU1BFQUtJTkdfQUNUSVZJVFkiLCJwYXlsb2FkIiwiYWN0aXZpdHkiLCJ0eXBlIiwiVVBTRVJUX0FDVElWSVRZIl0sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7OztBQUFBOztBQU9BOztBQUNBOztBQUVBOztBQUNBOztBQUNBOztBQUNBOzs7Ozs7OzBCQWVVQSx3Qjs7QUFiSztBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFDYixpQkFBTTtBQUFBO0FBQUEsb0NBQWUsaUJBQVdDLENBQVgsRUFBY0MsTUFBZDtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUVqQiwyQkFBTSxtQkFBS0MsOENBQUwsQ0FBTjs7QUFGaUI7QUFBQTtBQUlKLDJCQUFNLG1CQUFLSCx3QkFBTCxFQUErQkUsTUFBL0IsQ0FBTjs7QUFKSTtBQUlYRSx3QkFKVztBQUFBO0FBTWpCLDJCQUFNLG1CQUFLQyw0Q0FBTCxDQUFOOztBQU5pQjtBQUFBO0FBT2pCLDJCQUFNLHFCQUFPRCxJQUFQLENBQU47O0FBUGlCO0FBQUE7QUFBQTs7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQSxXQUFmLEVBQU47O0FBR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SAnLi4vYWN0aW9ucy9tYXJrQWN0aXZpdHknO1xuXG5leHBvcnQgZGVmYXVsdCBmdW5jdGlvbiogKCkge1xuICB5aWVsZCB3aGlsZUNvbm5lY3RlZChmdW5jdGlvbiogKF8sIHVzZXJJRCkge1xuICAgIGZvciAoOzspIHtcbiAgICAgIHlpZWxkIHRha2UoU1RBUlRfU1BFQUtJTkdfQUNUSVZJVFkpO1xuXG4gICAgICBjb25zdCB0YXNrID0geWllbGQgZm9yayhtYXJrQWN0aXZpdHlGb3JTcGVha1NhZ2EsIHVzZXJJRCk7XG5cbiAgICAgIHlpZWxkIHRha2UoU1RPUF9TUEVBS0lOR19BQ1RJVklUWSk7XG4gICAgICB5aWVsZCBjYW5jZWwodGFzayk7XG4gICAgfVxuICB9KTtcbn1cblxuZnVuY3Rpb24qIG1hcmtBY3Rpdml0eUZvclNwZWFrU2FnYSh1c2VySUQpIHtcbiAgZm9yICg7Oykge1xuICAgIGNvbnN0IHsgcGF5bG9hZDogeyBhY3Rpdml0eSB9IH0gPSB5aWVsZCB0YWtlKFxuICAgICAgKHsgcGF5bG9hZDogeyBhY3Rpdml0eSB9ID0ge30sIHR5cGUgfSkgPT5cbiAgICAgICAgdHlwZSA9PT0gSU5DT01JTkdfQUNUSVZJVFlcbiAgICAgICAgJiYgc3BlYWthYmxlQWN0aXZpdHkoYWN0aXZpdHksIHVzZXJJRClcbiAgICApO1xuXG4gICAgeWllbGQgcHV0KG1hcmtBY3Rpdml0eShhY3Rpdml0eSwgJ3NwZWFrJywgdHJ1ZSkpO1xuICB9XG59XG4iXX0=

@@ -18,3 +18,3 @@ "use strict";

var _callWithin = _interopRequireDefault(require("./effects/callWithin"));
var _sleep = _interopRequireDefault(require("../utils/sleep"));

@@ -33,3 +33,3 @@ var _observeOnce = _interopRequireDefault(require("./effects/observeOnce"));

var _upsertActivity = require("../actions/upsertActivity");
var _incomingActivity = require("../actions/incomingActivity");

@@ -43,4 +43,2 @@ var _marked =

var SEND_TIMEOUT = 5000;
function _callee2() {

@@ -93,3 +91,3 @@ return _regenerator.default.wrap(function _callee2$(_context2) {

function postActivity(directLine, userID, numActivitiesPosted, _ref) {
var activity, locale, _activity, attachments, _activity$channelData, _activity$channelData2, clientActivityID, meta, expectEchoBack, echoBack;
var activity, locale, _activity, attachments, _activity$channelData, _activity$channelData2, clientActivityID, meta, echoBackCall, sendTimeout, _ref6, echoBack;

@@ -103,3 +101,3 @@ return _regenerator.default.wrap(function postActivity$(_context4) {

return (0, _effects.select)(function (_ref2) {
var language = _ref2.settings.language;
var language = _ref2.language;
return language;

@@ -161,52 +159,67 @@ });

_context4.prev = 12;
_context4.next = 15;
return (0, _effects.fork)(function () {
return (0, _callWithin.default)(
/*#__PURE__*/
_regenerator.default.mark(function _callee3() {
var _ref4, _activity2, _activity2$channelDat, channelData, id;
// Quirks: We might receive INCOMING_ACTIVITY before the postActivity call completed
// So, we setup expectation first, then postActivity afterward
echoBackCall = (0, _effects.call)(
/*#__PURE__*/
_regenerator.default.mark(function _callee3() {
var _ref4, _activity2, _activity2$channelDat, channelData, id;
return _regenerator.default.wrap(function _callee3$(_context3) {
while (1) {
switch (_context3.prev = _context3.next) {
case 0:
_context3.next = 2;
return (0, _effects.take)(_upsertActivity.UPSERT_ACTIVITY);
return _regenerator.default.wrap(function _callee3$(_context3) {
while (1) {
switch (_context3.prev = _context3.next) {
case 0:
_context3.next = 2;
return (0, _effects.take)(_incomingActivity.INCOMING_ACTIVITY);
case 2:
_ref4 = _context3.sent;
_activity2 = _ref4.payload.activity;
_activity2$channelDat = _activity2.channelData, channelData = _activity2$channelDat === void 0 ? {} : _activity2$channelDat, id = _activity2.id;
case 2:
_ref4 = _context3.sent;
_activity2 = _ref4.payload.activity;
_activity2$channelDat = _activity2.channelData, channelData = _activity2$channelDat === void 0 ? {} : _activity2$channelDat, id = _activity2.id;
if (!(channelData.clientActivityID === clientActivityID && id)) {
_context3.next = 7;
break;
}
if (!(channelData.clientActivityID === clientActivityID && id)) {
_context3.next = 7;
break;
}
return _context3.abrupt("return", _activity2);
return _context3.abrupt("return", _activity2);
case 7:
_context3.next = 0;
break;
case 7:
_context3.next = 0;
break;
case 9:
case "end":
return _context3.stop();
}
case 9:
case "end":
return _context3.stop();
}
}, _callee3, this);
}), [], SEND_TIMEOUT);
}
}, _callee3, this);
})); // Timeout could be due to either:
// - Post activity call may take too long time to complete
// - Direct Line service only respond on HTTP after bot respond to Direct Line
// - Activity may take too long time to echo back
_context4.next = 16;
return (0, _effects.select)(function (_ref5) {
var sendTimeout = _ref5.sendTimeout;
return sendTimeout;
});
case 15:
expectEchoBack = _context4.sent;
_context4.next = 18;
return (0, _observeOnce.default)(directLine.postActivity(activity));
case 16:
sendTimeout = _context4.sent;
_context4.next = 19;
return (0, _effects.race)({
send: (0, _effects.all)({
echoBack: echoBackCall,
postActivity: (0, _observeOnce.default)(directLine.postActivity(activity))
}),
timeout: (0, _effects.call)(function () {
return (0, _sleep.default)(sendTimeout).then(function () {
return Promise.reject(new Error('timeout'));
});
})
});
case 18:
_context4.next = 20;
return (0, _effects.join)(expectEchoBack);
case 20:
echoBack = _context4.sent;
case 19:
_ref6 = _context4.sent;
echoBack = _ref6.send.echoBack;
_context4.next = 23;

@@ -265,2 +278,2 @@ return (0, _effects.put)({

}
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9zYWdhcy9wb3N0QWN0aXZpdHlTYWdhLmpzIl0sIm5hbWVzIjpbInBvc3RBY3Rpdml0eSIsIlNFTkRfVElNRU9VVCIsImRpcmVjdExpbmUiLCJ1c2VySUQiLCJudW1BY3Rpdml0aWVzUG9zdGVkIiwiUE9TVF9BQ1RJVklUWSIsImFjdGlvbiIsImFjdGl2aXR5IiwicGF5bG9hZCIsImxhbmd1YWdlIiwic2V0dGluZ3MiLCJsb2NhbGUiLCJhdHRhY2htZW50cyIsImNoYW5uZWxEYXRhIiwiY2xpZW50QWN0aXZpdH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IHNlbmRUaW1lb3V0KTtcblxuICAgIGNvbnN0IHsgc2VuZDogeyBlY2hvQmFjayB9IH0gPSB5aWVsZCByYWNlKHtcbiAgICAgIHNlbmQ6IGFsbCh7XG4gICAgICAgIGVjaG9CYWNrOiBlY2hvQmFja0NhbGwsXG4gICAgICAgIHBvc3RBY3Rpdml0eTogb2JzZXJ2ZU9uY2UoZGlyZWN0TGluZS5wb3N0QWN0aXZpdHkoYWN0aXZpdHkpKVxuICAgICAgfSksXG4gICAgICB0aW1lb3V0OiBjYWxsKCgpID0+IHNsZWVwKHNlbmRUaW1lb3V0KS50aGVuKCgpID0+IFByb21pc2UucmVqZWN0KG5ldyBFcnJvcigndGltZW91dCcpKSkpXG4gICAgfSk7XG5cbiAgICB5aWVsZCBwdXQoeyB0eXBlOiBQT1NUX0FDVElWSVRZX0ZVTEZJTExFRCwgbWV0YSwgcGF5bG9hZDogeyBhY3Rpdml0eTogZWNob0JhY2sgfSB9KTtcbiAgfSBjYXRjaCAoZXJyKSB7XG4gICAgeWllbGQgcHV0KHsgdHlwZTogUE9TVF9BQ1RJVklUWV9SRUpFQ1RFRCwgZXJyb3I6IHRydWUsIG1ldGEsIHBheWxvYWQ6IGVyciB9KTtcbiAgfSBmaW5hbGx5IHtcbiAgICBpZiAoeWllbGQgY2FuY2VsbGVkKCkpIHtcbiAgICAgIHlpZWxkIHB1dCh7IHR5cGU6IFBPU1RfQUNUSVZJVFlfUkVKRUNURUQsIGVycm9yOiB0cnVlLCBtZXRhLCBwYXlsb2FkOiBuZXcgRXJyb3IoJ2NhbmNlbGxlZCcpIH0pO1xuICAgIH1cbiAgfVxufVxuIl19

@@ -14,2 +14,4 @@ "use strict";

var _mime = _interopRequireDefault(require("mime"));
var _whileConnected = _interopRequireDefault(require("./effects/whileConnected"));

@@ -27,2 +29,4 @@

var getType = _mime.default.getType.bind(_mime.default);
function _callee2() {

@@ -57,5 +61,5 @@ return _regenerator.default.wrap(function _callee2$(_context2) {

return (0, _effects.put)((0, _postActivity.default)({
attachments: files.map(function (file) {
attachments: [].map.call(files, function (file) {
return {
contentType: 'application/octet-stream',
contentType: getType(file.name) || 'application/octet-stream',
contentUrl: file.url,

@@ -66,3 +70,3 @@ name: file.name

channelData: {
attachmentSizes: files.map(function (file) {
attachmentSizes: [].map.call(files, function (file) {
return file.size;

@@ -97,2 +101,2 @@ })

}
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9zYWdhcy9zZW5kRmlsZXNUb1Bvc3RBY3Rpdml0eVNhZ2EuanMiXSwibmFtZXMiOlsiU0VORF9GSUxFUyIsImZpbGVzIiwicGF5bG9hZCIsImxlbmd0aCIsImF0dGFjaG1lbnRzIiwibWFwIiwiY29udGVudFR5cGUiLCJjb250ZW50VXJsIiwiZmlsZSIsInVybCIsIm5hbWUiLCJjaGFubmVsRGF0YSIsImF0dGFjaG1lbnRTaXplcyIsInNpemUiLCJ0eXBlIl0sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7OztBQUFBOztBQUtBOztBQUVBOztBQUNBOztBQUNBOzs7Ozs7QUFFZTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFDYixpQkFBTTtBQUFBO0FBQUEsb0NBQWU7QUFBQTs7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBRWMsMkJBQU0sbUJBQUtBLHFCQUFMLENBQU47O0FBRmQ7QUFBQTtBQUVFQyx5QkFGRixRQUVUQyxPQUZTLENBRUVELEtBRkY7O0FBQUEseUJBSWJBLE1BQU1FLE1BSk87QUFBQTtBQUFBO0FBQUE7O0FBQUE7QUFLZiwyQkFBTSxrQkFBSSwyQkFBYTtBQUNyQkMsbUNBQWFILE1BQU1JLEdBQU4sQ0FBVTtBQUFBLCtCQUFTO0FBQzlCQyx1Q0FBYSwwQkFEaUI7QUFFOUJDLHNDQUFZQyxLQUFLQyxHQUZhO0FBRzlCQyxnQ0FBTU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AgICAgICAgeWllbGQgcHV0KHBvc3RBY3Rpdml0eSh7XG4gICAgICAgICAgYXR0YWNobWVudHM6IGZpbGVzLm1hcChmaWxlID0+ICh7XG4gICAgICAgICAgICBjb250ZW50VHlwZTogJ2FwcGxpY2F0aW9uL29jdGV0LXN0cmVhbScsXG4gICAgICAgICAgICBjb250ZW50VXJsOiBmaWxlLnVybCxcbiAgICAgICAgICAgIG5hbWU6IGZpbGUubmFtZVxuICAgICAgICAgIH0pKSxcbiAgICAgICAgICBjaGFubmVsRGF0YToge1xuICAgICAgICAgICAgYXR0YWNobWVudFNpemVzOiBmaWxlcy5tYXAoZmlsZSA9PiBmaWxlLnNpemUpXG4gICAgICAgICAgfSxcbiAgICAgICAgICB0eXBlOiAnbWVzc2FnZSdcbiAgICAgICAgfSkpO1xuXG4gICAgICAgIHlpZWxkIHB1dChzdG9wU3BlYWtpbmdBY3Rpdml0eSgpKTtcbiAgICAgIH1cbiAgICB9XG4gIH0pO1xufVxuIl19
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9zYWdhcy9zZW5kRmlsZXNUb1Bvc3RBY3Rpdml0eVNhZ2EuanMiXSwibmFtZXMiOlsiZ2V0VHlwZSIsIm1pbWUiLCJiaW5kIiwiU0VORF9GSUxFUyIsImZpbGVzIiwicGF5bG9hZCIsImxlbmd0aCIsImF0dGFjaG1lbnRzIiwibWFwIiwiY2FsbCIsImNvbnRlbnRUeXBlIiwiZmlsZSIsIm5hbWUiLCJjb250ZW50VXJsIiwidXJsIiwiY2hhbm5lbERhdGEiLCJhdHRhY2htZW50U2l6ZXMiLCJzaXplIiwidHlwZSJdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7QUFBQTs7QUFLQTs7QUFFQTs7QUFFQTs7QUFDQTs7QUFDQTs7Ozs7O0FBRUEsSUFBTUEsVUFBVUMsY0FBS0QsT0FBTCxDQUFhRSxJQUFiL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ZSlcbiAgICAgICAgICB9LFxuICAgICAgICAgIHR5cGU6ICdtZXNzYWdlJ1xuICAgICAgICB9KSk7XG5cbiAgICAgICAgeWllbGQgcHV0KHN0b3BTcGVha2luZ0FjdGl2aXR5KCkpO1xuICAgICAgfVxuICAgIH1cbiAgfSk7XG59XG4iXX0=

@@ -55,3 +55,3 @@ "use strict";

return (0, _effects.select)(function (_ref2) {
var sendTyping = _ref2.settings.sendTyping;
var sendTyping = _ref2.sendTyping;
return sendTyping;

@@ -167,2 +167,2 @@ });

}
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9zYWdhcy9zZW5kVHlwaW5nT25TZXRTZW5kQm94U2FnYS5qcyJdLCJuYW1lcyI6WyJTRU5EX0lOVEVSVkFMIiwidGFrZVNlbmRUeXBpbmciLCJ2YWx1ZSIsInBheWxvYWQiLCJ0eXBlIiwiU0VUX1NFTkRfVFlQSU5HIiwic2VuZFR5cGluZyIsInNldHRpbmdzIiwibGFzdFNlbmQiLCJTRVRfU0VORF9CT1giLCJ0ZXh0IiwiaW50ZXJ2YWwiLCJEYXRlIiwibm93Iiwic2xlZXAiLCJ0YXNrIl0sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7OztBQUFBOztBQVNBOztBQUVBOztBQUNBOztBQUNBOztBQUNBOzs7Ozs7QUFFQSxJQUFNQSxnQkFBZ0IsSUFBdEI7O0FBRUEsU0FBU0MsY0FBVCxDQUF3QkMsS0FBeEIsRUFBK0I7QUFDN0IsU0FBTyxtQkFBSztBQUFBLFFBQUdDLE9BQUgsUUFBR0EsT0FBSDtBQUFBLFFBQVlDLElBQVosUUFBWUEsSUFBWjtBQUFBLFdBQXVCQSxTQUFTQyw4QkFBVCxJQUE0QixDQUFDRixRQUFRRyxVQUFULEtBQXdCLENBQUNKLEtBQTVFO0FBQUEsR0FBTCxDQUFQO0FBQ0Q7O0FBRWM7QUFBQTtBQUFBO0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LnNlbmRUeXBpbmcgPT09ICF2YWx1ZSk7XG59XG5cbmV4cG9ydCBkZWZhdWx0IGZ1bmN0aW9uKiAoKSB7XG4gIHlpZWxkIHdoaWxlQ29ubmVjdGVkKGZ1bmN0aW9uKiAoKSB7XG4gICAgY29uc3Qgc2VuZFR5cGluZyA9IHlpZWxkIHNlbGVjdCgoeyBzZXR0aW5nczogeyBzZW5kVHlwaW5nIH0gfSkgPT4gc2VuZFR5cGluZyk7XG5cbiAgICBpZiAoIXNlbmRUeXBpbmcpIHtcbiAgICAgIHlpZWxkIHRha2VTZW5kVHlwaW5nKHRydWUpO1xuICAgIH1cblxuICAgIGZvciAoOzspIHtcbiAgICAgIGxldCBsYXN0U2VuZCA9IDA7XG4gICAgICBjb25zdCB0YXNrID0geWllbGQgdGFrZUxhdGVzdChTRVRfU0VORF9CT1gsIGZ1bmN0aW9uKiAoeyBwYXlsb2FkOiB7IHRleHQgfSB9KSB7XG4gICAgICAgIGlmICh0ZXh0KSB7XG4gICAgICAgICAgY29uc3QgaW50ZXJ2YWwgPSBTRU5EX0lOVEVSVkFMIC0gRGF0ZS5ub3coKSArIGxhc3RTZW5kO1xuXG4gICAgICAgICAgaWYgKGludGVydmFsID4gMCkge1xuICAgICAgICAgICAgeWllbGQgY2FsbChzbGVlcCwgaW50ZXJ2YWwpO1xuICAgICAgICAgIH1cblxuICAgICAgICAgIHlpZWxkIHB1dChwb3N0QWN0aXZpdHkoeyB0eXBlOiAndHlwaW5nJyB9KSk7XG5cbiAgICAgICAgICBsYXN0U2VuZCA9IERhdGUubm93KCk7XG4gICAgICAgIH1cbiAgICAgIH0pO1xuXG4gICAgICB5aWVsZCB0YWtlU2VuZFR5cGluZyhmYWxzZSk7XG4gICAgICB5aWVsZCBjYW5jZWwodGFzayk7XG4gICAgICB5aWVsZCB0YWtlU2VuZFR5cGluZyh0cnVlKTtcbiAgICB9XG4gIH0pO1xufVxuIl19
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZX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0U2VuZCA9IDA7XG4gICAgICBjb25zdCB0YXNrID0geWllbGQgdGFrZUxhdGVzdChTRVRfU0VORF9CT1gsIGZ1bmN0aW9uKiAoeyBwYXlsb2FkOiB7IHRleHQgfSB9KSB7XG4gICAgICAgIGlmICh0ZXh0KSB7XG4gICAgICAgICAgY29uc3QgaW50ZXJ2YWwgPSBTRU5EX0lOVEVSVkFMIC0gRGF0ZS5ub3coKSArIGxhc3RTZW5kO1xuXG4gICAgICAgICAgaWYgKGludGVydmFsID4gMCkge1xuICAgICAgICAgICAgeWllbGQgY2FsbChzbGVlcCwgaW50ZXJ2YWwpO1xuICAgICAgICAgIH1cblxuICAgICAgICAgIHlpZWxkIHB1dChwb3N0QWN0aXZpdHkoeyB0eXBlOiAndHlwaW5nJyB9KSk7XG5cbiAgICAgICAgICBsYXN0U2VuZCA9IERhdGUubm93KCk7XG4gICAgICAgIH1cbiAgICAgIH0pO1xuXG4gICAgICB5aWVsZCB0YWtlU2VuZFR5cGluZyhmYWxzZSk7XG4gICAgICB5aWVsZCBjYW5jZWwodGFzayk7XG4gICAgICB5aWVsZCB0YWtlU2VuZFR5cGluZyh0cnVlKTtcbiAgICB9XG4gIH0pO1xufVxuIl19

@@ -24,3 +24,3 @@ "use strict";

var _startSpeechInput = require("../actions/startSpeechInput");
var _startDictate = require("../actions/startDictate");

@@ -50,3 +50,3 @@ var _marked =

type = _ref.type;
return type === _startSpeechInput.START_SPEECH_INPUT || type === _setSendBox.SET_SEND_BOX && payload.text && payload.via !== 'speech' // We want to stop speaking activity when the user click on a card action
return type === _startDictate.START_DICTATE || type === _setSendBox.SET_SEND_BOX && payload.text && payload.via !== 'speech' // We want to stop speaking activity when the user click on a card action
// But currently there are no actions generated out of a card action

@@ -150,2 +150,2 @@ // So, right now, we are using best-effort by listening to POST_ACTIVITY_PENDING with a "message" event

}
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy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YgYSBjYXJkIGFjdGlvblxuICAgICAgICAvLyBTbywgcmlnaHQgbm93LCB3ZSBhcmUgdXNpbmcgYmVzdC1lZmZvcnQgYnkgbGlzdGVuaW5nIHRvIFBPU1RfQUNUSVZJVFlfUEVORElORyB3aXRoIGEgXCJtZXNzYWdlXCIgZXZlbnRcbiAgICAgICAgfHwgKHR5cGUgPT09IFBPU1RfQUNUSVZJVFlfUEVORElORyAmJiBwYXlsb2FkLmFjdGl2aXR5LnR5cGUgPT09ICdtZXNzYWdlJylcbiAgICAgICk7XG5cbiAgICAgIHlpZWxkIHB1dChzdG9wU3BlYWtpbmdBY3Rpdml0eSgpKTtcblxuICAgICAgY29uc3QgYWN0aXZpdGllcyA9IHlpZWxkIHNlbGVjdCgoeyBhY3Rpdml0aWVzIH0pID0+IGFjdGl2aXRpZXMpO1xuXG4gICAgICBmb3IgKGxldCBhY3Rpdml0eSBvZiBhY3Rpdml0aWVzKSB7XG4gICAgICAgIGlmIChhY3Rpdml0eS5jaGFubmVsRGF0YSAmJiBhY3Rpdml0eS5jaGFubmVsRGF0YS5zcGVhaykge1xuICAgICAgICAgIHlpZWxkIHB1dChtYXJrQWN0aXZpdHkoYWN0aXZpdHksICdzcGVhaycsIGZhbHNlKSk7XG4gICAgICAgIH1cbiAgICAgIH1cbiAgICB9XG4gIH0pO1xufVxuIl19

@@ -35,3 +35,3 @@ "use strict";

_regenerator.default.mark(function _callee() {
var _ref, via, text;
var _ref, via, sendBoxValue;

@@ -50,10 +50,10 @@ return _regenerator.default.wrap(function _callee$(_context) {

return (0, _effects.select)(function (_ref2) {
var sendBox = _ref2.input.sendBox;
return sendBox;
var sendBoxValue = _ref2.sendBoxValue;
return sendBoxValue;
});
case 6:
text = _context.sent;
sendBoxValue = _context.sent;
if (!text) {
if (!sendBoxValue) {
_context.next = 12;

@@ -64,3 +64,3 @@ break;

_context.next = 10;
return (0, _effects.put)((0, _sendMessage.default)(text, via));
return (0, _effects.put)((0, _sendMessage.default)(sendBoxVal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Bmcm9tICcuLi9hY3Rpb25zL3NlbmRNZXNzYWdlJztcbmltcG9ydCBzZXRTZW5kQm94IGZyb20gJy4uL2FjdGlvbnMvc2V0U2VuZEJveCc7XG5cbmV4cG9ydCBkZWZhdWx0IGZ1bmN0aW9uKiAoKSB7XG4gIHlpZWxkIHdoaWxlQ29ubmVjdGVkKGZ1bmN0aW9uKiAoKSB7XG4gICAgZm9yICg7Oykge1xuICAgICAgY29uc3QgeyBwYXlsb2FkOiB7IHZpYSB9IH0gPSB5aWVsZCB0YWtlKFNVQk1JVF9TRU5EX0JPWCk7XG4gICAgICBjb25zdCBzZW5kQm94VmFsdWUgPSB5aWVsZCBzZWxlY3QoKHsgc2VuZEJveFZhbHVlIH0pID0+IHNlbmRCb3hWYWx1ZSk7XG5cbiAgICAgIGlmIChzZW5kQm94VmFsdWUpIHtcbiAgICAgICAgeWllbGQgcHV0KHNlbmRNZXNzYWdlKHNlbmRCb3hWYWx1ZSwgdmlhKSk7XG4gICAgICAgIHlpZWxkIHB1dChzZXRTZW5kQm94KCcnLCAna2V5Ym9hcmQnKSk7XG4gICAgICB9XG4gICAgfVxuICB9KTtcbn1cbiJdfQ==
{
"name": "botframework-webchat-core",
"version": "4.0.0-preview.ffda5c5",
"version": "4.1.0-master.769e2ad",
"description": "Core of botframework-webchat",

@@ -13,3 +13,3 @@ "main": "lib/index.js",

"type": "git",
"url": "git+https://github.com/Microsoft/BotFramework-WebChat.git#preview"
"url": "git+https://github.com/Microsoft/BotFramework-WebChat.git"
},

@@ -19,3 +19,3 @@ "bugs": {

},
"homepage": "https://github.com/Microsoft/BotFramework-WebChat/tree/preview/packages/core#readme",
"homepage": "https://github.com/Microsoft/BotFramework-WebChat/packages/core#readme",
"scripts": {

@@ -51,3 +51,4 @@ "build": "concurrently --names \"babel,typecheck\" \"npm run build:babel\" \"npm run build:typecheck\"",

"babel-jest": "^23.0.1",
"botframework-directlinejs": "0.9.18-master.3cece81",
"babel-plugin-version-transform": "^1.0.0",
"botframework-directlinejs": "^0.10.0",
"concurrently": "^3.5.1",

@@ -62,3 +63,4 @@ "jest": "^22.4.4",

"@babel/runtime": "^7.0.0-rc.2",
"event-as-promise": "^1.0.3",
"jsonwebtoken": "^8.3.0",
"mime": "^2.3.1",
"redux": "^4.0.0",

@@ -65,0 +67,0 @@ "redux-promise-middleware": "^5.1.1",

@@ -1,5 +0,1 @@

// TODO: [P4] Mark actions with correct family
// E.g. POST_ACTIVITY belongs to DIRECT_LINE
// E.g. SEND_MESSAGE belongs to WEB_CHAT
// We are trying to curb down the number of DIRECT_LINE/* to make backend easier to rebuild
const CONNECT = 'DIRECT_LINE/CONNECT';

@@ -10,6 +6,6 @@ const CONNECT_PENDING = `${ CONNECT }_PENDING`;

export default function ({ directLine, userID, username }) {
export default function ({ directLine, userID }) {
return {
type: CONNECT,
payload: { directLine, userID, username }
payload: { directLine, userID }
};

@@ -16,0 +12,0 @@ }

const CONNECTION_STATUS_UPDATE = 'DIRECT_LINE/CONNECTION_STATUS_UPDATE';
export default function (readyState) {
export default function (connectionStatus) {
return {
type: CONNECTION_STATUS_UPDATE,
payload: { readyState }
payload: { connectionStatus }
};

@@ -8,0 +8,0 @@ }

@@ -1,2 +0,2 @@

const MARK_ACTIVITY = 'ACTIVITY/MARK';
const MARK_ACTIVITY = 'WEB_CHAT/MARK_ACTIVITY';

@@ -3,0 +3,0 @@ export default function markActivity({ id: activityID }, name, value) {

@@ -1,2 +0,2 @@

const SEND_FILES = 'INPUT/SEND_FILES';
const SEND_FILES = 'WEB_CHAT/SEND_FILES';

@@ -3,0 +3,0 @@ export default function sendFiles(files) {

@@ -1,2 +0,2 @@

const SEND_MESSAGE = 'INPUT/SEND_MESSAGE';
const SEND_MESSAGE = 'WEB_CHAT/SEND_MESSAGE';

@@ -3,0 +3,0 @@ export default function sendMessage(text, via) {

@@ -1,2 +0,2 @@

const SEND_POST_BACK = 'INPUT/SEND_POST_BACK';
const SEND_POST_BACK = 'WEB_CHAT/SEND_POST_BACK';

@@ -3,0 +3,0 @@ export default function sendPostback(value) {

@@ -1,2 +0,2 @@

const SET_DICTATE_INTERIMS = 'INPUT/SET_DICTATE_INTERIMS';
const SET_DICTATE_INTERIMS = 'WEB_CHAT/SET_DICTATE_INTERIMS';

@@ -3,0 +3,0 @@ export default function (dictateInterims) {

@@ -1,2 +0,2 @@

const SET_DICTATE_STATE = 'INPUT/SET_DICTATE_STATE';
const SET_DICTATE_STATE = 'WEB_CHAT/SET_DICTATE_STATE';

@@ -3,0 +3,0 @@ export default function (dictateState) {

@@ -1,2 +0,2 @@

const SET_LANGUAGE = 'SETTINGS/SET_LANGUAGE';
const SET_LANGUAGE = 'WEB_CHAT/SET_LANGUAGE';

@@ -3,0 +3,0 @@ export default function setLanguage(language) {

@@ -1,2 +0,2 @@

const SET_SEND_BOX = 'INPUT/SET_SEND_BOX';
const SET_SEND_BOX = 'WEB_CHAT/SET_SEND_BOX';

@@ -3,0 +3,0 @@ export default function (text, via) {

@@ -1,2 +0,2 @@

const SET_SEND_TYPING = 'SETTINGS/SET_SEND_TYPING';
const SET_SEND_TYPING = 'WEB_CHAT/SET_SEND_TYPING';

@@ -3,0 +3,0 @@ export default function (value) {

const EMPTY_ARRAY = [];
const SET_SUGGESTED_ACTIONS = 'SUGGESTED_ACTIONS/SET';
const SET_SUGGESTED_ACTIONS = 'WEB_CHAT/SET_SUGGESTED_ACTIONS';

@@ -5,0 +5,0 @@ export default function setSuggestedActions(suggestedActions = EMPTY_ARRAY) {

@@ -1,2 +0,2 @@

const START_SPEAKING_ACTIVITY = 'ACTIVITY/START_SPEAKING';
const START_SPEAKING_ACTIVITY = 'WEB_CHAT/START_SPEAKING';

@@ -3,0 +3,0 @@ export default function startSpeakingActivity() {

@@ -1,2 +0,2 @@

const STOP_SPEAKING_ACTIVITY = 'ACTIVITY/STOP_SPEAKING';
const STOP_SPEAKING_ACTIVITY = 'WEB_CHAT/STOP_SPEAKING';

@@ -3,0 +3,0 @@ export default function stopSpeakingActivity() {

@@ -1,2 +0,2 @@

const SUBMIT_SEND_BOX = 'INPUT/SUBMIT_SEND_BOX';
const SUBMIT_SEND_BOX = 'WEB_CHAT/SUBMIT_SEND_BOX';

@@ -3,0 +3,0 @@ export default function submitSendBox(via) {

@@ -0,1 +1,2 @@

// TODO: [P3] Move to p-defer
export default function createDeferred() {

@@ -2,0 +3,0 @@ let reject, resolve;

@@ -17,7 +17,2 @@ import { applyMiddleware, createStore, Store } from 'redux';

sagaMiddleware,
store => next => action => {
console.debug(action);
return next(action);
},
...middlewares

@@ -24,0 +19,0 @@ )

@@ -13,7 +13,8 @@ import connect from './actions/connect';

import setSendBox from './actions/setSendBox';
import setSendTimeout from './actions/setSendTimeout';
import setSendTyping from './actions/setSendTyping';
import startDictate from './actions/startDictate';
import startSpeakingActivity from './actions/startSpeakingActivity';
import startSpeechInput from './actions/startSpeechInput';
import stopDictate from './actions/stopDictate';
import stopSpeakingActivity from './actions/stopSpeakingActivity';
import stopSpeechInput from './actions/stopSpeechInput';
import submitSendBox from './actions/submitSendBox';

@@ -25,2 +26,3 @@

const Constants = { ActivityClientState, DictateState };
const version = VERSION;

@@ -41,8 +43,10 @@ export {

setSendBox,
setSendTimeout,
setSendTyping,
startDictate,
startSpeakingActivity,
startSpeechInput,
stopDictate,
stopSpeakingActivity,
stopSpeechInput,
submitSendBox
submitSendBox,
version
}
import { combineReducers } from 'redux';
import activities from './reducers/activities';
import connection from './reducers/connection';
import input from './reducers/input';
import settings from './reducers/settings';
import dictateInterims from './reducers/dictateInterims';
import dictateState from './reducers/dictateState';
import language from './reducers/language';
import readyState from './reducers/readyState';
import referenceGrammarID from './reducers/referenceGrammarID';
import sendBoxValue from './reducers/sendBoxValue';
import sendTimeout from './reducers/sendTimeout';
import suggestedActions from './reducers/suggestedActions';

@@ -11,6 +15,10 @@

activities,
connection,
input,
settings,
dictateInterims,
dictateState,
language,
readyState,
referenceGrammarID,
sendBoxValue,
sendTimeout,
suggestedActions
})
import updateIn from 'simple-update-in';
import { DELETE_ACTIVITY } from '../actions/deleteActivity';
import { INCOMING_ACTIVITY } from '../actions/incomingActivity';
import { MARK_ACTIVITY } from '../actions/markActivity';
import { UPSERT_ACTIVITY } from '../actions/upsertActivity';

@@ -82,3 +82,3 @@ import {

case UPSERT_ACTIVITY:
case INCOMING_ACTIVITY:
// UpdateActivity is not supported right now because we ignore duplicated activity ID

@@ -85,0 +85,0 @@ if (!~state.findIndex(({ id }) => id === payload.activity.id)) {

@@ -14,5 +14,5 @@ import { fork } from 'redux-saga/effects';

import sendTypingOnSetSendBoxSaga from './sagas/sendTypingOnSetSendBoxSaga';
import startSpeechInputAfterSpeakActivitySaga from './sagas/startSpeechInputAfterSpeakActivitySaga';
import startDictateAfterSpeakActivitySaga from './sagas/startDictateAfterSpeakActivitySaga';
import stopDictateOnCardAction from './sagas/stopDictateOnCardAction';
import stopSpeakActivityOnInputSaga from './sagas/stopSpeakActivityOnInputSaga';
import stopSpeechInputOnCardAction from './sagas/stopSpeechInputOnCardAction';
import submitSendBoxSaga from './sagas/submitSendBoxSaga';

@@ -32,6 +32,6 @@

yield fork(sendTypingOnSetSendBoxSaga);
yield fork(startSpeechInputAfterSpeakActivitySaga);
yield fork(startDictateAfterSpeakActivitySaga);
yield fork(stopDictateOnCardAction);
yield fork(stopSpeakActivityOnInputSaga);
yield fork(stopSpeechInputOnCardAction);
yield fork(submitSendBoxSaga);
}

@@ -8,4 +8,4 @@ import {

import { CONNECTION_STATUS_UPDATE } from '../actions/connectionStatusUpdate';
import { SET_REFERENCE_GRAMMAR_ID } from '../actions/setReferenceGrammarId';
import connectionStatusUpdate from '../actions/connectionStatusUpdate';
import setReferenceGrammarID from '../actions/setReferenceGrammarID';

@@ -15,6 +15,6 @@ export default function* () {

yield observeEach(directLine.connectionStatus$, function* (connectionStatus) {
yield put({ type: CONNECTION_STATUS_UPDATE, payload: { connectionStatus } });
yield put({ type: SET_REFERENCE_GRAMMAR_ID, payload: { referenceGrammarId: directLine.referenceGrammarId } });
yield put(connectionStatusUpdate(connectionStatus));
yield put(setReferenceGrammarID(directLine.referenceGrammarId));
});
});
}

@@ -10,2 +10,4 @@ import {

import { decode } from 'jsonwebtoken';
import callUntil from './effects/callUntil';

@@ -37,7 +39,23 @@ import forever from './effects/forever';

const DEFAULT_USER_ID = 'default-user';
export default function* () {
for (;;) {
const { payload: { directLine, userID, username } } = yield take(CONNECT);
const connectTask = yield fork(connectSaga, directLine, userID, username);
const { payload: { directLine, userID } } = yield take(CONNECT);
const { token } = directLine;
const { user: userIDFromToken } = decode(token) || {};
if (userIDFromToken) {
if (userID && userID !== userIDFromToken) {
console.warn('Web Chat: user ID is both specified in the Direct Line token and passed in, will use the user ID from the token.');
}
userID = userIDFromToken;
} else if (!userID) {
// Only specify "default-user" if not found from token and not passed in
userID = DEFAULT_USER_ID;
}
const connectTask = yield fork(connectSaga, directLine, userID);
yield take(DISCONNECT);

@@ -48,4 +66,4 @@ yield call(disconnectSaga, connectTask, directLine);

function* connectSaga(directLine, userID, username) {
const meta = { userID, username };
function* connectSaga(directLine, userID) {
const meta = { userID };

@@ -52,0 +70,0 @@ yield put({ type: CONNECT_PENDING, meta });

@@ -14,4 +14,4 @@ import {

for (;;) {
const { meta: { userID, username }, payload: { directLine } } = yield take(CONNECT_FULFILLED);
const task = yield fork(fn, directLine, userID, username);
const { meta: { userID }, payload: { directLine } } = yield take(CONNECT_FULFILLED);
const task = yield fork(fn, directLine, userID);

@@ -18,0 +18,0 @@ yield take(DISCONNECT_FULFILLED);

@@ -9,4 +9,4 @@ import {

import incomingActivity from '../actions/incomingActivity';
import setSuggestedActions from '../actions/setSuggestedActions';
import upsertActivity from '../actions/upsertActivity';

@@ -37,3 +37,3 @@ function last(array, predicate) {

yield put(upsertActivity(activity));
yield put(incomingActivity(activity));

@@ -40,0 +40,0 @@ // Update suggested actions

@@ -8,3 +8,3 @@ import {

import deleteActivity from '../actions/deleteActivity';
import { UPSERT_ACTIVITY } from '../actions/upsertActivity';
import { INCOMING_ACTIVITY } from '../actions/incomingActivity';

@@ -16,3 +16,3 @@ function sleep(ms) {

function isTypingActivity({ type, payload }) {
return type === UPSERT_ACTIVITY && payload.activity.type === 'typing';
return type === INCOMING_ACTIVITY && payload.activity.type === 'typing';
}

@@ -19,0 +19,0 @@

@@ -11,5 +11,5 @@ import {

import { INCOMING_ACTIVITY } from '../actions/incomingActivity';
import { START_SPEAKING_ACTIVITY } from '../actions/startSpeakingActivity';
import { STOP_SPEAKING_ACTIVITY } from '../actions/stopSpeakingActivity';
import { UPSERT_ACTIVITY } from '../actions/upsertActivity';
import markActivity from '../actions/markActivity';

@@ -34,3 +34,3 @@

({ payload: { activity } = {}, type }) =>
type === UPSERT_ACTIVITY
type === INCOMING_ACTIVITY
&& speakableActivity(activity, userID)

@@ -37,0 +37,0 @@ );

import {
all,
call,
cancelled,
fork,
join,
put,
race,
select,

@@ -10,3 +12,4 @@ take

import callWithin from './effects/callWithin';
import sleep from '../utils/sleep';
import observeOnce from './effects/observeOnce';

@@ -26,6 +29,4 @@ import whileConnected from './effects/whileConnected';

import { UPSERT_ACTIVITY } from '../actions/upsertActivity';
import { INCOMING_ACTIVITY } from '../actions/incomingActivity';
const SEND_TIMEOUT = 5000;
export default function* () {

@@ -42,3 +43,3 @@ yield whileConnected(function* (directLine, userID) {

function* postActivity(directLine, userID, numActivitiesPosted, { payload: { activity } }) {
const locale = yield select(({ settings: { language } }) => language);
const locale = yield select(({ language }) => language);
const { attachments, channelData: { clientActivityID = uniqueID() } = {} } = activity;

@@ -82,8 +83,8 @@

try {
// Quirks: We might receive UPSERT_ACTIVITY before the postActivity call completed
// Quirks: We might receive INCOMING_ACTIVITY before the postActivity call completed
// So, we setup expectation first, then postActivity afterward
const expectEchoBack = yield fork(() => callWithin(function* () {
const echoBackCall = call(function* () {
for (;;) {
const { payload: { activity } } = yield take(UPSERT_ACTIVITY);
const { payload: { activity } } = yield take(INCOMING_ACTIVITY);
const { channelData = {}, id } = activity;

@@ -95,8 +96,19 @@

}
}, [], SEND_TIMEOUT));
});
yield observeOnce(directLine.postActivity(activity));
// Timeout could be due to either:
// - Post activity call may take too long time to complete
// - Direct Line service only respond on HTTP after bot respond to Direct Line
// - Activity may take too long time to echo back
const echoBack = yield join(expectEchoBack);
const sendTimeout = yield select(({ sendTimeout }) => sendTimeout);
const { send: { echoBack } } = yield race({
send: all({
echoBack: echoBackCall,
postActivity: observeOnce(directLine.postActivity(activity))
}),
timeout: call(() => sleep(sendTimeout).then(() => Promise.reject(new Error('timeout'))))
});
yield put({ type: POST_ACTIVITY_FULFILLED, meta, payload: { activity: echoBack } });

@@ -103,0 +115,0 @@ } catch (err) {

@@ -6,2 +6,4 @@ import {

import mime from 'mime';
import whileConnected from './effects/whileConnected';

@@ -13,2 +15,4 @@

const getType = mime.getType.bind(mime);
export default function* () {

@@ -21,4 +25,4 @@ yield whileConnected(function* () {

yield put(postActivity({
attachments: files.map(file => ({
contentType: 'application/octet-stream',
attachments: [].map.call(files, file => ({
contentType: getType(file.name) || 'application/octet-stream',
contentUrl: file.url,

@@ -28,3 +32,3 @@ name: file.name

channelData: {
attachmentSizes: files.map(file => file.size)
attachmentSizes: [].map.call(files, file => file.size)
},

@@ -31,0 +35,0 @@ type: 'message'

@@ -25,3 +25,3 @@ import {

yield whileConnected(function* () {
const sendTyping = yield select(({ settings: { sendTyping } }) => sendTyping);
const sendTyping = yield select(({ sendTyping }) => sendTyping);

@@ -28,0 +28,0 @@ if (!sendTyping) {

@@ -13,3 +13,3 @@ import {

import { SET_SEND_BOX } from '../actions/setSendBox';
import { START_SPEECH_INPUT } from '../actions/startSpeechInput';
import { START_DICTATE } from '../actions/startDictate';

@@ -20,3 +20,3 @@ export default function* () {

yield take(
({ payload, type }) => type === START_SPEECH_INPUT
({ payload, type }) => type === START_DICTATE
|| (type === SET_SEND_BOX && payload.text && payload.via !== 'speech')

@@ -23,0 +23,0 @@

@@ -17,6 +17,6 @@ import {

const { payload: { via } } = yield take(SUBMIT_SEND_BOX);
const text = yield select(({ input: { sendBox } }) => sendBox);
const sendBoxValue = yield select(({ sendBoxValue }) => sendBoxValue);
if (text) {
yield put(sendMessage(text, via));
if (sendBoxValue) {
yield put(sendMessage(sendBoxValue, via));
yield put(setSendBox('', 'keyboard'));

@@ -23,0 +23,0 @@ }

@@ -14,4 +14,3 @@ import createFacility from './createFacility';

directLine,
userID: 'default-user',
username: 'WC'
userID: 'default-user'
}

@@ -18,0 +17,0 @@ });

@@ -7,3 +7,2 @@ import mockDirectLine from './mockDirectLine';

const DEFAULT_USER_ID = 'default-user';
const DEFAULT_USERNAME = 'John Doe';

@@ -40,3 +39,3 @@ jest.mock('../src/util/getTimestamp', () => {

const latestActions = {};
const store = createStore(store => next => action => {
const store = createStore(() => next => action => {
actions.push(action);

@@ -53,4 +52,3 @@ latestActions[action.type] = action;

directLine,
userID: DEFAULT_USER_ID,
username: DEFAULT_USERNAME
userID: DEFAULT_USER_ID
}

@@ -57,0 +55,0 @@ });

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc