@pdfluent/sdk-wasm 1.0.0-beta.17 → 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/LICENSE CHANGED
@@ -19,6 +19,13 @@ those crates are NOT governed by this License and may be used under their
19
19
  respective open-source terms. See the NOTICE file for the list of crates
20
20
  covered by each license.
21
21
 
22
+ Note: this License is separate from the license for the PDFluent desktop
23
+ editor application. A license to use the PDFluent editor, including a free
24
+ one, does not grant any rights under this License. If you are embedding,
25
+ linking against, or programmatically calling the Software described below,
26
+ this License applies regardless of whether you also use the editor. See
27
+ https://pdfluent.com/sdk/pricing for SDK licensing options.
28
+
22
29
  ----------------------------------------------------------------------------
23
30
 
24
31
  1. DEFINITIONS
package/README.md CHANGED
@@ -320,3 +320,10 @@ const merged = doc.merge(otherBytes); // single op, one-shot
320
320
 
321
321
  Wave 2 added 13 new methods for ~0.2 MB of binary growth. Well under the
322
322
  15 MB hard limit and well under the 5 MB gzipped soft target.
323
+
324
+ ## Links
325
+
326
+ - **Documentation:** <https://pdfluent.com/docs>
327
+ - **Pricing:** <https://pdfluent.com/pricing>
328
+ - **PDFluent editor** (source-available): <https://github.com/pdfluent/pdfluent>. The free desktop app this SDK powers.
329
+ - Built by [Innovation Trigger BV](https://pdfluent.com)
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",
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,6 +27,8 @@
23
27
  "browser",
24
28
  "sdk",
25
29
  "xfa",
30
+ "acroform",
31
+ "pades",
26
32
  "forms",
27
33
  "annotate",
28
34
  "redact"
@@ -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
+ }
@@ -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
+ }
@@ -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