@lvce-editor/renderer-process 30.82.0 → 30.82.1

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.
@@ -2743,6 +2743,13 @@ const unwrapItemFile = async item => {
2743
2743
  const nativeFile = item.getAsFile();
2744
2744
  // @ts-ignore
2745
2745
  const fileHandle = await item.getAsFileSystemHandle();
2746
+ if (!fileHandle) {
2747
+ return {
2748
+ kind: 'file-legacy',
2749
+ type: item.type,
2750
+ value: nativeFile
2751
+ };
2752
+ }
2746
2753
  return {
2747
2754
  file: nativeFile,
2748
2755
  kind: 'file',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/renderer-process",
3
- "version": "30.82.0",
3
+ "version": "30.82.1",
4
4
  "keywords": [
5
5
  "lvce-editor",
6
6
  "renderer-process"