@myoc/element 0.19.530 → 0.19.532

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.
@@ -10,6 +10,13 @@ export declare class ImageSceneDataError extends Error {
10
10
  code: ImageSceneDataErrorCode;
11
11
  constructor(message?: string, code?: ImageSceneDataErrorCode);
12
12
  }
13
+ export type UnsupportedImageFileTypeErrorCode = "UNSUPPORTED_IMAGE_FILE_TYPE";
14
+ export declare class UnsupportedImageFileTypeError extends Error {
15
+ readonly code: UnsupportedImageFileTypeErrorCode;
16
+ readonly fileName: string;
17
+ readonly mimeType: string;
18
+ constructor(file: File, message: string);
19
+ }
13
20
  type WorkerErrorCodes = "WORKER_URL_NOT_DEFINED" | "WORKER_IN_THE_MAIN_CHUNK";
14
21
  export declare class WorkerUrlNotDefinedError extends Error {
15
22
  code: WorkerErrorCodes;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@myoc/element",
3
- "version": "0.19.530",
3
+ "version": "0.19.532",
4
4
  "type": "module",
5
5
  "types": "./dist/types/element/src/index.d.ts",
6
6
  "main": "./dist/prod/index.js",
@@ -64,9 +64,9 @@
64
64
  "build:esm": "rimraf dist && node ../../scripts/buildBase.js && yarn gen:types"
65
65
  },
66
66
  "dependencies": {
67
- "@excalidraw/common": "npm:@myoc/common@0.19.530",
68
- "@excalidraw/fractional-indexing": "npm:@myoc/fractional-indexing@0.19.530",
69
- "@excalidraw/math": "npm:@myoc/math@0.19.530",
67
+ "@excalidraw/common": "npm:@myoc/common@0.19.532",
68
+ "@excalidraw/fractional-indexing": "npm:@myoc/fractional-indexing@0.19.532",
69
+ "@excalidraw/math": "npm:@myoc/math@0.19.532",
70
70
  "thumbhash": "0.1.1"
71
71
  }
72
72
  }