@koredev/kore-web-sdk 11.10.0-rc.cc7e1bf → 11.10.1-rc.3c545fc

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/README.md CHANGED
@@ -71,7 +71,7 @@ include the following script in your html file and configure bot configurations
71
71
 
72
72
  ```js
73
73
 
74
- <script src="https://cdn.jsdelivr.net/npm/kore-web-sdk@11.10.0/dist/umd/kore-web-sdk-umd-chat.min.js"></script>
74
+ <script src="https://cdn.jsdelivr.net/npm/kore-web-sdk@11.10.1/dist/umd/kore-web-sdk-umd-chat.min.js"></script>
75
75
  <script>
76
76
  //chat window declaration
77
77
  var chatConfig=KoreChatSDK.chatConfig;
@@ -64,6 +64,14 @@ declare class chatWindow extends EventEmitter {
64
64
  * @property {Object} chatWindowEvent
65
65
  */
66
66
  AFTER_RENDER_MSG: string;
67
+ /** beforeWSConnection will be triggered before web socket connection is established
68
+ *
69
+ * @event chatWindow#beforeWSConnection
70
+ * @type {object}
71
+ * @property {Object} data - contains web socket url
72
+ * @property {Object} isImplicitReconnect - flag whether the connection is implicit reconnection or not
73
+ */
74
+ BEFORE_WS_CONNECTION: string;
67
75
  /**
68
76
  * onWSOpen will be triggered on new websocket connection open
69
77
  *
@@ -164,7 +172,7 @@ declare class chatWindow extends EventEmitter {
164
172
  seti18n(lang: any): void;
165
173
  updatei18nDirection(): void;
166
174
  destroy(): void;
167
- resetWindow(): void;
175
+ resetWindow(data?: any): void;
168
176
  sendMessageWithWithChatInput(chatInput: any): void;
169
177
  bindEvents(): void;
170
178
  bindEventsV3(): void;