@pdfluent/sdk-wasm 1.0.0-beta.17.4 → 1.0.0-beta.17.5
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,7 +2,7 @@
|
|
|
2
2
|
"name": "@pdfluent/sdk-wasm",
|
|
3
3
|
"type": "module",
|
|
4
4
|
"description": "PDFluent browser SDK — find and replace PDF text programmatically while preserving fonts and layout, plus 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.5",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE",
|
|
7
7
|
"files": [
|
|
8
8
|
"xfa_wasm_bg.wasm",
|
|
@@ -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-
|
|
2
|
+
import { __pdfluent_error_ctor } from './snippets/xfa-wasm-1b4411ed25cdb886/inline0.js';
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -2201,7 +2201,7 @@ export function setLicensePublicKey(public_key) {
|
|
|
2201
2201
|
function __wbg_get_imports() {
|
|
2202
2202
|
const import0 = {
|
|
2203
2203
|
__proto__: null,
|
|
2204
|
-
|
|
2204
|
+
__wbg___pdfluent_error_ctor_3296630b1bbf82e1: function() {
|
|
2205
2205
|
const ret = __pdfluent_error_ctor();
|
|
2206
2206
|
return addHeapObject(ret);
|
|
2207
2207
|
},
|
|
@@ -2293,6 +2293,10 @@ function __wbg_get_imports() {
|
|
|
2293
2293
|
const ret = new ImageData(getClampedArrayU8FromWasm0(arg0, arg1), arg2 >>> 0, arg3 >>> 0);
|
|
2294
2294
|
return addHeapObject(ret);
|
|
2295
2295
|
}, arguments); },
|
|
2296
|
+
__wbg_now_81363d44c96dd239: function() {
|
|
2297
|
+
const ret = Date.now();
|
|
2298
|
+
return ret;
|
|
2299
|
+
},
|
|
2296
2300
|
__wbg_push_b77c476b01548d0a: function(arg0, arg1) {
|
|
2297
2301
|
const ret = getObject(arg0).push(getObject(arg1));
|
|
2298
2302
|
return ret;
|
package/xfa_wasm_bg.wasm
CHANGED
|
Binary file
|