@embedpdf/pdfium 1.3.0 → 1.3.1
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/index.browser.js +19 -1
- package/dist/index.browser.js.map +1 -1
- package/dist/index.cjs +10 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +19 -1
- package/dist/index.js.map +1 -1
- package/dist/pdfium.wasm +0 -0
- package/dist/vendor/functions.d.ts +4 -0
- package/package.json +1 -1
package/dist/index.browser.js
CHANGED
|
@@ -73,6 +73,10 @@ var createPdfium = (() => {
|
|
|
73
73
|
'_EPDFAnnot_SetVerticalAlignment',
|
|
74
74
|
'_EPDFAnnot_SetVertices',
|
|
75
75
|
'_EPDFAnnot_UpdateAppearanceToRect',
|
|
76
|
+
'_EPDFAttachment_GetDescription',
|
|
77
|
+
'_EPDFAttachment_GetIntegerValue',
|
|
78
|
+
'_EPDFAttachment_SetDescription',
|
|
79
|
+
'_EPDFAttachment_SetSubtype',
|
|
76
80
|
'_EPDFBookmark_AppendChild',
|
|
77
81
|
'_EPDFBookmark_Clear',
|
|
78
82
|
'_EPDFBookmark_ClearTarget',
|
|
@@ -6058,6 +6062,16 @@ var createPdfium = (() => {
|
|
|
6058
6062
|
'FPDFAttachment_GetSubtype',
|
|
6059
6063
|
3,
|
|
6060
6064
|
));
|
|
6065
|
+
(Module['_EPDFAttachment_SetSubtype'] = createExportWrapper(
|
|
6066
|
+
'EPDFAttachment_SetSubtype',
|
|
6067
|
+
2,
|
|
6068
|
+
));
|
|
6069
|
+
(Module['_EPDFAttachment_SetDescription'] =
|
|
6070
|
+
createExportWrapper('EPDFAttachment_SetDescription', 2));
|
|
6071
|
+
(Module['_EPDFAttachment_GetDescription'] =
|
|
6072
|
+
createExportWrapper('EPDFAttachment_GetDescription', 3));
|
|
6073
|
+
(Module['_EPDFAttachment_GetIntegerValue'] =
|
|
6074
|
+
createExportWrapper('EPDFAttachment_GetIntegerValue', 3));
|
|
6061
6075
|
(Module['_FPDFCatalog_IsTagged'] = createExportWrapper(
|
|
6062
6076
|
'FPDFCatalog_IsTagged',
|
|
6063
6077
|
1,
|
|
@@ -7933,6 +7947,10 @@ const functions = {
|
|
|
7933
7947
|
EPDFAnnot_SetVerticalAlignment: [['number', 'number'], 'boolean'],
|
|
7934
7948
|
EPDFAnnot_SetVertices: [['number', 'number', 'number'], 'boolean'],
|
|
7935
7949
|
EPDFAnnot_UpdateAppearanceToRect: [['number', 'number'], 'boolean'],
|
|
7950
|
+
EPDFAttachment_GetDescription: [['number', 'number', 'number'], 'number'],
|
|
7951
|
+
EPDFAttachment_GetIntegerValue: [['number', 'string', 'number'], 'boolean'],
|
|
7952
|
+
EPDFAttachment_SetDescription: [['number', 'number'], 'boolean'],
|
|
7953
|
+
EPDFAttachment_SetSubtype: [['number', 'string'], 'boolean'],
|
|
7936
7954
|
EPDFBookmark_AppendChild: [['number', 'number', 'number'], 'number'],
|
|
7937
7955
|
EPDFBookmark_Clear: [['number'], 'boolean'],
|
|
7938
7956
|
EPDFBookmark_ClearTarget: [['number'], 'boolean'],
|
|
@@ -8707,7 +8725,7 @@ const functions = {
|
|
|
8707
8725
|
PDFiumExt_SaveAsCopy: [['number', 'number'], 'number'],
|
|
8708
8726
|
};
|
|
8709
8727
|
|
|
8710
|
-
const DEFAULT_PDFIUM_WASM_URL = 'https://cdn.jsdelivr.net/npm/@embedpdf/pdfium@1.3.
|
|
8728
|
+
const DEFAULT_PDFIUM_WASM_URL = 'https://cdn.jsdelivr.net/npm/@embedpdf/pdfium@1.3.1/dist/pdfium.wasm';
|
|
8711
8729
|
async function createWrappedModule(pdfium) {
|
|
8712
8730
|
const module = {
|
|
8713
8731
|
pdfium,
|