@lvce-editor/editor-worker 19.68.1 → 19.68.2

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.
@@ -11748,6 +11748,9 @@ const writeClipboardImage = async (editor, blob) => {
11748
11748
  for (let index = 0; index < 1000; index++) {
11749
11749
  const fileName = index === 0 ? `image.${extension}` : `image-${index}.${extension}`;
11750
11750
  const uri = getImageUri(editor.uri, fileName);
11751
+ if (await invoke$9(editor.applicationId, 'FileSystem.exists', uri)) {
11752
+ continue;
11753
+ }
11751
11754
  try {
11752
11755
  await invoke$9(editor.applicationId, 'FileSystem.createFile', uri);
11753
11756
  } catch (error) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/editor-worker",
3
- "version": "19.68.1",
3
+ "version": "19.68.2",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git@github.com:lvce-editor/editor-worker.git"