@pdfluent/sdk-wasm 1.0.0-beta.17.1 → 1.0.0-beta.17.2

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
@@ -2,8 +2,12 @@
2
2
  "name": "@pdfluent/sdk-wasm",
3
3
  "type": "module",
4
4
  "description": "PDFluent browser SDK — read, edit, annotate, redact, sign, and validate PDFs (including XFA) entirely client-side via WASM.",
5
- "version": "1.0.0-beta.17.1",
5
+ "version": "1.0.0-beta.17.2",
6
6
  "license": "SEE LICENSE IN LICENSE",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "https://github.com/pdfluent/pdfluent"
10
+ },
7
11
  "files": [
8
12
  "xfa_wasm_bg.wasm",
9
13
  "xfa_wasm.js",
@@ -23,14 +27,12 @@
23
27
  "browser",
24
28
  "sdk",
25
29
  "xfa",
30
+ "acroform",
31
+ "pades",
26
32
  "forms",
27
33
  "annotate",
28
34
  "redact"
29
35
  ],
30
36
  "homepage": "https://pdfluent.com",
31
- "author": "Innovation Trigger BV <team@pdfluent.com>",
32
- "repository": {
33
- "type": "git",
34
- "url": "https://github.com/pdfluent/pdfluent"
35
- }
37
+ "author": "Innovation Trigger BV <team@pdfluent.com>"
36
38
  }
@@ -0,0 +1,19 @@
1
+
2
+ export function __pdfluent_error_ctor() {
3
+ if (globalThis.__PdfluentError) {
4
+ return globalThis.__PdfluentError;
5
+ }
6
+ class PdfluentError extends Error {
7
+ constructor(message, code, operation, help, docsUrl, legacyCode) {
8
+ super(message);
9
+ this.name = "PdfluentError";
10
+ this.code = code;
11
+ this.operation = operation;
12
+ this.help = help;
13
+ this.docsUrl = docsUrl;
14
+ this.legacyCode = legacyCode;
15
+ }
16
+ }
17
+ globalThis.__PdfluentError = PdfluentError;
18
+ return PdfluentError;
19
+ }
package/xfa_wasm.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /* @ts-self-types="./xfa_wasm.d.ts" */
2
- import { __pdfluent_error_ctor } from './snippets/xfa-wasm-24036f6340bfe813/inline0.js';
2
+ import { __pdfluent_error_ctor } from './snippets/xfa-wasm-fee712eeb752192d/inline0.js';
3
3
 
4
4
 
5
5
  /**
@@ -1992,7 +1992,7 @@ export function setLicensePublicKey(public_key) {
1992
1992
  function __wbg_get_imports() {
1993
1993
  const import0 = {
1994
1994
  __proto__: null,
1995
- __wbg___pdfluent_error_ctor_d5ec563386e2f105: function() {
1995
+ __wbg___pdfluent_error_ctor_7f2eb55a5d661010: function() {
1996
1996
  const ret = __pdfluent_error_ctor();
1997
1997
  return addHeapObject(ret);
1998
1998
  },
package/xfa_wasm_bg.wasm CHANGED
Binary file