wasm-html-to-image 1.0.7 → 1.0.9

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.
Binary file
package/dist/loader.d.ts CHANGED
@@ -44,6 +44,8 @@ export interface HtmlToImageModule {
44
44
  /** Image-input svg/pdf wrappers (registered; probed at runtime). */
45
45
  converter_encode_svg?(inst: WasmInstancePtr): string | Promise<string>;
46
46
  converter_encode_pdf?(inst: WasmInstancePtr): unknown;
47
+ /** Same as `converter_encode_pdf`, rewritten to DeviceCMYK. */
48
+ converter_encode_pdf_cmyk?(inst: WasmInstancePtr): unknown;
47
49
  /** Converter metadata getters */
48
50
  converter_get_original_width?(inst: WasmInstancePtr): number;
49
51
  converter_get_original_height?(inst: WasmInstancePtr): number;