@baishuyun/chat-sdk 0.1.2 → 0.1.4

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/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @baishuyun/chat-sdk
2
2
 
3
+ ## 0.1.4
4
+
5
+ ### Patch Changes
6
+
7
+ - fix attachment
8
+
9
+ ## 0.1.3
10
+
11
+ ### Patch Changes
12
+
13
+ - fix close error
14
+
3
15
  ## 0.1.2
4
16
 
5
17
  ### Patch Changes
package/dist/chat-sdk.js CHANGED
@@ -45553,7 +45553,15 @@ function lne({
45553
45553
  }
45554
45554
  },
45555
45555
  [f, ge]
45556
- ), Ae = (he = (J = Ep()) == null ? void 0 : J.acceptAttachmentFileType) == null ? void 0 : he.join(","), xe = !!Ae;
45556
+ ), Ae = (he = ((J = Ep()) == null ? void 0 : J.acceptAttachmentFileType) || [
45557
+ ".csv",
45558
+ "text/csv",
45559
+ "text/plain",
45560
+ ".txt",
45561
+ "image/*",
45562
+ ".xls",
45563
+ ".xlsx"
45564
+ ]) == null ? void 0 : he.join(","), xe = !!Ae;
45557
45565
  return A.useEffect(() => {
45558
45566
  const V = C.current;
45559
45567
  if (V)
@@ -51383,6 +51391,9 @@ function $oe({
51383
51391
  {
51384
51392
  type: "button",
51385
51393
  className: "text-[14px] text-[#0265ff] hover:text-[#0265ff]/80 bg-transparent border-none cursor-pointer",
51394
+ onClick: u || (() => {
51395
+ console.log("Link clicked"), t == null || t(!1);
51396
+ }),
51386
51397
  children: s
51387
51398
  }
51388
51399
  ) : /* @__PURE__ */ b.jsx("div", {}),