@xapp/chat-widget 1.53.1 → 1.53.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -7999,6 +7999,9 @@ var List = function (props) {
7999
7999
 
8000
8000
  var ListMiddlewareWidget = function (props) {
8001
8001
  var msg = props.msg, ctx = props.ctx;
8002
+ if (!ctx) {
8003
+ throw new TypeError("ctx not provided to ".concat(ListMiddlewareWidget.name));
8004
+ }
8002
8005
  var list = React$1.useMemo(function () { return convertFromListDisplay(msg); }, [msg]);
8003
8006
  var handleExecute = useExecuteActionCallback();
8004
8007
  var handleButton = useButtonCallback();