@xberg-io/crawlberg-wasm 1.12.3 → 1.13.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.
Binary file
@@ -861,16 +861,16 @@ export const wasmwafblockdetails_set_status: (a: number, b: number) => void;
861
861
  export const wasmwafblockdetails_set_vendor: (a: number, b: number, c: number) => void;
862
862
  export const wasmwafblockdetails_status: (a: number) => number;
863
863
  export const wasmwafblockdetails_vendor: (a: number) => [number, number];
864
- export const wasm_bindgen_a37d5a31ee71bc5f___convert__closures_____invoke___js_sys_a6a58716f022baea___Function_fn_wasm_bindgen_a37d5a31ee71bc5f___JsValue_____wasm_bindgen_a37d5a31ee71bc5f___sys__Undefined___js_sys_a6a58716f022baea___Function_fn_wasm_bindgen_a37d5a31ee71bc5f___JsValue_____wasm_bindgen_a37d5a31ee71bc5f___sys__Undefined_______true_: (a: number, b: number, c: any, d: any) => void;
865
- export const wasm_bindgen_a37d5a31ee71bc5f___convert__closures_____invoke___wasm_bindgen_a37d5a31ee71bc5f___JsValue__core_37ee0ce0c4cd57d5___result__Result_____wasm_bindgen_a37d5a31ee71bc5f___JsError___true_: (a: number, b: number, c: any) => [number, number];
866
- export const wasm_bindgen_a37d5a31ee71bc5f___convert__closures_____invoke_______true_: (a: number, b: number) => void;
864
+ export const wasm_bindgen_ada118ad91144bf___convert__closures_____invoke___js_sys_d0245ee335b06e0e___Function_fn_wasm_bindgen_ada118ad91144bf___JsValue_____wasm_bindgen_ada118ad91144bf___sys__Undefined___js_sys_d0245ee335b06e0e___Function_fn_wasm_bindgen_ada118ad91144bf___JsValue_____wasm_bindgen_ada118ad91144bf___sys__Undefined_______true_: (a: number, b: number, c: any, d: any) => void;
865
+ export const wasm_bindgen_ada118ad91144bf___convert__closures_____invoke___wasm_bindgen_ada118ad91144bf___JsValue__core_37ee0ce0c4cd57d5___result__Result_____wasm_bindgen_ada118ad91144bf___JsError___true_: (a: number, b: number, c: any) => [number, number];
866
+ export const wasm_bindgen_ada118ad91144bf___convert__closures_____invoke_______true_: (a: number, b: number) => void;
867
867
  export const __wbindgen_malloc: (a: number, b: number) => number;
868
868
  export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
869
+ export const __wbindgen_free: (a: number, b: number, c: number) => void;
869
870
  export const __wbindgen_exn_store: (a: number) => void;
870
871
  export const __externref_table_alloc: () => number;
871
872
  export const __wbindgen_externrefs: WebAssembly.Table;
872
873
  export const __wbindgen_destroy_closure: (a: number, b: number) => void;
873
- export const __externref_table_dealloc: (a: number) => void;
874
- export const __wbindgen_free: (a: number, b: number, c: number) => void;
875
874
  export const __externref_drop_slice: (a: number, b: number) => void;
875
+ export const __externref_table_dealloc: (a: number) => void;
876
876
  export const __wbindgen_start: () => void;
@@ -6,7 +6,7 @@
6
6
  "Tobias Perlstein <tobias@xberg.io>"
7
7
  ],
8
8
  "description": "High-performance web crawling engine",
9
- "version": "1.12.3",
9
+ "version": "1.13.0",
10
10
  "license": "MIT",
11
11
  "repository": {
12
12
  "type": "git",
@@ -30,4 +30,4 @@
30
30
  "web",
31
31
  "spider"
32
32
  ]
33
- }
33
+ }
@@ -515,7 +515,7 @@ export class WasmCrawlConfig {
515
515
  * keep a handle you already hold, build with `default()` and assign the property instead:
516
516
  * the generated setter borrows and leaves your handle alive.
517
517
  */
518
- constructor(crawlStrategy?: WasmCrawlStrategyKind | null, respectRobotsTxt?: boolean | null, softHttpErrors?: boolean | null, stayOnDomain?: boolean | null, allowSubdomains?: boolean | null, includePaths?: string[] | null, excludePaths?: string[] | null, pathPatternsMatchQuery?: boolean | null, pathPatternsMatchUrl?: boolean | null, dedupIncludeQuery?: boolean | null, stripTrackingParams?: boolean | null, trackingParams?: string[] | null, customHeaders?: any | null, requestTimeout?: bigint | null, maxRedirects?: number | null, retryCount?: number | null, retryCodes?: Uint16Array | null, retryInitialDelayMs?: bigint | null, retryMaxDelayMs?: bigint | null, rateLimitJitterRatio?: number | null, cookiesEnabled?: boolean | null, removeTags?: string[] | null, content?: WasmContentConfig | null, downloadAssets?: boolean | null, assetTypes?: WasmAssetCategory[] | null, browser?: WasmBrowserConfig | null, userAgents?: string[] | null, captureScreenshot?: boolean | null, followDocumentUrls?: boolean | null, downloadDocuments?: boolean | null, documentMimeTypes?: string[] | null, saveBrowserProfile?: boolean | null, ssrf?: WasmSsrfPolicy | null, maxDepth?: number | null, maxPages?: number | null, maxLinksPerPage?: number | null, maxConcurrent?: number | null, contentFilter?: WasmContentFilterKind | null, bm25Query?: string | null, bm25Threshold?: number | null, userAgent?: string | null, rateLimitMs?: bigint | null, auth?: any | null, maxBodySize?: number | null, mapLimit?: number | null, mapSearch?: string | null, maxAssetSize?: number | null, proxy?: WasmProxyConfig | null, documentUrlDepth?: number | null, documentMaxSize?: number | null, documentOutputDir?: string | null, documentContentEncoding?: WasmDocumentContentEncoding | null, warcOutput?: string | null, browserProfile?: string | null, ssrfDenyPrivateExplicit?: boolean | null, dangerAcceptInvalidCerts?: boolean | null, subdomainHeaderAllowlist?: string[] | null);
518
+ constructor(crawlStrategy?: WasmCrawlStrategyKind | null, respectRobotsTxt?: boolean | null, softHttpErrors?: boolean | null, stayOnDomain?: boolean | null, allowSubdomains?: boolean | null, includePaths?: string[] | null, excludePaths?: string[] | null, pathPatternsMatchQuery?: boolean | null, pathPatternsMatchUrl?: boolean | null, dedupIncludeQuery?: boolean | null, stripTrackingParams?: boolean | null, trackingParams?: string[] | null, customHeaders?: any | null, requestTimeout?: bigint | null, maxRedirects?: number | null, retryCount?: number | null, retryCodes?: Uint16Array | number[] | null, retryInitialDelayMs?: bigint | null, retryMaxDelayMs?: bigint | null, rateLimitJitterRatio?: number | null, cookiesEnabled?: boolean | null, removeTags?: string[] | null, content?: WasmContentConfig | null, downloadAssets?: boolean | null, assetTypes?: WasmAssetCategory[] | null, browser?: WasmBrowserConfig | null, userAgents?: string[] | null, captureScreenshot?: boolean | null, followDocumentUrls?: boolean | null, downloadDocuments?: boolean | null, documentMimeTypes?: string[] | null, saveBrowserProfile?: boolean | null, ssrf?: WasmSsrfPolicy | null, maxDepth?: number | null, maxPages?: number | null, maxLinksPerPage?: number | null, maxConcurrent?: number | null, contentFilter?: WasmContentFilterKind | null, bm25Query?: string | null, bm25Threshold?: number | null, userAgent?: string | null, rateLimitMs?: bigint | null, auth?: any | null, maxBodySize?: number | null, mapLimit?: number | null, mapSearch?: string | null, maxAssetSize?: number | null, proxy?: WasmProxyConfig | null, documentUrlDepth?: number | null, documentMaxSize?: number | null, documentOutputDir?: string | null, documentContentEncoding?: WasmDocumentContentEncoding | null, warcOutput?: string | null, browserProfile?: string | null, ssrfDenyPrivateExplicit?: boolean | null, dangerAcceptInvalidCerts?: boolean | null, subdomainHeaderAllowlist?: string[] | null);
519
519
  /**
520
520
  * Validate the configuration, returning an error if any values are invalid.
521
521
  *
@@ -604,7 +604,8 @@ export class WasmCrawlConfig {
604
604
  get requestTimeout(): bigint | undefined;
605
605
  set requestTimeout(value: bigint | null | undefined);
606
606
  respectRobotsTxt: boolean;
607
- retryCodes: Uint16Array;
607
+ get retryCodes(): Uint16Array;
608
+ set retryCodes(value: Uint16Array | number[]);
608
609
  retryCount: number;
609
610
  retryInitialDelayMs: bigint;
610
611
  retryMaxDelayMs: bigint;