@xberg-io/crawlberg-wasm 1.9.0 → 1.10.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 +622 -21
- package/pkg/bundler/crawlberg_wasm_bg.js +777 -112
- package/pkg/bundler/crawlberg_wasm_bg.wasm +0 -0
- package/pkg/bundler/crawlberg_wasm_bg.wasm.d.ts +51 -1
- package/pkg/bundler/package.json +1 -1
- package/pkg/deno/crawlberg_wasm.d.ts +622 -21
- package/pkg/deno/crawlberg_wasm.js +777 -112
- package/pkg/deno/crawlberg_wasm_bg.wasm +0 -0
- package/pkg/deno/crawlberg_wasm_bg.wasm.d.ts +51 -1
- package/pkg/nodejs/crawlberg_wasm.d.ts +622 -21
- package/pkg/nodejs/crawlberg_wasm.js +777 -112
- package/pkg/nodejs/crawlberg_wasm_bg.wasm +0 -0
- package/pkg/nodejs/crawlberg_wasm_bg.wasm.d.ts +51 -1
- package/pkg/nodejs/package.json +1 -1
- package/pkg/web/crawlberg_wasm.d.ts +673 -22
- package/pkg/web/crawlberg_wasm.js +777 -112
- package/pkg/web/crawlberg_wasm_bg.wasm +0 -0
- package/pkg/web/crawlberg_wasm_bg.wasm.d.ts +51 -1
- package/pkg/web/package.json +1 -1
|
@@ -7,6 +7,13 @@
|
|
|
7
7
|
export class WasmActionResult {
|
|
8
8
|
free(): void;
|
|
9
9
|
[Symbol.dispose](): void;
|
|
10
|
+
/**
|
|
11
|
+
* Return an independent handle for an ownership-taking API.
|
|
12
|
+
*
|
|
13
|
+
* Use `copyForTransfer()` for each class value placed in an array when the original
|
|
14
|
+
* handle must remain usable.
|
|
15
|
+
*/
|
|
16
|
+
copyForTransfer(): WasmActionResult;
|
|
10
17
|
static default(): WasmActionResult;
|
|
11
18
|
constructor(actionIndex?: number | null, actionType?: string | null, success?: boolean | null, data?: any | null, error?: string | null);
|
|
12
19
|
actionIndex: number;
|
|
@@ -24,6 +31,13 @@ export class WasmActionResult {
|
|
|
24
31
|
export class WasmArticleMetadata {
|
|
25
32
|
free(): void;
|
|
26
33
|
[Symbol.dispose](): void;
|
|
34
|
+
/**
|
|
35
|
+
* Return an independent handle for an ownership-taking API.
|
|
36
|
+
*
|
|
37
|
+
* Use `copyForTransfer()` for each class value placed in an array when the original
|
|
38
|
+
* handle must remain usable.
|
|
39
|
+
*/
|
|
40
|
+
copyForTransfer(): WasmArticleMetadata;
|
|
27
41
|
static default(): WasmArticleMetadata;
|
|
28
42
|
constructor(tags?: string[] | null, publishedTime?: string | null, modifiedTime?: string | null, author?: string | null, section?: string | null);
|
|
29
43
|
get author(): string | undefined;
|
|
@@ -80,12 +94,33 @@ export class WasmAuthConfig {
|
|
|
80
94
|
export class WasmBatchCrawlResult {
|
|
81
95
|
free(): void;
|
|
82
96
|
[Symbol.dispose](): void;
|
|
97
|
+
clearResult(): void;
|
|
98
|
+
/**
|
|
99
|
+
* Return an independent handle for an ownership-taking API.
|
|
100
|
+
*
|
|
101
|
+
* Use `copyForTransfer()` for each class value placed in an array when the original
|
|
102
|
+
* handle must remain usable.
|
|
103
|
+
*/
|
|
104
|
+
copyForTransfer(): WasmBatchCrawlResult;
|
|
83
105
|
static default(): WasmBatchCrawlResult;
|
|
106
|
+
/**
|
|
107
|
+
* Takes ownership of `result`.
|
|
108
|
+
* wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
|
|
109
|
+
* of those handles is dead once this returns. Passing a freshly built value is fine. To
|
|
110
|
+
* keep a handle you already hold, build with `default()` and assign the property instead:
|
|
111
|
+
* the generated setter borrows and leaves your handle alive.
|
|
112
|
+
*/
|
|
84
113
|
constructor(url?: string | null, result?: WasmCrawlResult | null, error?: string | null);
|
|
85
114
|
get error(): string | undefined;
|
|
86
115
|
set error(value: string | null | undefined);
|
|
116
|
+
/**
|
|
117
|
+
* Returns a detached copy of `result`.
|
|
118
|
+
*
|
|
119
|
+
* Changes to the returned value do not update this object. To update `result`,
|
|
120
|
+
* read it, modify the copy, then assign the copy back to `result`.
|
|
121
|
+
*/
|
|
87
122
|
get result(): WasmCrawlResult | undefined;
|
|
88
|
-
set result(value: WasmCrawlResult
|
|
123
|
+
set result(value: WasmCrawlResult);
|
|
89
124
|
url: string;
|
|
90
125
|
}
|
|
91
126
|
|
|
@@ -98,10 +133,28 @@ export class WasmBatchCrawlResult {
|
|
|
98
133
|
export class WasmBatchCrawlResults {
|
|
99
134
|
free(): void;
|
|
100
135
|
[Symbol.dispose](): void;
|
|
136
|
+
/**
|
|
137
|
+
* Return an independent handle for an ownership-taking API.
|
|
138
|
+
*
|
|
139
|
+
* Use `copyForTransfer()` for each class value placed in an array when the original
|
|
140
|
+
* handle must remain usable.
|
|
141
|
+
*/
|
|
142
|
+
copyForTransfer(): WasmBatchCrawlResults;
|
|
101
143
|
static default(): WasmBatchCrawlResults;
|
|
144
|
+
/**
|
|
145
|
+
* Takes ownership of every element in `results`.
|
|
146
|
+
* wasm-bindgen cannot borrow class values nested in an array. To keep those handles,
|
|
147
|
+
* copy each retained element with `copyForTransfer()` before passing the array.
|
|
148
|
+
*/
|
|
102
149
|
constructor(results?: WasmBatchCrawlResult[] | null, totalCount?: number | null, completedCount?: number | null, failedCount?: number | null);
|
|
103
150
|
completedCount: number;
|
|
104
151
|
failedCount: number;
|
|
152
|
+
/**
|
|
153
|
+
* Returns detached copies of the elements in `results`.
|
|
154
|
+
*
|
|
155
|
+
* Changes to the returned values do not update this object. Modify the copies,
|
|
156
|
+
* then assign the array back to `results`.
|
|
157
|
+
*/
|
|
105
158
|
results: WasmBatchCrawlResult[];
|
|
106
159
|
totalCount: number;
|
|
107
160
|
}
|
|
@@ -112,12 +165,33 @@ export class WasmBatchCrawlResults {
|
|
|
112
165
|
export class WasmBatchScrapeResult {
|
|
113
166
|
free(): void;
|
|
114
167
|
[Symbol.dispose](): void;
|
|
168
|
+
clearResult(): void;
|
|
169
|
+
/**
|
|
170
|
+
* Return an independent handle for an ownership-taking API.
|
|
171
|
+
*
|
|
172
|
+
* Use `copyForTransfer()` for each class value placed in an array when the original
|
|
173
|
+
* handle must remain usable.
|
|
174
|
+
*/
|
|
175
|
+
copyForTransfer(): WasmBatchScrapeResult;
|
|
115
176
|
static default(): WasmBatchScrapeResult;
|
|
177
|
+
/**
|
|
178
|
+
* Takes ownership of `result`.
|
|
179
|
+
* wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
|
|
180
|
+
* of those handles is dead once this returns. Passing a freshly built value is fine. To
|
|
181
|
+
* keep a handle you already hold, build with `default()` and assign the property instead:
|
|
182
|
+
* the generated setter borrows and leaves your handle alive.
|
|
183
|
+
*/
|
|
116
184
|
constructor(url?: string | null, result?: WasmScrapeResult | null, error?: string | null);
|
|
117
185
|
get error(): string | undefined;
|
|
118
186
|
set error(value: string | null | undefined);
|
|
187
|
+
/**
|
|
188
|
+
* Returns a detached copy of `result`.
|
|
189
|
+
*
|
|
190
|
+
* Changes to the returned value do not update this object. To update `result`,
|
|
191
|
+
* read it, modify the copy, then assign the copy back to `result`.
|
|
192
|
+
*/
|
|
119
193
|
get result(): WasmScrapeResult | undefined;
|
|
120
|
-
set result(value: WasmScrapeResult
|
|
194
|
+
set result(value: WasmScrapeResult);
|
|
121
195
|
url: string;
|
|
122
196
|
}
|
|
123
197
|
|
|
@@ -130,10 +204,28 @@ export class WasmBatchScrapeResult {
|
|
|
130
204
|
export class WasmBatchScrapeResults {
|
|
131
205
|
free(): void;
|
|
132
206
|
[Symbol.dispose](): void;
|
|
207
|
+
/**
|
|
208
|
+
* Return an independent handle for an ownership-taking API.
|
|
209
|
+
*
|
|
210
|
+
* Use `copyForTransfer()` for each class value placed in an array when the original
|
|
211
|
+
* handle must remain usable.
|
|
212
|
+
*/
|
|
213
|
+
copyForTransfer(): WasmBatchScrapeResults;
|
|
133
214
|
static default(): WasmBatchScrapeResults;
|
|
215
|
+
/**
|
|
216
|
+
* Takes ownership of every element in `results`.
|
|
217
|
+
* wasm-bindgen cannot borrow class values nested in an array. To keep those handles,
|
|
218
|
+
* copy each retained element with `copyForTransfer()` before passing the array.
|
|
219
|
+
*/
|
|
134
220
|
constructor(results?: WasmBatchScrapeResult[] | null, totalCount?: number | null, completedCount?: number | null, failedCount?: number | null);
|
|
135
221
|
completedCount: number;
|
|
136
222
|
failedCount: number;
|
|
223
|
+
/**
|
|
224
|
+
* Returns detached copies of the elements in `results`.
|
|
225
|
+
*
|
|
226
|
+
* Changes to the returned values do not update this object. Modify the copies,
|
|
227
|
+
* then assign the array back to `results`.
|
|
228
|
+
*/
|
|
137
229
|
results: WasmBatchScrapeResult[];
|
|
138
230
|
totalCount: number;
|
|
139
231
|
}
|
|
@@ -152,7 +244,22 @@ export enum WasmBrowserBackend {
|
|
|
152
244
|
export class WasmBrowserConfig {
|
|
153
245
|
free(): void;
|
|
154
246
|
[Symbol.dispose](): void;
|
|
247
|
+
clearProxy(): void;
|
|
248
|
+
/**
|
|
249
|
+
* Return an independent handle for an ownership-taking API.
|
|
250
|
+
*
|
|
251
|
+
* Use `copyForTransfer()` for each class value placed in an array when the original
|
|
252
|
+
* handle must remain usable.
|
|
253
|
+
*/
|
|
254
|
+
copyForTransfer(): WasmBrowserConfig;
|
|
155
255
|
static default(): WasmBrowserConfig;
|
|
256
|
+
/**
|
|
257
|
+
* Takes ownership of `proxy`.
|
|
258
|
+
* wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
|
|
259
|
+
* of those handles is dead once this returns. Passing a freshly built value is fine. To
|
|
260
|
+
* keep a handle you already hold, build with `default()` and assign the property instead:
|
|
261
|
+
* the generated setter borrows and leaves your handle alive.
|
|
262
|
+
*/
|
|
156
263
|
constructor(mode?: WasmBrowserMode | null, backend?: WasmBrowserBackend | null, timeout?: bigint | null, overallTimeout?: bigint | null, shutdownTimeout?: bigint | null, wait?: WasmBrowserWait | null, blockUrlPatterns?: string[] | null, captureNetworkEvents?: boolean | null, sessionAffinity?: boolean | null, chromeArgs?: string[] | null, endpoint?: string | null, waitSelector?: string | null, extraWait?: bigint | null, proxy?: WasmProxyConfig | null, evalScript?: string | null, robotsUserAgent?: string | null, chromePath?: string | null);
|
|
157
264
|
get backend(): string;
|
|
158
265
|
set backend(value: WasmBrowserBackend);
|
|
@@ -171,8 +278,14 @@ export class WasmBrowserConfig {
|
|
|
171
278
|
set mode(value: WasmBrowserMode);
|
|
172
279
|
get overallTimeout(): bigint | undefined;
|
|
173
280
|
set overallTimeout(value: bigint | null | undefined);
|
|
281
|
+
/**
|
|
282
|
+
* Returns a detached copy of `proxy`.
|
|
283
|
+
*
|
|
284
|
+
* Changes to the returned value do not update this object. To update `proxy`,
|
|
285
|
+
* read it, modify the copy, then assign the copy back to `proxy`.
|
|
286
|
+
*/
|
|
174
287
|
get proxy(): WasmProxyConfig | undefined;
|
|
175
|
-
set proxy(value: WasmProxyConfig
|
|
288
|
+
set proxy(value: WasmProxyConfig);
|
|
176
289
|
get robotsUserAgent(): string | undefined;
|
|
177
290
|
set robotsUserAgent(value: string | null | undefined);
|
|
178
291
|
sessionAffinity: boolean;
|
|
@@ -194,11 +307,35 @@ export class WasmBrowserConfig {
|
|
|
194
307
|
export class WasmBrowserExtras {
|
|
195
308
|
free(): void;
|
|
196
309
|
[Symbol.dispose](): void;
|
|
310
|
+
/**
|
|
311
|
+
* Return an independent handle for an ownership-taking API.
|
|
312
|
+
*
|
|
313
|
+
* Use `copyForTransfer()` for each class value placed in an array when the original
|
|
314
|
+
* handle must remain usable.
|
|
315
|
+
*/
|
|
316
|
+
copyForTransfer(): WasmBrowserExtras;
|
|
197
317
|
static default(): WasmBrowserExtras;
|
|
318
|
+
/**
|
|
319
|
+
* Takes ownership of every element in `networkEvents`, `cookies`.
|
|
320
|
+
* wasm-bindgen cannot borrow class values nested in an array. To keep those handles,
|
|
321
|
+
* copy each retained element with `copyForTransfer()` before passing the array.
|
|
322
|
+
*/
|
|
198
323
|
constructor(networkEvents?: WasmResponseMeta[] | null, cookies?: WasmCookieInfo[] | null, evalResult?: any | null);
|
|
324
|
+
/**
|
|
325
|
+
* Returns detached copies of the elements in `cookies`.
|
|
326
|
+
*
|
|
327
|
+
* Changes to the returned values do not update this object. Modify the copies,
|
|
328
|
+
* then assign the array back to `cookies`.
|
|
329
|
+
*/
|
|
199
330
|
cookies: WasmCookieInfo[];
|
|
200
331
|
get evalResult(): any | undefined;
|
|
201
332
|
set evalResult(value: any | null | undefined);
|
|
333
|
+
/**
|
|
334
|
+
* Returns detached copies of the elements in `networkEvents`.
|
|
335
|
+
*
|
|
336
|
+
* Changes to the returned values do not update this object. Modify the copies,
|
|
337
|
+
* then assign the array back to `networkEvents`.
|
|
338
|
+
*/
|
|
202
339
|
networkEvents: WasmResponseMeta[];
|
|
203
340
|
}
|
|
204
341
|
|
|
@@ -228,6 +365,13 @@ export enum WasmBrowserWait {
|
|
|
228
365
|
export class WasmCitationReference {
|
|
229
366
|
free(): void;
|
|
230
367
|
[Symbol.dispose](): void;
|
|
368
|
+
/**
|
|
369
|
+
* Return an independent handle for an ownership-taking API.
|
|
370
|
+
*
|
|
371
|
+
* Use `copyForTransfer()` for each class value placed in an array when the original
|
|
372
|
+
* handle must remain usable.
|
|
373
|
+
*/
|
|
374
|
+
copyForTransfer(): WasmCitationReference;
|
|
231
375
|
static default(): WasmCitationReference;
|
|
232
376
|
constructor(index?: number | null, url?: string | null, text?: string | null);
|
|
233
377
|
index: number;
|
|
@@ -241,9 +385,27 @@ export class WasmCitationReference {
|
|
|
241
385
|
export class WasmCitationResult {
|
|
242
386
|
free(): void;
|
|
243
387
|
[Symbol.dispose](): void;
|
|
388
|
+
/**
|
|
389
|
+
* Return an independent handle for an ownership-taking API.
|
|
390
|
+
*
|
|
391
|
+
* Use `copyForTransfer()` for each class value placed in an array when the original
|
|
392
|
+
* handle must remain usable.
|
|
393
|
+
*/
|
|
394
|
+
copyForTransfer(): WasmCitationResult;
|
|
244
395
|
static default(): WasmCitationResult;
|
|
396
|
+
/**
|
|
397
|
+
* Takes ownership of every element in `references`.
|
|
398
|
+
* wasm-bindgen cannot borrow class values nested in an array. To keep those handles,
|
|
399
|
+
* copy each retained element with `copyForTransfer()` before passing the array.
|
|
400
|
+
*/
|
|
245
401
|
constructor(content?: string | null, references?: WasmCitationReference[] | null);
|
|
246
402
|
content: string;
|
|
403
|
+
/**
|
|
404
|
+
* Returns detached copies of the elements in `references`.
|
|
405
|
+
*
|
|
406
|
+
* Changes to the returned values do not update this object. Modify the copies,
|
|
407
|
+
* then assign the array back to `references`.
|
|
408
|
+
*/
|
|
247
409
|
references: WasmCitationReference[];
|
|
248
410
|
}
|
|
249
411
|
|
|
@@ -257,6 +419,13 @@ export class WasmCitationResult {
|
|
|
257
419
|
export class WasmContentConfig {
|
|
258
420
|
free(): void;
|
|
259
421
|
[Symbol.dispose](): void;
|
|
422
|
+
/**
|
|
423
|
+
* Return an independent handle for an ownership-taking API.
|
|
424
|
+
*
|
|
425
|
+
* Use `copyForTransfer()` for each class value placed in an array when the original
|
|
426
|
+
* handle must remain usable.
|
|
427
|
+
*/
|
|
428
|
+
copyForTransfer(): WasmContentConfig;
|
|
260
429
|
static default(): WasmContentConfig;
|
|
261
430
|
constructor(outputFormat?: string | null, preprocessingPreset?: string | null, removeNavigation?: boolean | null, removeForms?: boolean | null, stripTags?: string[] | null, preserveTags?: string[] | null, excludeSelectors?: string[] | null, skipImages?: boolean | null, wrap?: boolean | null, wrapWidth?: number | null, includeDocumentStructure?: boolean | null, extractMetadata?: boolean | null, maxDepth?: number | null);
|
|
262
431
|
excludeSelectors: string[];
|
|
@@ -288,6 +457,13 @@ export enum WasmContentFilterKind {
|
|
|
288
457
|
export class WasmCookieInfo {
|
|
289
458
|
free(): void;
|
|
290
459
|
[Symbol.dispose](): void;
|
|
460
|
+
/**
|
|
461
|
+
* Return an independent handle for an ownership-taking API.
|
|
462
|
+
*
|
|
463
|
+
* Use `copyForTransfer()` for each class value placed in an array when the original
|
|
464
|
+
* handle must remain usable.
|
|
465
|
+
*/
|
|
466
|
+
copyForTransfer(): WasmCookieInfo;
|
|
291
467
|
static default(): WasmCookieInfo;
|
|
292
468
|
constructor(name?: string | null, value?: string | null, domain?: string | null, path?: string | null);
|
|
293
469
|
get domain(): string | undefined;
|
|
@@ -304,7 +480,22 @@ export class WasmCookieInfo {
|
|
|
304
480
|
export class WasmCrawlConfig {
|
|
305
481
|
free(): void;
|
|
306
482
|
[Symbol.dispose](): void;
|
|
483
|
+
clearProxy(): void;
|
|
484
|
+
/**
|
|
485
|
+
* Return an independent handle for an ownership-taking API.
|
|
486
|
+
*
|
|
487
|
+
* Use `copyForTransfer()` for each class value placed in an array when the original
|
|
488
|
+
* handle must remain usable.
|
|
489
|
+
*/
|
|
490
|
+
copyForTransfer(): WasmCrawlConfig;
|
|
307
491
|
static default(): WasmCrawlConfig;
|
|
492
|
+
/**
|
|
493
|
+
* Takes ownership of `content`, `browser`, `proxy`, `ssrf`.
|
|
494
|
+
* wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
|
|
495
|
+
* of those handles is dead once this returns. Passing a freshly built value is fine. To
|
|
496
|
+
* keep a handle you already hold, build with `default()` and assign the property instead:
|
|
497
|
+
* the generated setter borrows and leaves your handle alive.
|
|
498
|
+
*/
|
|
308
499
|
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);
|
|
309
500
|
/**
|
|
310
501
|
* Validate the configuration, returning an error if any values are invalid.
|
|
@@ -323,10 +514,22 @@ export class WasmCrawlConfig {
|
|
|
323
514
|
set bm25Threshold(value: number | null | undefined);
|
|
324
515
|
get browserProfile(): string | undefined;
|
|
325
516
|
set browserProfile(value: string | null | undefined);
|
|
517
|
+
/**
|
|
518
|
+
* Returns a detached copy of `browser`.
|
|
519
|
+
*
|
|
520
|
+
* Changes to the returned value do not update this object. To update `browser`,
|
|
521
|
+
* read it, modify the copy, then assign the copy back to `browser`.
|
|
522
|
+
*/
|
|
326
523
|
browser: WasmBrowserConfig;
|
|
327
524
|
captureScreenshot: boolean;
|
|
328
525
|
get contentFilter(): string | undefined;
|
|
329
526
|
set contentFilter(value: WasmContentFilterKind | null | undefined);
|
|
527
|
+
/**
|
|
528
|
+
* Returns a detached copy of `content`.
|
|
529
|
+
*
|
|
530
|
+
* Changes to the returned value do not update this object. To update `content`,
|
|
531
|
+
* read it, modify the copy, then assign the copy back to `content`.
|
|
532
|
+
*/
|
|
330
533
|
content: WasmContentConfig;
|
|
331
534
|
cookiesEnabled: boolean;
|
|
332
535
|
get crawlStrategy(): string;
|
|
@@ -366,8 +569,14 @@ export class WasmCrawlConfig {
|
|
|
366
569
|
maxRedirects: number;
|
|
367
570
|
pathPatternsMatchQuery: boolean;
|
|
368
571
|
pathPatternsMatchUrl: boolean;
|
|
572
|
+
/**
|
|
573
|
+
* Returns a detached copy of `proxy`.
|
|
574
|
+
*
|
|
575
|
+
* Changes to the returned value do not update this object. To update `proxy`,
|
|
576
|
+
* read it, modify the copy, then assign the copy back to `proxy`.
|
|
577
|
+
*/
|
|
369
578
|
get proxy(): WasmProxyConfig | undefined;
|
|
370
|
-
set proxy(value: WasmProxyConfig
|
|
579
|
+
set proxy(value: WasmProxyConfig);
|
|
371
580
|
rateLimitJitterRatio: number;
|
|
372
581
|
get rateLimitMs(): bigint | undefined;
|
|
373
582
|
set rateLimitMs(value: bigint | null | undefined);
|
|
@@ -383,6 +592,12 @@ export class WasmCrawlConfig {
|
|
|
383
592
|
softHttpErrors: boolean;
|
|
384
593
|
get ssrfDenyPrivateExplicit(): boolean | undefined;
|
|
385
594
|
set ssrfDenyPrivateExplicit(value: boolean | null | undefined);
|
|
595
|
+
/**
|
|
596
|
+
* Returns a detached copy of `ssrf`.
|
|
597
|
+
*
|
|
598
|
+
* Changes to the returned value do not update this object. To update `ssrf`,
|
|
599
|
+
* read it, modify the copy, then assign the copy back to `ssrf`.
|
|
600
|
+
*/
|
|
386
601
|
ssrf: WasmSsrfPolicy;
|
|
387
602
|
stayOnDomain: boolean;
|
|
388
603
|
stripTrackingParams: boolean;
|
|
@@ -404,6 +619,13 @@ export class WasmCrawlEngineHandle {
|
|
|
404
619
|
private constructor();
|
|
405
620
|
free(): void;
|
|
406
621
|
[Symbol.dispose](): void;
|
|
622
|
+
/**
|
|
623
|
+
* Return an independent handle for an ownership-taking API.
|
|
624
|
+
*
|
|
625
|
+
* Use `copyForTransfer()` for each class value placed in an array when the original
|
|
626
|
+
* handle must remain usable.
|
|
627
|
+
*/
|
|
628
|
+
copyForTransfer(): WasmCrawlEngineHandle;
|
|
407
629
|
}
|
|
408
630
|
|
|
409
631
|
/**
|
|
@@ -412,7 +634,27 @@ export class WasmCrawlEngineHandle {
|
|
|
412
634
|
export class WasmCrawlPageResult {
|
|
413
635
|
free(): void;
|
|
414
636
|
[Symbol.dispose](): void;
|
|
637
|
+
clearDownloadedDocument(): void;
|
|
638
|
+
clearExtractionMeta(): void;
|
|
639
|
+
clearMarkdown(): void;
|
|
640
|
+
/**
|
|
641
|
+
* Return an independent handle for an ownership-taking API.
|
|
642
|
+
*
|
|
643
|
+
* Use `copyForTransfer()` for each class value placed in an array when the original
|
|
644
|
+
* handle must remain usable.
|
|
645
|
+
*/
|
|
646
|
+
copyForTransfer(): WasmCrawlPageResult;
|
|
415
647
|
static default(): WasmCrawlPageResult;
|
|
648
|
+
/**
|
|
649
|
+
* Takes ownership of `metadata`, `markdown`, `extractionMeta`, `downloadedDocument`.
|
|
650
|
+
* wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
|
|
651
|
+
* of those handles is dead once this returns. Passing a freshly built value is fine. To
|
|
652
|
+
* keep a handle you already hold, build with `default()` and assign the property instead:
|
|
653
|
+
* the generated setter borrows and leaves your handle alive.
|
|
654
|
+
* Takes ownership of every element in `links`, `images`, `feeds`, `jsonLd`.
|
|
655
|
+
* wasm-bindgen cannot borrow class values nested in an array. To keep those handles,
|
|
656
|
+
* copy each retained element with `copyForTransfer()` before passing the array.
|
|
657
|
+
*/
|
|
416
658
|
constructor(url?: string | null, normalizedUrl?: string | null, statusCode?: number | null, contentType?: string | null, html?: string | null, bodySize?: number | null, metadata?: WasmPageMetadata | null, links?: WasmLinkInfo[] | null, images?: WasmImageInfo[] | null, feeds?: WasmFeedInfo[] | null, jsonLd?: WasmJsonLdEntry[] | null, depth?: number | null, stayedOnDomain?: boolean | null, wasSkipped?: boolean | null, isPdf?: boolean | null, browserUsed?: boolean | null, finalUrl?: string | null, redirectCount?: number | null, noindexDetected?: boolean | null, nofollowDetected?: boolean | null, ssrfRefusedUrls?: string[] | null, detectedCharset?: string | null, markdown?: WasmMarkdownResult | null, extractedData?: any | null, extractionMeta?: WasmExtractionMeta | null, downloadedDocument?: WasmDownloadedDocument | null);
|
|
417
659
|
bodySize: number;
|
|
418
660
|
browserUsed: boolean;
|
|
@@ -420,21 +662,69 @@ export class WasmCrawlPageResult {
|
|
|
420
662
|
depth: number;
|
|
421
663
|
get detectedCharset(): string | undefined;
|
|
422
664
|
set detectedCharset(value: string | null | undefined);
|
|
665
|
+
/**
|
|
666
|
+
* Returns a detached copy of `downloadedDocument`.
|
|
667
|
+
*
|
|
668
|
+
* Changes to the returned value do not update this object. To update `downloadedDocument`,
|
|
669
|
+
* read it, modify the copy, then assign the copy back to `downloadedDocument`.
|
|
670
|
+
*/
|
|
423
671
|
get downloadedDocument(): WasmDownloadedDocument | undefined;
|
|
424
|
-
set downloadedDocument(value: WasmDownloadedDocument
|
|
672
|
+
set downloadedDocument(value: WasmDownloadedDocument);
|
|
425
673
|
get extractedData(): any | undefined;
|
|
426
674
|
set extractedData(value: any | null | undefined);
|
|
675
|
+
/**
|
|
676
|
+
* Returns a detached copy of `extractionMeta`.
|
|
677
|
+
*
|
|
678
|
+
* Changes to the returned value do not update this object. To update `extractionMeta`,
|
|
679
|
+
* read it, modify the copy, then assign the copy back to `extractionMeta`.
|
|
680
|
+
*/
|
|
427
681
|
get extractionMeta(): WasmExtractionMeta | undefined;
|
|
428
|
-
set extractionMeta(value: WasmExtractionMeta
|
|
682
|
+
set extractionMeta(value: WasmExtractionMeta);
|
|
683
|
+
/**
|
|
684
|
+
* Returns detached copies of the elements in `feeds`.
|
|
685
|
+
*
|
|
686
|
+
* Changes to the returned values do not update this object. Modify the copies,
|
|
687
|
+
* then assign the array back to `feeds`.
|
|
688
|
+
*/
|
|
429
689
|
feeds: WasmFeedInfo[];
|
|
430
690
|
finalUrl: string;
|
|
431
691
|
html: string;
|
|
692
|
+
/**
|
|
693
|
+
* Returns detached copies of the elements in `images`.
|
|
694
|
+
*
|
|
695
|
+
* Changes to the returned values do not update this object. Modify the copies,
|
|
696
|
+
* then assign the array back to `images`.
|
|
697
|
+
*/
|
|
432
698
|
images: WasmImageInfo[];
|
|
433
699
|
isPdf: boolean;
|
|
700
|
+
/**
|
|
701
|
+
* Returns detached copies of the elements in `jsonLd`.
|
|
702
|
+
*
|
|
703
|
+
* Changes to the returned values do not update this object. Modify the copies,
|
|
704
|
+
* then assign the array back to `jsonLd`.
|
|
705
|
+
*/
|
|
434
706
|
jsonLd: WasmJsonLdEntry[];
|
|
707
|
+
/**
|
|
708
|
+
* Returns detached copies of the elements in `links`.
|
|
709
|
+
*
|
|
710
|
+
* Changes to the returned values do not update this object. Modify the copies,
|
|
711
|
+
* then assign the array back to `links`.
|
|
712
|
+
*/
|
|
435
713
|
links: WasmLinkInfo[];
|
|
714
|
+
/**
|
|
715
|
+
* Returns a detached copy of `markdown`.
|
|
716
|
+
*
|
|
717
|
+
* Changes to the returned value do not update this object. To update `markdown`,
|
|
718
|
+
* read it, modify the copy, then assign the copy back to `markdown`.
|
|
719
|
+
*/
|
|
436
720
|
get markdown(): WasmMarkdownResult | undefined;
|
|
437
|
-
set markdown(value: WasmMarkdownResult
|
|
721
|
+
set markdown(value: WasmMarkdownResult);
|
|
722
|
+
/**
|
|
723
|
+
* Returns a detached copy of `metadata`.
|
|
724
|
+
*
|
|
725
|
+
* Changes to the returned value do not update this object. To update `metadata`,
|
|
726
|
+
* read it, modify the copy, then assign the copy back to `metadata`.
|
|
727
|
+
*/
|
|
438
728
|
metadata: WasmPageMetadata;
|
|
439
729
|
nofollowDetected: boolean;
|
|
440
730
|
noindexDetected: boolean;
|
|
@@ -453,7 +743,19 @@ export class WasmCrawlPageResult {
|
|
|
453
743
|
export class WasmCrawlResult {
|
|
454
744
|
free(): void;
|
|
455
745
|
[Symbol.dispose](): void;
|
|
746
|
+
/**
|
|
747
|
+
* Return an independent handle for an ownership-taking API.
|
|
748
|
+
*
|
|
749
|
+
* Use `copyForTransfer()` for each class value placed in an array when the original
|
|
750
|
+
* handle must remain usable.
|
|
751
|
+
*/
|
|
752
|
+
copyForTransfer(): WasmCrawlResult;
|
|
456
753
|
static default(): WasmCrawlResult;
|
|
754
|
+
/**
|
|
755
|
+
* Takes ownership of every element in `pages`, `cookies`.
|
|
756
|
+
* wasm-bindgen cannot borrow class values nested in an array. To keep those handles,
|
|
757
|
+
* copy each retained element with `copyForTransfer()` before passing the array.
|
|
758
|
+
*/
|
|
457
759
|
constructor(pages?: WasmCrawlPageResult[] | null, finalUrl?: string | null, redirectCount?: number | null, wasSkipped?: boolean | null, cookies?: WasmCookieInfo[] | null, stayedOnDomain?: boolean | null, browserUsed?: boolean | null, error?: string | null);
|
|
458
760
|
/**
|
|
459
761
|
* Returns the count of unique normalized URLs encountered during crawling.
|
|
@@ -467,10 +769,22 @@ export class WasmCrawlResult {
|
|
|
467
769
|
*/
|
|
468
770
|
uniqueNormalizedUrls(): number;
|
|
469
771
|
browserUsed: boolean;
|
|
772
|
+
/**
|
|
773
|
+
* Returns detached copies of the elements in `cookies`.
|
|
774
|
+
*
|
|
775
|
+
* Changes to the returned values do not update this object. Modify the copies,
|
|
776
|
+
* then assign the array back to `cookies`.
|
|
777
|
+
*/
|
|
470
778
|
cookies: WasmCookieInfo[];
|
|
471
779
|
get error(): string | undefined;
|
|
472
780
|
set error(value: string | null | undefined);
|
|
473
781
|
finalUrl: string;
|
|
782
|
+
/**
|
|
783
|
+
* Returns detached copies of the elements in `pages`.
|
|
784
|
+
*
|
|
785
|
+
* Changes to the returned values do not update this object. Modify the copies,
|
|
786
|
+
* then assign the array back to `pages`.
|
|
787
|
+
*/
|
|
474
788
|
pages: WasmCrawlPageResult[];
|
|
475
789
|
redirectCount: number;
|
|
476
790
|
stayedOnDomain: boolean;
|
|
@@ -509,6 +823,13 @@ export enum WasmDocumentContentEncoding {
|
|
|
509
823
|
export class WasmDownloadedAsset {
|
|
510
824
|
free(): void;
|
|
511
825
|
[Symbol.dispose](): void;
|
|
826
|
+
/**
|
|
827
|
+
* Return an independent handle for an ownership-taking API.
|
|
828
|
+
*
|
|
829
|
+
* Use `copyForTransfer()` for each class value placed in an array when the original
|
|
830
|
+
* handle must remain usable.
|
|
831
|
+
*/
|
|
832
|
+
copyForTransfer(): WasmDownloadedAsset;
|
|
512
833
|
static default(): WasmDownloadedAsset;
|
|
513
834
|
constructor(url?: string | null, contentHash?: string | null, size?: number | null, assetCategory?: WasmAssetCategory | null, mimeType?: string | null, htmlTag?: string | null);
|
|
514
835
|
get assetCategory(): string;
|
|
@@ -532,6 +853,13 @@ export class WasmDownloadedAsset {
|
|
|
532
853
|
export class WasmDownloadedDocument {
|
|
533
854
|
free(): void;
|
|
534
855
|
[Symbol.dispose](): void;
|
|
856
|
+
/**
|
|
857
|
+
* Return an independent handle for an ownership-taking API.
|
|
858
|
+
*
|
|
859
|
+
* Use `copyForTransfer()` for each class value placed in an array when the original
|
|
860
|
+
* handle must remain usable.
|
|
861
|
+
*/
|
|
862
|
+
copyForTransfer(): WasmDownloadedDocument;
|
|
535
863
|
static default(): WasmDownloadedDocument;
|
|
536
864
|
constructor(url?: string | null, mimeType?: string | null, size?: number | null, contentHash?: string | null, headers?: any | null, truncated?: boolean | null, filename?: string | null, contentPath?: string | null, contentBase64?: string | null);
|
|
537
865
|
get contentBase64(): string | undefined;
|
|
@@ -554,6 +882,13 @@ export class WasmDownloadedDocument {
|
|
|
554
882
|
export class WasmExtractionMeta {
|
|
555
883
|
free(): void;
|
|
556
884
|
[Symbol.dispose](): void;
|
|
885
|
+
/**
|
|
886
|
+
* Return an independent handle for an ownership-taking API.
|
|
887
|
+
*
|
|
888
|
+
* Use `copyForTransfer()` for each class value placed in an array when the original
|
|
889
|
+
* handle must remain usable.
|
|
890
|
+
*/
|
|
891
|
+
copyForTransfer(): WasmExtractionMeta;
|
|
557
892
|
static default(): WasmExtractionMeta;
|
|
558
893
|
constructor(chunksProcessed?: number | null, cost?: number | null, promptTokens?: bigint | null, completionTokens?: bigint | null, model?: string | null);
|
|
559
894
|
chunksProcessed: number;
|
|
@@ -573,6 +908,13 @@ export class WasmExtractionMeta {
|
|
|
573
908
|
export class WasmFaviconInfo {
|
|
574
909
|
free(): void;
|
|
575
910
|
[Symbol.dispose](): void;
|
|
911
|
+
/**
|
|
912
|
+
* Return an independent handle for an ownership-taking API.
|
|
913
|
+
*
|
|
914
|
+
* Use `copyForTransfer()` for each class value placed in an array when the original
|
|
915
|
+
* handle must remain usable.
|
|
916
|
+
*/
|
|
917
|
+
copyForTransfer(): WasmFaviconInfo;
|
|
576
918
|
static default(): WasmFaviconInfo;
|
|
577
919
|
constructor(url?: string | null, rel?: string | null, sizes?: string | null, mimeType?: string | null);
|
|
578
920
|
get mimeType(): string | undefined;
|
|
@@ -589,6 +931,13 @@ export class WasmFaviconInfo {
|
|
|
589
931
|
export class WasmFeedInfo {
|
|
590
932
|
free(): void;
|
|
591
933
|
[Symbol.dispose](): void;
|
|
934
|
+
/**
|
|
935
|
+
* Return an independent handle for an ownership-taking API.
|
|
936
|
+
*
|
|
937
|
+
* Use `copyForTransfer()` for each class value placed in an array when the original
|
|
938
|
+
* handle must remain usable.
|
|
939
|
+
*/
|
|
940
|
+
copyForTransfer(): WasmFeedInfo;
|
|
592
941
|
static default(): WasmFeedInfo;
|
|
593
942
|
constructor(url?: string | null, feedType?: WasmFeedType | null, title?: string | null);
|
|
594
943
|
get feedType(): string;
|
|
@@ -613,6 +962,13 @@ export enum WasmFeedType {
|
|
|
613
962
|
export class WasmHeadingInfo {
|
|
614
963
|
free(): void;
|
|
615
964
|
[Symbol.dispose](): void;
|
|
965
|
+
/**
|
|
966
|
+
* Return an independent handle for an ownership-taking API.
|
|
967
|
+
*
|
|
968
|
+
* Use `copyForTransfer()` for each class value placed in an array when the original
|
|
969
|
+
* handle must remain usable.
|
|
970
|
+
*/
|
|
971
|
+
copyForTransfer(): WasmHeadingInfo;
|
|
616
972
|
static default(): WasmHeadingInfo;
|
|
617
973
|
constructor(level?: number | null, text?: string | null);
|
|
618
974
|
level: number;
|
|
@@ -652,6 +1008,13 @@ export class WasmHostMatcher {
|
|
|
652
1008
|
export class WasmHreflangEntry {
|
|
653
1009
|
free(): void;
|
|
654
1010
|
[Symbol.dispose](): void;
|
|
1011
|
+
/**
|
|
1012
|
+
* Return an independent handle for an ownership-taking API.
|
|
1013
|
+
*
|
|
1014
|
+
* Use `copyForTransfer()` for each class value placed in an array when the original
|
|
1015
|
+
* handle must remain usable.
|
|
1016
|
+
*/
|
|
1017
|
+
copyForTransfer(): WasmHreflangEntry;
|
|
655
1018
|
static default(): WasmHreflangEntry;
|
|
656
1019
|
constructor(lang?: string | null, url?: string | null);
|
|
657
1020
|
lang: string;
|
|
@@ -664,6 +1027,13 @@ export class WasmHreflangEntry {
|
|
|
664
1027
|
export class WasmImageInfo {
|
|
665
1028
|
free(): void;
|
|
666
1029
|
[Symbol.dispose](): void;
|
|
1030
|
+
/**
|
|
1031
|
+
* Return an independent handle for an ownership-taking API.
|
|
1032
|
+
*
|
|
1033
|
+
* Use `copyForTransfer()` for each class value placed in an array when the original
|
|
1034
|
+
* handle must remain usable.
|
|
1035
|
+
*/
|
|
1036
|
+
copyForTransfer(): WasmImageInfo;
|
|
667
1037
|
static default(): WasmImageInfo;
|
|
668
1038
|
constructor(url?: string | null, source?: WasmImageSource | null, alt?: string | null, width?: number | null, height?: number | null);
|
|
669
1039
|
get alt(): string | undefined;
|
|
@@ -693,8 +1063,26 @@ export enum WasmImageSource {
|
|
|
693
1063
|
export class WasmInteractionResult {
|
|
694
1064
|
free(): void;
|
|
695
1065
|
[Symbol.dispose](): void;
|
|
1066
|
+
/**
|
|
1067
|
+
* Return an independent handle for an ownership-taking API.
|
|
1068
|
+
*
|
|
1069
|
+
* Use `copyForTransfer()` for each class value placed in an array when the original
|
|
1070
|
+
* handle must remain usable.
|
|
1071
|
+
*/
|
|
1072
|
+
copyForTransfer(): WasmInteractionResult;
|
|
696
1073
|
static default(): WasmInteractionResult;
|
|
1074
|
+
/**
|
|
1075
|
+
* Takes ownership of every element in `actionResults`.
|
|
1076
|
+
* wasm-bindgen cannot borrow class values nested in an array. To keep those handles,
|
|
1077
|
+
* copy each retained element with `copyForTransfer()` before passing the array.
|
|
1078
|
+
*/
|
|
697
1079
|
constructor(actionResults?: WasmActionResult[] | null, finalHtml?: string | null, finalUrl?: string | null, ssrfRefusedUrls?: string[] | null, screenshotBase64?: string | null);
|
|
1080
|
+
/**
|
|
1081
|
+
* Returns detached copies of the elements in `actionResults`.
|
|
1082
|
+
*
|
|
1083
|
+
* Changes to the returned values do not update this object. Modify the copies,
|
|
1084
|
+
* then assign the array back to `actionResults`.
|
|
1085
|
+
*/
|
|
698
1086
|
actionResults: WasmActionResult[];
|
|
699
1087
|
finalHtml: string;
|
|
700
1088
|
finalUrl: string;
|
|
@@ -709,6 +1097,13 @@ export class WasmInteractionResult {
|
|
|
709
1097
|
export class WasmJsonLdEntry {
|
|
710
1098
|
free(): void;
|
|
711
1099
|
[Symbol.dispose](): void;
|
|
1100
|
+
/**
|
|
1101
|
+
* Return an independent handle for an ownership-taking API.
|
|
1102
|
+
*
|
|
1103
|
+
* Use `copyForTransfer()` for each class value placed in an array when the original
|
|
1104
|
+
* handle must remain usable.
|
|
1105
|
+
*/
|
|
1106
|
+
copyForTransfer(): WasmJsonLdEntry;
|
|
712
1107
|
static default(): WasmJsonLdEntry;
|
|
713
1108
|
constructor(schemaType?: string | null, raw?: string | null, name?: string | null);
|
|
714
1109
|
get name(): string | undefined;
|
|
@@ -723,6 +1118,13 @@ export class WasmJsonLdEntry {
|
|
|
723
1118
|
export class WasmLinkInfo {
|
|
724
1119
|
free(): void;
|
|
725
1120
|
[Symbol.dispose](): void;
|
|
1121
|
+
/**
|
|
1122
|
+
* Return an independent handle for an ownership-taking API.
|
|
1123
|
+
*
|
|
1124
|
+
* Use `copyForTransfer()` for each class value placed in an array when the original
|
|
1125
|
+
* handle must remain usable.
|
|
1126
|
+
*/
|
|
1127
|
+
copyForTransfer(): WasmLinkInfo;
|
|
726
1128
|
static default(): WasmLinkInfo;
|
|
727
1129
|
constructor(url?: string | null, text?: string | null, linkType?: WasmLinkType | null, nofollow?: boolean | null, rel?: string | null);
|
|
728
1130
|
get linkType(): string;
|
|
@@ -750,8 +1152,26 @@ export enum WasmLinkType {
|
|
|
750
1152
|
export class WasmMapResult {
|
|
751
1153
|
free(): void;
|
|
752
1154
|
[Symbol.dispose](): void;
|
|
1155
|
+
/**
|
|
1156
|
+
* Return an independent handle for an ownership-taking API.
|
|
1157
|
+
*
|
|
1158
|
+
* Use `copyForTransfer()` for each class value placed in an array when the original
|
|
1159
|
+
* handle must remain usable.
|
|
1160
|
+
*/
|
|
1161
|
+
copyForTransfer(): WasmMapResult;
|
|
753
1162
|
static default(): WasmMapResult;
|
|
1163
|
+
/**
|
|
1164
|
+
* Takes ownership of every element in `urls`.
|
|
1165
|
+
* wasm-bindgen cannot borrow class values nested in an array. To keep those handles,
|
|
1166
|
+
* copy each retained element with `copyForTransfer()` before passing the array.
|
|
1167
|
+
*/
|
|
754
1168
|
constructor(urls?: WasmSitemapUrl[] | null);
|
|
1169
|
+
/**
|
|
1170
|
+
* Returns detached copies of the elements in `urls`.
|
|
1171
|
+
*
|
|
1172
|
+
* Changes to the returned values do not update this object. Modify the copies,
|
|
1173
|
+
* then assign the array back to `urls`.
|
|
1174
|
+
*/
|
|
755
1175
|
urls: WasmSitemapUrl[];
|
|
756
1176
|
}
|
|
757
1177
|
|
|
@@ -761,6 +1181,13 @@ export class WasmMapResult {
|
|
|
761
1181
|
export class WasmMarkdownResult {
|
|
762
1182
|
free(): void;
|
|
763
1183
|
[Symbol.dispose](): void;
|
|
1184
|
+
/**
|
|
1185
|
+
* Return an independent handle for an ownership-taking API.
|
|
1186
|
+
*
|
|
1187
|
+
* Use `copyForTransfer()` for each class value placed in an array when the original
|
|
1188
|
+
* handle must remain usable.
|
|
1189
|
+
*/
|
|
1190
|
+
copyForTransfer(): WasmMarkdownResult;
|
|
764
1191
|
static default(): WasmMarkdownResult;
|
|
765
1192
|
constructor(content?: string | null, tables?: any | null, warnings?: string[] | null, citations?: boolean | null, documentStructure?: any | null, fitContent?: string | null);
|
|
766
1193
|
citations: boolean;
|
|
@@ -809,10 +1236,34 @@ export class WasmPageAction {
|
|
|
809
1236
|
export class WasmPageMetadata {
|
|
810
1237
|
free(): void;
|
|
811
1238
|
[Symbol.dispose](): void;
|
|
1239
|
+
clearArticle(): void;
|
|
1240
|
+
/**
|
|
1241
|
+
* Return an independent handle for an ownership-taking API.
|
|
1242
|
+
*
|
|
1243
|
+
* Use `copyForTransfer()` for each class value placed in an array when the original
|
|
1244
|
+
* handle must remain usable.
|
|
1245
|
+
*/
|
|
1246
|
+
copyForTransfer(): WasmPageMetadata;
|
|
812
1247
|
static default(): WasmPageMetadata;
|
|
1248
|
+
/**
|
|
1249
|
+
* Takes ownership of `article`.
|
|
1250
|
+
* wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
|
|
1251
|
+
* of those handles is dead once this returns. Passing a freshly built value is fine. To
|
|
1252
|
+
* keep a handle you already hold, build with `default()` and assign the property instead:
|
|
1253
|
+
* the generated setter borrows and leaves your handle alive.
|
|
1254
|
+
* Takes ownership of every element in `hreflangs`, `favicons`, `headings`.
|
|
1255
|
+
* wasm-bindgen cannot borrow class values nested in an array. To keep those handles,
|
|
1256
|
+
* copy each retained element with `copyForTransfer()` before passing the array.
|
|
1257
|
+
*/
|
|
813
1258
|
constructor(title?: string | null, description?: string | null, canonicalUrl?: string | null, keywords?: string | null, author?: string | null, viewport?: string | null, themeColor?: string | null, generator?: string | null, robots?: string | null, htmlLang?: string | null, htmlDir?: string | null, ogTitle?: string | null, ogType?: string | null, ogImage?: string | null, ogDescription?: string | null, ogUrl?: string | null, ogSiteName?: string | null, ogLocale?: string | null, ogVideo?: string | null, ogAudio?: string | null, ogLocaleAlternates?: string[] | null, twitterCard?: string | null, twitterTitle?: string | null, twitterDescription?: string | null, twitterImage?: string | null, twitterSite?: string | null, twitterCreator?: string | null, dcTitle?: string | null, dcCreator?: string | null, dcSubject?: string | null, dcDescription?: string | null, dcPublisher?: string | null, dcDate?: string | null, dcType?: string | null, dcFormat?: string | null, dcIdentifier?: string | null, dcLanguage?: string | null, dcRights?: string | null, article?: WasmArticleMetadata | null, hreflangs?: WasmHreflangEntry[] | null, favicons?: WasmFaviconInfo[] | null, headings?: WasmHeadingInfo[] | null, wordCount?: number | null);
|
|
1259
|
+
/**
|
|
1260
|
+
* Returns a detached copy of `article`.
|
|
1261
|
+
*
|
|
1262
|
+
* Changes to the returned value do not update this object. To update `article`,
|
|
1263
|
+
* read it, modify the copy, then assign the copy back to `article`.
|
|
1264
|
+
*/
|
|
814
1265
|
get article(): WasmArticleMetadata | undefined;
|
|
815
|
-
set article(value: WasmArticleMetadata
|
|
1266
|
+
set article(value: WasmArticleMetadata);
|
|
816
1267
|
get author(): string | undefined;
|
|
817
1268
|
set author(value: string | null | undefined);
|
|
818
1269
|
get canonicalUrl(): string | undefined;
|
|
@@ -841,13 +1292,46 @@ export class WasmPageMetadata {
|
|
|
841
1292
|
set dcType(value: string | null | undefined);
|
|
842
1293
|
get description(): string | undefined;
|
|
843
1294
|
set description(value: string | null | undefined);
|
|
1295
|
+
/**
|
|
1296
|
+
* Returns detached copies of the elements in `favicons`.
|
|
1297
|
+
*
|
|
1298
|
+
* Changes to the returned values do not update this object. Modify the copies,
|
|
1299
|
+
* then assign the array back to `favicons`.
|
|
1300
|
+
*/
|
|
844
1301
|
get favicons(): Array<any> | undefined;
|
|
1302
|
+
/**
|
|
1303
|
+
* Takes ownership of every element in `favicons`.
|
|
1304
|
+
* wasm-bindgen cannot borrow class values nested in an array; copy each retained
|
|
1305
|
+
* element with `copyForTransfer()` before passing the array.
|
|
1306
|
+
*/
|
|
845
1307
|
set favicons(value: WasmFaviconInfo[] | null | undefined);
|
|
846
1308
|
get generator(): string | undefined;
|
|
847
1309
|
set generator(value: string | null | undefined);
|
|
1310
|
+
/**
|
|
1311
|
+
* Returns detached copies of the elements in `headings`.
|
|
1312
|
+
*
|
|
1313
|
+
* Changes to the returned values do not update this object. Modify the copies,
|
|
1314
|
+
* then assign the array back to `headings`.
|
|
1315
|
+
*/
|
|
848
1316
|
get headings(): Array<any> | undefined;
|
|
1317
|
+
/**
|
|
1318
|
+
* Takes ownership of every element in `headings`.
|
|
1319
|
+
* wasm-bindgen cannot borrow class values nested in an array; copy each retained
|
|
1320
|
+
* element with `copyForTransfer()` before passing the array.
|
|
1321
|
+
*/
|
|
849
1322
|
set headings(value: WasmHeadingInfo[] | null | undefined);
|
|
1323
|
+
/**
|
|
1324
|
+
* Returns detached copies of the elements in `hreflangs`.
|
|
1325
|
+
*
|
|
1326
|
+
* Changes to the returned values do not update this object. Modify the copies,
|
|
1327
|
+
* then assign the array back to `hreflangs`.
|
|
1328
|
+
*/
|
|
850
1329
|
get hreflangs(): Array<any> | undefined;
|
|
1330
|
+
/**
|
|
1331
|
+
* Takes ownership of every element in `hreflangs`.
|
|
1332
|
+
* wasm-bindgen cannot borrow class values nested in an array; copy each retained
|
|
1333
|
+
* element with `copyForTransfer()` before passing the array.
|
|
1334
|
+
*/
|
|
851
1335
|
set hreflangs(value: WasmHreflangEntry[] | null | undefined);
|
|
852
1336
|
get htmlDir(): string | undefined;
|
|
853
1337
|
set htmlDir(value: string | null | undefined);
|
|
@@ -905,6 +1389,13 @@ export class WasmPageMetadata {
|
|
|
905
1389
|
export class WasmProxyConfig {
|
|
906
1390
|
free(): void;
|
|
907
1391
|
[Symbol.dispose](): void;
|
|
1392
|
+
/**
|
|
1393
|
+
* Return an independent handle for an ownership-taking API.
|
|
1394
|
+
*
|
|
1395
|
+
* Use `copyForTransfer()` for each class value placed in an array when the original
|
|
1396
|
+
* handle must remain usable.
|
|
1397
|
+
*/
|
|
1398
|
+
copyForTransfer(): WasmProxyConfig;
|
|
908
1399
|
static default(): WasmProxyConfig;
|
|
909
1400
|
constructor(url?: string | null, username?: string | null, password?: string | null);
|
|
910
1401
|
get password(): string | undefined;
|
|
@@ -920,6 +1411,13 @@ export class WasmProxyConfig {
|
|
|
920
1411
|
export class WasmResponseMeta {
|
|
921
1412
|
free(): void;
|
|
922
1413
|
[Symbol.dispose](): void;
|
|
1414
|
+
/**
|
|
1415
|
+
* Return an independent handle for an ownership-taking API.
|
|
1416
|
+
*
|
|
1417
|
+
* Use `copyForTransfer()` for each class value placed in an array when the original
|
|
1418
|
+
* handle must remain usable.
|
|
1419
|
+
*/
|
|
1420
|
+
copyForTransfer(): WasmResponseMeta;
|
|
923
1421
|
static default(): WasmResponseMeta;
|
|
924
1422
|
constructor(etag?: string | null, lastModified?: string | null, cacheControl?: string | null, server?: string | null, xPoweredBy?: string | null, contentLanguage?: string | null, contentEncoding?: string | null);
|
|
925
1423
|
get cacheControl(): string | undefined;
|
|
@@ -944,41 +1442,129 @@ export class WasmResponseMeta {
|
|
|
944
1442
|
export class WasmScrapeResult {
|
|
945
1443
|
free(): void;
|
|
946
1444
|
[Symbol.dispose](): void;
|
|
1445
|
+
clearBrowser(): void;
|
|
1446
|
+
clearDownloadedDocument(): void;
|
|
1447
|
+
clearExtractionMeta(): void;
|
|
1448
|
+
clearMarkdown(): void;
|
|
1449
|
+
clearResponseMeta(): void;
|
|
1450
|
+
/**
|
|
1451
|
+
* Return an independent handle for an ownership-taking API.
|
|
1452
|
+
*
|
|
1453
|
+
* Use `copyForTransfer()` for each class value placed in an array when the original
|
|
1454
|
+
* handle must remain usable.
|
|
1455
|
+
*/
|
|
1456
|
+
copyForTransfer(): WasmScrapeResult;
|
|
947
1457
|
static default(): WasmScrapeResult;
|
|
1458
|
+
/**
|
|
1459
|
+
* Takes ownership of `metadata`, `responseMeta`, `markdown`, `extractionMeta`, `downloadedDocument`, `browser`.
|
|
1460
|
+
* wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
|
|
1461
|
+
* of those handles is dead once this returns. Passing a freshly built value is fine. To
|
|
1462
|
+
* keep a handle you already hold, build with `default()` and assign the property instead:
|
|
1463
|
+
* the generated setter borrows and leaves your handle alive.
|
|
1464
|
+
* Takes ownership of every element in `links`, `images`, `feeds`, `jsonLd`, `assets`.
|
|
1465
|
+
* wasm-bindgen cannot borrow class values nested in an array. To keep those handles,
|
|
1466
|
+
* copy each retained element with `copyForTransfer()` before passing the array.
|
|
1467
|
+
*/
|
|
948
1468
|
constructor(statusCode?: number | null, finalUrl?: string | null, contentType?: string | null, html?: string | null, bodySize?: number | null, metadata?: WasmPageMetadata | null, links?: WasmLinkInfo[] | null, images?: WasmImageInfo[] | null, feeds?: WasmFeedInfo[] | null, jsonLd?: WasmJsonLdEntry[] | null, isAllowed?: boolean | null, noindexDetected?: boolean | null, nofollowDetected?: boolean | null, isPdf?: boolean | null, wasSkipped?: boolean | null, authHeaderSent?: boolean | null, assets?: WasmDownloadedAsset[] | null, jsRenderHint?: boolean | null, browserUsed?: boolean | null, ssrfRefusedUrls?: string[] | null, crawlDelay?: bigint | null, xRobotsTag?: string | null, detectedCharset?: string | null, responseMeta?: WasmResponseMeta | null, markdown?: WasmMarkdownResult | null, extractedData?: any | null, extractionMeta?: WasmExtractionMeta | null, screenshotBase64?: string | null, downloadedDocument?: WasmDownloadedDocument | null, browser?: WasmBrowserExtras | null);
|
|
1469
|
+
/**
|
|
1470
|
+
* Returns detached copies of the elements in `assets`.
|
|
1471
|
+
*
|
|
1472
|
+
* Changes to the returned values do not update this object. Modify the copies,
|
|
1473
|
+
* then assign the array back to `assets`.
|
|
1474
|
+
*/
|
|
949
1475
|
assets: WasmDownloadedAsset[];
|
|
950
1476
|
authHeaderSent: boolean;
|
|
951
1477
|
bodySize: number;
|
|
952
1478
|
browserUsed: boolean;
|
|
1479
|
+
/**
|
|
1480
|
+
* Returns a detached copy of `browser`.
|
|
1481
|
+
*
|
|
1482
|
+
* Changes to the returned value do not update this object. To update `browser`,
|
|
1483
|
+
* read it, modify the copy, then assign the copy back to `browser`.
|
|
1484
|
+
*/
|
|
953
1485
|
get browser(): WasmBrowserExtras | undefined;
|
|
954
|
-
set browser(value: WasmBrowserExtras
|
|
1486
|
+
set browser(value: WasmBrowserExtras);
|
|
955
1487
|
contentType: string;
|
|
956
1488
|
get crawlDelay(): bigint | undefined;
|
|
957
1489
|
set crawlDelay(value: bigint | null | undefined);
|
|
958
1490
|
get detectedCharset(): string | undefined;
|
|
959
1491
|
set detectedCharset(value: string | null | undefined);
|
|
1492
|
+
/**
|
|
1493
|
+
* Returns a detached copy of `downloadedDocument`.
|
|
1494
|
+
*
|
|
1495
|
+
* Changes to the returned value do not update this object. To update `downloadedDocument`,
|
|
1496
|
+
* read it, modify the copy, then assign the copy back to `downloadedDocument`.
|
|
1497
|
+
*/
|
|
960
1498
|
get downloadedDocument(): WasmDownloadedDocument | undefined;
|
|
961
|
-
set downloadedDocument(value: WasmDownloadedDocument
|
|
1499
|
+
set downloadedDocument(value: WasmDownloadedDocument);
|
|
962
1500
|
get extractedData(): any | undefined;
|
|
963
1501
|
set extractedData(value: any | null | undefined);
|
|
1502
|
+
/**
|
|
1503
|
+
* Returns a detached copy of `extractionMeta`.
|
|
1504
|
+
*
|
|
1505
|
+
* Changes to the returned value do not update this object. To update `extractionMeta`,
|
|
1506
|
+
* read it, modify the copy, then assign the copy back to `extractionMeta`.
|
|
1507
|
+
*/
|
|
964
1508
|
get extractionMeta(): WasmExtractionMeta | undefined;
|
|
965
|
-
set extractionMeta(value: WasmExtractionMeta
|
|
1509
|
+
set extractionMeta(value: WasmExtractionMeta);
|
|
1510
|
+
/**
|
|
1511
|
+
* Returns detached copies of the elements in `feeds`.
|
|
1512
|
+
*
|
|
1513
|
+
* Changes to the returned values do not update this object. Modify the copies,
|
|
1514
|
+
* then assign the array back to `feeds`.
|
|
1515
|
+
*/
|
|
966
1516
|
feeds: WasmFeedInfo[];
|
|
967
1517
|
finalUrl: string;
|
|
968
1518
|
html: string;
|
|
1519
|
+
/**
|
|
1520
|
+
* Returns detached copies of the elements in `images`.
|
|
1521
|
+
*
|
|
1522
|
+
* Changes to the returned values do not update this object. Modify the copies,
|
|
1523
|
+
* then assign the array back to `images`.
|
|
1524
|
+
*/
|
|
969
1525
|
images: WasmImageInfo[];
|
|
970
1526
|
isAllowed: boolean;
|
|
971
1527
|
isPdf: boolean;
|
|
972
1528
|
jsRenderHint: boolean;
|
|
1529
|
+
/**
|
|
1530
|
+
* Returns detached copies of the elements in `jsonLd`.
|
|
1531
|
+
*
|
|
1532
|
+
* Changes to the returned values do not update this object. Modify the copies,
|
|
1533
|
+
* then assign the array back to `jsonLd`.
|
|
1534
|
+
*/
|
|
973
1535
|
jsonLd: WasmJsonLdEntry[];
|
|
1536
|
+
/**
|
|
1537
|
+
* Returns detached copies of the elements in `links`.
|
|
1538
|
+
*
|
|
1539
|
+
* Changes to the returned values do not update this object. Modify the copies,
|
|
1540
|
+
* then assign the array back to `links`.
|
|
1541
|
+
*/
|
|
974
1542
|
links: WasmLinkInfo[];
|
|
1543
|
+
/**
|
|
1544
|
+
* Returns a detached copy of `markdown`.
|
|
1545
|
+
*
|
|
1546
|
+
* Changes to the returned value do not update this object. To update `markdown`,
|
|
1547
|
+
* read it, modify the copy, then assign the copy back to `markdown`.
|
|
1548
|
+
*/
|
|
975
1549
|
get markdown(): WasmMarkdownResult | undefined;
|
|
976
|
-
set markdown(value: WasmMarkdownResult
|
|
1550
|
+
set markdown(value: WasmMarkdownResult);
|
|
1551
|
+
/**
|
|
1552
|
+
* Returns a detached copy of `metadata`.
|
|
1553
|
+
*
|
|
1554
|
+
* Changes to the returned value do not update this object. To update `metadata`,
|
|
1555
|
+
* read it, modify the copy, then assign the copy back to `metadata`.
|
|
1556
|
+
*/
|
|
977
1557
|
metadata: WasmPageMetadata;
|
|
978
1558
|
nofollowDetected: boolean;
|
|
979
1559
|
noindexDetected: boolean;
|
|
1560
|
+
/**
|
|
1561
|
+
* Returns a detached copy of `responseMeta`.
|
|
1562
|
+
*
|
|
1563
|
+
* Changes to the returned value do not update this object. To update `responseMeta`,
|
|
1564
|
+
* read it, modify the copy, then assign the copy back to `responseMeta`.
|
|
1565
|
+
*/
|
|
980
1566
|
get responseMeta(): WasmResponseMeta | undefined;
|
|
981
|
-
set responseMeta(value: WasmResponseMeta
|
|
1567
|
+
set responseMeta(value: WasmResponseMeta);
|
|
982
1568
|
get screenshotBase64(): string | undefined;
|
|
983
1569
|
set screenshotBase64(value: string | null | undefined);
|
|
984
1570
|
ssrfRefusedUrls: string[];
|
|
@@ -1002,6 +1588,13 @@ export enum WasmScrollDirection {
|
|
|
1002
1588
|
export class WasmSitemapUrl {
|
|
1003
1589
|
free(): void;
|
|
1004
1590
|
[Symbol.dispose](): void;
|
|
1591
|
+
/**
|
|
1592
|
+
* Return an independent handle for an ownership-taking API.
|
|
1593
|
+
*
|
|
1594
|
+
* Use `copyForTransfer()` for each class value placed in an array when the original
|
|
1595
|
+
* handle must remain usable.
|
|
1596
|
+
*/
|
|
1597
|
+
copyForTransfer(): WasmSitemapUrl;
|
|
1005
1598
|
static default(): WasmSitemapUrl;
|
|
1006
1599
|
constructor(url?: string | null, lastmod?: string | null, changefreq?: string | null, priority?: string | null);
|
|
1007
1600
|
get changefreq(): string | undefined;
|
|
@@ -1019,6 +1612,13 @@ export class WasmSitemapUrl {
|
|
|
1019
1612
|
export class WasmSsrfPolicy {
|
|
1020
1613
|
free(): void;
|
|
1021
1614
|
[Symbol.dispose](): void;
|
|
1615
|
+
/**
|
|
1616
|
+
* Return an independent handle for an ownership-taking API.
|
|
1617
|
+
*
|
|
1618
|
+
* Use `copyForTransfer()` for each class value placed in an array when the original
|
|
1619
|
+
* handle must remain usable.
|
|
1620
|
+
*/
|
|
1621
|
+
copyForTransfer(): WasmSsrfPolicy;
|
|
1022
1622
|
static default(): WasmSsrfPolicy;
|
|
1023
1623
|
/**
|
|
1024
1624
|
* Create a policy from environment variables.
|
|
@@ -1032,18 +1632,19 @@ export class WasmSsrfPolicy {
|
|
|
1032
1632
|
* - Rust-side SSRF checking is unenforceable and redundant in a wasm32 context.
|
|
1033
1633
|
* - For testing and localhost access, the host's network sandbox is the enforcing boundary.
|
|
1034
1634
|
*
|
|
1035
|
-
* **Node.js caveat:** `deny_private`
|
|
1036
|
-
*
|
|
1037
|
-
*
|
|
1038
|
-
*
|
|
1039
|
-
*
|
|
1040
|
-
*
|
|
1041
|
-
*
|
|
1635
|
+
* **Node.js caveat:** `deny_private` and `denylist` have no effect on hostname-based requests
|
|
1636
|
+
* under `wasm32`. There is no DNS resolution on this target, so `validate_url` only ever
|
|
1637
|
+
* checks a literal IP host; a domain name falls straight through to `Ok(())`. In a browser
|
|
1638
|
+
* this is covered by same-origin/CORS. Node's `fetch` enforces no CORS, so a Node service
|
|
1639
|
+
* embedding this wasm module can be driven to internal hosts by domain name despite the
|
|
1640
|
+
* policy. Enforce egress restrictions (network policy, firewall, proxy allowlist) outside
|
|
1641
|
+
* the process.
|
|
1042
1642
|
*/
|
|
1043
1643
|
static fromEnv(): WasmSsrfPolicy;
|
|
1044
|
-
constructor(denyPrivate?: boolean | null, allowlist?: any | null, maxRedirects?: number | null, schemeAllowlist?: string[] | null);
|
|
1644
|
+
constructor(denyPrivate?: boolean | null, allowlist?: any | null, denylist?: any | null, maxRedirects?: number | null, schemeAllowlist?: string[] | null);
|
|
1045
1645
|
allowlist: any;
|
|
1046
1646
|
denyPrivate: boolean;
|
|
1647
|
+
denylist: any;
|
|
1047
1648
|
maxRedirects: number;
|
|
1048
1649
|
schemeAllowlist: string[];
|
|
1049
1650
|
}
|
|
@@ -1147,6 +1748,7 @@ export interface InitOutput {
|
|
|
1147
1748
|
readonly scrape: (a: number, b: number, c: number) => any;
|
|
1148
1749
|
readonly wasmactionresult_actionIndex: (a: number) => number;
|
|
1149
1750
|
readonly wasmactionresult_actionType: (a: number) => [number, number];
|
|
1751
|
+
readonly wasmactionresult_copyForTransfer: (a: number) => number;
|
|
1150
1752
|
readonly wasmactionresult_data: (a: number) => any;
|
|
1151
1753
|
readonly wasmactionresult_default: () => number;
|
|
1152
1754
|
readonly wasmactionresult_error: (a: number) => [number, number];
|
|
@@ -1158,6 +1760,7 @@ export interface InitOutput {
|
|
|
1158
1760
|
readonly wasmactionresult_set_success: (a: number, b: number) => void;
|
|
1159
1761
|
readonly wasmactionresult_success: (a: number) => number;
|
|
1160
1762
|
readonly wasmarticlemetadata_author: (a: number) => [number, number];
|
|
1763
|
+
readonly wasmarticlemetadata_copyForTransfer: (a: number) => number;
|
|
1161
1764
|
readonly wasmarticlemetadata_default: () => number;
|
|
1162
1765
|
readonly wasmarticlemetadata_modifiedTime: (a: number) => [number, number];
|
|
1163
1766
|
readonly wasmarticlemetadata_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => number;
|
|
@@ -1183,6 +1786,8 @@ export interface InitOutput {
|
|
|
1183
1786
|
readonly wasmauthconfig_type: (a: number) => [number, number];
|
|
1184
1787
|
readonly wasmauthconfig_username: (a: number) => [number, number];
|
|
1185
1788
|
readonly wasmauthconfig_value: (a: number) => [number, number];
|
|
1789
|
+
readonly wasmbatchcrawlresult_clearResult: (a: number) => void;
|
|
1790
|
+
readonly wasmbatchcrawlresult_copyForTransfer: (a: number) => number;
|
|
1186
1791
|
readonly wasmbatchcrawlresult_default: () => number;
|
|
1187
1792
|
readonly wasmbatchcrawlresult_error: (a: number) => [number, number];
|
|
1188
1793
|
readonly wasmbatchcrawlresult_new: (a: number, b: number, c: number, d: number, e: number) => number;
|
|
@@ -1192,6 +1797,7 @@ export interface InitOutput {
|
|
|
1192
1797
|
readonly wasmbatchcrawlresult_set_url: (a: number, b: number, c: number) => void;
|
|
1193
1798
|
readonly wasmbatchcrawlresult_url: (a: number) => [number, number];
|
|
1194
1799
|
readonly wasmbatchcrawlresults_completedCount: (a: number) => number;
|
|
1800
|
+
readonly wasmbatchcrawlresults_copyForTransfer: (a: number) => number;
|
|
1195
1801
|
readonly wasmbatchcrawlresults_default: () => number;
|
|
1196
1802
|
readonly wasmbatchcrawlresults_failedCount: (a: number) => number;
|
|
1197
1803
|
readonly wasmbatchcrawlresults_new: (a: number, b: number, c: number, d: number, e: number) => number;
|
|
@@ -1201,6 +1807,8 @@ export interface InitOutput {
|
|
|
1201
1807
|
readonly wasmbatchcrawlresults_set_results: (a: number, b: number, c: number) => void;
|
|
1202
1808
|
readonly wasmbatchcrawlresults_set_totalCount: (a: number, b: number) => void;
|
|
1203
1809
|
readonly wasmbatchcrawlresults_totalCount: (a: number) => number;
|
|
1810
|
+
readonly wasmbatchscraperesult_clearResult: (a: number) => void;
|
|
1811
|
+
readonly wasmbatchscraperesult_copyForTransfer: (a: number) => number;
|
|
1204
1812
|
readonly wasmbatchscraperesult_default: () => number;
|
|
1205
1813
|
readonly wasmbatchscraperesult_error: (a: number) => [number, number];
|
|
1206
1814
|
readonly wasmbatchscraperesult_new: (a: number, b: number, c: number, d: number, e: number) => number;
|
|
@@ -1210,6 +1818,7 @@ export interface InitOutput {
|
|
|
1210
1818
|
readonly wasmbatchscraperesult_set_url: (a: number, b: number, c: number) => void;
|
|
1211
1819
|
readonly wasmbatchscraperesult_url: (a: number) => [number, number];
|
|
1212
1820
|
readonly wasmbatchscraperesults_completedCount: (a: number) => number;
|
|
1821
|
+
readonly wasmbatchscraperesults_copyForTransfer: (a: number) => number;
|
|
1213
1822
|
readonly wasmbatchscraperesults_default: () => number;
|
|
1214
1823
|
readonly wasmbatchscraperesults_failedCount: (a: number) => number;
|
|
1215
1824
|
readonly wasmbatchscraperesults_new: (a: number, b: number, c: number, d: number, e: number) => number;
|
|
@@ -1224,6 +1833,8 @@ export interface InitOutput {
|
|
|
1224
1833
|
readonly wasmbrowserconfig_captureNetworkEvents: (a: number) => number;
|
|
1225
1834
|
readonly wasmbrowserconfig_chromeArgs: (a: number) => [number, number];
|
|
1226
1835
|
readonly wasmbrowserconfig_chromePath: (a: number) => [number, number];
|
|
1836
|
+
readonly wasmbrowserconfig_clearProxy: (a: number) => void;
|
|
1837
|
+
readonly wasmbrowserconfig_copyForTransfer: (a: number) => number;
|
|
1227
1838
|
readonly wasmbrowserconfig_default: () => number;
|
|
1228
1839
|
readonly wasmbrowserconfig_endpoint: (a: number) => [number, number];
|
|
1229
1840
|
readonly wasmbrowserconfig_evalScript: (a: number) => [number, number];
|
|
@@ -1256,6 +1867,7 @@ export interface InitOutput {
|
|
|
1256
1867
|
readonly wasmbrowserconfig_wait: (a: number) => [number, number];
|
|
1257
1868
|
readonly wasmbrowserconfig_waitSelector: (a: number) => [number, number];
|
|
1258
1869
|
readonly wasmbrowserextras_cookies: (a: number) => [number, number];
|
|
1870
|
+
readonly wasmbrowserextras_copyForTransfer: (a: number) => number;
|
|
1259
1871
|
readonly wasmbrowserextras_default: () => number;
|
|
1260
1872
|
readonly wasmbrowserextras_evalResult: (a: number) => any;
|
|
1261
1873
|
readonly wasmbrowserextras_networkEvents: (a: number) => [number, number];
|
|
@@ -1263,6 +1875,7 @@ export interface InitOutput {
|
|
|
1263
1875
|
readonly wasmbrowserextras_set_cookies: (a: number, b: number, c: number) => void;
|
|
1264
1876
|
readonly wasmbrowserextras_set_evalResult: (a: number, b: number) => void;
|
|
1265
1877
|
readonly wasmbrowserextras_set_networkEvents: (a: number, b: number, c: number) => void;
|
|
1878
|
+
readonly wasmcitationreference_copyForTransfer: (a: number) => number;
|
|
1266
1879
|
readonly wasmcitationreference_default: () => number;
|
|
1267
1880
|
readonly wasmcitationreference_index: (a: number) => number;
|
|
1268
1881
|
readonly wasmcitationreference_new: (a: number, b: number, c: number, d: number, e: number) => number;
|
|
@@ -1272,11 +1885,13 @@ export interface InitOutput {
|
|
|
1272
1885
|
readonly wasmcitationreference_text: (a: number) => [number, number];
|
|
1273
1886
|
readonly wasmcitationreference_url: (a: number) => [number, number];
|
|
1274
1887
|
readonly wasmcitationresult_content: (a: number) => [number, number];
|
|
1888
|
+
readonly wasmcitationresult_copyForTransfer: (a: number) => number;
|
|
1275
1889
|
readonly wasmcitationresult_default: () => number;
|
|
1276
1890
|
readonly wasmcitationresult_new: (a: number, b: number, c: number, d: number) => number;
|
|
1277
1891
|
readonly wasmcitationresult_references: (a: number) => [number, number];
|
|
1278
1892
|
readonly wasmcitationresult_set_content: (a: number, b: number, c: number) => void;
|
|
1279
1893
|
readonly wasmcitationresult_set_references: (a: number, b: number, c: number) => void;
|
|
1894
|
+
readonly wasmcontentconfig_copyForTransfer: (a: number) => number;
|
|
1280
1895
|
readonly wasmcontentconfig_default: () => number;
|
|
1281
1896
|
readonly wasmcontentconfig_excludeSelectors: (a: number) => [number, number];
|
|
1282
1897
|
readonly wasmcontentconfig_extractMetadata: (a: number) => number;
|
|
@@ -1305,6 +1920,7 @@ export interface InitOutput {
|
|
|
1305
1920
|
readonly wasmcontentconfig_stripTags: (a: number) => [number, number];
|
|
1306
1921
|
readonly wasmcontentconfig_wrap: (a: number) => number;
|
|
1307
1922
|
readonly wasmcontentconfig_wrapWidth: (a: number) => number;
|
|
1923
|
+
readonly wasmcookieinfo_copyForTransfer: (a: number) => number;
|
|
1308
1924
|
readonly wasmcookieinfo_default: () => number;
|
|
1309
1925
|
readonly wasmcookieinfo_domain: (a: number) => [number, number];
|
|
1310
1926
|
readonly wasmcookieinfo_name: (a: number) => [number, number];
|
|
@@ -1323,9 +1939,11 @@ export interface InitOutput {
|
|
|
1323
1939
|
readonly wasmcrawlconfig_browser: (a: number) => number;
|
|
1324
1940
|
readonly wasmcrawlconfig_browserProfile: (a: number) => [number, number];
|
|
1325
1941
|
readonly wasmcrawlconfig_captureScreenshot: (a: number) => number;
|
|
1942
|
+
readonly wasmcrawlconfig_clearProxy: (a: number) => void;
|
|
1326
1943
|
readonly wasmcrawlconfig_content: (a: number) => number;
|
|
1327
1944
|
readonly wasmcrawlconfig_contentFilter: (a: number) => [number, number];
|
|
1328
1945
|
readonly wasmcrawlconfig_cookiesEnabled: (a: number) => number;
|
|
1946
|
+
readonly wasmcrawlconfig_copyForTransfer: (a: number) => number;
|
|
1329
1947
|
readonly wasmcrawlconfig_crawlStrategy: (a: number) => [number, number];
|
|
1330
1948
|
readonly wasmcrawlconfig_customHeaders: (a: number) => any;
|
|
1331
1949
|
readonly wasmcrawlconfig_dedupIncludeQuery: (a: number) => number;
|
|
@@ -1428,9 +2046,14 @@ export interface InitOutput {
|
|
|
1428
2046
|
readonly wasmcrawlconfig_userAgents: (a: number) => [number, number];
|
|
1429
2047
|
readonly wasmcrawlconfig_validate: (a: number) => [number, number];
|
|
1430
2048
|
readonly wasmcrawlconfig_warcOutput: (a: number) => [number, number];
|
|
2049
|
+
readonly wasmcrawlenginehandle_copyForTransfer: (a: number) => number;
|
|
1431
2050
|
readonly wasmcrawlpageresult_bodySize: (a: number) => number;
|
|
1432
2051
|
readonly wasmcrawlpageresult_browserUsed: (a: number) => number;
|
|
2052
|
+
readonly wasmcrawlpageresult_clearDownloadedDocument: (a: number) => void;
|
|
2053
|
+
readonly wasmcrawlpageresult_clearExtractionMeta: (a: number) => void;
|
|
2054
|
+
readonly wasmcrawlpageresult_clearMarkdown: (a: number) => void;
|
|
1433
2055
|
readonly wasmcrawlpageresult_contentType: (a: number) => [number, number];
|
|
2056
|
+
readonly wasmcrawlpageresult_copyForTransfer: (a: number) => number;
|
|
1434
2057
|
readonly wasmcrawlpageresult_default: () => number;
|
|
1435
2058
|
readonly wasmcrawlpageresult_depth: (a: number) => number;
|
|
1436
2059
|
readonly wasmcrawlpageresult_detectedCharset: (a: number) => [number, number];
|
|
@@ -1484,6 +2107,7 @@ export interface InitOutput {
|
|
|
1484
2107
|
readonly wasmcrawlpageresult_wasSkipped: (a: number) => number;
|
|
1485
2108
|
readonly wasmcrawlresult_browserUsed: (a: number) => number;
|
|
1486
2109
|
readonly wasmcrawlresult_cookies: (a: number) => [number, number];
|
|
2110
|
+
readonly wasmcrawlresult_copyForTransfer: (a: number) => number;
|
|
1487
2111
|
readonly wasmcrawlresult_default: () => number;
|
|
1488
2112
|
readonly wasmcrawlresult_error: (a: number) => [number, number];
|
|
1489
2113
|
readonly wasmcrawlresult_finalUrl: (a: number) => [number, number];
|
|
@@ -1503,6 +2127,7 @@ export interface InitOutput {
|
|
|
1503
2127
|
readonly wasmcrawlresult_wasSkipped: (a: number) => number;
|
|
1504
2128
|
readonly wasmdownloadedasset_assetCategory: (a: number) => [number, number];
|
|
1505
2129
|
readonly wasmdownloadedasset_contentHash: (a: number) => [number, number];
|
|
2130
|
+
readonly wasmdownloadedasset_copyForTransfer: (a: number) => number;
|
|
1506
2131
|
readonly wasmdownloadedasset_default: () => number;
|
|
1507
2132
|
readonly wasmdownloadedasset_htmlTag: (a: number) => [number, number];
|
|
1508
2133
|
readonly wasmdownloadedasset_mimeType: (a: number) => [number, number];
|
|
@@ -1518,6 +2143,7 @@ export interface InitOutput {
|
|
|
1518
2143
|
readonly wasmdownloadeddocument_contentBase64: (a: number) => [number, number];
|
|
1519
2144
|
readonly wasmdownloadeddocument_contentHash: (a: number) => [number, number];
|
|
1520
2145
|
readonly wasmdownloadeddocument_contentPath: (a: number) => [number, number];
|
|
2146
|
+
readonly wasmdownloadeddocument_copyForTransfer: (a: number) => number;
|
|
1521
2147
|
readonly wasmdownloadeddocument_default: () => number;
|
|
1522
2148
|
readonly wasmdownloadeddocument_filename: (a: number) => [number, number];
|
|
1523
2149
|
readonly wasmdownloadeddocument_headers: (a: number) => any;
|
|
@@ -1537,6 +2163,7 @@ export interface InitOutput {
|
|
|
1537
2163
|
readonly wasmdownloadeddocument_url: (a: number) => [number, number];
|
|
1538
2164
|
readonly wasmextractionmeta_chunksProcessed: (a: number) => number;
|
|
1539
2165
|
readonly wasmextractionmeta_completionTokens: (a: number) => [number, bigint];
|
|
2166
|
+
readonly wasmextractionmeta_copyForTransfer: (a: number) => number;
|
|
1540
2167
|
readonly wasmextractionmeta_cost: (a: number) => [number, number];
|
|
1541
2168
|
readonly wasmextractionmeta_default: () => number;
|
|
1542
2169
|
readonly wasmextractionmeta_model: (a: number) => [number, number];
|
|
@@ -1547,6 +2174,7 @@ export interface InitOutput {
|
|
|
1547
2174
|
readonly wasmextractionmeta_set_cost: (a: number, b: number, c: number) => void;
|
|
1548
2175
|
readonly wasmextractionmeta_set_model: (a: number, b: number, c: number) => void;
|
|
1549
2176
|
readonly wasmextractionmeta_set_promptTokens: (a: number, b: number, c: bigint) => void;
|
|
2177
|
+
readonly wasmfaviconinfo_copyForTransfer: (a: number) => number;
|
|
1550
2178
|
readonly wasmfaviconinfo_default: () => number;
|
|
1551
2179
|
readonly wasmfaviconinfo_mimeType: (a: number) => [number, number];
|
|
1552
2180
|
readonly wasmfaviconinfo_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
@@ -1557,6 +2185,7 @@ export interface InitOutput {
|
|
|
1557
2185
|
readonly wasmfaviconinfo_set_url: (a: number, b: number, c: number) => void;
|
|
1558
2186
|
readonly wasmfaviconinfo_sizes: (a: number) => [number, number];
|
|
1559
2187
|
readonly wasmfaviconinfo_url: (a: number) => [number, number];
|
|
2188
|
+
readonly wasmfeedinfo_copyForTransfer: (a: number) => number;
|
|
1560
2189
|
readonly wasmfeedinfo_default: () => number;
|
|
1561
2190
|
readonly wasmfeedinfo_feedType: (a: number) => [number, number];
|
|
1562
2191
|
readonly wasmfeedinfo_new: (a: number, b: number, c: number, d: number, e: number) => number;
|
|
@@ -1565,6 +2194,7 @@ export interface InitOutput {
|
|
|
1565
2194
|
readonly wasmfeedinfo_set_url: (a: number, b: number, c: number) => void;
|
|
1566
2195
|
readonly wasmfeedinfo_title: (a: number) => [number, number];
|
|
1567
2196
|
readonly wasmfeedinfo_url: (a: number) => [number, number];
|
|
2197
|
+
readonly wasmheadinginfo_copyForTransfer: (a: number) => number;
|
|
1568
2198
|
readonly wasmheadinginfo_default: () => number;
|
|
1569
2199
|
readonly wasmheadinginfo_level: (a: number) => number;
|
|
1570
2200
|
readonly wasmheadinginfo_new: (a: number, b: number, c: number) => number;
|
|
@@ -1577,6 +2207,7 @@ export interface InitOutput {
|
|
|
1577
2207
|
readonly wasmhostmatcher_set_value: (a: number, b: number, c: number) => void;
|
|
1578
2208
|
readonly wasmhostmatcher_type: (a: number) => [number, number];
|
|
1579
2209
|
readonly wasmhostmatcher_value: (a: number) => [number, number];
|
|
2210
|
+
readonly wasmhreflangentry_copyForTransfer: (a: number) => number;
|
|
1580
2211
|
readonly wasmhreflangentry_default: () => number;
|
|
1581
2212
|
readonly wasmhreflangentry_lang: (a: number) => [number, number];
|
|
1582
2213
|
readonly wasmhreflangentry_new: (a: number, b: number, c: number, d: number) => number;
|
|
@@ -1584,6 +2215,7 @@ export interface InitOutput {
|
|
|
1584
2215
|
readonly wasmhreflangentry_set_url: (a: number, b: number, c: number) => void;
|
|
1585
2216
|
readonly wasmhreflangentry_url: (a: number) => [number, number];
|
|
1586
2217
|
readonly wasmimageinfo_alt: (a: number) => [number, number];
|
|
2218
|
+
readonly wasmimageinfo_copyForTransfer: (a: number) => number;
|
|
1587
2219
|
readonly wasmimageinfo_default: () => number;
|
|
1588
2220
|
readonly wasmimageinfo_height: (a: number) => number;
|
|
1589
2221
|
readonly wasmimageinfo_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => number;
|
|
@@ -1596,6 +2228,7 @@ export interface InitOutput {
|
|
|
1596
2228
|
readonly wasmimageinfo_url: (a: number) => [number, number];
|
|
1597
2229
|
readonly wasmimageinfo_width: (a: number) => number;
|
|
1598
2230
|
readonly wasminteractionresult_actionResults: (a: number) => [number, number];
|
|
2231
|
+
readonly wasminteractionresult_copyForTransfer: (a: number) => number;
|
|
1599
2232
|
readonly wasminteractionresult_default: () => number;
|
|
1600
2233
|
readonly wasminteractionresult_finalHtml: (a: number) => [number, number];
|
|
1601
2234
|
readonly wasminteractionresult_finalUrl: (a: number) => [number, number];
|
|
@@ -1607,6 +2240,7 @@ export interface InitOutput {
|
|
|
1607
2240
|
readonly wasminteractionresult_set_screenshotBase64: (a: number, b: number, c: number) => void;
|
|
1608
2241
|
readonly wasminteractionresult_set_ssrfRefusedUrls: (a: number, b: number, c: number) => void;
|
|
1609
2242
|
readonly wasminteractionresult_ssrfRefusedUrls: (a: number) => [number, number];
|
|
2243
|
+
readonly wasmjsonldentry_copyForTransfer: (a: number) => number;
|
|
1610
2244
|
readonly wasmjsonldentry_default: () => number;
|
|
1611
2245
|
readonly wasmjsonldentry_name: (a: number) => [number, number];
|
|
1612
2246
|
readonly wasmjsonldentry_new: (a: number, b: number, c: number, d: number, e: number, f: number) => number;
|
|
@@ -1615,6 +2249,7 @@ export interface InitOutput {
|
|
|
1615
2249
|
readonly wasmjsonldentry_set_name: (a: number, b: number, c: number) => void;
|
|
1616
2250
|
readonly wasmjsonldentry_set_raw: (a: number, b: number, c: number) => void;
|
|
1617
2251
|
readonly wasmjsonldentry_set_schemaType: (a: number, b: number, c: number) => void;
|
|
2252
|
+
readonly wasmlinkinfo_copyForTransfer: (a: number) => number;
|
|
1618
2253
|
readonly wasmlinkinfo_default: () => number;
|
|
1619
2254
|
readonly wasmlinkinfo_linkType: (a: number) => [number, number];
|
|
1620
2255
|
readonly wasmlinkinfo_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
@@ -1627,12 +2262,14 @@ export interface InitOutput {
|
|
|
1627
2262
|
readonly wasmlinkinfo_set_url: (a: number, b: number, c: number) => void;
|
|
1628
2263
|
readonly wasmlinkinfo_text: (a: number) => [number, number];
|
|
1629
2264
|
readonly wasmlinkinfo_url: (a: number) => [number, number];
|
|
2265
|
+
readonly wasmmapresult_copyForTransfer: (a: number) => number;
|
|
1630
2266
|
readonly wasmmapresult_default: () => number;
|
|
1631
2267
|
readonly wasmmapresult_new: (a: number, b: number) => number;
|
|
1632
2268
|
readonly wasmmapresult_set_urls: (a: number, b: number, c: number) => void;
|
|
1633
2269
|
readonly wasmmapresult_urls: (a: number) => [number, number];
|
|
1634
2270
|
readonly wasmmarkdownresult_citations: (a: number) => number;
|
|
1635
2271
|
readonly wasmmarkdownresult_content: (a: number) => [number, number];
|
|
2272
|
+
readonly wasmmarkdownresult_copyForTransfer: (a: number) => number;
|
|
1636
2273
|
readonly wasmmarkdownresult_default: () => number;
|
|
1637
2274
|
readonly wasmmarkdownresult_documentStructure: (a: number) => any;
|
|
1638
2275
|
readonly wasmmarkdownresult_fitContent: (a: number) => [number, number];
|
|
@@ -1668,6 +2305,8 @@ export interface InitOutput {
|
|
|
1668
2305
|
readonly wasmpagemetadata_article: (a: number) => number;
|
|
1669
2306
|
readonly wasmpagemetadata_author: (a: number) => [number, number];
|
|
1670
2307
|
readonly wasmpagemetadata_canonicalUrl: (a: number) => [number, number];
|
|
2308
|
+
readonly wasmpagemetadata_clearArticle: (a: number) => void;
|
|
2309
|
+
readonly wasmpagemetadata_copyForTransfer: (a: number) => number;
|
|
1671
2310
|
readonly wasmpagemetadata_dcCreator: (a: number) => [number, number];
|
|
1672
2311
|
readonly wasmpagemetadata_dcDate: (a: number) => [number, number];
|
|
1673
2312
|
readonly wasmpagemetadata_dcDescription: (a: number) => [number, number];
|
|
@@ -1753,6 +2392,7 @@ export interface InitOutput {
|
|
|
1753
2392
|
readonly wasmpagemetadata_twitterTitle: (a: number) => [number, number];
|
|
1754
2393
|
readonly wasmpagemetadata_viewport: (a: number) => [number, number];
|
|
1755
2394
|
readonly wasmpagemetadata_wordCount: (a: number) => number;
|
|
2395
|
+
readonly wasmproxyconfig_copyForTransfer: (a: number) => number;
|
|
1756
2396
|
readonly wasmproxyconfig_default: () => number;
|
|
1757
2397
|
readonly wasmproxyconfig_new: (a: number, b: number, c: number, d: number, e: number, f: number) => number;
|
|
1758
2398
|
readonly wasmproxyconfig_password: (a: number) => [number, number];
|
|
@@ -1764,6 +2404,7 @@ export interface InitOutput {
|
|
|
1764
2404
|
readonly wasmresponsemeta_cacheControl: (a: number) => [number, number];
|
|
1765
2405
|
readonly wasmresponsemeta_contentEncoding: (a: number) => [number, number];
|
|
1766
2406
|
readonly wasmresponsemeta_contentLanguage: (a: number) => [number, number];
|
|
2407
|
+
readonly wasmresponsemeta_copyForTransfer: (a: number) => number;
|
|
1767
2408
|
readonly wasmresponsemeta_default: () => number;
|
|
1768
2409
|
readonly wasmresponsemeta_etag: (a: number) => [number, number];
|
|
1769
2410
|
readonly wasmresponsemeta_lastModified: (a: number) => [number, number];
|
|
@@ -1782,7 +2423,13 @@ export interface InitOutput {
|
|
|
1782
2423
|
readonly wasmscraperesult_bodySize: (a: number) => number;
|
|
1783
2424
|
readonly wasmscraperesult_browser: (a: number) => number;
|
|
1784
2425
|
readonly wasmscraperesult_browserUsed: (a: number) => number;
|
|
2426
|
+
readonly wasmscraperesult_clearBrowser: (a: number) => void;
|
|
2427
|
+
readonly wasmscraperesult_clearDownloadedDocument: (a: number) => void;
|
|
2428
|
+
readonly wasmscraperesult_clearExtractionMeta: (a: number) => void;
|
|
2429
|
+
readonly wasmscraperesult_clearMarkdown: (a: number) => void;
|
|
2430
|
+
readonly wasmscraperesult_clearResponseMeta: (a: number) => void;
|
|
1785
2431
|
readonly wasmscraperesult_contentType: (a: number) => [number, number];
|
|
2432
|
+
readonly wasmscraperesult_copyForTransfer: (a: number) => number;
|
|
1786
2433
|
readonly wasmscraperesult_crawlDelay: (a: number) => [number, bigint];
|
|
1787
2434
|
readonly wasmscraperesult_default: () => number;
|
|
1788
2435
|
readonly wasmscraperesult_detectedCharset: (a: number) => [number, number];
|
|
@@ -1840,6 +2487,7 @@ export interface InitOutput {
|
|
|
1840
2487
|
readonly wasmscraperesult_wasSkipped: (a: number) => number;
|
|
1841
2488
|
readonly wasmscraperesult_xRobotsTag: (a: number) => [number, number];
|
|
1842
2489
|
readonly wasmsitemapurl_changefreq: (a: number) => [number, number];
|
|
2490
|
+
readonly wasmsitemapurl_copyForTransfer: (a: number) => number;
|
|
1843
2491
|
readonly wasmsitemapurl_default: () => number;
|
|
1844
2492
|
readonly wasmsitemapurl_lastmod: (a: number) => [number, number];
|
|
1845
2493
|
readonly wasmsitemapurl_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
@@ -1850,14 +2498,17 @@ export interface InitOutput {
|
|
|
1850
2498
|
readonly wasmsitemapurl_set_url: (a: number, b: number, c: number) => void;
|
|
1851
2499
|
readonly wasmsitemapurl_url: (a: number) => [number, number];
|
|
1852
2500
|
readonly wasmssrfpolicy_allowlist: (a: number) => any;
|
|
2501
|
+
readonly wasmssrfpolicy_copyForTransfer: (a: number) => number;
|
|
1853
2502
|
readonly wasmssrfpolicy_default: () => number;
|
|
1854
2503
|
readonly wasmssrfpolicy_denyPrivate: (a: number) => number;
|
|
2504
|
+
readonly wasmssrfpolicy_denylist: (a: number) => any;
|
|
1855
2505
|
readonly wasmssrfpolicy_fromEnv: () => number;
|
|
1856
2506
|
readonly wasmssrfpolicy_maxRedirects: (a: number) => number;
|
|
1857
|
-
readonly wasmssrfpolicy_new: (a: number, b: number, c: number, d: number, e: number) => number;
|
|
2507
|
+
readonly wasmssrfpolicy_new: (a: number, b: number, c: number, d: number, e: number, f: number) => number;
|
|
1858
2508
|
readonly wasmssrfpolicy_schemeAllowlist: (a: number) => [number, number];
|
|
1859
2509
|
readonly wasmssrfpolicy_set_allowlist: (a: number, b: any) => void;
|
|
1860
2510
|
readonly wasmssrfpolicy_set_denyPrivate: (a: number, b: number) => void;
|
|
2511
|
+
readonly wasmssrfpolicy_set_denylist: (a: number, b: any) => void;
|
|
1861
2512
|
readonly wasmssrfpolicy_set_maxRedirects: (a: number, b: number) => void;
|
|
1862
2513
|
readonly wasmssrfpolicy_set_schemeAllowlist: (a: number, b: number, c: number) => void;
|
|
1863
2514
|
readonly wasm_bindgen__convert__closures_____invoke__h2eedacf566f3748c: (a: number, b: number, c: any) => [number, number];
|