@xberg-io/xberg-wasm 1.0.0-rc.40 → 1.0.0

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/README.md CHANGED
@@ -80,7 +80,7 @@
80
80
  </a>
81
81
  </div>
82
82
 
83
- Extract text, tables, images, metadata, and code intelligence from 97 file formats and 306 programming languages including PDF, Office documents, and images. WebAssembly bindings for browsers, Deno, and Cloudflare Workers with portable deployment and multi-threading support.
83
+ Extract text, tables, images, metadata, and code intelligence from 98 file formats and 306 programming languages including PDF, Office documents, and images. WebAssembly bindings for browsers, Deno, and Cloudflare Workers with portable deployment and multi-threading support.
84
84
 
85
85
  ## What This Package Provides
86
86
 
@@ -100,6 +100,7 @@ pnpm add @xberg-io/xberg-wasm
100
100
  ```
101
101
 
102
102
  ### System Requirements
103
+
103
104
  - Modern browser with WebAssembly support, or Deno 1.0+, or Cloudflare Workers
104
105
  - Optional: [Tesseract WASM](https://github.com/naptha/tesseract.js) for OCR functionality
105
106
 
@@ -261,15 +262,15 @@ extractDocuments(fileBytes, mimes)
261
262
 
262
263
  ## Features
263
264
 
264
- ### Supported File Formats (96)
265
+ ### Supported File Formats (98)
265
266
 
266
- 97 file formats across 8 major categories with intelligent format detection and comprehensive metadata extraction.
267
+ 98 file formats across 8 major categories with intelligent format detection and comprehensive metadata extraction.
267
268
 
268
269
  #### Office Documents
269
270
 
270
271
  | Category | Formats | Capabilities |
271
272
  |----------|---------|--------------|
272
- | **Word Processing** | `.docx`, `.docm`, `.doc`, `.dotx`, `.dotm`, `.dot`, `.odt`, `.pages` | Full text, tables, images, metadata, styles |
273
+ | **Word Processing** | `.docx`, `.docm`, `.doc`, `.dotx`, `.dotm`, `.dot`, `.odt`, `.pages`, `.wpd`, `.wp`, `.wp5`, `.wp6` | Full text, tables, images, metadata, styles |
273
274
  | **Spreadsheets** | `.xlsx`, `.xlsm`, `.xlsb`, `.xls`, `.xla`, `.xlam`, `.xltm`, `.xltx`, `.xlt`, `.ods`, `.numbers` | Sheet data, formulas, cell metadata, charts |
274
275
  | **Presentations** | `.pptx`, `.pptm`, `.ppt`, `.ppsx`, `.potx`, `.potm`, `.pot`, `.odp`, `.key` | Slides, speaker notes, images, metadata |
275
276
  | **PDF** | `.pdf` | Text, tables, images, metadata, OCR support |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xberg-io/xberg-wasm",
3
- "version": "1.0.0-rc.40",
3
+ "version": "1.0.0",
4
4
  "private": false,
5
5
  "description": "High-performance document intelligence library",
6
6
  "license": "MIT",
@@ -13,7 +13,10 @@
13
13
  "access": "public"
14
14
  },
15
15
  "type": "module",
16
- "files": ["pkg/web", "README.md"],
16
+ "files": [
17
+ "pkg/web",
18
+ "README.md"
19
+ ],
17
20
  "main": "pkg/web/xberg_wasm.js",
18
21
  "module": "pkg/web/xberg_wasm.js",
19
22
  "types": "pkg/web/xberg_wasm.d.ts",
package/pkg/web/README.md CHANGED
@@ -80,7 +80,7 @@
80
80
  </a>
81
81
  </div>
82
82
 
83
- Extract text, tables, images, metadata, and code intelligence from 97 file formats and 306 programming languages including PDF, Office documents, and images. WebAssembly bindings for browsers, Deno, and Cloudflare Workers with portable deployment and multi-threading support.
83
+ Extract text, tables, images, metadata, and code intelligence from 98 file formats and 306 programming languages including PDF, Office documents, and images. WebAssembly bindings for browsers, Deno, and Cloudflare Workers with portable deployment and multi-threading support.
84
84
 
85
85
  ## What This Package Provides
86
86
 
@@ -100,6 +100,7 @@ pnpm add @xberg-io/xberg-wasm
100
100
  ```
101
101
 
102
102
  ### System Requirements
103
+
103
104
  - Modern browser with WebAssembly support, or Deno 1.0+, or Cloudflare Workers
104
105
  - Optional: [Tesseract WASM](https://github.com/naptha/tesseract.js) for OCR functionality
105
106
 
@@ -261,15 +262,15 @@ extractDocuments(fileBytes, mimes)
261
262
 
262
263
  ## Features
263
264
 
264
- ### Supported File Formats (96)
265
+ ### Supported File Formats (98)
265
266
 
266
- 97 file formats across 8 major categories with intelligent format detection and comprehensive metadata extraction.
267
+ 98 file formats across 8 major categories with intelligent format detection and comprehensive metadata extraction.
267
268
 
268
269
  #### Office Documents
269
270
 
270
271
  | Category | Formats | Capabilities |
271
272
  |----------|---------|--------------|
272
- | **Word Processing** | `.docx`, `.docm`, `.doc`, `.dotx`, `.dotm`, `.dot`, `.odt`, `.pages` | Full text, tables, images, metadata, styles |
273
+ | **Word Processing** | `.docx`, `.docm`, `.doc`, `.dotx`, `.dotm`, `.dot`, `.odt`, `.pages`, `.wpd`, `.wp`, `.wp5`, `.wp6` | Full text, tables, images, metadata, styles |
273
274
  | **Spreadsheets** | `.xlsx`, `.xlsm`, `.xlsb`, `.xls`, `.xla`, `.xlam`, `.xltm`, `.xltx`, `.xlt`, `.ods`, `.numbers` | Sheet data, formulas, cell metadata, charts |
274
275
  | **Presentations** | `.pptx`, `.pptm`, `.ppt`, `.ppsx`, `.potx`, `.potm`, `.pot`, `.odp`, `.key` | Slides, speaker notes, images, metadata |
275
276
  | **PDF** | `.pdf` | Text, tables, images, metadata, OCR support |
@@ -2,7 +2,7 @@
2
2
  "name": "xberg-wasm",
3
3
  "type": "module",
4
4
  "description": "High-performance document intelligence library",
5
- "version": "1.0.0-rc.40",
5
+ "version": "1.0.0",
6
6
  "license": "MIT",
7
7
  "repository": {
8
8
  "type": "git",
@@ -7036,9 +7036,9 @@ export interface InitOutput {
7036
7036
  readonly wasmprocessingwarning_new: (a: number, b: number, c: number, d: number) => number;
7037
7037
  readonly wasmpagehierarchy_default: () => number;
7038
7038
  readonly wasmqrboundingbox_default: () => number;
7039
+ readonly __wbg_wasmsparseembeddingconfig_free: (a: number, b: number) => void;
7039
7040
  readonly __wbg_wasmtablecell_free: (a: number, b: number) => void;
7040
7041
  readonly __wbg_wasmvlmfallbackpolicy_free: (a: number, b: number) => void;
7041
- readonly __wbg_wasmsparseembeddingconfig_free: (a: number, b: number) => void;
7042
7042
  readonly wasmvlmfallbackpolicy_default: () => number;
7043
7043
  readonly wasmproxyconfig_url: (a: number) => [number, number];
7044
7044
  readonly wasmsupportedformat_extension: (a: number) => [number, number];
@@ -7069,41 +7069,10 @@ export interface InitOutput {
7069
7069
  readonly wasmpatternmatch_set_start: (a: number, b: number) => void;
7070
7070
  readonly wasmpatternmatch_set_text: (a: number, b: number, c: number) => void;
7071
7071
  readonly wasmerrormetadata_errorType: (a: number) => [number, number];
7072
- readonly wasmtablecell_set_rowSpan: (a: number, b: number) => void;
7073
- readonly wasmtablecell_set_isHeader: (a: number, b: number) => void;
7074
- readonly wasmtablecell_set_content: (a: number, b: number, c: number) => void;
7075
- readonly wasmtablecell_set_colSpan: (a: number, b: number) => void;
7076
- readonly wasmtablecell_isHeader: (a: number) => number;
7077
- readonly wasmtablecell_content: (a: number) => [number, number];
7078
- readonly wasmdbffieldinfo_set_name: (a: number, b: number, c: number) => void;
7079
- readonly wasmdjotlink_set_url: (a: number, b: number, c: number) => void;
7080
- readonly wasmdjotlink_url: (a: number) => [number, number];
7081
- readonly wasmpageboundary_set_pageNumber: (a: number, b: number) => void;
7082
- readonly wasmpageboundary_set_byteStart: (a: number, b: number) => void;
7083
- readonly wasmpageboundary_set_byteEnd: (a: number, b: number) => void;
7084
- readonly wasmpageboundary_byteStart: (a: number) => number;
7085
- readonly wasmtablecell_rowSpan: (a: number) => number;
7086
- readonly wasmtablecell_colSpan: (a: number) => number;
7087
7072
  readonly wasmocrelementconfig_minConfidence: (a: number) => number;
7088
7073
  readonly wasmocrelementconfig_includeElements: (a: number) => number;
7089
7074
  readonly wasmocrelementconfig_set_minConfidence: (a: number, b: number) => void;
7090
7075
  readonly wasmocrelementconfig_set_includeElements: (a: number, b: number) => void;
7091
- readonly wasmredactionfinding_start: (a: number) => number;
7092
- readonly wasmredactionfinding_end: (a: number) => number;
7093
- readonly __wbg_wasmredactionfinding_free: (a: number, b: number) => void;
7094
- readonly wasmdbffieldinfo_set_fieldType: (a: number, b: number, c: number) => void;
7095
- readonly wasmdbffieldinfo_name: (a: number) => [number, number];
7096
- readonly wasmdbffieldinfo_fieldType: (a: number) => [number, number];
7097
- readonly wasmocrrotation_set_angleDegrees: (a: number, b: number) => void;
7098
- readonly wasmocrrotation_set_confidence: (a: number, b: number, c: number) => void;
7099
- readonly wasmocrrotation_angleDegrees: (a: number) => number;
7100
- readonly wasmocrrotation_confidence: (a: number) => [number, number];
7101
- readonly __wbg_wasmocrrotation_free: (a: number, b: number) => void;
7102
- readonly wasmpageconfig_set_markerFormat: (a: number, b: number, c: number) => void;
7103
- readonly wasmtokenreductionoptions_set_preserveImportantWords: (a: number, b: number) => void;
7104
- readonly wasmpageconfig_markerFormat: (a: number) => [number, number];
7105
- readonly wasmtokenreductionoptions_preserveImportantWords: (a: number) => number;
7106
- readonly __wbg_wasmtokenreductionoptions_free: (a: number, b: number) => void;
7107
7076
  readonly wasmrerankerconfig_set_topK: (a: number, b: number) => void;
7108
7077
  readonly wasmrerankerconfig_set_showDownloadProgress: (a: number, b: number) => void;
7109
7078
  readonly wasmrerankerconfig_set_model: (a: number, b: any) => void;
@@ -7113,36 +7082,29 @@ export interface InitOutput {
7113
7082
  readonly wasmrerankerconfig_showDownloadProgress: (a: number) => number;
7114
7083
  readonly wasmrerankerconfig_model: (a: number) => any;
7115
7084
  readonly wasmrerankerconfig_acceleration: (a: number) => number;
7116
- readonly wasmprocessingwarning_message: (a: number) => [number, number];
7117
- readonly __wbg_wasmprocessingwarning_free: (a: number, b: number) => void;
7118
- readonly wasmprocessingwarning_set_message: (a: number, b: number, c: number) => void;
7119
- readonly wasmvlmfallbackpolicy_qualityThreshold: (a: number) => [number, number];
7120
- readonly __wbg_wasmpageboundary_free: (a: number, b: number) => void;
7121
- readonly wasmpageboundary_byteEnd: (a: number) => number;
7122
- readonly wasmpatternmatch_start: (a: number) => number;
7123
- readonly __wbg_wasmdbffieldinfo_free: (a: number, b: number) => void;
7124
- readonly wasmredactionterm_set_label: (a: number, b: number, c: number) => void;
7125
- readonly wasmredactionterm_set_caseSensitive: (a: number, b: number) => void;
7126
- readonly wasmredactionterm_label: (a: number) => [number, number];
7127
- readonly wasmredactionterm_caseSensitive: (a: number) => number;
7128
- readonly wasmvlmfallbackpolicy_mode: (a: number) => [number, number];
7129
- readonly wasmvlmfallbackpolicy_set_qualityThreshold: (a: number, b: number, c: number) => void;
7130
- readonly wasmvlmfallbackpolicy_set_mode: (a: number, b: number, c: number) => void;
7131
- readonly wasmdjotlink_set_title: (a: number, b: number, c: number) => void;
7132
- readonly wasmdjotlink_set_text: (a: number, b: number, c: number) => void;
7133
- readonly wasmdjotlink_title: (a: number) => [number, number];
7134
- readonly wasmdjotlink_text: (a: number) => [number, number];
7135
- readonly __wbg_wasmdjotlink_free: (a: number, b: number) => void;
7136
- readonly wasmdocumentrelationship_target: (a: number) => number;
7137
- readonly wasmpageboundary_pageNumber: (a: number) => number;
7138
- readonly __wbg_wasmdocumentrelationship_free: (a: number, b: number) => void;
7139
- readonly wasmredactionterm_value: (a: number) => [number, number];
7140
- readonly wasmredactionterm_set_value: (a: number, b: number, c: number) => void;
7141
- readonly wasmredactionpattern_pattern: (a: number) => [number, number];
7142
- readonly __wbg_wasmredactionpattern_free: (a: number, b: number) => void;
7143
- readonly wasmredactionpattern_set_pattern: (a: number, b: number, c: number) => void;
7144
- readonly wasmpropertychange_set_name: (a: number, b: number, c: number) => void;
7145
- readonly wasmpropertychange_name: (a: number) => [number, number];
7085
+ readonly wasmsparseembeddingconfig_set_model: (a: number, b: any) => void;
7086
+ readonly wasmsparseembeddingconfig_set_maxLength: (a: number, b: number) => void;
7087
+ readonly wasmsparseembeddingconfig_set_batchSize: (a: number, b: number) => void;
7088
+ readonly wasmsparseembeddingconfig_set_acceleration: (a: number, b: number) => void;
7089
+ readonly wasmocrrotation_set_angleDegrees: (a: number, b: number) => void;
7090
+ readonly wasmsparseembeddingconfig_model: (a: number) => any;
7091
+ readonly wasmsparseembeddingconfig_acceleration: (a: number) => number;
7092
+ readonly wasmproxyconfig_set_password: (a: number, b: number, c: number) => void;
7093
+ readonly wasmproxyconfig_set_username: (a: number, b: number, c: number) => void;
7094
+ readonly wasmproxyconfig_password: (a: number) => [number, number];
7095
+ readonly wasmproxyconfig_username: (a: number) => [number, number];
7096
+ readonly wasmocrrotation_set_confidence: (a: number, b: number, c: number) => void;
7097
+ readonly wasmocrrotation_angleDegrees: (a: number) => number;
7098
+ readonly wasmocrrotation_confidence: (a: number) => [number, number];
7099
+ readonly __wbg_wasmocrrotation_free: (a: number, b: number) => void;
7100
+ readonly wasmdbffieldinfo_name: (a: number) => [number, number];
7101
+ readonly wasmdiffline_set_kind: (a: number, b: number, c: number) => void;
7102
+ readonly wasmdiffline_set_0: (a: number, b: number, c: number) => void;
7103
+ readonly wasmdiffline_kind: (a: number) => [number, number];
7104
+ readonly wasmdjotlink_set_url: (a: number, b: number, c: number) => void;
7105
+ readonly wasmdjotlink_url: (a: number) => [number, number];
7106
+ readonly __wbg_wasmproxyconfig_free: (a: number, b: number) => void;
7107
+ readonly wasmssrfpolicy_set_denyPrivate: (a: number, b: number) => void;
7146
7108
  readonly wasmqrboundingbox_set_y: (a: number, b: number) => void;
7147
7109
  readonly wasmqrboundingbox_set_x: (a: number, b: number) => void;
7148
7110
  readonly wasmqrboundingbox_set_width: (a: number, b: number) => void;
@@ -7152,48 +7114,86 @@ export interface InitOutput {
7152
7114
  readonly wasmqrboundingbox_width: (a: number) => number;
7153
7115
  readonly wasmqrboundingbox_height: (a: number) => number;
7154
7116
  readonly __wbg_wasmqrboundingbox_free: (a: number, b: number) => void;
7155
- readonly __wbg_wasmocrelementconfig_free: (a: number, b: number) => void;
7156
- readonly __wbg_wasmredactionterm_free: (a: number, b: number) => void;
7117
+ readonly __wbg_wasmredactionfinding_free: (a: number, b: number) => void;
7118
+ readonly wasmssrfpolicy_denyPrivate: (a: number) => number;
7119
+ readonly wasmdjotlink_set_title: (a: number, b: number, c: number) => void;
7120
+ readonly wasmdjotlink_set_text: (a: number, b: number, c: number) => void;
7121
+ readonly wasmdjotlink_title: (a: number) => [number, number];
7122
+ readonly wasmdjotlink_text: (a: number) => [number, number];
7123
+ readonly __wbg_wasmdjotlink_free: (a: number, b: number) => void;
7124
+ readonly wasmredactionfinding_start: (a: number) => number;
7125
+ readonly wasmredactionfinding_end: (a: number) => number;
7126
+ readonly wasmpageboundary_set_pageNumber: (a: number, b: number) => void;
7127
+ readonly wasmpageboundary_set_byteStart: (a: number, b: number) => void;
7128
+ readonly wasmpageboundary_set_byteEnd: (a: number, b: number) => void;
7129
+ readonly wasmpageboundary_pageNumber: (a: number) => number;
7130
+ readonly wasmpageboundary_byteStart: (a: number) => number;
7131
+ readonly wasmpageboundary_byteEnd: (a: number) => number;
7132
+ readonly __wbg_wasmpageboundary_free: (a: number, b: number) => void;
7133
+ readonly wasmpropertychange_set_name: (a: number, b: number, c: number) => void;
7134
+ readonly wasmpropertychange_set_from: (a: number, b: number, c: number) => void;
7135
+ readonly wasmpropertychange_set_to: (a: number, b: number, c: number) => void;
7136
+ readonly wasmpropertychange_name: (a: number) => [number, number];
7137
+ readonly wasmpropertychange_from: (a: number) => [number, number];
7138
+ readonly wasmpropertychange_to: (a: number) => [number, number];
7139
+ readonly __wbg_wasmdocumentrelationship_free: (a: number, b: number) => void;
7140
+ readonly wasmdocumentrelationship_target: (a: number) => number;
7141
+ readonly wasmpageconfig_set_markerFormat: (a: number, b: number, c: number) => void;
7142
+ readonly wasmtokenreductionoptions_set_preserveImportantWords: (a: number, b: number) => void;
7143
+ readonly wasmpageconfig_markerFormat: (a: number) => [number, number];
7144
+ readonly wasmtokenreductionoptions_preserveImportantWords: (a: number) => number;
7145
+ readonly __wbg_wasmtokenreductionoptions_free: (a: number, b: number) => void;
7146
+ readonly wasmpatternmatch_start: (a: number) => number;
7147
+ readonly wasmtablecell_set_rowSpan: (a: number, b: number) => void;
7148
+ readonly wasmtablecell_set_isHeader: (a: number, b: number) => void;
7149
+ readonly wasmtablecell_set_content: (a: number, b: number, c: number) => void;
7150
+ readonly wasmtablecell_set_colSpan: (a: number, b: number) => void;
7151
+ readonly wasmtablecell_rowSpan: (a: number) => number;
7152
+ readonly wasmtablecell_isHeader: (a: number) => number;
7153
+ readonly wasmtablecell_content: (a: number) => [number, number];
7154
+ readonly wasmtablecell_colSpan: (a: number) => number;
7155
+ readonly wasmsparseembeddingconfig_set_maxEmbedDurationSecs: (a: number, b: number, c: bigint) => void;
7156
+ readonly wasmsparseembeddingconfig_set_cacheDir: (a: number, b: number, c: number) => void;
7157
+ readonly wasmsparseembeddingconfig_maxLength: (a: number) => number;
7158
+ readonly wasmsparseembeddingconfig_maxEmbedDurationSecs: (a: number) => [number, bigint];
7159
+ readonly wasmsparseembeddingconfig_cacheDir: (a: number) => [number, number];
7160
+ readonly wasmsparseembeddingconfig_batchSize: (a: number) => number;
7157
7161
  readonly wasmerrormetadata_set_message: (a: number, b: number, c: number) => void;
7158
7162
  readonly wasmerrormetadata_message: (a: number) => [number, number];
7159
7163
  readonly __wbg_wasmerrormetadata_free: (a: number, b: number) => void;
7160
- readonly wasmdiffline_set_kind: (a: number, b: number, c: number) => void;
7161
- readonly wasmdiffline_set_0: (a: number, b: number, c: number) => void;
7162
- readonly wasmdiffline_kind: (a: number) => [number, number];
7163
- readonly wasmdiffline_0: (a: number) => [number, number];
7164
- readonly wasmproxyconfig_set_username: (a: number, b: number, c: number) => void;
7165
- readonly wasmproxyconfig_set_password: (a: number, b: number, c: number) => void;
7166
- readonly wasmproxyconfig_username: (a: number) => [number, number];
7167
- readonly wasmproxyconfig_password: (a: number) => [number, number];
7164
+ readonly __wbg_wasmocrelementconfig_free: (a: number, b: number) => void;
7168
7165
  readonly wasmrerankerconfig_maxRerankDurationSecs: (a: number) => [number, bigint];
7169
7166
  readonly wasmrerankerconfig_cacheDir: (a: number) => [number, number];
7170
7167
  readonly wasmrerankerconfig_batchSize: (a: number) => number;
7171
7168
  readonly wasmrerankerconfig_set_maxRerankDurationSecs: (a: number, b: number, c: bigint) => void;
7172
7169
  readonly wasmrerankerconfig_set_cacheDir: (a: number, b: number, c: number) => void;
7173
- readonly wasmsupportedformat_mimeType: (a: number) => [number, number];
7174
- readonly wasmsupportedformat_set_mimeType: (a: number, b: number, c: number) => void;
7175
- readonly wasmpropertychange_set_to: (a: number, b: number, c: number) => void;
7176
- readonly wasmpropertychange_set_from: (a: number, b: number, c: number) => void;
7177
- readonly wasmpropertychange_to: (a: number) => [number, number];
7178
- readonly wasmpropertychange_from: (a: number) => [number, number];
7179
- readonly __wbg_wasmproxyconfig_free: (a: number, b: number) => void;
7180
- readonly wasmssrfpolicy_set_denyPrivate: (a: number, b: number) => void;
7181
- readonly wasmssrfpolicy_denyPrivate: (a: number) => number;
7182
- readonly __wbg_wasmpageconfig_free: (a: number, b: number) => void;
7170
+ readonly wasmredactionpattern_pattern: (a: number) => [number, number];
7171
+ readonly __wbg_wasmredactionpattern_free: (a: number, b: number) => void;
7172
+ readonly wasmredactionpattern_set_pattern: (a: number, b: number, c: number) => void;
7183
7173
  readonly __wbg_wasmpreprocessingoptions_free: (a: number, b: number) => void;
7184
7174
  readonly wasmpreprocessingoptions_enabled: (a: number) => number;
7185
- readonly wasmsparseembeddingconfig_set_model: (a: number, b: any) => void;
7186
- readonly wasmsparseembeddingconfig_set_maxLength: (a: number, b: number) => void;
7187
- readonly wasmsparseembeddingconfig_set_maxEmbedDurationSecs: (a: number, b: number, c: bigint) => void;
7188
- readonly wasmsparseembeddingconfig_set_cacheDir: (a: number, b: number, c: number) => void;
7189
- readonly wasmsparseembeddingconfig_set_batchSize: (a: number, b: number) => void;
7190
- readonly wasmsparseembeddingconfig_set_acceleration: (a: number, b: number) => void;
7191
- readonly wasmsparseembeddingconfig_model: (a: number) => any;
7192
- readonly wasmsparseembeddingconfig_maxLength: (a: number) => number;
7193
- readonly wasmsparseembeddingconfig_maxEmbedDurationSecs: (a: number) => [number, bigint];
7194
- readonly wasmsparseembeddingconfig_cacheDir: (a: number) => [number, number];
7195
- readonly wasmsparseembeddingconfig_batchSize: (a: number) => number;
7196
- readonly wasmsparseembeddingconfig_acceleration: (a: number) => number;
7175
+ readonly wasmvlmfallbackpolicy_set_mode: (a: number, b: number, c: number) => void;
7176
+ readonly wasmvlmfallbackpolicy_set_qualityThreshold: (a: number, b: number, c: number) => void;
7177
+ readonly wasmvlmfallbackpolicy_mode: (a: number) => [number, number];
7178
+ readonly wasmvlmfallbackpolicy_qualityThreshold: (a: number) => [number, number];
7179
+ readonly __wbg_wasmpageconfig_free: (a: number, b: number) => void;
7180
+ readonly wasmdiffline_0: (a: number) => [number, number];
7181
+ readonly wasmsupportedformat_mimeType: (a: number) => [number, number];
7182
+ readonly wasmsupportedformat_set_mimeType: (a: number, b: number, c: number) => void;
7183
+ readonly wasmdbffieldinfo_set_name: (a: number, b: number, c: number) => void;
7184
+ readonly wasmdbffieldinfo_set_fieldType: (a: number, b: number, c: number) => void;
7185
+ readonly wasmdbffieldinfo_fieldType: (a: number) => [number, number];
7186
+ readonly __wbg_wasmdbffieldinfo_free: (a: number, b: number) => void;
7187
+ readonly wasmprocessingwarning_message: (a: number) => [number, number];
7188
+ readonly __wbg_wasmprocessingwarning_free: (a: number, b: number) => void;
7189
+ readonly wasmprocessingwarning_set_message: (a: number, b: number, c: number) => void;
7190
+ readonly wasmredactionterm_set_value: (a: number, b: number, c: number) => void;
7191
+ readonly wasmredactionterm_set_label: (a: number, b: number, c: number) => void;
7192
+ readonly wasmredactionterm_set_caseSensitive: (a: number, b: number) => void;
7193
+ readonly wasmredactionterm_value: (a: number) => [number, number];
7194
+ readonly wasmredactionterm_label: (a: number) => [number, number];
7195
+ readonly wasmredactionterm_caseSensitive: (a: number) => number;
7196
+ readonly __wbg_wasmredactionterm_free: (a: number, b: number) => void;
7197
7197
  readonly __wbg_wasmsparseembeddingmodeltype_free: (a: number, b: number) => void;
7198
7198
  readonly wasmsparseembeddingmodeltype_set_type: (a: number, b: number, c: number) => void;
7199
7199
  readonly wasmsparseembeddingmodeltype_set_name: (a: number, b: number, c: number) => void;
@@ -28121,7 +28121,7 @@ function __wbg_get_imports() {
28121
28121
  const ret = arg0.value;
28122
28122
  return ret;
28123
28123
  },
28124
- __wbg_warn_e1eb59a6c9f6435e: function(arg0, arg1) {
28124
+ __wbg_warn_cb014e99faefc0e6: function(arg0, arg1) {
28125
28125
  console.warn(getStringFromWasm0(arg0, arg1));
28126
28126
  },
28127
28127
  __wbg_wasmarchiveentry_new: function(arg0) {
Binary file
@@ -2419,9 +2419,9 @@ export const wasmredactionterm_default: () => number;
2419
2419
  export const wasmprocessingwarning_new: (a: number, b: number, c: number, d: number) => number;
2420
2420
  export const wasmpagehierarchy_default: () => number;
2421
2421
  export const wasmqrboundingbox_default: () => number;
2422
+ export const __wbg_wasmsparseembeddingconfig_free: (a: number, b: number) => void;
2422
2423
  export const __wbg_wasmtablecell_free: (a: number, b: number) => void;
2423
2424
  export const __wbg_wasmvlmfallbackpolicy_free: (a: number, b: number) => void;
2424
- export const __wbg_wasmsparseembeddingconfig_free: (a: number, b: number) => void;
2425
2425
  export const wasmvlmfallbackpolicy_default: () => number;
2426
2426
  export const wasmproxyconfig_url: (a: number) => [number, number];
2427
2427
  export const wasmsupportedformat_extension: (a: number) => [number, number];
@@ -2452,41 +2452,10 @@ export const wasmtokenreductionoptions_set_mode: (a: number, b: number, c: numbe
2452
2452
  export const wasmpatternmatch_set_start: (a: number, b: number) => void;
2453
2453
  export const wasmpatternmatch_set_text: (a: number, b: number, c: number) => void;
2454
2454
  export const wasmerrormetadata_errorType: (a: number) => [number, number];
2455
- export const wasmtablecell_set_rowSpan: (a: number, b: number) => void;
2456
- export const wasmtablecell_set_isHeader: (a: number, b: number) => void;
2457
- export const wasmtablecell_set_content: (a: number, b: number, c: number) => void;
2458
- export const wasmtablecell_set_colSpan: (a: number, b: number) => void;
2459
- export const wasmtablecell_isHeader: (a: number) => number;
2460
- export const wasmtablecell_content: (a: number) => [number, number];
2461
- export const wasmdbffieldinfo_set_name: (a: number, b: number, c: number) => void;
2462
- export const wasmdjotlink_set_url: (a: number, b: number, c: number) => void;
2463
- export const wasmdjotlink_url: (a: number) => [number, number];
2464
- export const wasmpageboundary_set_pageNumber: (a: number, b: number) => void;
2465
- export const wasmpageboundary_set_byteStart: (a: number, b: number) => void;
2466
- export const wasmpageboundary_set_byteEnd: (a: number, b: number) => void;
2467
- export const wasmpageboundary_byteStart: (a: number) => number;
2468
- export const wasmtablecell_rowSpan: (a: number) => number;
2469
- export const wasmtablecell_colSpan: (a: number) => number;
2470
2455
  export const wasmocrelementconfig_minConfidence: (a: number) => number;
2471
2456
  export const wasmocrelementconfig_includeElements: (a: number) => number;
2472
2457
  export const wasmocrelementconfig_set_minConfidence: (a: number, b: number) => void;
2473
2458
  export const wasmocrelementconfig_set_includeElements: (a: number, b: number) => void;
2474
- export const wasmredactionfinding_start: (a: number) => number;
2475
- export const wasmredactionfinding_end: (a: number) => number;
2476
- export const __wbg_wasmredactionfinding_free: (a: number, b: number) => void;
2477
- export const wasmdbffieldinfo_set_fieldType: (a: number, b: number, c: number) => void;
2478
- export const wasmdbffieldinfo_name: (a: number) => [number, number];
2479
- export const wasmdbffieldinfo_fieldType: (a: number) => [number, number];
2480
- export const wasmocrrotation_set_angleDegrees: (a: number, b: number) => void;
2481
- export const wasmocrrotation_set_confidence: (a: number, b: number, c: number) => void;
2482
- export const wasmocrrotation_angleDegrees: (a: number) => number;
2483
- export const wasmocrrotation_confidence: (a: number) => [number, number];
2484
- export const __wbg_wasmocrrotation_free: (a: number, b: number) => void;
2485
- export const wasmpageconfig_set_markerFormat: (a: number, b: number, c: number) => void;
2486
- export const wasmtokenreductionoptions_set_preserveImportantWords: (a: number, b: number) => void;
2487
- export const wasmpageconfig_markerFormat: (a: number) => [number, number];
2488
- export const wasmtokenreductionoptions_preserveImportantWords: (a: number) => number;
2489
- export const __wbg_wasmtokenreductionoptions_free: (a: number, b: number) => void;
2490
2459
  export const wasmrerankerconfig_set_topK: (a: number, b: number) => void;
2491
2460
  export const wasmrerankerconfig_set_showDownloadProgress: (a: number, b: number) => void;
2492
2461
  export const wasmrerankerconfig_set_model: (a: number, b: any) => void;
@@ -2496,36 +2465,29 @@ export const wasmrerankerconfig_topK: (a: number) => number;
2496
2465
  export const wasmrerankerconfig_showDownloadProgress: (a: number) => number;
2497
2466
  export const wasmrerankerconfig_model: (a: number) => any;
2498
2467
  export const wasmrerankerconfig_acceleration: (a: number) => number;
2499
- export const wasmprocessingwarning_message: (a: number) => [number, number];
2500
- export const __wbg_wasmprocessingwarning_free: (a: number, b: number) => void;
2501
- export const wasmprocessingwarning_set_message: (a: number, b: number, c: number) => void;
2502
- export const wasmvlmfallbackpolicy_qualityThreshold: (a: number) => [number, number];
2503
- export const __wbg_wasmpageboundary_free: (a: number, b: number) => void;
2504
- export const wasmpageboundary_byteEnd: (a: number) => number;
2505
- export const wasmpatternmatch_start: (a: number) => number;
2506
- export const __wbg_wasmdbffieldinfo_free: (a: number, b: number) => void;
2507
- export const wasmredactionterm_set_label: (a: number, b: number, c: number) => void;
2508
- export const wasmredactionterm_set_caseSensitive: (a: number, b: number) => void;
2509
- export const wasmredactionterm_label: (a: number) => [number, number];
2510
- export const wasmredactionterm_caseSensitive: (a: number) => number;
2511
- export const wasmvlmfallbackpolicy_mode: (a: number) => [number, number];
2512
- export const wasmvlmfallbackpolicy_set_qualityThreshold: (a: number, b: number, c: number) => void;
2513
- export const wasmvlmfallbackpolicy_set_mode: (a: number, b: number, c: number) => void;
2514
- export const wasmdjotlink_set_title: (a: number, b: number, c: number) => void;
2515
- export const wasmdjotlink_set_text: (a: number, b: number, c: number) => void;
2516
- export const wasmdjotlink_title: (a: number) => [number, number];
2517
- export const wasmdjotlink_text: (a: number) => [number, number];
2518
- export const __wbg_wasmdjotlink_free: (a: number, b: number) => void;
2519
- export const wasmdocumentrelationship_target: (a: number) => number;
2520
- export const wasmpageboundary_pageNumber: (a: number) => number;
2521
- export const __wbg_wasmdocumentrelationship_free: (a: number, b: number) => void;
2522
- export const wasmredactionterm_value: (a: number) => [number, number];
2523
- export const wasmredactionterm_set_value: (a: number, b: number, c: number) => void;
2524
- export const wasmredactionpattern_pattern: (a: number) => [number, number];
2525
- export const __wbg_wasmredactionpattern_free: (a: number, b: number) => void;
2526
- export const wasmredactionpattern_set_pattern: (a: number, b: number, c: number) => void;
2527
- export const wasmpropertychange_set_name: (a: number, b: number, c: number) => void;
2528
- export const wasmpropertychange_name: (a: number) => [number, number];
2468
+ export const wasmsparseembeddingconfig_set_model: (a: number, b: any) => void;
2469
+ export const wasmsparseembeddingconfig_set_maxLength: (a: number, b: number) => void;
2470
+ export const wasmsparseembeddingconfig_set_batchSize: (a: number, b: number) => void;
2471
+ export const wasmsparseembeddingconfig_set_acceleration: (a: number, b: number) => void;
2472
+ export const wasmocrrotation_set_angleDegrees: (a: number, b: number) => void;
2473
+ export const wasmsparseembeddingconfig_model: (a: number) => any;
2474
+ export const wasmsparseembeddingconfig_acceleration: (a: number) => number;
2475
+ export const wasmproxyconfig_set_password: (a: number, b: number, c: number) => void;
2476
+ export const wasmproxyconfig_set_username: (a: number, b: number, c: number) => void;
2477
+ export const wasmproxyconfig_password: (a: number) => [number, number];
2478
+ export const wasmproxyconfig_username: (a: number) => [number, number];
2479
+ export const wasmocrrotation_set_confidence: (a: number, b: number, c: number) => void;
2480
+ export const wasmocrrotation_angleDegrees: (a: number) => number;
2481
+ export const wasmocrrotation_confidence: (a: number) => [number, number];
2482
+ export const __wbg_wasmocrrotation_free: (a: number, b: number) => void;
2483
+ export const wasmdbffieldinfo_name: (a: number) => [number, number];
2484
+ export const wasmdiffline_set_kind: (a: number, b: number, c: number) => void;
2485
+ export const wasmdiffline_set_0: (a: number, b: number, c: number) => void;
2486
+ export const wasmdiffline_kind: (a: number) => [number, number];
2487
+ export const wasmdjotlink_set_url: (a: number, b: number, c: number) => void;
2488
+ export const wasmdjotlink_url: (a: number) => [number, number];
2489
+ export const __wbg_wasmproxyconfig_free: (a: number, b: number) => void;
2490
+ export const wasmssrfpolicy_set_denyPrivate: (a: number, b: number) => void;
2529
2491
  export const wasmqrboundingbox_set_y: (a: number, b: number) => void;
2530
2492
  export const wasmqrboundingbox_set_x: (a: number, b: number) => void;
2531
2493
  export const wasmqrboundingbox_set_width: (a: number, b: number) => void;
@@ -2535,48 +2497,86 @@ export const wasmqrboundingbox_x: (a: number) => number;
2535
2497
  export const wasmqrboundingbox_width: (a: number) => number;
2536
2498
  export const wasmqrboundingbox_height: (a: number) => number;
2537
2499
  export const __wbg_wasmqrboundingbox_free: (a: number, b: number) => void;
2538
- export const __wbg_wasmocrelementconfig_free: (a: number, b: number) => void;
2539
- export const __wbg_wasmredactionterm_free: (a: number, b: number) => void;
2500
+ export const __wbg_wasmredactionfinding_free: (a: number, b: number) => void;
2501
+ export const wasmssrfpolicy_denyPrivate: (a: number) => number;
2502
+ export const wasmdjotlink_set_title: (a: number, b: number, c: number) => void;
2503
+ export const wasmdjotlink_set_text: (a: number, b: number, c: number) => void;
2504
+ export const wasmdjotlink_title: (a: number) => [number, number];
2505
+ export const wasmdjotlink_text: (a: number) => [number, number];
2506
+ export const __wbg_wasmdjotlink_free: (a: number, b: number) => void;
2507
+ export const wasmredactionfinding_start: (a: number) => number;
2508
+ export const wasmredactionfinding_end: (a: number) => number;
2509
+ export const wasmpageboundary_set_pageNumber: (a: number, b: number) => void;
2510
+ export const wasmpageboundary_set_byteStart: (a: number, b: number) => void;
2511
+ export const wasmpageboundary_set_byteEnd: (a: number, b: number) => void;
2512
+ export const wasmpageboundary_pageNumber: (a: number) => number;
2513
+ export const wasmpageboundary_byteStart: (a: number) => number;
2514
+ export const wasmpageboundary_byteEnd: (a: number) => number;
2515
+ export const __wbg_wasmpageboundary_free: (a: number, b: number) => void;
2516
+ export const wasmpropertychange_set_name: (a: number, b: number, c: number) => void;
2517
+ export const wasmpropertychange_set_from: (a: number, b: number, c: number) => void;
2518
+ export const wasmpropertychange_set_to: (a: number, b: number, c: number) => void;
2519
+ export const wasmpropertychange_name: (a: number) => [number, number];
2520
+ export const wasmpropertychange_from: (a: number) => [number, number];
2521
+ export const wasmpropertychange_to: (a: number) => [number, number];
2522
+ export const __wbg_wasmdocumentrelationship_free: (a: number, b: number) => void;
2523
+ export const wasmdocumentrelationship_target: (a: number) => number;
2524
+ export const wasmpageconfig_set_markerFormat: (a: number, b: number, c: number) => void;
2525
+ export const wasmtokenreductionoptions_set_preserveImportantWords: (a: number, b: number) => void;
2526
+ export const wasmpageconfig_markerFormat: (a: number) => [number, number];
2527
+ export const wasmtokenreductionoptions_preserveImportantWords: (a: number) => number;
2528
+ export const __wbg_wasmtokenreductionoptions_free: (a: number, b: number) => void;
2529
+ export const wasmpatternmatch_start: (a: number) => number;
2530
+ export const wasmtablecell_set_rowSpan: (a: number, b: number) => void;
2531
+ export const wasmtablecell_set_isHeader: (a: number, b: number) => void;
2532
+ export const wasmtablecell_set_content: (a: number, b: number, c: number) => void;
2533
+ export const wasmtablecell_set_colSpan: (a: number, b: number) => void;
2534
+ export const wasmtablecell_rowSpan: (a: number) => number;
2535
+ export const wasmtablecell_isHeader: (a: number) => number;
2536
+ export const wasmtablecell_content: (a: number) => [number, number];
2537
+ export const wasmtablecell_colSpan: (a: number) => number;
2538
+ export const wasmsparseembeddingconfig_set_maxEmbedDurationSecs: (a: number, b: number, c: bigint) => void;
2539
+ export const wasmsparseembeddingconfig_set_cacheDir: (a: number, b: number, c: number) => void;
2540
+ export const wasmsparseembeddingconfig_maxLength: (a: number) => number;
2541
+ export const wasmsparseembeddingconfig_maxEmbedDurationSecs: (a: number) => [number, bigint];
2542
+ export const wasmsparseembeddingconfig_cacheDir: (a: number) => [number, number];
2543
+ export const wasmsparseembeddingconfig_batchSize: (a: number) => number;
2540
2544
  export const wasmerrormetadata_set_message: (a: number, b: number, c: number) => void;
2541
2545
  export const wasmerrormetadata_message: (a: number) => [number, number];
2542
2546
  export const __wbg_wasmerrormetadata_free: (a: number, b: number) => void;
2543
- export const wasmdiffline_set_kind: (a: number, b: number, c: number) => void;
2544
- export const wasmdiffline_set_0: (a: number, b: number, c: number) => void;
2545
- export const wasmdiffline_kind: (a: number) => [number, number];
2546
- export const wasmdiffline_0: (a: number) => [number, number];
2547
- export const wasmproxyconfig_set_username: (a: number, b: number, c: number) => void;
2548
- export const wasmproxyconfig_set_password: (a: number, b: number, c: number) => void;
2549
- export const wasmproxyconfig_username: (a: number) => [number, number];
2550
- export const wasmproxyconfig_password: (a: number) => [number, number];
2547
+ export const __wbg_wasmocrelementconfig_free: (a: number, b: number) => void;
2551
2548
  export const wasmrerankerconfig_maxRerankDurationSecs: (a: number) => [number, bigint];
2552
2549
  export const wasmrerankerconfig_cacheDir: (a: number) => [number, number];
2553
2550
  export const wasmrerankerconfig_batchSize: (a: number) => number;
2554
2551
  export const wasmrerankerconfig_set_maxRerankDurationSecs: (a: number, b: number, c: bigint) => void;
2555
2552
  export const wasmrerankerconfig_set_cacheDir: (a: number, b: number, c: number) => void;
2556
- export const wasmsupportedformat_mimeType: (a: number) => [number, number];
2557
- export const wasmsupportedformat_set_mimeType: (a: number, b: number, c: number) => void;
2558
- export const wasmpropertychange_set_to: (a: number, b: number, c: number) => void;
2559
- export const wasmpropertychange_set_from: (a: number, b: number, c: number) => void;
2560
- export const wasmpropertychange_to: (a: number) => [number, number];
2561
- export const wasmpropertychange_from: (a: number) => [number, number];
2562
- export const __wbg_wasmproxyconfig_free: (a: number, b: number) => void;
2563
- export const wasmssrfpolicy_set_denyPrivate: (a: number, b: number) => void;
2564
- export const wasmssrfpolicy_denyPrivate: (a: number) => number;
2565
- export const __wbg_wasmpageconfig_free: (a: number, b: number) => void;
2553
+ export const wasmredactionpattern_pattern: (a: number) => [number, number];
2554
+ export const __wbg_wasmredactionpattern_free: (a: number, b: number) => void;
2555
+ export const wasmredactionpattern_set_pattern: (a: number, b: number, c: number) => void;
2566
2556
  export const __wbg_wasmpreprocessingoptions_free: (a: number, b: number) => void;
2567
2557
  export const wasmpreprocessingoptions_enabled: (a: number) => number;
2568
- export const wasmsparseembeddingconfig_set_model: (a: number, b: any) => void;
2569
- export const wasmsparseembeddingconfig_set_maxLength: (a: number, b: number) => void;
2570
- export const wasmsparseembeddingconfig_set_maxEmbedDurationSecs: (a: number, b: number, c: bigint) => void;
2571
- export const wasmsparseembeddingconfig_set_cacheDir: (a: number, b: number, c: number) => void;
2572
- export const wasmsparseembeddingconfig_set_batchSize: (a: number, b: number) => void;
2573
- export const wasmsparseembeddingconfig_set_acceleration: (a: number, b: number) => void;
2574
- export const wasmsparseembeddingconfig_model: (a: number) => any;
2575
- export const wasmsparseembeddingconfig_maxLength: (a: number) => number;
2576
- export const wasmsparseembeddingconfig_maxEmbedDurationSecs: (a: number) => [number, bigint];
2577
- export const wasmsparseembeddingconfig_cacheDir: (a: number) => [number, number];
2578
- export const wasmsparseembeddingconfig_batchSize: (a: number) => number;
2579
- export const wasmsparseembeddingconfig_acceleration: (a: number) => number;
2558
+ export const wasmvlmfallbackpolicy_set_mode: (a: number, b: number, c: number) => void;
2559
+ export const wasmvlmfallbackpolicy_set_qualityThreshold: (a: number, b: number, c: number) => void;
2560
+ export const wasmvlmfallbackpolicy_mode: (a: number) => [number, number];
2561
+ export const wasmvlmfallbackpolicy_qualityThreshold: (a: number) => [number, number];
2562
+ export const __wbg_wasmpageconfig_free: (a: number, b: number) => void;
2563
+ export const wasmdiffline_0: (a: number) => [number, number];
2564
+ export const wasmsupportedformat_mimeType: (a: number) => [number, number];
2565
+ export const wasmsupportedformat_set_mimeType: (a: number, b: number, c: number) => void;
2566
+ export const wasmdbffieldinfo_set_name: (a: number, b: number, c: number) => void;
2567
+ export const wasmdbffieldinfo_set_fieldType: (a: number, b: number, c: number) => void;
2568
+ export const wasmdbffieldinfo_fieldType: (a: number) => [number, number];
2569
+ export const __wbg_wasmdbffieldinfo_free: (a: number, b: number) => void;
2570
+ export const wasmprocessingwarning_message: (a: number) => [number, number];
2571
+ export const __wbg_wasmprocessingwarning_free: (a: number, b: number) => void;
2572
+ export const wasmprocessingwarning_set_message: (a: number, b: number, c: number) => void;
2573
+ export const wasmredactionterm_set_value: (a: number, b: number, c: number) => void;
2574
+ export const wasmredactionterm_set_label: (a: number, b: number, c: number) => void;
2575
+ export const wasmredactionterm_set_caseSensitive: (a: number, b: number) => void;
2576
+ export const wasmredactionterm_value: (a: number) => [number, number];
2577
+ export const wasmredactionterm_label: (a: number) => [number, number];
2578
+ export const wasmredactionterm_caseSensitive: (a: number) => number;
2579
+ export const __wbg_wasmredactionterm_free: (a: number, b: number) => void;
2580
2580
  export const __wbg_wasmsparseembeddingmodeltype_free: (a: number, b: number) => void;
2581
2581
  export const wasmsparseembeddingmodeltype_set_type: (a: number, b: number, c: number) => void;
2582
2582
  export const wasmsparseembeddingmodeltype_set_name: (a: number, b: number, c: number) => void;