@xberg-io/crawlberg-wasm 1.0.1 → 1.0.2

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/package.json CHANGED
@@ -1,38 +1,36 @@
1
1
  {
2
- "name": "@xberg-io/crawlberg-wasm",
3
- "version": "1.0.1",
4
- "private": false,
5
- "description": "High-performance web crawling engine",
6
- "license": "MIT",
7
- "repository": {
8
- "type": "git",
9
- "url": "https://github.com/xberg-io/crawlberg",
10
- "directory": "crates/crawlberg-wasm"
11
- },
12
- "files": [
13
- "pkg",
14
- "*.wasm",
15
- "*.d.ts",
16
- "README.md"
17
- ],
18
- "type": "module",
19
- "main": "pkg/nodejs/crawlberg_wasm.js",
20
- "module": "pkg/web/crawlberg_wasm.js",
21
- "types": "pkg/nodejs/crawlberg_wasm.d.ts",
22
- "publishConfig": {
23
- "access": "public"
24
- },
25
- "scripts": {
26
- "build": "wasm-pack build --target nodejs --out-dir pkg/nodejs",
27
- "build:ci": "wasm-pack build --release --target nodejs --out-dir pkg/nodejs",
28
- "build:wasm:web": "wasm-pack build --release --target web --out-dir pkg/web",
29
- "build:wasm:bundler": "wasm-pack build --release --target bundler --out-dir pkg/bundler",
30
- "build:wasm:nodejs": "wasm-pack build --release --target nodejs --out-dir pkg/nodejs",
31
- "build:wasm:deno": "wasm-pack build --release --target deno --out-dir pkg/deno",
32
- "build:all": "npm run build:wasm:web && npm run build:wasm:bundler && npm run build:wasm:nodejs && npm run build:wasm:deno && find pkg -name .gitignore -delete",
33
- "test": "vitest run",
34
- "test:watch": "vitest watch",
35
- "test:coverage": "vitest run --coverage",
36
- "clean": "rm -rf pkg dist"
37
- }
2
+ "name": "@xberg-io/crawlberg-wasm",
3
+ "version": "1.0.2",
4
+ "private": false,
5
+ "description": "High-performance web crawling engine",
6
+ "license": "MIT",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "https://github.com/xberg-io/crawlberg",
10
+ "directory": "crates/crawlberg-wasm"
11
+ },
12
+ "publishConfig": {
13
+ "access": "public"
14
+ },
15
+ "type": "module",
16
+ "files": ["pkg", "*.wasm", "*.d.ts", "README.md"],
17
+ "main": "pkg/nodejs/crawlberg_wasm.js",
18
+ "module": "pkg/web/crawlberg_wasm.js",
19
+ "types": "pkg/nodejs/crawlberg_wasm.d.ts",
20
+ "engines": {
21
+ "node": ">= 22"
22
+ },
23
+ "scripts": {
24
+ "build": "wasm-pack build --target nodejs --out-dir pkg/nodejs",
25
+ "build:ci": "wasm-pack build --release --target nodejs --out-dir pkg/nodejs",
26
+ "build:wasm:web": "wasm-pack build --release --target web --out-dir pkg/web",
27
+ "build:wasm:bundler": "wasm-pack build --release --target bundler --out-dir pkg/bundler",
28
+ "build:wasm:nodejs": "wasm-pack build --release --target nodejs --out-dir pkg/nodejs",
29
+ "build:wasm:deno": "wasm-pack build --release --target deno --out-dir pkg/deno",
30
+ "build:all": "npm run build:wasm:web && npm run build:wasm:bundler && npm run build:wasm:nodejs && npm run build:wasm:deno && find pkg -name .gitignore -delete",
31
+ "test": "vitest run",
32
+ "test:watch": "vitest watch",
33
+ "test:coverage": "vitest run --coverage",
34
+ "clean": "rm -rf pkg dist"
35
+ }
38
36
  }
Binary file
@@ -662,6 +662,7 @@ export const wasmextractionmeta_promptTokens: (a: number) => [number, bigint];
662
662
  export const wasmpageaction_amount: (a: number) => [number, bigint];
663
663
  export const wasmpageaction_milliseconds: (a: number) => [number, bigint];
664
664
  export const wasmscraperesult_crawlDelay: (a: number) => [number, bigint];
665
+ export const wasmfaviconinfo_default: () => number;
665
666
  export const wasmbatchscraperesults_set_completedCount: (a: number, b: number) => void;
666
667
  export const wasmbatchscraperesults_set_failedCount: (a: number, b: number) => void;
667
668
  export const wasmbatchscraperesults_set_totalCount: (a: number, b: number) => void;
@@ -680,7 +681,6 @@ export const wasmimageinfo_width: (a: number) => number;
680
681
  export const wasmpagemetadata_wordCount: (a: number) => number;
681
682
  export const wasmlinkinfo_nofollow: (a: number) => number;
682
683
  export const wasmauthconfig_new: () => number;
683
- export const wasmfaviconinfo_default: () => number;
684
684
  export const wasmcrawlconfig_set_requestTimeout: (a: number, b: number, c: bigint) => void;
685
685
  export const wasmpageaction_set_amount: (a: number, b: number, c: bigint) => void;
686
686
  export const wasmscraperesult_set_crawlDelay: (a: number, b: number, c: bigint) => void;
@@ -2,7 +2,7 @@
2
2
  "name": "crawlberg-wasm",
3
3
  "type": "module",
4
4
  "description": "High-performance web crawling engine",
5
- "version": "1.0.1",
5
+ "version": "1.0.2",
6
6
  "license": "MIT",
7
7
  "repository": {
8
8
  "type": "git",
Binary file
@@ -662,6 +662,7 @@ export const wasmextractionmeta_promptTokens: (a: number) => [number, bigint];
662
662
  export const wasmpageaction_amount: (a: number) => [number, bigint];
663
663
  export const wasmpageaction_milliseconds: (a: number) => [number, bigint];
664
664
  export const wasmscraperesult_crawlDelay: (a: number) => [number, bigint];
665
+ export const wasmfaviconinfo_default: () => number;
665
666
  export const wasmbatchscraperesults_set_completedCount: (a: number, b: number) => void;
666
667
  export const wasmbatchscraperesults_set_failedCount: (a: number, b: number) => void;
667
668
  export const wasmbatchscraperesults_set_totalCount: (a: number, b: number) => void;
@@ -680,7 +681,6 @@ export const wasmimageinfo_width: (a: number) => number;
680
681
  export const wasmpagemetadata_wordCount: (a: number) => number;
681
682
  export const wasmlinkinfo_nofollow: (a: number) => number;
682
683
  export const wasmauthconfig_new: () => number;
683
- export const wasmfaviconinfo_default: () => number;
684
684
  export const wasmcrawlconfig_set_requestTimeout: (a: number, b: number, c: bigint) => void;
685
685
  export const wasmpageaction_set_amount: (a: number, b: number, c: bigint) => void;
686
686
  export const wasmscraperesult_set_crawlDelay: (a: number, b: number, c: bigint) => void;
Binary file
@@ -662,6 +662,7 @@ export const wasmextractionmeta_promptTokens: (a: number) => [number, bigint];
662
662
  export const wasmpageaction_amount: (a: number) => [number, bigint];
663
663
  export const wasmpageaction_milliseconds: (a: number) => [number, bigint];
664
664
  export const wasmscraperesult_crawlDelay: (a: number) => [number, bigint];
665
+ export const wasmfaviconinfo_default: () => number;
665
666
  export const wasmbatchscraperesults_set_completedCount: (a: number, b: number) => void;
666
667
  export const wasmbatchscraperesults_set_failedCount: (a: number, b: number) => void;
667
668
  export const wasmbatchscraperesults_set_totalCount: (a: number, b: number) => void;
@@ -680,7 +681,6 @@ export const wasmimageinfo_width: (a: number) => number;
680
681
  export const wasmpagemetadata_wordCount: (a: number) => number;
681
682
  export const wasmlinkinfo_nofollow: (a: number) => number;
682
683
  export const wasmauthconfig_new: () => number;
683
- export const wasmfaviconinfo_default: () => number;
684
684
  export const wasmcrawlconfig_set_requestTimeout: (a: number, b: number, c: bigint) => void;
685
685
  export const wasmpageaction_set_amount: (a: number, b: number, c: bigint) => void;
686
686
  export const wasmscraperesult_set_crawlDelay: (a: number, b: number, c: bigint) => void;
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "crawlberg-wasm",
3
3
  "description": "High-performance web crawling engine",
4
- "version": "1.0.1",
4
+ "version": "1.0.2",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",
@@ -1632,6 +1632,7 @@ export interface InitOutput {
1632
1632
  readonly wasmpageaction_amount: (a: number) => [number, bigint];
1633
1633
  readonly wasmpageaction_milliseconds: (a: number) => [number, bigint];
1634
1634
  readonly wasmscraperesult_crawlDelay: (a: number) => [number, bigint];
1635
+ readonly wasmfaviconinfo_default: () => number;
1635
1636
  readonly wasmbatchscraperesults_set_completedCount: (a: number, b: number) => void;
1636
1637
  readonly wasmbatchscraperesults_set_failedCount: (a: number, b: number) => void;
1637
1638
  readonly wasmbatchscraperesults_set_totalCount: (a: number, b: number) => void;
@@ -1650,7 +1651,6 @@ export interface InitOutput {
1650
1651
  readonly wasmpagemetadata_wordCount: (a: number) => number;
1651
1652
  readonly wasmlinkinfo_nofollow: (a: number) => number;
1652
1653
  readonly wasmauthconfig_new: () => number;
1653
- readonly wasmfaviconinfo_default: () => number;
1654
1654
  readonly wasmcrawlconfig_set_requestTimeout: (a: number, b: number, c: bigint) => void;
1655
1655
  readonly wasmpageaction_set_amount: (a: number, b: number, c: bigint) => void;
1656
1656
  readonly wasmscraperesult_set_crawlDelay: (a: number, b: number, c: bigint) => void;
Binary file
@@ -662,6 +662,7 @@ export const wasmextractionmeta_promptTokens: (a: number) => [number, bigint];
662
662
  export const wasmpageaction_amount: (a: number) => [number, bigint];
663
663
  export const wasmpageaction_milliseconds: (a: number) => [number, bigint];
664
664
  export const wasmscraperesult_crawlDelay: (a: number) => [number, bigint];
665
+ export const wasmfaviconinfo_default: () => number;
665
666
  export const wasmbatchscraperesults_set_completedCount: (a: number, b: number) => void;
666
667
  export const wasmbatchscraperesults_set_failedCount: (a: number, b: number) => void;
667
668
  export const wasmbatchscraperesults_set_totalCount: (a: number, b: number) => void;
@@ -680,7 +681,6 @@ export const wasmimageinfo_width: (a: number) => number;
680
681
  export const wasmpagemetadata_wordCount: (a: number) => number;
681
682
  export const wasmlinkinfo_nofollow: (a: number) => number;
682
683
  export const wasmauthconfig_new: () => number;
683
- export const wasmfaviconinfo_default: () => number;
684
684
  export const wasmcrawlconfig_set_requestTimeout: (a: number, b: number, c: bigint) => void;
685
685
  export const wasmpageaction_set_amount: (a: number, b: number, c: bigint) => void;
686
686
  export const wasmscraperesult_set_crawlDelay: (a: number, b: number, c: bigint) => void;
@@ -2,7 +2,7 @@
2
2
  "name": "crawlberg-wasm",
3
3
  "type": "module",
4
4
  "description": "High-performance web crawling engine",
5
- "version": "1.0.1",
5
+ "version": "1.0.2",
6
6
  "license": "MIT",
7
7
  "repository": {
8
8
  "type": "git",