@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.d.cts
CHANGED
|
@@ -70,6 +70,10 @@ declare const functions: {
|
|
|
70
70
|
readonly EPDFAnnot_SetVerticalAlignment: readonly [readonly ["number", "number"], "boolean"];
|
|
71
71
|
readonly EPDFAnnot_SetVertices: readonly [readonly ["number", "number", "number"], "boolean"];
|
|
72
72
|
readonly EPDFAnnot_UpdateAppearanceToRect: readonly [readonly ["number", "number"], "boolean"];
|
|
73
|
+
readonly EPDFAttachment_GetDescription: readonly [readonly ["number", "number", "number"], "number"];
|
|
74
|
+
readonly EPDFAttachment_GetIntegerValue: readonly [readonly ["number", "string", "number"], "boolean"];
|
|
75
|
+
readonly EPDFAttachment_SetDescription: readonly [readonly ["number", "number"], "boolean"];
|
|
76
|
+
readonly EPDFAttachment_SetSubtype: readonly [readonly ["number", "string"], "boolean"];
|
|
73
77
|
readonly EPDFBookmark_AppendChild: readonly [readonly ["number", "number", "number"], "number"];
|
|
74
78
|
readonly EPDFBookmark_Clear: readonly [readonly ["number"], "boolean"];
|
|
75
79
|
readonly EPDFBookmark_ClearTarget: readonly [readonly ["number"], "boolean"];
|
package/dist/index.d.ts
CHANGED
|
@@ -70,6 +70,10 @@ declare const functions: {
|
|
|
70
70
|
readonly EPDFAnnot_SetVerticalAlignment: readonly [readonly ["number", "number"], "boolean"];
|
|
71
71
|
readonly EPDFAnnot_SetVertices: readonly [readonly ["number", "number", "number"], "boolean"];
|
|
72
72
|
readonly EPDFAnnot_UpdateAppearanceToRect: readonly [readonly ["number", "number"], "boolean"];
|
|
73
|
+
readonly EPDFAttachment_GetDescription: readonly [readonly ["number", "number", "number"], "number"];
|
|
74
|
+
readonly EPDFAttachment_GetIntegerValue: readonly [readonly ["number", "string", "number"], "boolean"];
|
|
75
|
+
readonly EPDFAttachment_SetDescription: readonly [readonly ["number", "number"], "boolean"];
|
|
76
|
+
readonly EPDFAttachment_SetSubtype: readonly [readonly ["number", "string"], "boolean"];
|
|
73
77
|
readonly EPDFBookmark_AppendChild: readonly [readonly ["number", "number", "number"], "number"];
|
|
74
78
|
readonly EPDFBookmark_Clear: readonly [readonly ["number"], "boolean"];
|
|
75
79
|
readonly EPDFBookmark_ClearTarget: readonly [readonly ["number"], "boolean"];
|
package/dist/index.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',
|
|
@@ -6173,6 +6177,16 @@ var createPdfium = (() => {
|
|
|
6173
6177
|
'FPDFAttachment_GetSubtype',
|
|
6174
6178
|
3,
|
|
6175
6179
|
));
|
|
6180
|
+
(Module['_EPDFAttachment_SetSubtype'] = createExportWrapper(
|
|
6181
|
+
'EPDFAttachment_SetSubtype',
|
|
6182
|
+
2,
|
|
6183
|
+
));
|
|
6184
|
+
(Module['_EPDFAttachment_SetDescription'] =
|
|
6185
|
+
createExportWrapper('EPDFAttachment_SetDescription', 2));
|
|
6186
|
+
(Module['_EPDFAttachment_GetDescription'] =
|
|
6187
|
+
createExportWrapper('EPDFAttachment_GetDescription', 3));
|
|
6188
|
+
(Module['_EPDFAttachment_GetIntegerValue'] =
|
|
6189
|
+
createExportWrapper('EPDFAttachment_GetIntegerValue', 3));
|
|
6176
6190
|
(Module['_FPDFCatalog_IsTagged'] = createExportWrapper(
|
|
6177
6191
|
'FPDFCatalog_IsTagged',
|
|
6178
6192
|
1,
|
|
@@ -8048,6 +8062,10 @@ const functions = {
|
|
|
8048
8062
|
EPDFAnnot_SetVerticalAlignment: [['number', 'number'], 'boolean'],
|
|
8049
8063
|
EPDFAnnot_SetVertices: [['number', 'number', 'number'], 'boolean'],
|
|
8050
8064
|
EPDFAnnot_UpdateAppearanceToRect: [['number', 'number'], 'boolean'],
|
|
8065
|
+
EPDFAttachment_GetDescription: [['number', 'number', 'number'], 'number'],
|
|
8066
|
+
EPDFAttachment_GetIntegerValue: [['number', 'string', 'number'], 'boolean'],
|
|
8067
|
+
EPDFAttachment_SetDescription: [['number', 'number'], 'boolean'],
|
|
8068
|
+
EPDFAttachment_SetSubtype: [['number', 'string'], 'boolean'],
|
|
8051
8069
|
EPDFBookmark_AppendChild: [['number', 'number', 'number'], 'number'],
|
|
8052
8070
|
EPDFBookmark_Clear: [['number'], 'boolean'],
|
|
8053
8071
|
EPDFBookmark_ClearTarget: [['number'], 'boolean'],
|
|
@@ -8822,7 +8840,7 @@ const functions = {
|
|
|
8822
8840
|
PDFiumExt_SaveAsCopy: [['number', 'number'], 'number'],
|
|
8823
8841
|
};
|
|
8824
8842
|
|
|
8825
|
-
const DEFAULT_PDFIUM_WASM_URL = 'https://cdn.jsdelivr.net/npm/@embedpdf/pdfium@1.3.
|
|
8843
|
+
const DEFAULT_PDFIUM_WASM_URL = 'https://cdn.jsdelivr.net/npm/@embedpdf/pdfium@1.3.1/dist/pdfium.wasm';
|
|
8826
8844
|
async function createWrappedModule(pdfium) {
|
|
8827
8845
|
const module = {
|
|
8828
8846
|
pdfium,
|