@zsviczian/excalidraw
Advanced tools
Comparing version 0.9.0-obsidian-12 to 0.9.0-obsidian-13
{ | ||
"name": "@zsviczian/excalidraw", | ||
"version": "0.9.0-obsidian-12", | ||
"version": "0.9.0-obsidian-13", | ||
"main": "main.js", | ||
@@ -5,0 +5,0 @@ "types": "types/packages/excalidraw/index.d.ts", |
@@ -5,6 +5,6 @@ export declare const IV_LENGTH_BYTES = 12; | ||
export declare const getImportedKey: (key: string, usage: KeyUsage) => Promise<CryptoKey>; | ||
export declare const encryptData: (key: string, data: Uint8Array | Blob | File | string) => Promise<{ | ||
export declare const encryptData: (key: string, data: Uint8Array | ArrayBuffer | Blob | File | string) => Promise<{ | ||
encryptedBuffer: ArrayBuffer; | ||
iv: Uint8Array; | ||
}>; | ||
export declare const decryptData: (iv: ArrayBuffer, encrypted: ArrayBuffer, privateKey: string) => Promise<ArrayBuffer>; | ||
export declare const decryptData: (iv: Uint8Array, encrypted: Uint8Array | ArrayBuffer, privateKey: string) => Promise<ArrayBuffer>; |
@@ -1,13 +0,13 @@ | ||
import { AppState } from "../types"; | ||
import { ExcalidrawElement, ImageId, InitializedExcalidrawImageElement } from "./types"; | ||
import { AppClassProperties, AppState } from "../types"; | ||
import { ExcalidrawElement, FileId, InitializedExcalidrawImageElement } from "./types"; | ||
/** NOTE: updates cache even if already populated with given image. Thus, | ||
* you should filter out the images upstream if you want to optimize this. */ | ||
export declare const updateImageCache: ({ imageElements, files, imageCache, }: { | ||
imageElements: readonly InitializedExcalidrawImageElement[]; | ||
export declare const updateImageCache: ({ fileIds, files, imageCache, }: { | ||
fileIds: FileId[]; | ||
files: AppState["files"]; | ||
imageCache: Map<ImageId, HTMLImageElement>; | ||
imageCache: AppClassProperties["imageCache"]; | ||
}) => Promise<{ | ||
imageCache: Map<ImageId, HTMLImageElement>; | ||
didUpdate: boolean; | ||
imageCache: Map<FileId, HTMLImageElement | Promise<HTMLImageElement>>; | ||
updatedFiles: Map<FileId, true>; | ||
}>; | ||
export declare const getInitializedImageElements: (elements: readonly ExcalidrawElement[]) => InitializedExcalidrawImageElement[]; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
8447654
514
13800
0