pdf-oxide-wasm 0.3.59 → 0.3.60
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/bundler/pdf_oxide_bg.js +95 -95
- package/bundler/pdf_oxide_bg.wasm +0 -0
- package/bundler/pdf_oxide_bg.wasm.d.ts +17 -17
- package/nodejs/pdf_oxide.js +95 -95
- package/nodejs/pdf_oxide_bg.wasm +0 -0
- package/nodejs/pdf_oxide_bg.wasm.d.ts +17 -17
- package/package.json +1 -1
- package/web/pdf_oxide.d.ts +17 -17
- package/web/pdf_oxide.js +95 -95
- package/web/pdf_oxide_bg.wasm +0 -0
- package/web/pdf_oxide_bg.wasm.d.ts +17 -17
package/nodejs/pdf_oxide.js
CHANGED
|
@@ -48,7 +48,7 @@ class ArtifactStyle {
|
|
|
48
48
|
*/
|
|
49
49
|
bold() {
|
|
50
50
|
const ptr = this.__destroy_into_raw();
|
|
51
|
-
const ret = wasm.
|
|
51
|
+
const ret = wasm.artifactstyle_bold(ptr);
|
|
52
52
|
return ArtifactStyle.__wrap(ret);
|
|
53
53
|
}
|
|
54
54
|
/**
|
|
@@ -60,7 +60,7 @@ class ArtifactStyle {
|
|
|
60
60
|
*/
|
|
61
61
|
color(r, g, b) {
|
|
62
62
|
const ptr = this.__destroy_into_raw();
|
|
63
|
-
const ret = wasm.
|
|
63
|
+
const ret = wasm.artifactstyle_color(ptr, r, g, b);
|
|
64
64
|
return ArtifactStyle.__wrap(ret);
|
|
65
65
|
}
|
|
66
66
|
/**
|
|
@@ -73,14 +73,14 @@ class ArtifactStyle {
|
|
|
73
73
|
const ptr = this.__destroy_into_raw();
|
|
74
74
|
const ptr0 = passStringToWasm0(name, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
75
75
|
const len0 = WASM_VECTOR_LEN;
|
|
76
|
-
const ret = wasm.
|
|
76
|
+
const ret = wasm.artifactstyle_font(ptr, ptr0, len0, size);
|
|
77
77
|
return ArtifactStyle.__wrap(ret);
|
|
78
78
|
}
|
|
79
79
|
/**
|
|
80
80
|
* Create a new artifact style.
|
|
81
81
|
*/
|
|
82
82
|
constructor() {
|
|
83
|
-
const ret = wasm.
|
|
83
|
+
const ret = wasm.artifactstyle_new();
|
|
84
84
|
this.__wbg_ptr = ret;
|
|
85
85
|
ArtifactStyleFinalization.register(this, this.__wbg_ptr, this);
|
|
86
86
|
return this;
|
|
@@ -116,7 +116,7 @@ class Dss {
|
|
|
116
116
|
* @returns {number}
|
|
117
117
|
*/
|
|
118
118
|
get certCount() {
|
|
119
|
-
const ret = wasm.
|
|
119
|
+
const ret = wasm.dss_certCount(this.__wbg_ptr);
|
|
120
120
|
return ret >>> 0;
|
|
121
121
|
}
|
|
122
122
|
/**
|
|
@@ -124,7 +124,7 @@ class Dss {
|
|
|
124
124
|
* @returns {number}
|
|
125
125
|
*/
|
|
126
126
|
get crlCount() {
|
|
127
|
-
const ret = wasm.
|
|
127
|
+
const ret = wasm.dss_crlCount(this.__wbg_ptr);
|
|
128
128
|
return ret >>> 0;
|
|
129
129
|
}
|
|
130
130
|
/**
|
|
@@ -135,7 +135,7 @@ class Dss {
|
|
|
135
135
|
getCert(i) {
|
|
136
136
|
try {
|
|
137
137
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
138
|
-
wasm.
|
|
138
|
+
wasm.dss_getCert(retptr, this.__wbg_ptr, i);
|
|
139
139
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
140
140
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
141
141
|
let v1;
|
|
@@ -156,7 +156,7 @@ class Dss {
|
|
|
156
156
|
getCrl(i) {
|
|
157
157
|
try {
|
|
158
158
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
159
|
-
wasm.
|
|
159
|
+
wasm.dss_getCrl(retptr, this.__wbg_ptr, i);
|
|
160
160
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
161
161
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
162
162
|
let v1;
|
|
@@ -177,7 +177,7 @@ class Dss {
|
|
|
177
177
|
getOcsp(i) {
|
|
178
178
|
try {
|
|
179
179
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
180
|
-
wasm.
|
|
180
|
+
wasm.dss_getOcsp(retptr, this.__wbg_ptr, i);
|
|
181
181
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
182
182
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
183
183
|
let v1;
|
|
@@ -195,7 +195,7 @@ class Dss {
|
|
|
195
195
|
* @returns {number}
|
|
196
196
|
*/
|
|
197
197
|
get ocspCount() {
|
|
198
|
-
const ret = wasm.
|
|
198
|
+
const ret = wasm.dss_ocspCount(this.__wbg_ptr);
|
|
199
199
|
return ret >>> 0;
|
|
200
200
|
}
|
|
201
201
|
/**
|
|
@@ -205,7 +205,7 @@ class Dss {
|
|
|
205
205
|
get vri() {
|
|
206
206
|
try {
|
|
207
207
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
208
|
-
wasm.
|
|
208
|
+
wasm.dss_vri(retptr, this.__wbg_ptr);
|
|
209
209
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
210
210
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
211
211
|
var v1 = getArrayJsValueFromWasm0(r0, r1).slice();
|
|
@@ -266,7 +266,7 @@ class RevocationMaterial {
|
|
|
266
266
|
addCert(der) {
|
|
267
267
|
const ptr0 = passArray8ToWasm0(der, wasm.__wbindgen_export);
|
|
268
268
|
const len0 = WASM_VECTOR_LEN;
|
|
269
|
-
wasm.
|
|
269
|
+
wasm.revocationmaterial_addCert(this.__wbg_ptr, ptr0, len0);
|
|
270
270
|
}
|
|
271
271
|
/**
|
|
272
272
|
* Add a DER CRL.
|
|
@@ -275,7 +275,7 @@ class RevocationMaterial {
|
|
|
275
275
|
addCrl(der) {
|
|
276
276
|
const ptr0 = passArray8ToWasm0(der, wasm.__wbindgen_export);
|
|
277
277
|
const len0 = WASM_VECTOR_LEN;
|
|
278
|
-
wasm.
|
|
278
|
+
wasm.revocationmaterial_addCrl(this.__wbg_ptr, ptr0, len0);
|
|
279
279
|
}
|
|
280
280
|
/**
|
|
281
281
|
* Add a DER OCSP response.
|
|
@@ -284,13 +284,13 @@ class RevocationMaterial {
|
|
|
284
284
|
addOcsp(der) {
|
|
285
285
|
const ptr0 = passArray8ToWasm0(der, wasm.__wbindgen_export);
|
|
286
286
|
const len0 = WASM_VECTOR_LEN;
|
|
287
|
-
wasm.
|
|
287
|
+
wasm.revocationmaterial_addOcsp(this.__wbg_ptr, ptr0, len0);
|
|
288
288
|
}
|
|
289
289
|
/**
|
|
290
290
|
* Create an empty revocation-material set.
|
|
291
291
|
*/
|
|
292
292
|
constructor() {
|
|
293
|
-
const ret = wasm.
|
|
293
|
+
const ret = wasm.revocationmaterial_new();
|
|
294
294
|
this.__wbg_ptr = ret;
|
|
295
295
|
RevocationMaterialFinalization.register(this, this.__wbg_ptr, this);
|
|
296
296
|
return this;
|
|
@@ -6605,11 +6605,11 @@ exports.splitByBookmarks = splitByBookmarks;
|
|
|
6605
6605
|
function __wbg_get_imports() {
|
|
6606
6606
|
const import0 = {
|
|
6607
6607
|
__proto__: null,
|
|
6608
|
-
|
|
6608
|
+
__wbg_Error_ef53bc310eb298a0: function(arg0, arg1) {
|
|
6609
6609
|
const ret = Error(getStringFromWasm0(arg0, arg1));
|
|
6610
6610
|
return addHeapObject(ret);
|
|
6611
6611
|
},
|
|
6612
|
-
|
|
6612
|
+
__wbg_Number_6b506e6536831eaa: function(arg0) {
|
|
6613
6613
|
const ret = Number(getObject(arg0));
|
|
6614
6614
|
return ret;
|
|
6615
6615
|
},
|
|
@@ -6620,68 +6620,68 @@ function __wbg_get_imports() {
|
|
|
6620
6620
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
6621
6621
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
6622
6622
|
},
|
|
6623
|
-
|
|
6623
|
+
__wbg___wbindgen_bigint_get_as_i64_38130e98eecd467d: function(arg0, arg1) {
|
|
6624
6624
|
const v = getObject(arg1);
|
|
6625
6625
|
const ret = typeof(v) === 'bigint' ? v : undefined;
|
|
6626
6626
|
getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
|
|
6627
6627
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
6628
6628
|
},
|
|
6629
|
-
|
|
6629
|
+
__wbg___wbindgen_boolean_get_1a45e2c38d4d41b9: function(arg0) {
|
|
6630
6630
|
const v = getObject(arg0);
|
|
6631
6631
|
const ret = typeof(v) === 'boolean' ? v : undefined;
|
|
6632
6632
|
return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
|
|
6633
6633
|
},
|
|
6634
|
-
|
|
6634
|
+
__wbg___wbindgen_debug_string_0accd80f45e5faa2: function(arg0, arg1) {
|
|
6635
6635
|
const ret = debugString(getObject(arg1));
|
|
6636
6636
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
6637
6637
|
const len1 = WASM_VECTOR_LEN;
|
|
6638
6638
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
6639
6639
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
6640
6640
|
},
|
|
6641
|
-
|
|
6641
|
+
__wbg___wbindgen_in_70a403a56e771704: function(arg0, arg1) {
|
|
6642
6642
|
const ret = getObject(arg0) in getObject(arg1);
|
|
6643
6643
|
return ret;
|
|
6644
6644
|
},
|
|
6645
|
-
|
|
6645
|
+
__wbg___wbindgen_is_bigint_6ffd6468a9bc44b9: function(arg0) {
|
|
6646
6646
|
const ret = typeof(getObject(arg0)) === 'bigint';
|
|
6647
6647
|
return ret;
|
|
6648
6648
|
},
|
|
6649
|
-
|
|
6649
|
+
__wbg___wbindgen_is_function_754e9f305ff6029e: function(arg0) {
|
|
6650
6650
|
const ret = typeof(getObject(arg0)) === 'function';
|
|
6651
6651
|
return ret;
|
|
6652
6652
|
},
|
|
6653
|
-
|
|
6653
|
+
__wbg___wbindgen_is_null_87c3bfe968c6a5ad: function(arg0) {
|
|
6654
6654
|
const ret = getObject(arg0) === null;
|
|
6655
6655
|
return ret;
|
|
6656
6656
|
},
|
|
6657
|
-
|
|
6657
|
+
__wbg___wbindgen_is_object_56732c2bc353f41d: function(arg0) {
|
|
6658
6658
|
const val = getObject(arg0);
|
|
6659
6659
|
const ret = typeof(val) === 'object' && val !== null;
|
|
6660
6660
|
return ret;
|
|
6661
6661
|
},
|
|
6662
|
-
|
|
6662
|
+
__wbg___wbindgen_is_string_c236cabd84a4d769: function(arg0) {
|
|
6663
6663
|
const ret = typeof(getObject(arg0)) === 'string';
|
|
6664
6664
|
return ret;
|
|
6665
6665
|
},
|
|
6666
|
-
|
|
6666
|
+
__wbg___wbindgen_is_undefined_67b456be8673d3d7: function(arg0) {
|
|
6667
6667
|
const ret = getObject(arg0) === undefined;
|
|
6668
6668
|
return ret;
|
|
6669
6669
|
},
|
|
6670
|
-
|
|
6670
|
+
__wbg___wbindgen_jsval_eq_1068e624fa87f6ab: function(arg0, arg1) {
|
|
6671
6671
|
const ret = getObject(arg0) === getObject(arg1);
|
|
6672
6672
|
return ret;
|
|
6673
6673
|
},
|
|
6674
|
-
|
|
6674
|
+
__wbg___wbindgen_jsval_loose_eq_2c56564c75129511: function(arg0, arg1) {
|
|
6675
6675
|
const ret = getObject(arg0) == getObject(arg1);
|
|
6676
6676
|
return ret;
|
|
6677
6677
|
},
|
|
6678
|
-
|
|
6678
|
+
__wbg___wbindgen_number_get_9bb1761122181af2: function(arg0, arg1) {
|
|
6679
6679
|
const obj = getObject(arg1);
|
|
6680
6680
|
const ret = typeof(obj) === 'number' ? obj : undefined;
|
|
6681
6681
|
getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
|
|
6682
6682
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
6683
6683
|
},
|
|
6684
|
-
|
|
6684
|
+
__wbg___wbindgen_string_get_72bdf95d3ae505b1: function(arg0, arg1) {
|
|
6685
6685
|
const obj = getObject(arg1);
|
|
6686
6686
|
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
6687
6687
|
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
@@ -6689,20 +6689,23 @@ function __wbg_get_imports() {
|
|
|
6689
6689
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
6690
6690
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
6691
6691
|
},
|
|
6692
|
-
|
|
6692
|
+
__wbg___wbindgen_throw_1506f2235d1bdba0: function(arg0, arg1) {
|
|
6693
6693
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
6694
6694
|
},
|
|
6695
|
-
|
|
6695
|
+
__wbg_call_8a89609d89f6608a: function() { return handleError(function (arg0, arg1) {
|
|
6696
6696
|
const ret = getObject(arg0).call(getObject(arg1));
|
|
6697
6697
|
return addHeapObject(ret);
|
|
6698
6698
|
}, arguments); },
|
|
6699
|
-
|
|
6699
|
+
__wbg_debug_6d96d354ecb8cdb3: function(arg0, arg1, arg2, arg3) {
|
|
6700
6700
|
console.debug(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
|
|
6701
6701
|
},
|
|
6702
|
-
|
|
6702
|
+
__wbg_done_60cf307fcc680536: function(arg0) {
|
|
6703
6703
|
const ret = getObject(arg0).done;
|
|
6704
6704
|
return ret;
|
|
6705
6705
|
},
|
|
6706
|
+
__wbg_error_9ad1450feb5d541d: function(arg0, arg1, arg2, arg3) {
|
|
6707
|
+
console.error(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
|
|
6708
|
+
},
|
|
6706
6709
|
__wbg_error_a6fa202b58aa1cd3: function(arg0, arg1) {
|
|
6707
6710
|
let deferred0_0;
|
|
6708
6711
|
let deferred0_1;
|
|
@@ -6714,40 +6717,37 @@ function __wbg_get_imports() {
|
|
|
6714
6717
|
wasm.__wbindgen_export4(deferred0_0, deferred0_1, 1);
|
|
6715
6718
|
}
|
|
6716
6719
|
},
|
|
6717
|
-
|
|
6718
|
-
console.error(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
|
|
6719
|
-
},
|
|
6720
|
-
__wbg_fromCodePoint_a42ea1d19a55f2d5: function() { return handleError(function (arg0) {
|
|
6720
|
+
__wbg_fromCodePoint_5c5781da87ec0bc3: function() { return handleError(function (arg0) {
|
|
6721
6721
|
const ret = String.fromCodePoint(arg0 >>> 0);
|
|
6722
6722
|
return addHeapObject(ret);
|
|
6723
6723
|
}, arguments); },
|
|
6724
|
-
|
|
6724
|
+
__wbg_from_d300fe49deab18f5: function(arg0) {
|
|
6725
6725
|
const ret = Array.from(getObject(arg0));
|
|
6726
6726
|
return addHeapObject(ret);
|
|
6727
6727
|
},
|
|
6728
6728
|
__wbg_getRandomValues_76dfc69825c9c552: function() { return handleError(function (arg0, arg1) {
|
|
6729
6729
|
globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
|
|
6730
6730
|
}, arguments); },
|
|
6731
|
-
|
|
6731
|
+
__wbg_getRandomValues_8aa3112c6615eef6: function() { return handleError(function (arg0, arg1) {
|
|
6732
6732
|
globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
|
|
6733
6733
|
}, arguments); },
|
|
6734
|
-
|
|
6734
|
+
__wbg_getTime_00b3f7db575e4ef5: function(arg0) {
|
|
6735
6735
|
const ret = getObject(arg0).getTime();
|
|
6736
6736
|
return ret;
|
|
6737
6737
|
},
|
|
6738
|
-
|
|
6738
|
+
__wbg_getTimezoneOffset_08e2892156231088: function(arg0) {
|
|
6739
6739
|
const ret = getObject(arg0).getTimezoneOffset();
|
|
6740
6740
|
return ret;
|
|
6741
6741
|
},
|
|
6742
|
-
|
|
6742
|
+
__wbg_get_1f8f054ddbaa7db2: function() { return handleError(function (arg0, arg1) {
|
|
6743
6743
|
const ret = Reflect.get(getObject(arg0), getObject(arg1));
|
|
6744
6744
|
return addHeapObject(ret);
|
|
6745
6745
|
}, arguments); },
|
|
6746
|
-
|
|
6746
|
+
__wbg_get_2b48c7d0d006a781: function(arg0, arg1) {
|
|
6747
6747
|
const ret = getObject(arg0)[arg1 >>> 0];
|
|
6748
6748
|
return addHeapObject(ret);
|
|
6749
6749
|
},
|
|
6750
|
-
|
|
6750
|
+
__wbg_get_unchecked_33f6e5c9e2f2d6b2: function(arg0, arg1) {
|
|
6751
6751
|
const ret = getObject(arg0)[arg1 >>> 0];
|
|
6752
6752
|
return addHeapObject(ret);
|
|
6753
6753
|
},
|
|
@@ -6755,10 +6755,10 @@ function __wbg_get_imports() {
|
|
|
6755
6755
|
const ret = getObject(arg0)[getObject(arg1)];
|
|
6756
6756
|
return addHeapObject(ret);
|
|
6757
6757
|
},
|
|
6758
|
-
|
|
6758
|
+
__wbg_info_5cfb3f6c22c53cf9: function(arg0, arg1, arg2, arg3) {
|
|
6759
6759
|
console.info(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
|
|
6760
6760
|
},
|
|
6761
|
-
|
|
6761
|
+
__wbg_instanceof_ArrayBuffer_8f49811467741499: function(arg0) {
|
|
6762
6762
|
let result;
|
|
6763
6763
|
try {
|
|
6764
6764
|
result = getObject(arg0) instanceof ArrayBuffer;
|
|
@@ -6768,7 +6768,7 @@ function __wbg_get_imports() {
|
|
|
6768
6768
|
const ret = result;
|
|
6769
6769
|
return ret;
|
|
6770
6770
|
},
|
|
6771
|
-
|
|
6771
|
+
__wbg_instanceof_Uint8Array_86f30649f63ef9c2: function(arg0) {
|
|
6772
6772
|
let result;
|
|
6773
6773
|
try {
|
|
6774
6774
|
result = getObject(arg0) instanceof Uint8Array;
|
|
@@ -6778,38 +6778,30 @@ function __wbg_get_imports() {
|
|
|
6778
6778
|
const ret = result;
|
|
6779
6779
|
return ret;
|
|
6780
6780
|
},
|
|
6781
|
-
|
|
6781
|
+
__wbg_isArray_67c2c9c4313f4448: function(arg0) {
|
|
6782
6782
|
const ret = Array.isArray(getObject(arg0));
|
|
6783
6783
|
return ret;
|
|
6784
6784
|
},
|
|
6785
|
-
|
|
6785
|
+
__wbg_isSafeInteger_66acec27e09e99a7: function(arg0) {
|
|
6786
6786
|
const ret = Number.isSafeInteger(getObject(arg0));
|
|
6787
6787
|
return ret;
|
|
6788
6788
|
},
|
|
6789
|
-
|
|
6789
|
+
__wbg_iterator_8732428d309e270e: function() {
|
|
6790
6790
|
const ret = Symbol.iterator;
|
|
6791
6791
|
return addHeapObject(ret);
|
|
6792
6792
|
},
|
|
6793
|
-
|
|
6793
|
+
__wbg_length_4a591ecaa01354d9: function(arg0) {
|
|
6794
6794
|
const ret = getObject(arg0).length;
|
|
6795
6795
|
return ret;
|
|
6796
6796
|
},
|
|
6797
|
-
|
|
6797
|
+
__wbg_length_66f1a4b2e9026940: function(arg0) {
|
|
6798
6798
|
const ret = getObject(arg0).length;
|
|
6799
6799
|
return ret;
|
|
6800
6800
|
},
|
|
6801
|
-
|
|
6801
|
+
__wbg_log_d5e0f90a3ac097e3: function(arg0, arg1, arg2, arg3) {
|
|
6802
6802
|
console.log(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
|
|
6803
6803
|
},
|
|
6804
|
-
|
|
6805
|
-
const ret = new Object();
|
|
6806
|
-
return addHeapObject(ret);
|
|
6807
|
-
},
|
|
6808
|
-
__wbg_new_070df68d66325372: function() {
|
|
6809
|
-
const ret = new Map();
|
|
6810
|
-
return addHeapObject(ret);
|
|
6811
|
-
},
|
|
6812
|
-
__wbg_new_0_2722fcdb71a888a6: function() {
|
|
6804
|
+
__wbg_new_0_445c13a750296eb6: function() {
|
|
6813
6805
|
const ret = new Date();
|
|
6814
6806
|
return addHeapObject(ret);
|
|
6815
6807
|
},
|
|
@@ -6817,50 +6809,58 @@ function __wbg_get_imports() {
|
|
|
6817
6809
|
const ret = new Error();
|
|
6818
6810
|
return addHeapObject(ret);
|
|
6819
6811
|
},
|
|
6820
|
-
|
|
6821
|
-
const ret = new
|
|
6812
|
+
__wbg_new_578aeef4b6b94378: function(arg0) {
|
|
6813
|
+
const ret = new Uint8Array(getObject(arg0));
|
|
6822
6814
|
return addHeapObject(ret);
|
|
6823
6815
|
},
|
|
6824
|
-
|
|
6825
|
-
const ret = new
|
|
6816
|
+
__wbg_new_622fc80556be2e26: function() {
|
|
6817
|
+
const ret = new Map();
|
|
6826
6818
|
return addHeapObject(ret);
|
|
6827
6819
|
},
|
|
6828
|
-
|
|
6820
|
+
__wbg_new_6d75fd236f920a62: function(arg0) {
|
|
6829
6821
|
const ret = new Date(getObject(arg0));
|
|
6830
6822
|
return addHeapObject(ret);
|
|
6831
6823
|
},
|
|
6832
|
-
|
|
6824
|
+
__wbg_new_ce1ab61c1c2b300d: function() {
|
|
6825
|
+
const ret = new Object();
|
|
6826
|
+
return addHeapObject(ret);
|
|
6827
|
+
},
|
|
6828
|
+
__wbg_new_d90091b82fdf5b91: function() {
|
|
6829
|
+
const ret = new Array();
|
|
6830
|
+
return addHeapObject(ret);
|
|
6831
|
+
},
|
|
6832
|
+
__wbg_new_from_slice_18fa1f71286d66b8: function(arg0, arg1) {
|
|
6833
6833
|
const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
|
|
6834
6834
|
return addHeapObject(ret);
|
|
6835
6835
|
},
|
|
6836
|
-
|
|
6836
|
+
__wbg_next_9e03acdf51c4960d: function(arg0) {
|
|
6837
6837
|
const ret = getObject(arg0).next;
|
|
6838
6838
|
return addHeapObject(ret);
|
|
6839
6839
|
},
|
|
6840
|
-
|
|
6840
|
+
__wbg_next_eb8ca7351fa27906: function() { return handleError(function (arg0) {
|
|
6841
6841
|
const ret = getObject(arg0).next();
|
|
6842
6842
|
return addHeapObject(ret);
|
|
6843
6843
|
}, arguments); },
|
|
6844
|
-
|
|
6844
|
+
__wbg_prototypesetcall_3249fc62a0fafa30: function(arg0, arg1, arg2) {
|
|
6845
6845
|
Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), getObject(arg2));
|
|
6846
6846
|
},
|
|
6847
|
-
|
|
6847
|
+
__wbg_push_a6822215aa43e71c: function(arg0, arg1) {
|
|
6848
6848
|
const ret = getObject(arg0).push(getObject(arg1));
|
|
6849
6849
|
return ret;
|
|
6850
6850
|
},
|
|
6851
|
+
__wbg_set_52b1e1eb5bed906a: function(arg0, arg1, arg2) {
|
|
6852
|
+
const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
|
|
6853
|
+
return addHeapObject(ret);
|
|
6854
|
+
},
|
|
6851
6855
|
__wbg_set_6be42768c690e380: function(arg0, arg1, arg2) {
|
|
6852
6856
|
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
6853
6857
|
},
|
|
6854
|
-
|
|
6855
|
-
getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
|
|
6856
|
-
},
|
|
6857
|
-
__wbg_set_a0e911be3da02782: function() { return handleError(function (arg0, arg1, arg2) {
|
|
6858
|
+
__wbg_set_6e30c9374c26414c: function() { return handleError(function (arg0, arg1, arg2) {
|
|
6858
6859
|
const ret = Reflect.set(getObject(arg0), getObject(arg1), getObject(arg2));
|
|
6859
6860
|
return ret;
|
|
6860
6861
|
}, arguments); },
|
|
6861
|
-
|
|
6862
|
-
|
|
6863
|
-
return addHeapObject(ret);
|
|
6862
|
+
__wbg_set_dca99999bba88a9a: function(arg0, arg1, arg2) {
|
|
6863
|
+
getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
|
|
6864
6864
|
},
|
|
6865
6865
|
__wbg_stack_3b0d974bbf31e44f: function(arg0, arg1) {
|
|
6866
6866
|
const ret = getObject(arg1).stack;
|
|
@@ -6869,11 +6869,11 @@ function __wbg_get_imports() {
|
|
|
6869
6869
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
6870
6870
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
6871
6871
|
},
|
|
6872
|
-
|
|
6872
|
+
__wbg_value_f3625092ee4b37f4: function(arg0) {
|
|
6873
6873
|
const ret = getObject(arg0).value;
|
|
6874
6874
|
return addHeapObject(ret);
|
|
6875
6875
|
},
|
|
6876
|
-
|
|
6876
|
+
__wbg_warn_c49a7a9581bf8bea: function(arg0, arg1, arg2, arg3) {
|
|
6877
6877
|
console.warn(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
|
|
6878
6878
|
},
|
|
6879
6879
|
__wbg_wasmsignature_new: function(arg0) {
|
|
@@ -6914,21 +6914,27 @@ function __wbg_get_imports() {
|
|
|
6914
6914
|
};
|
|
6915
6915
|
}
|
|
6916
6916
|
|
|
6917
|
-
const WasmArtifactFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
6918
|
-
? { register: () => {}, unregister: () => {} }
|
|
6919
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_wasmartifact_free(ptr, 1));
|
|
6920
6917
|
const ArtifactStyleFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
6921
6918
|
? { register: () => {}, unregister: () => {} }
|
|
6922
6919
|
: new FinalizationRegistry(ptr => wasm.__wbg_artifactstyle_free(ptr, 1));
|
|
6920
|
+
const DssFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
6921
|
+
? { register: () => {}, unregister: () => {} }
|
|
6922
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_dss_free(ptr, 1));
|
|
6923
|
+
const RevocationMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
6924
|
+
? { register: () => {}, unregister: () => {} }
|
|
6925
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_revocationmaterial_free(ptr, 1));
|
|
6926
|
+
const StreamingTableFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
6927
|
+
? { register: () => {}, unregister: () => {} }
|
|
6928
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_streamingtable_free(ptr, 1));
|
|
6929
|
+
const WasmArtifactFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
6930
|
+
? { register: () => {}, unregister: () => {} }
|
|
6931
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_wasmartifact_free(ptr, 1));
|
|
6923
6932
|
const WasmCertificateFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
6924
6933
|
? { register: () => {}, unregister: () => {} }
|
|
6925
6934
|
: new FinalizationRegistry(ptr => wasm.__wbg_wasmcertificate_free(ptr, 1));
|
|
6926
6935
|
const WasmDocumentBuilderFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
6927
6936
|
? { register: () => {}, unregister: () => {} }
|
|
6928
6937
|
: new FinalizationRegistry(ptr => wasm.__wbg_wasmdocumentbuilder_free(ptr, 1));
|
|
6929
|
-
const DssFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
6930
|
-
? { register: () => {}, unregister: () => {} }
|
|
6931
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_dss_free(ptr, 1));
|
|
6932
6938
|
const WasmEmbeddedFontFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
6933
6939
|
? { register: () => {}, unregister: () => {} }
|
|
6934
6940
|
: new FinalizationRegistry(ptr => wasm.__wbg_wasmembeddedfont_free(ptr, 1));
|
|
@@ -6959,15 +6965,9 @@ const WasmPdfDocumentFinalization = (typeof FinalizationRegistry === 'undefined'
|
|
|
6959
6965
|
const WasmPdfPageRegionFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
6960
6966
|
? { register: () => {}, unregister: () => {} }
|
|
6961
6967
|
: new FinalizationRegistry(ptr => wasm.__wbg_wasmpdfpageregion_free(ptr, 1));
|
|
6962
|
-
const RevocationMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
6963
|
-
? { register: () => {}, unregister: () => {} }
|
|
6964
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_revocationmaterial_free(ptr, 1));
|
|
6965
6968
|
const WasmSignatureFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
6966
6969
|
? { register: () => {}, unregister: () => {} }
|
|
6967
6970
|
: new FinalizationRegistry(ptr => wasm.__wbg_wasmsignature_free(ptr, 1));
|
|
6968
|
-
const StreamingTableFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
6969
|
-
? { register: () => {}, unregister: () => {} }
|
|
6970
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_streamingtable_free(ptr, 1));
|
|
6971
6971
|
const WasmTimestampFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
6972
6972
|
? { register: () => {}, unregister: () => {} }
|
|
6973
6973
|
: new FinalizationRegistry(ptr => wasm.__wbg_wasmtimestamp_free(ptr, 1));
|
package/nodejs/pdf_oxide_bg.wasm
CHANGED
|
Binary file
|
|
@@ -17,25 +17,38 @@ export const __wbg_wasmpdfdocument_free: (a: number, b: number) => void;
|
|
|
17
17
|
export const __wbg_wasmpdfpageregion_free: (a: number, b: number) => void;
|
|
18
18
|
export const __wbg_wasmsignature_free: (a: number, b: number) => void;
|
|
19
19
|
export const __wbg_wasmtimestamp_free: (a: number, b: number) => void;
|
|
20
|
+
export const artifactstyle_bold: (a: number) => number;
|
|
21
|
+
export const artifactstyle_color: (a: number, b: number, c: number, d: number) => number;
|
|
22
|
+
export const artifactstyle_font: (a: number, b: number, c: number, d: number) => number;
|
|
23
|
+
export const artifactstyle_new: () => number;
|
|
20
24
|
export const cryptoCbom: (a: number) => void;
|
|
21
25
|
export const cryptoInventory: (a: number) => void;
|
|
22
26
|
export const cryptoPolicy: (a: number) => void;
|
|
27
|
+
export const dss_certCount: (a: number) => number;
|
|
28
|
+
export const dss_crlCount: (a: number) => number;
|
|
29
|
+
export const dss_getCert: (a: number, b: number, c: number) => void;
|
|
30
|
+
export const dss_getCrl: (a: number, b: number, c: number) => void;
|
|
31
|
+
export const dss_getOcsp: (a: number, b: number, c: number) => void;
|
|
32
|
+
export const dss_ocspCount: (a: number) => number;
|
|
33
|
+
export const dss_vri: (a: number, b: number) => void;
|
|
23
34
|
export const generateBarcodeSvg: (a: number, b: number, c: number, d: number) => void;
|
|
24
35
|
export const generateQrSvg: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
25
36
|
export const hasDocumentTimestamp: (a: number, b: number) => number;
|
|
26
37
|
export const modelManifest: (a: number) => void;
|
|
27
38
|
export const planSplitByBookmarks: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
|
|
28
39
|
export const prefetchAvailable: () => number;
|
|
40
|
+
export const revocationmaterial_addCert: (a: number, b: number, c: number) => void;
|
|
41
|
+
export const revocationmaterial_addCrl: (a: number, b: number, c: number) => void;
|
|
42
|
+
export const revocationmaterial_addOcsp: (a: number, b: number, c: number) => void;
|
|
43
|
+
export const revocationmaterial_new: () => number;
|
|
29
44
|
export const setCryptoPolicy: (a: number, b: number, c: number) => void;
|
|
30
45
|
export const setLogLevel: (a: number, b: number, c: number) => void;
|
|
31
46
|
export const signPdfBytes: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
|
|
32
47
|
export const signPdfBytesPades: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number) => void;
|
|
33
48
|
export const splitByBookmarks: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
|
|
34
|
-
export const streamingtable_batchCount: (a: number) => number;
|
|
35
49
|
export const streamingtable_columnCount: (a: number) => number;
|
|
36
50
|
export const streamingtable_finish: (a: number, b: number) => void;
|
|
37
51
|
export const streamingtable_flush: (a: number) => void;
|
|
38
|
-
export const streamingtable_pendingRowCount: (a: number) => number;
|
|
39
52
|
export const streamingtable_pushRow: (a: number, b: number, c: number, d: number) => void;
|
|
40
53
|
export const streamingtable_pushRowSpan: (a: number, b: number, c: number) => void;
|
|
41
54
|
export const wasmartifact_center: (a: number, b: number) => number;
|
|
@@ -44,10 +57,6 @@ export const wasmartifact_new: () => number;
|
|
|
44
57
|
export const wasmartifact_right: (a: number, b: number) => number;
|
|
45
58
|
export const wasmartifact_withOffset: (a: number, b: number) => number;
|
|
46
59
|
export const wasmartifact_withStyle: (a: number, b: number) => number;
|
|
47
|
-
export const wasmartifactstyle_bold: (a: number) => number;
|
|
48
|
-
export const wasmartifactstyle_color: (a: number, b: number, c: number, d: number) => number;
|
|
49
|
-
export const wasmartifactstyle_font: (a: number, b: number, c: number, d: number) => number;
|
|
50
|
-
export const wasmartifactstyle_new: () => number;
|
|
51
60
|
export const wasmcertificate_isValid: (a: number, b: number) => void;
|
|
52
61
|
export const wasmcertificate_issuer: (a: number, b: number) => void;
|
|
53
62
|
export const wasmcertificate_load: (a: number, b: number, c: number) => void;
|
|
@@ -73,11 +82,6 @@ export const wasmdocumentbuilder_subject: (a: number, b: number, c: number, d: n
|
|
|
73
82
|
export const wasmdocumentbuilder_taggedPdfUa1: (a: number, b: number) => void;
|
|
74
83
|
export const wasmdocumentbuilder_title: (a: number, b: number, c: number, d: number) => void;
|
|
75
84
|
export const wasmdocumentbuilder_toBytesEncrypted: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
76
|
-
export const wasmdss_certCount: (a: number) => number;
|
|
77
|
-
export const wasmdss_getCert: (a: number, b: number, c: number) => void;
|
|
78
|
-
export const wasmdss_getCrl: (a: number, b: number, c: number) => void;
|
|
79
|
-
export const wasmdss_getOcsp: (a: number, b: number, c: number) => void;
|
|
80
|
-
export const wasmdss_vri: (a: number, b: number) => void;
|
|
81
85
|
export const wasmembeddedfont_fromBytes: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
82
86
|
export const wasmembeddedfont_name: (a: number, b: number) => void;
|
|
83
87
|
export const wasmfluentpagebuilder_at: (a: number, b: number, c: number, d: number) => void;
|
|
@@ -269,10 +273,6 @@ export const wasmpdfpageregion_extractText: (a: number, b: number) => void;
|
|
|
269
273
|
export const wasmpdfpageregion_extractTextLines: (a: number, b: number) => void;
|
|
270
274
|
export const wasmpdfpageregion_extractTextOcr: (a: number, b: number, c: number) => void;
|
|
271
275
|
export const wasmpdfpageregion_extractWords: (a: number, b: number) => void;
|
|
272
|
-
export const wasmrevocationmaterial_addCert: (a: number, b: number, c: number) => void;
|
|
273
|
-
export const wasmrevocationmaterial_addCrl: (a: number, b: number, c: number) => void;
|
|
274
|
-
export const wasmrevocationmaterial_addOcsp: (a: number, b: number, c: number) => void;
|
|
275
|
-
export const wasmrevocationmaterial_new: () => number;
|
|
276
276
|
export const wasmsignature_contactInfo: (a: number, b: number) => void;
|
|
277
277
|
export const wasmsignature_coversWholeDocument: (a: number) => number;
|
|
278
278
|
export const wasmsignature_location: (a: number, b: number) => void;
|
|
@@ -290,8 +290,8 @@ export const wasmtimestamp_serial: (a: number, b: number) => void;
|
|
|
290
290
|
export const wasmtimestamp_time: (a: number) => bigint;
|
|
291
291
|
export const wasmtimestamp_tsaName: (a: number, b: number) => void;
|
|
292
292
|
export const wasmtimestamp_verify: (a: number, b: number) => void;
|
|
293
|
-
export const
|
|
294
|
-
export const
|
|
293
|
+
export const streamingtable_batchCount: (a: number) => number;
|
|
294
|
+
export const streamingtable_pendingRowCount: (a: number) => number;
|
|
295
295
|
export const wasmocrconfig_new: () => number;
|
|
296
296
|
export const wasmpdfdocument_saveToBytes: (a: number, b: number) => void;
|
|
297
297
|
export const wasmfooter_center: (a: number, b: number) => number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pdf-oxide-wasm",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.60",
|
|
4
4
|
"description": "Fast, zero-dependency PDF toolkit for Node.js, browsers, and edge runtimes — text extraction, markdown/HTML conversion, search, form filling, creation, and editing. Rust core compiled to WebAssembly.",
|
|
5
5
|
"license": "MIT OR Apache-2.0",
|
|
6
6
|
"repository": {
|