ninegrid2 6.459.0 → 6.460.0

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.
@@ -236,6 +236,11 @@ class aiChat extends HTMLElement
236
236
 
237
237
 
238
238
  add = (sender, message, info, data, unique) => {
239
+
240
+ if (unique && !Array.isArray(unique)) {
241
+ unique = unique.split(",");
242
+ }
243
+
239
244
  const target = this.shadowRoot.querySelector(".chat-body");
240
245
 
241
246
  //console.log(data);
@@ -27661,6 +27661,11 @@ class aiChat extends HTMLElement
27661
27661
 
27662
27662
 
27663
27663
  add = (sender, message, info, data, unique) => {
27664
+
27665
+ if (unique && !Array.isArray(unique)) {
27666
+ unique = unique.split(",");
27667
+ }
27668
+
27664
27669
  const target = this.shadowRoot.querySelector(".chat-body");
27665
27670
 
27666
27671
  //console.log(data);
@@ -27659,6 +27659,11 @@ class aiChat extends HTMLElement
27659
27659
 
27660
27660
 
27661
27661
  add = (sender, message, info, data, unique) => {
27662
+
27663
+ if (unique && !Array.isArray(unique)) {
27664
+ unique = unique.split(",");
27665
+ }
27666
+
27662
27667
  const target = this.shadowRoot.querySelector(".chat-body");
27663
27668
 
27664
27669
  //console.log(data);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ninegrid2",
3
3
  "type": "module",
4
- "version": "6.459.0",
4
+ "version": "6.460.0",
5
5
  "main": "dist/index.js",
6
6
  "exports": {
7
7
  "import": "./dist/index.js",
@@ -236,6 +236,11 @@ class aiChat extends HTMLElement
236
236
 
237
237
 
238
238
  add = (sender, message, info, data, unique) => {
239
+
240
+ if (unique && !Array.isArray(unique)) {
241
+ unique = unique.split(",");
242
+ }
243
+
239
244
  const target = this.shadowRoot.querySelector(".chat-body");
240
245
 
241
246
  //console.log(data);