@codebolt/codeboltjs 1.1.45 → 1.1.46

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/modules/chat.js CHANGED
@@ -140,7 +140,7 @@ const cbchat = {
140
140
  websocket_1.default.getWebsocket.on('message', (data) => {
141
141
  const response = JSON.parse(data);
142
142
  if (response.type === "confirmationResponse") {
143
- resolve(response.answer); // Resolve the Promise with the server's response
143
+ resolve(response); // Resolve the Promise with the server's response
144
144
  }
145
145
  });
146
146
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codebolt/codeboltjs",
3
- "version": "1.1.45",
3
+ "version": "1.1.46",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "author": "",
@@ -146,7 +146,7 @@ const cbchat = {
146
146
  cbws.getWebsocket.on('message', (data: string) => {
147
147
  const response = JSON.parse(data);
148
148
  if (response.type === "confirmationResponse") {
149
- resolve(response.answer); // Resolve the Promise with the server's response
149
+ resolve(response); // Resolve the Promise with the server's response
150
150
  }
151
151
  });
152
152
  });