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.2.1-master.da98602 to 4.2.1-master.db34ce4

2

lib/index.js

@@ -197,4 +197,4 @@ "use strict";

exports.Constants = Constants;
var version = "4.2.1-master.da98602";
var version = "4.2.1-master.db34ce4";
exports.version = version;
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9pbmRleC5qcyJdLCJuYW1lcyI6WyJDb25zdGFudHMiLCJBY3Rpdml0eUNsaWVudFN0YXRlIiwiRGljdGF0ZVN0YXRlIiwidmVyc2lvbiJdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7QUFBQTs7QUFDQTs7QUFDQTs7QUFDQTs7QUFDQTs7QUFDQTs7QUFDQTs7QUFDQTs7QUFDQTs7QUFDQTs7QUFDQTs7QUFDQTs7QUFDQTs7QUFDQTs7QUFDQTs7QUFDQTs7QUFDQTs7QUFDQTs7QUFDQTs7QUFDQTs7QUFDQTs7QUFDQTs7QUFFQTs7QUFDQTs7QUFFQSxJQUFNQSxTQUFTLEdBQUc7QUFBRUMsRUFBQUEsbUJBQW1CLEVBQW5CQSxtQkFBRjtBQUF1QkMsRUFBQUEsWUFBWSxFQUFaQTtBQUF2QixDQUFsQjs7QUFDQS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zZW5kTWVzc2FnZUJhY2ssXG4gIHNlbmRQb3N0QmFjayxcbiAgc2V0RGljdGF0ZUludGVyaW1zLFxuICBzZXREaWN0YXRlU3RhdGUsXG4gIHNldExhbmd1YWdlLFxuICBzZXRTZW5kQm94LFxuICBzZXRTZW5kVGltZW91dCxcbiAgc2V0U2VuZFR5cGluZ0luZGljYXRvcixcbiAgc3RhcnREaWN0YXRlLFxuICBzdGFydFNwZWFraW5nQWN0aXZpdHksXG4gIHN0b3BEaWN0YXRlLFxuICBzdG9wU3BlYWtpbmdBY3Rpdml0eSxcbiAgc3VibWl0U2VuZEJveCxcbiAgdmVyc2lvbixcblxuICAvLyBUT0RPOiBbUDNdIFRha2UgdGhpcyBkZXByZWNhdGlvbiBjb2RlIG91dCB3aGVuIHJlbGVhc2luZyBvbiBvciBhZnRlciBKYW51YXJ5IDEzIDIwMjAgXG4gIHNldFNlbmRUeXBpbmdcbn1cbiJdfQ==

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

var _sendConversationUpdateOnConnectSaga = _interopRequireDefault(require("./sagas/sendConversationUpdateOnConnectSaga"));
var _sendEventToPostActivitySaga = _interopRequireDefault(require("./sagas/sendEventToPostActivitySaga"));

@@ -103,49 +101,45 @@

_context.next = 20;
return (0, _effects.fork)(_sendConversationUpdateOnConnectSaga.default);
return (0, _effects.fork)(_sendEventToPostActivitySaga.default);
case 20:
_context.next = 22;
return (0, _effects.fork)(_sendEventToPostActivitySaga.default);
return (0, _effects.fork)(_sendFilesToPostActivitySaga.default);
case 22:
_context.next = 24;
return (0, _effects.fork)(_sendFilesToPostActivitySaga.default);
return (0, _effects.fork)(_sendMessageToPostActivitySaga.default);
case 24:
_context.next = 26;
return (0, _effects.fork)(_sendMessageToPostActivitySaga.default);
return (0, _effects.fork)(_sendMessageBackToPostActivitySaga.default);
case 26:
_context.next = 28;
return (0, _effects.fork)(_sendMessageBackToPostActivitySaga.default);
return (0, _effects.fork)(_sendPostBackToPostActivitySaga.default);
case 28:
_context.next = 30;
return (0, _effects.fork)(_sendPostBackToPostActivitySaga.default);
return (0, _effects.fork)(_sendTypingIndicatorOnSetSendBoxSaga.default);
case 30:
_context.next = 32;
return (0, _effects.fork)(_sendTypingIndicatorOnSetSendBoxSaga.default);
return (0, _effects.fork)(_startDictateAfterSpeakActivitySaga.default);
case 32:
_context.next = 34;
return (0, _effects.fork)(_startDictateAfterSpeakActivitySaga.default);
return (0, _effects.fork)(_startSpeakActivityOnPostActivitySaga.default);
case 34:
_context.next = 36;
return (0, _effects.fork)(_startSpeakActivityOnPostActivitySaga.default);
return (0, _effects.fork)(_stopDictateOnCardActionSaga.default);
case 36:
_context.next = 38;
return (0, _effects.fork)(_stopDictateOnCardActionSaga.default);
return (0, _effects.fork)(_stopSpeakingActivityOnInputSaga.default);
case 38:
_context.next = 40;
return (0, _effects.fork)(_stopSpeakingActivityOnInputSaga.default);
return (0, _effects.fork)(_submitSendBoxSaga.default);
case 40:
_context.next = 42;
return (0, _effects.fork)(_submitSendBoxSaga.default);
case 42:
case "end":

@@ -157,2 +151,2 @@ return _context.stop();

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

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

_regenerator.default.mark(function _callee2(activity) {
var messageActivities, lastMessageActivity, _lastMessageActivity$, actions;
var messageActivities, lastMessageActivity, _lastMessageActivity$, actions, to;

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

_lastMessageActivity$ = _lastMessageActivity$ === void 0 ? {} : _lastMessageActivity$;
actions = _lastMessageActivity$.actions;
actions = _lastMessageActivity$.actions, to = _lastMessageActivity$.to; // If suggested actions is not destined to anyone, or is destined to the user, show it.
// In other words, if suggested actions is destined to someone else, don't show it.
_context2.next = 13;
return (0, _effects.put)((0, _setSuggestedActions.default)(actions));
return (0, _effects.put)((0, _setSuggestedActions.default)(to && to.length && !to.includes(userID) ? null : actions));

@@ -136,2 +138,2 @@ case 13:

}
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9zYWdhcy9pbmNvbWluZ0FjdGl2aXR5U2FnYS5qcyJdLCJuYW1lcyI6WyJvYnNlcnZlQWN0aXZpdHkiLCJkaXJlY3RMaW5lIiwidXNlcklEIiwiYWN0aXZpdHkkIiwiYWN0aXZpdHkiLCJwYXRjaEFjdGl2aXR5V2l0aEZyb21Sb2xlIiwibWVzc2FnZUFjdGl2aXRpZXMiLCJsYXN0TWVzc2FnZUFjdGl2aXR5IiwibGVuZ3RoIiwic3VnZ2VzdGVkQWN0aW9ucyIsImF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l2aXR5LmZyb20ucm9sZSkge1xuICAgIGlmIChhY3Rpdml0eS5mcm9tLmlkID09PSB1c2VySUQpIHtcbiAgICAgIGFjdGl2aXR5ID0gdXBkYXRlSW4oYWN0aXZpdHksIFsnZnJvbScsICdyb2xlJ10sICgpID0+ICd1c2VyJyk7XG4gICAgfSBlbHNlIGlmIChhY3Rpdml0eS5mcm9tLmlkKSB7XG4gICAgICBhY3Rpdml0eSA9IHVwZGF0ZUluKGFjdGl2aXR5LCBbJ2Zyb20nLCAncm9sZSddLCAoKSA9PiAnYm90Jyk7XG4gICAgfSBlbHNlIHtcbiAgICAgIGFjdGl2aXR5ID0gdXBkYXRlSW4oYWN0aXZpdHksIFsnZnJvbScsICdyb2xlJ10sICgpID0+ICdjaGFubmVsJyk7XG4gICAgfVxuICB9XG5cbiAgcmV0dXJuIGFjdGl2aXR5O1xufVxuIl19
{
"name": "botframework-webchat-core",
"version": "4.2.1-master.da98602",
"version": "4.2.1-master.db34ce4",
"description": "Core of botframework-webchat",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -12,3 +12,2 @@ import { fork } from 'redux-saga/effects';

import removeIncomingTypingAfterIntervalSaga from './sagas/removeIncomingTypingAfterIntervalSaga';
import sendConversationUpdateOnConnectSaga from './sagas/sendConversationUpdateOnConnectSaga';
import sendEventToPostActivitySaga from './sagas/sendEventToPostActivitySaga';

@@ -36,3 +35,2 @@ import sendFilesToPostActivitySaga from './sagas/sendFilesToPostActivitySaga';

yield fork(removeIncomingTypingAfterIntervalSaga);
yield fork(sendConversationUpdateOnConnectSaga);
yield fork(sendEventToPostActivitySaga);

@@ -39,0 +37,0 @@ yield fork(sendFilesToPostActivitySaga);

@@ -29,2 +29,3 @@ import {

// Update suggested actions
// TODO: [P3] We could put this logic inside reducer to minimize number of actions dispatched.
const messageActivities = yield select(activitiesOfType('message'));

@@ -34,5 +35,7 @@ const lastMessageActivity = messageActivities[messageActivities.length - 1];

if (activityFromBot(lastMessageActivity)) {
const { suggestedActions: { actions } = {} } = lastMessageActivity;
const { suggestedActions: { actions, to } = {} } = lastMessageActivity;
yield put(setSuggestedActions(actions));
// If suggested actions is not destined to anyone, or is destined to the user, show it.
// In other words, if suggested actions is destined to someone else, don't show it.
yield put(setSuggestedActions(to && to.length && !to.includes(userID) ? null : actions));
}

@@ -39,0 +42,0 @@ });

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