@embedpdf/pdfium 1.0.10 → 1.0.12

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/dist/pdfium.wasm CHANGED
Binary file
@@ -1,14 +1,19 @@
1
1
  export declare const functions: {
2
2
  readonly EPDF_RenderAnnotBitmap: readonly [readonly ["number", "number", "number", "number", "number", "number"], "boolean"];
3
3
  readonly EPDFAnnot_GenerateAppearance: readonly [readonly ["number"], "boolean"];
4
+ readonly EPDFAnnot_GenerateAppearanceWithBlend: readonly [readonly ["number", "number"], "boolean"];
5
+ readonly EPDFAnnot_GetBlendMode: readonly [readonly ["number"], "number"];
4
6
  readonly EPDFAnnot_GetBorderDashPattern: readonly [readonly ["number", "number", "number"], "boolean"];
5
7
  readonly EPDFAnnot_GetBorderDashPatternCount: readonly [readonly ["number"], "number"];
6
8
  readonly EPDFAnnot_GetBorderEffect: readonly [readonly ["number", "number"], "boolean"];
7
9
  readonly EPDFAnnot_GetBorderStyle: readonly [readonly ["number", "number"], "number"];
8
10
  readonly EPDFAnnot_GetColor: readonly [readonly ["number", "number", "number", "number", "number", "number"], "boolean"];
11
+ readonly EPDFAnnot_GetIntent: readonly [readonly ["number", "number", "number"], "number"];
9
12
  readonly EPDFAnnot_GetRectangleDifferences: readonly [readonly ["number", "number", "number", "number", "number"], "boolean"];
13
+ readonly EPDFAnnot_GetRichContent: readonly [readonly ["number", "number", "number"], "number"];
10
14
  readonly EPDFAnnot_SetBorderStyle: readonly [readonly ["number", "number", "number"], "boolean"];
11
15
  readonly EPDFAnnot_SetColor: readonly [readonly ["number", "number", "number", "number", "number", "number"], "boolean"];
16
+ readonly EPDFAnnot_SetIntent: readonly [readonly ["number", "string"], "boolean"];
12
17
  readonly FORM_CanRedo: readonly [readonly ["number", "number"], "boolean"];
13
18
  readonly FORM_CanUndo: readonly [readonly ["number", "number"], "boolean"];
14
19
  readonly FORM_DoDocumentAAction: readonly [readonly ["number", "number"], null];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@embedpdf/pdfium",
3
- "version": "1.0.10",
3
+ "version": "1.0.12",
4
4
  "private": false,
5
5
  "description": "PDFium WebAssembly for the web platform. This package provides a powerful JavaScript interface to PDFium, enabling high-quality PDF rendering and manipulation directly in web applications.",
6
6
  "type": "module",
@@ -68,10 +68,9 @@
68
68
  "build:watch": "rollup -c -w",
69
69
  "wasm:dev": "docker compose up --build pdfium-dev",
70
70
  "wasm:build": "docker compose run --rm pdfium-build",
71
- "clean": "PROJECT_CWD=$(pwd) pnpm -w p:clean",
72
- "lint": "PROJECT_CWD=$(pwd) pnpm -w p:lint",
73
- "lint:fix": "PROJECT_CWD=$(pwd) pnpm -w p:lint:fix",
74
- "typecheck": "PROJECT_CWD=$(pwd) pnpm -w p:typecheck",
71
+ "clean": "rimraf dist",
72
+ "lint": "eslint src --color",
73
+ "lint:fix": "eslint src --color --fix",
75
74
  "prewasm": "node ./scripts/generate-exported-functions.js && node ./scripts/generate-exported-runtime-methods.js",
76
75
  "wasm": "make build && pnpm run wasm:copy",
77
76
  "wasm:copy": "cpy \"./docker/dist/{pdfium.cjs,pdfium.js,pdfium.wasm,functions.ts,runtime-methods.ts}\" ./src/vendor --flat",