@lvce-editor/chat-view 4.0.0 → 4.1.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.
@@ -1138,6 +1138,9 @@ const getPreference = async key => {
1138
1138
  const openExternal = async uri => {
1139
1139
  await invoke('Open.openExternal', uri);
1140
1140
  };
1141
+ const measureTextBlockHeight$1 = async (actualInput, fontFamily, fontSize, lineHeightPx, width) => {
1142
+ return invoke(`MeasureTextHeight.measureTextBlockHeight`, actualInput, fontFamily, fontSize, lineHeightPx, width);
1143
+ };
1141
1144
 
1142
1145
  const toCommandId = key => {
1143
1146
  const dotIndex = key.indexOf('.');
@@ -1260,7 +1263,7 @@ const terminate = () => {
1260
1263
  };
1261
1264
 
1262
1265
  const measureTextBlockHeight = async (text, fontFamily, fontSize, lineHeight, width) => {
1263
- return invoke('MeasureTextBlockHeight.measureTextBlockHeight', text, fontSize, fontFamily, lineHeight, width);
1266
+ return measureTextBlockHeight$1(text, fontFamily, fontSize, lineHeight, width);
1264
1267
  };
1265
1268
 
1266
1269
  const getComposerWidth = width => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/chat-view",
3
- "version": "4.0.0",
3
+ "version": "4.1.0",
4
4
  "description": "Chat View Worker",
5
5
  "repository": {
6
6
  "type": "git",