@xapp/chat-widget 1.53.0 → 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.
@@ -22,6 +22,9 @@ export interface ChatState {
22
22
  accountStatus: ACCOUNT_STATUS_TYPE;
23
23
  departments: ChatDepartments;
24
24
  visitor: ChatUserInfo;
25
+ /**
26
+ * Available agents in the chat
27
+ */
25
28
  readonly agents: ChatAgents;
26
29
  chats: ChatDetail[];
27
30
  lastTimestamp: number;
@@ -51,6 +54,9 @@ export interface ChatState {
51
54
  * Attributes to be sent on every request.
52
55
  */
53
56
  attributes?: Record<string, unknown>;
57
+ /**
58
+ * ISO-8601 string for when the session expires
59
+ */
54
60
  sessionExpiration?: string;
55
61
  }
56
62
  export interface ConnectionState {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xapp/chat-widget",
3
- "version": "1.53.0",
3
+ "version": "1.53.2",
4
4
  "description": "XAPP Chat Widget",
5
5
  "scripts": {
6
6
  "clean": "rm -rf ./lib/* && rm -rf ./dist/*",
@@ -51,7 +51,7 @@
51
51
  "@types/enzyme-adapter-react-16": "1.0.6",
52
52
  "@types/jest": "27.5.2",
53
53
  "@types/react": "17.0.52",
54
- "@types/react-redux": "7.1.24",
54
+ "@types/react-redux": "7.1.25",
55
55
  "@types/react-transition-group": "4.4.5",
56
56
  "@types/socket.io-client": "1.4.36",
57
57
  "@types/store": "2.0.2",
@@ -61,7 +61,7 @@
61
61
  "babel-jest": "27.5.1",
62
62
  "babel-loader": "8.2.5",
63
63
  "enzyme": "3.11.0",
64
- "enzyme-adapter-react-16": "1.15.6",
64
+ "enzyme-adapter-react-16": "1.15.7",
65
65
  "eslint": "8.22.0",
66
66
  "eslint-config-prettier": "7.2.0",
67
67
  "eslint-config-react-app": "6.0.0",
@@ -74,7 +74,7 @@
74
74
  "prettier": "2.7.1",
75
75
  "react": "17.0.2",
76
76
  "react-dom": "17.0.2",
77
- "react-redux": "7.2.8",
77
+ "react-redux": "7.2.9",
78
78
  "redux": "4.2.0",
79
79
  "redux-thunk": "2.4.1",
80
80
  "rollup": "2.78.1",
@@ -85,7 +85,7 @@
85
85
  "rollup-plugin-typescript2": "0.34.1",
86
86
  "sass": "1.53.0",
87
87
  "sass-loader": "10.3.1",
88
- "stentor-models": "1.57.23",
88
+ "stentor-models": "1.57.50",
89
89
  "ts-jest": "27.1.5",
90
90
  "typescript": "4.7.4"
91
91
  },
@@ -102,13 +102,13 @@
102
102
  },
103
103
  "dependencies": {
104
104
  "@rollup/plugin-replace": "^4.0.0",
105
- "@xapp/chat-widget-core": "1.53.0",
106
- "@xapp/stentor-chat-widget": "1.53.0",
105
+ "@xapp/chat-widget-core": "1.53.2",
106
+ "@xapp/stentor-chat-widget": "1.53.2",
107
107
  "date-fns": "2.28.0",
108
108
  "react-transition-group": "4.4.5",
109
109
  "socket.io-client": "4.5.1",
110
110
  "store": "2.0.12",
111
111
  "tslib": "2.4.0"
112
112
  },
113
- "gitHead": "790e52d7da2ada2f92ec27d2c02d5d73c96c5ab8"
113
+ "gitHead": "18c26047a3d71392352474fb6ea2c5cf8d4d5bcc"
114
114
  }