@blocklet/discuss-kit-ux 1.6.255 → 1.6.256

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.
@@ -4,7 +4,7 @@ import { OnContentChangePlugin } from "@blocklet/editor/lib/ext/OnContentChangeP
4
4
  import { CtrlsShortcutPlugin } from "@blocklet/editor/lib/ext/ShortcutPlugin";
5
5
  import { SafeAreaPlugin } from "@blocklet/editor/lib/ext/SafeAreaPlugin";
6
6
  import { lazy } from "react";
7
- import { i as inferInitialEditorState, I as ImagePathFixerPlugin, V as VideoPathFixerPlugin, a as isEmptyContent, s as stringify, g as getExcerptSync } from "./index-DxtzXjYS.mjs";
7
+ import { i as inferInitialEditorState, I as ImagePathFixerPlugin, V as VideoPathFixerPlugin, a as isEmptyContent, s as stringify, g as getExcerptSync } from "./index-CzK57e8k.mjs";
8
8
  const BlockletEditor = lazy(() => import("@blocklet/editor"));
9
9
  const Root = styled(Box)`
10
10
  .be-editable,
@@ -3947,7 +3947,7 @@ const useChatInWallet = () => {
3947
3947
  navigate("/chat-in-wallet");
3948
3948
  };
3949
3949
  const updateUnreadState = useCallback((unread) => {
3950
- bridge.call("updateUnreadState", { unread });
3950
+ bridge.call("updateUnreadState", { unread, appId: window.blocklet.appId });
3951
3951
  }, []);
3952
3952
  return { navigateToChat, navigateToChatList, isChatInWalletV2, updateUnreadState };
3953
3953
  };
@@ -5612,7 +5612,7 @@ function Pagination({
5612
5612
  }
5613
5613
  );
5614
5614
  }
5615
- const Editor = lazy(() => import("./editor-DHGKk8sm.mjs"));
5615
+ const Editor = lazy(() => import("./editor-o1MMShzH.mjs"));
5616
5616
  function LazyEditor(props) {
5617
5617
  const fallback2 = /* @__PURE__ */ jsxs(Box, { sx: { px: 3 }, children: [
5618
5618
  /* @__PURE__ */ jsx(Skeleton, {}),
package/dist/index.es.js CHANGED
@@ -1,5 +1,5 @@
1
1
  export * from "@blocklet/labels";
2
- import { T, n, W, A, m, ad, B, F, K, J, L, ap, Y, X, $, Z, _, a1, w, C, x, y, E, a5, a6, ah, a8, O, Q, ac, D, ag, af, H, G, b, k, ae, M, P, ao, v, q, R, S, a9, aq, o, a2, a4, ai, al, ak, am, ar, N, as, l, f, p, r, j, t, h, aa, U, c, a0, z, a7, ab, u, an, d, at, a3, aj, e } from "./index-DxtzXjYS.mjs";
2
+ import { T, n, W, A, m, ad, B, F, K, J, L, ap, Y, X, $, Z, _, a1, w, C, x, y, E, a5, a6, ah, a8, O, Q, ac, D, ag, af, H, G, b, k, ae, M, P, ao, v, q, R, S, a9, aq, o, a2, a4, ai, al, ak, am, ar, N, as, l, f, p, r, j, t, h, aa, U, c, a0, z, a7, ab, u, an, d, at, a3, aj, e } from "./index-CzK57e8k.mjs";
3
3
  import "react/jsx-runtime";
4
4
  import "react";
5
5
  import "@mui/material/Box";
package/dist/index.umd.js CHANGED
@@ -3876,7 +3876,7 @@ var __publicField = (obj, key, value) => {
3876
3876
  navigate("/chat-in-wallet");
3877
3877
  };
3878
3878
  const updateUnreadState = react.useCallback((unread) => {
3879
- bridge.call("updateUnreadState", { unread });
3879
+ bridge.call("updateUnreadState", { unread, appId: window.blocklet.appId });
3880
3880
  }, []);
3881
3881
  return { navigateToChat, navigateToChatList, isChatInWalletV2, updateUnreadState };
3882
3882
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blocklet/discuss-kit-ux",
3
- "version": "1.6.255",
3
+ "version": "1.6.256",
4
4
  "files": [
5
5
  "dist"
6
6
  ],
@@ -31,8 +31,8 @@
31
31
  "@arcblock/bridge": "^2.9.77",
32
32
  "@arcblock/react-hooks": "^2.9.80",
33
33
  "@arcblock/ws": "^1.18.116",
34
- "@blocklet/editor": "1.6.255",
35
- "@blocklet/labels": "1.6.255",
34
+ "@blocklet/editor": "1.6.256",
35
+ "@blocklet/labels": "1.6.256",
36
36
  "@blocklet/uploader": "^0.1.2",
37
37
  "@emotion/css": "^11.10.5",
38
38
  "@emotion/react": "^11.10.5",
@@ -99,5 +99,5 @@
99
99
  "resolutions": {
100
100
  "react": "^18.2.0"
101
101
  },
102
- "gitHead": "d2ad8483aa61c840a8f8c25d9615d821fdaf7330"
102
+ "gitHead": "4facfc228b66e7e2b783fd75d5e3d2d8e53b117b"
103
103
  }