@open-artifact/wasm-export 0.14.0 → 0.14.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-artifact/wasm-export",
3
- "version": "0.14.0",
3
+ "version": "0.14.1",
4
4
  "description": "crates/open-artifact-export compiled to WebAssembly (generated/, built by scripts/build-wasm.mjs).",
5
5
  "type": "module",
6
6
  "exports": {
package/src/index.d.ts CHANGED
@@ -12,8 +12,8 @@
12
12
  * Data may be given as bytes, text or Blobs; Blobs travel to the Worker by
13
13
  * reference and are read there, so the page never copies a picture.
14
14
  */
15
- import type { PdfOptions, PdfPage, PngOptions, Progress, ZipEntry, ZipOptions } from './types.ts';
16
- export type { ExportBytes, PdfLink, PdfOptions, PdfPage, PdfTextRun, PngOptions, Progress, ZipEntry, ZipOptions } from './types.ts';
15
+ import type { PdfOptions, PdfPage, PngOptions, Progress, ZipEntry, ZipOptions } from './types.js';
16
+ export type { ExportBytes, PdfLink, PdfOptions, PdfPage, PdfTextRun, PngOptions, Progress, ZipEntry, ZipOptions } from './types.js';
17
17
  /** CSS pixels to points (96 px = 72 pt, as browsers print). */
18
18
  export declare const PT_PER_PX = 0.75;
19
19
  /** Where jobs run: in a Worker, or in-thread (no Workers here, or the Worker failed to start). */
package/src/run.d.ts CHANGED
@@ -7,7 +7,7 @@
7
7
  * wherever this runs.
8
8
  */
9
9
  import * as glue from '../generated/open_artifact_export.js';
10
- import type { Job, Progress } from './types.ts';
10
+ import type { Job, Progress } from './types.js';
11
11
  /** The module's exports, instantiating it on the first call. */
12
12
  export declare function exportModule(): Omit<typeof glue, 'default' | 'initSync'>;
13
13
  /** Runs a job, reporting progress as entries or pages are packed. */