@xberg-io/crawlberg-wasm 1.5.2 → 1.6.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 +1 -1
- package/pkg/bundler/crawlberg_wasm.d.ts +10 -10
- package/pkg/bundler/crawlberg_wasm_bg.js +233 -224
- package/pkg/bundler/crawlberg_wasm_bg.wasm +0 -0
- package/pkg/bundler/crawlberg_wasm_bg.wasm.d.ts +36 -36
- package/pkg/bundler/package.json +1 -1
- package/pkg/deno/crawlberg_wasm.d.ts +10 -10
- package/pkg/deno/crawlberg_wasm.js +233 -224
- package/pkg/deno/crawlberg_wasm_bg.wasm +0 -0
- package/pkg/deno/crawlberg_wasm_bg.wasm.d.ts +36 -36
- package/pkg/nodejs/crawlberg_wasm.d.ts +10 -10
- package/pkg/nodejs/crawlberg_wasm.js +233 -224
- package/pkg/nodejs/crawlberg_wasm_bg.wasm +0 -0
- package/pkg/nodejs/crawlberg_wasm_bg.wasm.d.ts +36 -36
- package/pkg/nodejs/package.json +1 -1
- package/pkg/web/crawlberg_wasm.d.ts +46 -46
- package/pkg/web/crawlberg_wasm.js +233 -224
- package/pkg/web/crawlberg_wasm_bg.wasm +0 -0
- package/pkg/web/crawlberg_wasm_bg.wasm.d.ts +36 -36
- package/pkg/web/package.json +1 -1
package/package.json
CHANGED
|
@@ -173,10 +173,10 @@ export class WasmBrowserConfig {
|
|
|
173
173
|
sessionAffinity: boolean;
|
|
174
174
|
get timeout(): bigint | undefined;
|
|
175
175
|
set timeout(value: bigint | null | undefined);
|
|
176
|
-
get wait(): string;
|
|
177
|
-
set wait(value: WasmBrowserWait);
|
|
178
176
|
get waitSelector(): string | undefined;
|
|
179
177
|
set waitSelector(value: string | null | undefined);
|
|
178
|
+
get wait(): string;
|
|
179
|
+
set wait(value: WasmBrowserWait);
|
|
180
180
|
}
|
|
181
181
|
|
|
182
182
|
/**
|
|
@@ -263,8 +263,8 @@ export class WasmContentConfig {
|
|
|
263
263
|
removeNavigation: boolean;
|
|
264
264
|
skipImages: boolean;
|
|
265
265
|
stripTags: string[];
|
|
266
|
-
wrap: boolean;
|
|
267
266
|
wrapWidth: number;
|
|
267
|
+
wrap: boolean;
|
|
268
268
|
}
|
|
269
269
|
|
|
270
270
|
/**
|
|
@@ -297,7 +297,7 @@ export class WasmCrawlConfig {
|
|
|
297
297
|
free(): void;
|
|
298
298
|
[Symbol.dispose](): void;
|
|
299
299
|
static default(): WasmCrawlConfig;
|
|
300
|
-
constructor(crawlStrategy?: WasmCrawlStrategyKind | null, respectRobotsTxt?: boolean | null, softHttpErrors?: boolean | null, stayOnDomain?: boolean | null, allowSubdomains?: boolean | null, includePaths?: string[] | null, excludePaths?: string[] | null, customHeaders?: any | null, requestTimeout?: bigint | null, maxRedirects?: number | null, retryCount?: number | null, retryCodes?: Uint16Array | null, cookiesEnabled?: boolean | null, removeTags?: string[] | null, content?: WasmContentConfig | null, downloadAssets?: boolean | null, assetTypes?:
|
|
300
|
+
constructor(crawlStrategy?: WasmCrawlStrategyKind | null, respectRobotsTxt?: boolean | null, softHttpErrors?: boolean | null, stayOnDomain?: boolean | null, allowSubdomains?: boolean | null, includePaths?: string[] | null, excludePaths?: string[] | null, customHeaders?: any | null, requestTimeout?: bigint | null, maxRedirects?: number | null, retryCount?: number | null, retryCodes?: Uint16Array | 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);
|
|
301
301
|
/**
|
|
302
302
|
* Validate the configuration, returning an error if any values are invalid.
|
|
303
303
|
*/
|
|
@@ -310,13 +310,13 @@ export class WasmCrawlConfig {
|
|
|
310
310
|
set bm25Query(value: string | null | undefined);
|
|
311
311
|
get bm25Threshold(): number | undefined;
|
|
312
312
|
set bm25Threshold(value: number | null | undefined);
|
|
313
|
-
browser: WasmBrowserConfig;
|
|
314
313
|
get browserProfile(): string | undefined;
|
|
315
314
|
set browserProfile(value: string | null | undefined);
|
|
315
|
+
browser: WasmBrowserConfig;
|
|
316
316
|
captureScreenshot: boolean;
|
|
317
|
-
content: WasmContentConfig;
|
|
318
317
|
get contentFilter(): string | undefined;
|
|
319
318
|
set contentFilter(value: WasmContentFilterKind | null | undefined);
|
|
319
|
+
content: WasmContentConfig;
|
|
320
320
|
cookiesEnabled: boolean;
|
|
321
321
|
get crawlStrategy(): string;
|
|
322
322
|
set crawlStrategy(value: WasmCrawlStrategyKind);
|
|
@@ -364,9 +364,9 @@ export class WasmCrawlConfig {
|
|
|
364
364
|
retryCount: number;
|
|
365
365
|
saveBrowserProfile: boolean;
|
|
366
366
|
softHttpErrors: boolean;
|
|
367
|
-
ssrf: WasmSsrfPolicy;
|
|
368
367
|
get ssrfDenyPrivateExplicit(): boolean | undefined;
|
|
369
368
|
set ssrfDenyPrivateExplicit(value: boolean | null | undefined);
|
|
369
|
+
ssrf: WasmSsrfPolicy;
|
|
370
370
|
stayOnDomain: boolean;
|
|
371
371
|
get userAgent(): string | undefined;
|
|
372
372
|
set userAgent(value: string | null | undefined);
|
|
@@ -836,10 +836,10 @@ export class WasmPageMetadata {
|
|
|
836
836
|
set ogDescription(value: string | null | undefined);
|
|
837
837
|
get ogImage(): string | undefined;
|
|
838
838
|
set ogImage(value: string | null | undefined);
|
|
839
|
-
get ogLocale(): string | undefined;
|
|
840
|
-
set ogLocale(value: string | null | undefined);
|
|
841
839
|
get ogLocaleAlternates(): string[] | undefined;
|
|
842
840
|
set ogLocaleAlternates(value: string[] | null | undefined);
|
|
841
|
+
get ogLocale(): string | undefined;
|
|
842
|
+
set ogLocale(value: string | null | undefined);
|
|
843
843
|
get ogSiteName(): string | undefined;
|
|
844
844
|
set ogSiteName(value: string | null | undefined);
|
|
845
845
|
get ogTitle(): string | undefined;
|
|
@@ -924,9 +924,9 @@ export class WasmScrapeResult {
|
|
|
924
924
|
assets: WasmDownloadedAsset[];
|
|
925
925
|
authHeaderSent: boolean;
|
|
926
926
|
bodySize: number;
|
|
927
|
+
browserUsed: boolean;
|
|
927
928
|
get browser(): WasmBrowserExtras | undefined;
|
|
928
929
|
set browser(value: WasmBrowserExtras | null | undefined);
|
|
929
|
-
browserUsed: boolean;
|
|
930
930
|
contentType: string;
|
|
931
931
|
get crawlDelay(): bigint | undefined;
|
|
932
932
|
set crawlDelay(value: bigint | null | undefined);
|