@kreuzberg/wasm 4.0.6 → 4.0.7
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 +4 -4
- package/dist/pkg/README.md +4 -4
- package/dist/pkg/kreuzberg_wasm.d.ts +14 -11
- package/dist/pkg/kreuzberg_wasm.js +690 -787
- package/dist/pkg/kreuzberg_wasm_bg.js +479 -583
- package/dist/pkg/kreuzberg_wasm_bg.wasm +0 -0
- package/dist/pkg/kreuzberg_wasm_bg.wasm.d.ts +3 -3
- package/dist/pkg/package.json +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
<img width="1128" height="191" alt="Banner2" src="https://github.com/user-attachments/assets/419fc06c-8313-4324-b159-4b4d3cfce5c0" />
|
|
47
47
|
|
|
48
48
|
<div align="center" style="margin-top: 20px;">
|
|
49
|
-
<a href="https://discord.gg/
|
|
49
|
+
<a href="https://discord.gg/xt9WY3GnKR">
|
|
50
50
|
<img height="22" src="https://img.shields.io/badge/Discord-Join%20our%20community-7289da?logo=discord&logoColor=white" alt="Discord">
|
|
51
51
|
</a>
|
|
52
52
|
</div>
|
|
@@ -184,7 +184,7 @@ interface DocumentJob {
|
|
|
184
184
|
mimeType: string;
|
|
185
185
|
}
|
|
186
186
|
|
|
187
|
-
async function
|
|
187
|
+
async function processBatch(documents: DocumentJob[], concurrency: number = 3) {
|
|
188
188
|
await initWasm();
|
|
189
189
|
|
|
190
190
|
const results: Record<string, string> = {};
|
|
@@ -441,7 +441,7 @@ interface DocumentJob {
|
|
|
441
441
|
mimeType: string;
|
|
442
442
|
}
|
|
443
443
|
|
|
444
|
-
async function
|
|
444
|
+
async function processBatch(documents: DocumentJob[], concurrency: number = 3) {
|
|
445
445
|
await initWasm();
|
|
446
446
|
|
|
447
447
|
const results: Record<string, string> = {};
|
|
@@ -493,6 +493,6 @@ MIT License - see LICENSE file for details.
|
|
|
493
493
|
|
|
494
494
|
## Support
|
|
495
495
|
|
|
496
|
-
- **Discord Community**: [Join our Discord](https://discord.gg/
|
|
496
|
+
- **Discord Community**: [Join our Discord](https://discord.gg/xt9WY3GnKR)
|
|
497
497
|
- **GitHub Issues**: [Report bugs](https://github.com/kreuzberg-dev/kreuzberg/issues)
|
|
498
498
|
- **Discussions**: [Ask questions](https://github.com/kreuzberg-dev/kreuzberg/discussions)
|
package/dist/pkg/README.md
CHANGED
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
<img width="1128" height="191" alt="Banner2" src="https://github.com/user-attachments/assets/419fc06c-8313-4324-b159-4b4d3cfce5c0" />
|
|
47
47
|
|
|
48
48
|
<div align="center" style="margin-top: 20px;">
|
|
49
|
-
<a href="https://discord.gg/
|
|
49
|
+
<a href="https://discord.gg/xt9WY3GnKR">
|
|
50
50
|
<img height="22" src="https://img.shields.io/badge/Discord-Join%20our%20community-7289da?logo=discord&logoColor=white" alt="Discord">
|
|
51
51
|
</a>
|
|
52
52
|
</div>
|
|
@@ -184,7 +184,7 @@ interface DocumentJob {
|
|
|
184
184
|
mimeType: string;
|
|
185
185
|
}
|
|
186
186
|
|
|
187
|
-
async function
|
|
187
|
+
async function processBatch(documents: DocumentJob[], concurrency: number = 3) {
|
|
188
188
|
await initWasm();
|
|
189
189
|
|
|
190
190
|
const results: Record<string, string> = {};
|
|
@@ -441,7 +441,7 @@ interface DocumentJob {
|
|
|
441
441
|
mimeType: string;
|
|
442
442
|
}
|
|
443
443
|
|
|
444
|
-
async function
|
|
444
|
+
async function processBatch(documents: DocumentJob[], concurrency: number = 3) {
|
|
445
445
|
await initWasm();
|
|
446
446
|
|
|
447
447
|
const results: Record<string, string> = {};
|
|
@@ -493,6 +493,6 @@ MIT License - see LICENSE file for details.
|
|
|
493
493
|
|
|
494
494
|
## Support
|
|
495
495
|
|
|
496
|
-
- **Discord Community**: [Join our Discord](https://discord.gg/
|
|
496
|
+
- **Discord Community**: [Join our Discord](https://discord.gg/xt9WY3GnKR)
|
|
497
497
|
- **GitHub Issues**: [Report bugs](https://github.com/kreuzberg-dev/kreuzberg/issues)
|
|
498
498
|
- **Discussions**: [Ask questions](https://github.com/kreuzberg-dev/kreuzberg/discussions)
|
|
@@ -1,18 +1,21 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
|
|
4
|
+
/**
|
|
5
|
+
* Get information about the WASM module
|
|
6
|
+
*/
|
|
4
7
|
export class ModuleInfo {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
8
|
+
private constructor();
|
|
9
|
+
free(): void;
|
|
10
|
+
[Symbol.dispose](): void;
|
|
11
|
+
/**
|
|
12
|
+
* Get the module name
|
|
13
|
+
*/
|
|
14
|
+
name(): string;
|
|
15
|
+
/**
|
|
16
|
+
* Get the module version
|
|
17
|
+
*/
|
|
18
|
+
version(): string;
|
|
16
19
|
}
|
|
17
20
|
|
|
18
21
|
/**
|