@xapp/chat-widget 1.74.0 → 1.74.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
@@ -5,6 +5,25 @@ var reactRedux = require('react-redux');
5
5
  var redux = require('redux');
6
6
  var thunk = require('redux-thunk');
7
7
 
8
+ function _interopNamespaceDefault(e) {
9
+ var n = Object.create(null);
10
+ if (e) {
11
+ Object.keys(e).forEach(function (k) {
12
+ if (k !== 'default') {
13
+ var d = Object.getOwnPropertyDescriptor(e, k);
14
+ Object.defineProperty(n, k, d.get ? d : {
15
+ enumerable: true,
16
+ get: function () { return e[k]; }
17
+ });
18
+ }
19
+ });
20
+ }
21
+ n.default = e;
22
+ return Object.freeze(n);
23
+ }
24
+
25
+ var thunk__namespace = /*#__PURE__*/_interopNamespaceDefault(thunk);
26
+
8
27
  var ActionButton = function (_a) {
9
28
  var label = _a.label, disable = _a.disable, type = _a.type, addClass = _a.addClass, onClick = _a.onClick;
10
29
  function handleClick(ev) {
@@ -31859,7 +31878,7 @@ function createChatStore(config, dataStorage) {
31859
31878
  });
31860
31879
  var chatReducer = persistStateReducer(storage, defaultState, storeHandler);
31861
31880
  var middlewares = [
31862
- thunk
31881
+ thunk__namespace.default
31863
31882
  ];
31864
31883
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
31865
31884
  var composeEnhancers = globalThis.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ || redux.compose;
@@ -31928,7 +31947,7 @@ function createStaticReducer(state) {
31928
31947
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
31929
31948
  var composeEnhancers = (globalThis === null || globalThis === void 0 ? void 0 : globalThis.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__) || redux.compose;
31930
31949
  var middlewares = [
31931
- thunk
31950
+ thunk__namespace.default
31932
31951
  ];
31933
31952
  function createStaticStore(state) {
31934
31953
  var reducer = createStaticReducer(state);