kore-web-sdk 11.21.0 → 11.21.1

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.21.0/dist/umd/kore-web-sdk-umd-chat.min.js"></script>
74
+ <script src="https://cdn.jsdelivr.net/npm/kore-web-sdk@11.21.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;
@@ -143,15 +143,25 @@ Other framework UI components like angular and react can also be injected with t
143
143
 
144
144
  ## 💡 Plugins
145
145
 
146
- Kore's chatwindow functionlity can be extended with the help of plugins.Newly created plugins can be installed with *installPlugin* method
146
+ Kore's chatwindow functionlity can be extended with the help of plugins. Newly created plugins can be installed with *installPlugin* method
147
147
 
148
148
  ```bash
149
- class KoreCustomPlugin{
149
+ class KoreCustomPlugin {
150
150
 
151
151
  }
152
152
 
153
153
  chatWindowInstance.installPlugin(new KoreCustomPlugin());
154
154
  ```
155
+
156
+ Kore plugins can be installed as shown below.
157
+
158
+ ```bash
159
+
160
+ import { AnswersTemplatesPlugin } from 'kore-web-sdk';
161
+
162
+ chatWindowInstance.installPlugin(new AnswersTemplatesPlugin());
163
+ ```
164
+
155
165
  Kore offered plugins are listed [here](./docs/plugins)
156
166
 
157
167
 
@@ -150,7 +150,6 @@ declare class chatWindow extends EventEmitter {
150
150
  constructor();
151
151
  paginatedScrollMsgDiv: any;
152
152
  init(config: any): void;
153
- installDefaultPlugins(): void;
154
153
  installCallbackForPlugins(): void;
155
154
  show(config: any): false | undefined;
156
155
  initShow(config: any): void;