@embedpdf/pdfium 2.1.2 → 2.2.0

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
@@ -4,10 +4,15 @@ export declare const functions: {
4
4
  readonly EPDF_GetMetaTrapped: readonly [readonly ["number"], "number"];
5
5
  readonly EPDF_GetPageRotationByIndex: readonly [readonly ["number", "number"], "number"];
6
6
  readonly EPDF_HasMetaText: readonly [readonly ["number", "string"], "boolean"];
7
+ readonly EPDF_IsEncrypted: readonly [readonly ["number"], "boolean"];
8
+ readonly EPDF_IsOwnerUnlocked: readonly [readonly ["number"], "boolean"];
7
9
  readonly EPDF_PNG_EncodeRGBA: readonly [readonly ["number", "number", "number", "number", "number", "number"], "number"];
10
+ readonly EPDF_RemoveEncryption: readonly [readonly ["number"], "boolean"];
8
11
  readonly EPDF_RenderAnnotBitmap: readonly [readonly ["number", "number", "number", "number", "number", "number"], "boolean"];
12
+ readonly EPDF_SetEncryption: readonly [readonly ["number", "string", "string", "number"], "boolean"];
9
13
  readonly EPDF_SetMetaText: readonly [readonly ["number", "string", "number"], "boolean"];
10
14
  readonly EPDF_SetMetaTrapped: readonly [readonly ["number", "number"], "boolean"];
15
+ readonly EPDF_UnlockOwnerPermissions: readonly [readonly ["number", "string"], "boolean"];
11
16
  readonly EPDFAction_CreateGoTo: readonly [readonly ["number", "number"], "number"];
12
17
  readonly EPDFAction_CreateGoToNamed: readonly [readonly ["number", "string"], "number"];
13
18
  readonly EPDFAction_CreateLaunch: readonly [readonly ["number", "number"], "number"];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@embedpdf/pdfium",
3
- "version": "2.1.2",
3
+ "version": "2.2.0",
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",