@webex/cc-user-state 1.28.0-ccwidgets.11 → 1.28.0-ccwidgets.12

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
@@ -226,7 +226,7 @@ eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexpo
226
226
  \**********************************/
227
227
  /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
228
228
 
229
- eval("\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.UserState = void 0;\nconst react_1 = __importDefault(__webpack_require__(/*! react */ \"react\"));\nconst cc_store_1 = __importDefault(__webpack_require__(/*! @webex/cc-store */ \"@webex/cc-store\"));\nconst mobx_react_lite_1 = __webpack_require__(/*! mobx-react-lite */ \"../../../node_modules/mobx-react-lite/es/index.js\");\nconst helper_1 = __webpack_require__(/*! ../helper */ \"./src/helper.ts\");\nconst user_state_presentational_1 = __importDefault(__webpack_require__(/*! ./user-state.presentational */ \"./src/user-state/user-state.presentational.tsx\"));\nconst UserState = (0, mobx_react_lite_1.observer)(() => {\n const { cc, idleCodes, agentId } = cc_store_1.default;\n const props = (0, helper_1.useUserState)({\n idleCodes,\n agentId,\n cc\n });\n return react_1.default.createElement(user_state_presentational_1.default, Object.assign({}, props));\n});\nexports.UserState = UserState;\n\n\n//# sourceURL=webpack://@webex/cc-user-state/./src/user-state/index.tsx?");
229
+ eval("\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.UserState = void 0;\nconst react_1 = __importDefault(__webpack_require__(/*! react */ \"react\"));\nconst cc_store_1 = __importDefault(__webpack_require__(/*! @webex/cc-store */ \"@webex/cc-store\"));\nconst mobx_react_lite_1 = __webpack_require__(/*! mobx-react-lite */ \"../../../node_modules/mobx-react-lite/es/index.js\");\nconst helper_1 = __webpack_require__(/*! ../helper */ \"./src/helper.ts\");\nconst user_state_presentational_1 = __importDefault(__webpack_require__(/*! ./user-state.presentational */ \"./src/user-state/user-state.presentational.tsx\"));\nconst UserStateComponent = () => {\n const { cc, idleCodes, agentId } = cc_store_1.default;\n const props = (0, helper_1.useUserState)({\n idleCodes,\n agentId,\n cc,\n });\n return react_1.default.createElement(user_state_presentational_1.default, Object.assign({}, props));\n};\nconst UserState = (0, mobx_react_lite_1.observer)(UserStateComponent);\nexports.UserState = UserState;\n\n\n//# sourceURL=webpack://@webex/cc-user-state/./src/user-state/index.tsx?");
230
230
 
231
231
  /***/ }),
232
232
 
@@ -1,3 +1,3 @@
1
1
  import React from 'react';
2
- declare const UserState: React.FunctionComponent;
2
+ declare const UserState: React.FunctionComponent<{}>;
3
3
  export { UserState };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@webex/cc-user-state",
3
3
  "description": "Webex Contact Center Widgets: User State",
4
- "version": "1.28.0-ccwidgets.11",
4
+ "version": "1.28.0-ccwidgets.12",
5
5
  "main": "dist/index.js",
6
6
  "publishConfig": {
7
7
  "access": "public"
@@ -19,7 +19,7 @@
19
19
  "test:unit": "jest"
20
20
  },
21
21
  "dependencies": {
22
- "@webex/cc-store": "1.28.0-ccwidgets.11",
22
+ "@webex/cc-store": "1.28.0-ccwidgets.12",
23
23
  "mobx-react-lite": "^4.1.0",
24
24
  "typescript": "5.6.3"
25
25
  },
@@ -55,5 +55,5 @@
55
55
  ],
56
56
  "verbose": true
57
57
  },
58
- "stableVersion": "1.28.0-ccwidgets.10"
58
+ "stableVersion": "1.28.0-ccwidgets.11"
59
59
  }