@dwelle/excalidraw 0.3.61 → 0.3.62

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dwelle/excalidraw",
3
- "version": "0.3.61",
3
+ "version": "0.3.62",
4
4
  "main": "main.js",
5
5
  "types": "types/packages/excalidraw/index.d.ts",
6
6
  "files": [
@@ -79,7 +79,9 @@ export declare const MIME_TYPES: {
79
79
  readonly excalidrawlib: "application/vnd.excalidrawlib+json";
80
80
  readonly json: "application/json";
81
81
  readonly svg: "image/svg+xml";
82
+ readonly "excalidraw.svg": "image/svg+xml";
82
83
  readonly png: "image/png";
84
+ readonly "excalidraw.png": "image/png";
83
85
  readonly jpg: "image/jpeg";
84
86
  readonly gif: "image/gif";
85
87
  readonly binary: "application/octet-stream";
@@ -1,5 +1,5 @@
1
1
  import { FileWithHandle, FileSystemHandle, supported as nativeFileSystemSupported } from "browser-fs-access";
2
- declare type FILE_EXTENSION = "gif" | "jpg" | "png" | "svg" | "json" | "excalidraw" | "excalidrawlib";
2
+ declare type FILE_EXTENSION = "gif" | "jpg" | "png" | "excalidraw.png" | "svg" | "excalidraw.svg" | "json" | "excalidraw" | "excalidrawlib";
3
3
  export declare const fileOpen: <M extends boolean | undefined = false>(opts: {
4
4
  extensions?: FILE_EXTENSION[] | undefined;
5
5
  description: string;