@xberg-io/crawlberg-wasm 1.3.3 → 1.4.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/README.md +1 -1
- package/package.json +1 -1
- package/pkg/bundler/README.md +1 -1
- package/pkg/bundler/crawlberg_wasm.d.ts +2 -1
- package/pkg/bundler/crawlberg_wasm_bg.js +33 -13
- package/pkg/bundler/crawlberg_wasm_bg.wasm +0 -0
- package/pkg/bundler/crawlberg_wasm_bg.wasm.d.ts +6 -4
- package/pkg/bundler/package.json +1 -1
- package/pkg/deno/README.md +1 -1
- package/pkg/deno/crawlberg_wasm.d.ts +2 -1
- package/pkg/deno/crawlberg_wasm.js +33 -13
- package/pkg/deno/crawlberg_wasm_bg.wasm +0 -0
- package/pkg/deno/crawlberg_wasm_bg.wasm.d.ts +6 -4
- package/pkg/nodejs/README.md +1 -1
- package/pkg/nodejs/crawlberg_wasm.d.ts +2 -1
- package/pkg/nodejs/crawlberg_wasm.js +33 -13
- package/pkg/nodejs/crawlberg_wasm_bg.wasm +0 -0
- package/pkg/nodejs/crawlberg_wasm_bg.wasm.d.ts +6 -4
- package/pkg/nodejs/package.json +1 -1
- package/pkg/web/README.md +1 -1
- package/pkg/web/crawlberg_wasm.d.ts +8 -5
- package/pkg/web/crawlberg_wasm.js +33 -13
- package/pkg/web/crawlberg_wasm_bg.wasm +0 -0
- package/pkg/web/crawlberg_wasm_bg.wasm.d.ts +6 -4
- package/pkg/web/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<!-- This file is auto-generated by alef — DO NOT EDIT. -->
|
|
2
|
-
<!-- alef:hash:
|
|
2
|
+
<!-- alef:hash:3e2f4a488c2c856faef7619c7da3856ab9b8cdad4534264dea7b27a2ebf8bf35 -->
|
|
3
3
|
<!-- To regenerate: alef readme -->
|
|
4
4
|
<!-- To verify freshness: alef verify -->
|
|
5
5
|
|
package/package.json
CHANGED
package/pkg/bundler/README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<!-- This file is auto-generated by alef — DO NOT EDIT. -->
|
|
2
|
-
<!-- alef:hash:
|
|
2
|
+
<!-- alef:hash:3e2f4a488c2c856faef7619c7da3856ab9b8cdad4534264dea7b27a2ebf8bf35 -->
|
|
3
3
|
<!-- To regenerate: alef readme -->
|
|
4
4
|
<!-- To verify freshness: alef verify -->
|
|
5
5
|
|
|
@@ -1015,10 +1015,11 @@ export class WasmSsrfPolicy {
|
|
|
1015
1015
|
* egress restrictions (network policy, firewall, proxy allowlist) outside the process.
|
|
1016
1016
|
*/
|
|
1017
1017
|
static fromEnv(): WasmSsrfPolicy;
|
|
1018
|
-
constructor(denyPrivate?: boolean | null, allowlist?: any | null, maxRedirects?: number | null);
|
|
1018
|
+
constructor(denyPrivate?: boolean | null, allowlist?: any | null, maxRedirects?: number | null, schemeAllowlist?: string[] | null);
|
|
1019
1019
|
allowlist: any;
|
|
1020
1020
|
denyPrivate: boolean;
|
|
1021
1021
|
maxRedirects: number;
|
|
1022
|
+
schemeAllowlist: string[];
|
|
1022
1023
|
}
|
|
1023
1024
|
|
|
1024
1025
|
/**
|
|
@@ -7657,13 +7657,25 @@ export class WasmSsrfPolicy {
|
|
|
7657
7657
|
* @param {boolean | null} [denyPrivate]
|
|
7658
7658
|
* @param {any | null} [allowlist]
|
|
7659
7659
|
* @param {number | null} [maxRedirects]
|
|
7660
|
+
* @param {string[] | null} [schemeAllowlist]
|
|
7660
7661
|
*/
|
|
7661
|
-
constructor(denyPrivate, allowlist, maxRedirects) {
|
|
7662
|
-
|
|
7662
|
+
constructor(denyPrivate, allowlist, maxRedirects, schemeAllowlist) {
|
|
7663
|
+
var ptr0 = isLikeNone(schemeAllowlist) ? 0 : passArrayJsValueToWasm0(schemeAllowlist, wasm.__wbindgen_malloc);
|
|
7664
|
+
var len0 = WASM_VECTOR_LEN;
|
|
7665
|
+
const ret = wasm.wasmssrfpolicy_new(isLikeNone(denyPrivate) ? 0xFFFFFF : denyPrivate ? 1 : 0, isLikeNone(allowlist) ? 0 : addToExternrefTable0(allowlist), isLikeNone(maxRedirects) ? 0xFFFFFF : maxRedirects, ptr0, len0);
|
|
7663
7666
|
this.__wbg_ptr = ret;
|
|
7664
7667
|
WasmSsrfPolicyFinalization.register(this, this.__wbg_ptr, this);
|
|
7665
7668
|
return this;
|
|
7666
7669
|
}
|
|
7670
|
+
/**
|
|
7671
|
+
* @returns {string[]}
|
|
7672
|
+
*/
|
|
7673
|
+
get schemeAllowlist() {
|
|
7674
|
+
const ret = wasm.wasmssrfpolicy_schemeAllowlist(this.__wbg_ptr);
|
|
7675
|
+
var v1 = getArrayJsValueFromWasm0(ret[0], ret[1]);
|
|
7676
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
|
|
7677
|
+
return v1;
|
|
7678
|
+
}
|
|
7667
7679
|
/**
|
|
7668
7680
|
* @param {any} value
|
|
7669
7681
|
*/
|
|
@@ -7682,6 +7694,14 @@ export class WasmSsrfPolicy {
|
|
|
7682
7694
|
set maxRedirects(value) {
|
|
7683
7695
|
wasm.wasmssrfpolicy_set_maxRedirects(this.__wbg_ptr, value);
|
|
7684
7696
|
}
|
|
7697
|
+
/**
|
|
7698
|
+
* @param {string[]} value
|
|
7699
|
+
*/
|
|
7700
|
+
set schemeAllowlist(value) {
|
|
7701
|
+
const ptr0 = passArrayJsValueToWasm0(value, wasm.__wbindgen_malloc);
|
|
7702
|
+
const len0 = WASM_VECTOR_LEN;
|
|
7703
|
+
wasm.wasmssrfpolicy_set_schemeAllowlist(this.__wbg_ptr, ptr0, len0);
|
|
7704
|
+
}
|
|
7685
7705
|
}
|
|
7686
7706
|
if (Symbol.dispose) WasmSsrfPolicy.prototype[Symbol.dispose] = WasmSsrfPolicy.prototype.free;
|
|
7687
7707
|
|
|
@@ -8052,7 +8072,7 @@ export function __wbg_new_typed_cceaf62d8d95e9f2(arg0, arg1) {
|
|
|
8052
8072
|
const a = state0.a;
|
|
8053
8073
|
state0.a = 0;
|
|
8054
8074
|
try {
|
|
8055
|
-
return
|
|
8075
|
+
return wasm_bindgen__convert__closures_____invoke__hbab77f1211c923b7(a, state0.b, arg0, arg1);
|
|
8056
8076
|
} finally {
|
|
8057
8077
|
state0.a = a;
|
|
8058
8078
|
}
|
|
@@ -8340,13 +8360,13 @@ export function __wbg_wasmsitemapurl_unwrap(arg0) {
|
|
|
8340
8360
|
return ret;
|
|
8341
8361
|
}
|
|
8342
8362
|
export function __wbindgen_cast_0000000000000001(arg0, arg1) {
|
|
8343
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx:
|
|
8344
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
8363
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 1074, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
8364
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h6e6fec37c02cb65f);
|
|
8345
8365
|
return ret;
|
|
8346
8366
|
}
|
|
8347
8367
|
export function __wbindgen_cast_0000000000000002(arg0, arg1) {
|
|
8348
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx:
|
|
8349
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
8368
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 950, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
8369
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h1d72c46fe7a75bc3);
|
|
8350
8370
|
return ret;
|
|
8351
8371
|
}
|
|
8352
8372
|
export function __wbindgen_cast_0000000000000003(arg0) {
|
|
@@ -8378,19 +8398,19 @@ export function __wbindgen_init_externref_table() {
|
|
|
8378
8398
|
table.set(offset + 2, true);
|
|
8379
8399
|
table.set(offset + 3, false);
|
|
8380
8400
|
}
|
|
8381
|
-
function
|
|
8382
|
-
wasm.
|
|
8401
|
+
function wasm_bindgen__convert__closures_____invoke__h1d72c46fe7a75bc3(arg0, arg1) {
|
|
8402
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h1d72c46fe7a75bc3(arg0, arg1);
|
|
8383
8403
|
}
|
|
8384
8404
|
|
|
8385
|
-
function
|
|
8386
|
-
const ret = wasm.
|
|
8405
|
+
function wasm_bindgen__convert__closures_____invoke__h6e6fec37c02cb65f(arg0, arg1, arg2) {
|
|
8406
|
+
const ret = wasm.wasm_bindgen__convert__closures_____invoke__h6e6fec37c02cb65f(arg0, arg1, arg2);
|
|
8387
8407
|
if (ret[1]) {
|
|
8388
8408
|
throw takeFromExternrefTable0(ret[0]);
|
|
8389
8409
|
}
|
|
8390
8410
|
}
|
|
8391
8411
|
|
|
8392
|
-
function
|
|
8393
|
-
wasm.
|
|
8412
|
+
function wasm_bindgen__convert__closures_____invoke__hbab77f1211c923b7(arg0, arg1, arg2, arg3) {
|
|
8413
|
+
wasm.wasm_bindgen__convert__closures_____invoke__hbab77f1211c923b7(arg0, arg1, arg2, arg3);
|
|
8394
8414
|
}
|
|
8395
8415
|
|
|
8396
8416
|
|
|
Binary file
|
|
@@ -683,10 +683,12 @@ export const wasmssrfpolicy_default: () => number;
|
|
|
683
683
|
export const wasmssrfpolicy_denyPrivate: (a: number) => number;
|
|
684
684
|
export const wasmssrfpolicy_fromEnv: () => number;
|
|
685
685
|
export const wasmssrfpolicy_maxRedirects: (a: number) => number;
|
|
686
|
-
export const wasmssrfpolicy_new: (a: number, b: number, c: number) => number;
|
|
686
|
+
export const wasmssrfpolicy_new: (a: number, b: number, c: number, d: number, e: number) => number;
|
|
687
|
+
export const wasmssrfpolicy_schemeAllowlist: (a: number) => [number, number];
|
|
687
688
|
export const wasmssrfpolicy_set_allowlist: (a: number, b: any) => void;
|
|
688
689
|
export const wasmssrfpolicy_set_denyPrivate: (a: number, b: number) => void;
|
|
689
690
|
export const wasmssrfpolicy_set_maxRedirects: (a: number, b: number) => void;
|
|
691
|
+
export const wasmssrfpolicy_set_schemeAllowlist: (a: number, b: number, c: number) => void;
|
|
690
692
|
export const wasmhostmatcher_new: () => number;
|
|
691
693
|
export const wasmcrawlconfig_set_requestTimeout: (a: number, b: number, c: bigint) => void;
|
|
692
694
|
export const wasmextractionmeta_set_completionTokens: (a: number, b: number, c: bigint) => void;
|
|
@@ -720,9 +722,9 @@ export const wasmextractionmeta_set_cost: (a: number, b: number, c: number) => v
|
|
|
720
722
|
export const wasmpageaction_set_amount: (a: number, b: number, c: bigint) => void;
|
|
721
723
|
export const wasmscraperesult_set_crawlDelay: (a: number, b: number, c: bigint) => void;
|
|
722
724
|
export const wasmpageaction_new: () => number;
|
|
723
|
-
export const
|
|
724
|
-
export const
|
|
725
|
-
export const
|
|
725
|
+
export const wasm_bindgen__convert__closures_____invoke__h6e6fec37c02cb65f: (a: number, b: number, c: any) => [number, number];
|
|
726
|
+
export const wasm_bindgen__convert__closures_____invoke__hbab77f1211c923b7: (a: number, b: number, c: any, d: any) => void;
|
|
727
|
+
export const wasm_bindgen__convert__closures_____invoke__h1d72c46fe7a75bc3: (a: number, b: number) => void;
|
|
726
728
|
export const __wbindgen_malloc: (a: number, b: number) => number;
|
|
727
729
|
export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
728
730
|
export const __wbindgen_exn_store: (a: number) => void;
|
package/pkg/bundler/package.json
CHANGED
package/pkg/deno/README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<!-- This file is auto-generated by alef — DO NOT EDIT. -->
|
|
2
|
-
<!-- alef:hash:
|
|
2
|
+
<!-- alef:hash:3e2f4a488c2c856faef7619c7da3856ab9b8cdad4534264dea7b27a2ebf8bf35 -->
|
|
3
3
|
<!-- To regenerate: alef readme -->
|
|
4
4
|
<!-- To verify freshness: alef verify -->
|
|
5
5
|
|
|
@@ -1015,10 +1015,11 @@ export class WasmSsrfPolicy {
|
|
|
1015
1015
|
* egress restrictions (network policy, firewall, proxy allowlist) outside the process.
|
|
1016
1016
|
*/
|
|
1017
1017
|
static fromEnv(): WasmSsrfPolicy;
|
|
1018
|
-
constructor(denyPrivate?: boolean | null, allowlist?: any | null, maxRedirects?: number | null);
|
|
1018
|
+
constructor(denyPrivate?: boolean | null, allowlist?: any | null, maxRedirects?: number | null, schemeAllowlist?: string[] | null);
|
|
1019
1019
|
allowlist: any;
|
|
1020
1020
|
denyPrivate: boolean;
|
|
1021
1021
|
maxRedirects: number;
|
|
1022
|
+
schemeAllowlist: string[];
|
|
1022
1023
|
}
|
|
1023
1024
|
|
|
1024
1025
|
/**
|
|
@@ -7659,13 +7659,25 @@ export class WasmSsrfPolicy {
|
|
|
7659
7659
|
* @param {boolean | null} [denyPrivate]
|
|
7660
7660
|
* @param {any | null} [allowlist]
|
|
7661
7661
|
* @param {number | null} [maxRedirects]
|
|
7662
|
+
* @param {string[] | null} [schemeAllowlist]
|
|
7662
7663
|
*/
|
|
7663
|
-
constructor(denyPrivate, allowlist, maxRedirects) {
|
|
7664
|
-
|
|
7664
|
+
constructor(denyPrivate, allowlist, maxRedirects, schemeAllowlist) {
|
|
7665
|
+
var ptr0 = isLikeNone(schemeAllowlist) ? 0 : passArrayJsValueToWasm0(schemeAllowlist, wasm.__wbindgen_malloc);
|
|
7666
|
+
var len0 = WASM_VECTOR_LEN;
|
|
7667
|
+
const ret = wasm.wasmssrfpolicy_new(isLikeNone(denyPrivate) ? 0xFFFFFF : denyPrivate ? 1 : 0, isLikeNone(allowlist) ? 0 : addToExternrefTable0(allowlist), isLikeNone(maxRedirects) ? 0xFFFFFF : maxRedirects, ptr0, len0);
|
|
7665
7668
|
this.__wbg_ptr = ret;
|
|
7666
7669
|
WasmSsrfPolicyFinalization.register(this, this.__wbg_ptr, this);
|
|
7667
7670
|
return this;
|
|
7668
7671
|
}
|
|
7672
|
+
/**
|
|
7673
|
+
* @returns {string[]}
|
|
7674
|
+
*/
|
|
7675
|
+
get schemeAllowlist() {
|
|
7676
|
+
const ret = wasm.wasmssrfpolicy_schemeAllowlist(this.__wbg_ptr);
|
|
7677
|
+
var v1 = getArrayJsValueFromWasm0(ret[0], ret[1]);
|
|
7678
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
|
|
7679
|
+
return v1;
|
|
7680
|
+
}
|
|
7669
7681
|
/**
|
|
7670
7682
|
* @param {any} value
|
|
7671
7683
|
*/
|
|
@@ -7684,6 +7696,14 @@ export class WasmSsrfPolicy {
|
|
|
7684
7696
|
set maxRedirects(value) {
|
|
7685
7697
|
wasm.wasmssrfpolicy_set_maxRedirects(this.__wbg_ptr, value);
|
|
7686
7698
|
}
|
|
7699
|
+
/**
|
|
7700
|
+
* @param {string[]} value
|
|
7701
|
+
*/
|
|
7702
|
+
set schemeAllowlist(value) {
|
|
7703
|
+
const ptr0 = passArrayJsValueToWasm0(value, wasm.__wbindgen_malloc);
|
|
7704
|
+
const len0 = WASM_VECTOR_LEN;
|
|
7705
|
+
wasm.wasmssrfpolicy_set_schemeAllowlist(this.__wbg_ptr, ptr0, len0);
|
|
7706
|
+
}
|
|
7687
7707
|
}
|
|
7688
7708
|
if (Symbol.dispose) WasmSsrfPolicy.prototype[Symbol.dispose] = WasmSsrfPolicy.prototype.free;
|
|
7689
7709
|
|
|
@@ -8057,7 +8077,7 @@ function __wbg_get_imports() {
|
|
|
8057
8077
|
const a = state0.a;
|
|
8058
8078
|
state0.a = 0;
|
|
8059
8079
|
try {
|
|
8060
|
-
return
|
|
8080
|
+
return wasm_bindgen__convert__closures_____invoke__hbab77f1211c923b7(a, state0.b, arg0, arg1);
|
|
8061
8081
|
} finally {
|
|
8062
8082
|
state0.a = a;
|
|
8063
8083
|
}
|
|
@@ -8345,13 +8365,13 @@ function __wbg_get_imports() {
|
|
|
8345
8365
|
return ret;
|
|
8346
8366
|
},
|
|
8347
8367
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
8348
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx:
|
|
8349
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
8368
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 1074, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
8369
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h6e6fec37c02cb65f);
|
|
8350
8370
|
return ret;
|
|
8351
8371
|
},
|
|
8352
8372
|
__wbindgen_cast_0000000000000002: function(arg0, arg1) {
|
|
8353
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx:
|
|
8354
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
8373
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 950, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
8374
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h1d72c46fe7a75bc3);
|
|
8355
8375
|
return ret;
|
|
8356
8376
|
},
|
|
8357
8377
|
__wbindgen_cast_0000000000000003: function(arg0) {
|
|
@@ -8390,19 +8410,19 @@ function __wbg_get_imports() {
|
|
|
8390
8410
|
};
|
|
8391
8411
|
}
|
|
8392
8412
|
|
|
8393
|
-
function
|
|
8394
|
-
wasm.
|
|
8413
|
+
function wasm_bindgen__convert__closures_____invoke__h1d72c46fe7a75bc3(arg0, arg1) {
|
|
8414
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h1d72c46fe7a75bc3(arg0, arg1);
|
|
8395
8415
|
}
|
|
8396
8416
|
|
|
8397
|
-
function
|
|
8398
|
-
const ret = wasm.
|
|
8417
|
+
function wasm_bindgen__convert__closures_____invoke__h6e6fec37c02cb65f(arg0, arg1, arg2) {
|
|
8418
|
+
const ret = wasm.wasm_bindgen__convert__closures_____invoke__h6e6fec37c02cb65f(arg0, arg1, arg2);
|
|
8399
8419
|
if (ret[1]) {
|
|
8400
8420
|
throw takeFromExternrefTable0(ret[0]);
|
|
8401
8421
|
}
|
|
8402
8422
|
}
|
|
8403
8423
|
|
|
8404
|
-
function
|
|
8405
|
-
wasm.
|
|
8424
|
+
function wasm_bindgen__convert__closures_____invoke__hbab77f1211c923b7(arg0, arg1, arg2, arg3) {
|
|
8425
|
+
wasm.wasm_bindgen__convert__closures_____invoke__hbab77f1211c923b7(arg0, arg1, arg2, arg3);
|
|
8406
8426
|
}
|
|
8407
8427
|
|
|
8408
8428
|
|
|
Binary file
|
|
@@ -683,10 +683,12 @@ export const wasmssrfpolicy_default: () => number;
|
|
|
683
683
|
export const wasmssrfpolicy_denyPrivate: (a: number) => number;
|
|
684
684
|
export const wasmssrfpolicy_fromEnv: () => number;
|
|
685
685
|
export const wasmssrfpolicy_maxRedirects: (a: number) => number;
|
|
686
|
-
export const wasmssrfpolicy_new: (a: number, b: number, c: number) => number;
|
|
686
|
+
export const wasmssrfpolicy_new: (a: number, b: number, c: number, d: number, e: number) => number;
|
|
687
|
+
export const wasmssrfpolicy_schemeAllowlist: (a: number) => [number, number];
|
|
687
688
|
export const wasmssrfpolicy_set_allowlist: (a: number, b: any) => void;
|
|
688
689
|
export const wasmssrfpolicy_set_denyPrivate: (a: number, b: number) => void;
|
|
689
690
|
export const wasmssrfpolicy_set_maxRedirects: (a: number, b: number) => void;
|
|
691
|
+
export const wasmssrfpolicy_set_schemeAllowlist: (a: number, b: number, c: number) => void;
|
|
690
692
|
export const wasmhostmatcher_new: () => number;
|
|
691
693
|
export const wasmcrawlconfig_set_requestTimeout: (a: number, b: number, c: bigint) => void;
|
|
692
694
|
export const wasmextractionmeta_set_completionTokens: (a: number, b: number, c: bigint) => void;
|
|
@@ -720,9 +722,9 @@ export const wasmextractionmeta_set_cost: (a: number, b: number, c: number) => v
|
|
|
720
722
|
export const wasmpageaction_set_amount: (a: number, b: number, c: bigint) => void;
|
|
721
723
|
export const wasmscraperesult_set_crawlDelay: (a: number, b: number, c: bigint) => void;
|
|
722
724
|
export const wasmpageaction_new: () => number;
|
|
723
|
-
export const
|
|
724
|
-
export const
|
|
725
|
-
export const
|
|
725
|
+
export const wasm_bindgen__convert__closures_____invoke__h6e6fec37c02cb65f: (a: number, b: number, c: any) => [number, number];
|
|
726
|
+
export const wasm_bindgen__convert__closures_____invoke__hbab77f1211c923b7: (a: number, b: number, c: any, d: any) => void;
|
|
727
|
+
export const wasm_bindgen__convert__closures_____invoke__h1d72c46fe7a75bc3: (a: number, b: number) => void;
|
|
726
728
|
export const __wbindgen_malloc: (a: number, b: number) => number;
|
|
727
729
|
export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
728
730
|
export const __wbindgen_exn_store: (a: number) => void;
|
package/pkg/nodejs/README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<!-- This file is auto-generated by alef — DO NOT EDIT. -->
|
|
2
|
-
<!-- alef:hash:
|
|
2
|
+
<!-- alef:hash:3e2f4a488c2c856faef7619c7da3856ab9b8cdad4534264dea7b27a2ebf8bf35 -->
|
|
3
3
|
<!-- To regenerate: alef readme -->
|
|
4
4
|
<!-- To verify freshness: alef verify -->
|
|
5
5
|
|
|
@@ -1015,10 +1015,11 @@ export class WasmSsrfPolicy {
|
|
|
1015
1015
|
* egress restrictions (network policy, firewall, proxy allowlist) outside the process.
|
|
1016
1016
|
*/
|
|
1017
1017
|
static fromEnv(): WasmSsrfPolicy;
|
|
1018
|
-
constructor(denyPrivate?: boolean | null, allowlist?: any | null, maxRedirects?: number | null);
|
|
1018
|
+
constructor(denyPrivate?: boolean | null, allowlist?: any | null, maxRedirects?: number | null, schemeAllowlist?: string[] | null);
|
|
1019
1019
|
allowlist: any;
|
|
1020
1020
|
denyPrivate: boolean;
|
|
1021
1021
|
maxRedirects: number;
|
|
1022
|
+
schemeAllowlist: string[];
|
|
1022
1023
|
}
|
|
1023
1024
|
|
|
1024
1025
|
/**
|
|
@@ -7707,13 +7707,25 @@ class WasmSsrfPolicy {
|
|
|
7707
7707
|
* @param {boolean | null} [denyPrivate]
|
|
7708
7708
|
* @param {any | null} [allowlist]
|
|
7709
7709
|
* @param {number | null} [maxRedirects]
|
|
7710
|
+
* @param {string[] | null} [schemeAllowlist]
|
|
7710
7711
|
*/
|
|
7711
|
-
constructor(denyPrivate, allowlist, maxRedirects) {
|
|
7712
|
-
|
|
7712
|
+
constructor(denyPrivate, allowlist, maxRedirects, schemeAllowlist) {
|
|
7713
|
+
var ptr0 = isLikeNone(schemeAllowlist) ? 0 : passArrayJsValueToWasm0(schemeAllowlist, wasm.__wbindgen_malloc);
|
|
7714
|
+
var len0 = WASM_VECTOR_LEN;
|
|
7715
|
+
const ret = wasm.wasmssrfpolicy_new(isLikeNone(denyPrivate) ? 0xFFFFFF : denyPrivate ? 1 : 0, isLikeNone(allowlist) ? 0 : addToExternrefTable0(allowlist), isLikeNone(maxRedirects) ? 0xFFFFFF : maxRedirects, ptr0, len0);
|
|
7713
7716
|
this.__wbg_ptr = ret;
|
|
7714
7717
|
WasmSsrfPolicyFinalization.register(this, this.__wbg_ptr, this);
|
|
7715
7718
|
return this;
|
|
7716
7719
|
}
|
|
7720
|
+
/**
|
|
7721
|
+
* @returns {string[]}
|
|
7722
|
+
*/
|
|
7723
|
+
get schemeAllowlist() {
|
|
7724
|
+
const ret = wasm.wasmssrfpolicy_schemeAllowlist(this.__wbg_ptr);
|
|
7725
|
+
var v1 = getArrayJsValueFromWasm0(ret[0], ret[1]);
|
|
7726
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
|
|
7727
|
+
return v1;
|
|
7728
|
+
}
|
|
7717
7729
|
/**
|
|
7718
7730
|
* @param {any} value
|
|
7719
7731
|
*/
|
|
@@ -7732,6 +7744,14 @@ class WasmSsrfPolicy {
|
|
|
7732
7744
|
set maxRedirects(value) {
|
|
7733
7745
|
wasm.wasmssrfpolicy_set_maxRedirects(this.__wbg_ptr, value);
|
|
7734
7746
|
}
|
|
7747
|
+
/**
|
|
7748
|
+
* @param {string[]} value
|
|
7749
|
+
*/
|
|
7750
|
+
set schemeAllowlist(value) {
|
|
7751
|
+
const ptr0 = passArrayJsValueToWasm0(value, wasm.__wbindgen_malloc);
|
|
7752
|
+
const len0 = WASM_VECTOR_LEN;
|
|
7753
|
+
wasm.wasmssrfpolicy_set_schemeAllowlist(this.__wbg_ptr, ptr0, len0);
|
|
7754
|
+
}
|
|
7735
7755
|
}
|
|
7736
7756
|
if (Symbol.dispose) WasmSsrfPolicy.prototype[Symbol.dispose] = WasmSsrfPolicy.prototype.free;
|
|
7737
7757
|
exports.WasmSsrfPolicy = WasmSsrfPolicy;
|
|
@@ -8114,7 +8134,7 @@ function __wbg_get_imports() {
|
|
|
8114
8134
|
const a = state0.a;
|
|
8115
8135
|
state0.a = 0;
|
|
8116
8136
|
try {
|
|
8117
|
-
return
|
|
8137
|
+
return wasm_bindgen__convert__closures_____invoke__hbab77f1211c923b7(a, state0.b, arg0, arg1);
|
|
8118
8138
|
} finally {
|
|
8119
8139
|
state0.a = a;
|
|
8120
8140
|
}
|
|
@@ -8402,13 +8422,13 @@ function __wbg_get_imports() {
|
|
|
8402
8422
|
return ret;
|
|
8403
8423
|
},
|
|
8404
8424
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
8405
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx:
|
|
8406
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
8425
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 1074, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
8426
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h6e6fec37c02cb65f);
|
|
8407
8427
|
return ret;
|
|
8408
8428
|
},
|
|
8409
8429
|
__wbindgen_cast_0000000000000002: function(arg0, arg1) {
|
|
8410
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx:
|
|
8411
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
8430
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 950, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
8431
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h1d72c46fe7a75bc3);
|
|
8412
8432
|
return ret;
|
|
8413
8433
|
},
|
|
8414
8434
|
__wbindgen_cast_0000000000000003: function(arg0) {
|
|
@@ -8447,19 +8467,19 @@ function __wbg_get_imports() {
|
|
|
8447
8467
|
};
|
|
8448
8468
|
}
|
|
8449
8469
|
|
|
8450
|
-
function
|
|
8451
|
-
wasm.
|
|
8470
|
+
function wasm_bindgen__convert__closures_____invoke__h1d72c46fe7a75bc3(arg0, arg1) {
|
|
8471
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h1d72c46fe7a75bc3(arg0, arg1);
|
|
8452
8472
|
}
|
|
8453
8473
|
|
|
8454
|
-
function
|
|
8455
|
-
const ret = wasm.
|
|
8474
|
+
function wasm_bindgen__convert__closures_____invoke__h6e6fec37c02cb65f(arg0, arg1, arg2) {
|
|
8475
|
+
const ret = wasm.wasm_bindgen__convert__closures_____invoke__h6e6fec37c02cb65f(arg0, arg1, arg2);
|
|
8456
8476
|
if (ret[1]) {
|
|
8457
8477
|
throw takeFromExternrefTable0(ret[0]);
|
|
8458
8478
|
}
|
|
8459
8479
|
}
|
|
8460
8480
|
|
|
8461
|
-
function
|
|
8462
|
-
wasm.
|
|
8481
|
+
function wasm_bindgen__convert__closures_____invoke__hbab77f1211c923b7(arg0, arg1, arg2, arg3) {
|
|
8482
|
+
wasm.wasm_bindgen__convert__closures_____invoke__hbab77f1211c923b7(arg0, arg1, arg2, arg3);
|
|
8463
8483
|
}
|
|
8464
8484
|
|
|
8465
8485
|
|
|
Binary file
|
|
@@ -683,10 +683,12 @@ export const wasmssrfpolicy_default: () => number;
|
|
|
683
683
|
export const wasmssrfpolicy_denyPrivate: (a: number) => number;
|
|
684
684
|
export const wasmssrfpolicy_fromEnv: () => number;
|
|
685
685
|
export const wasmssrfpolicy_maxRedirects: (a: number) => number;
|
|
686
|
-
export const wasmssrfpolicy_new: (a: number, b: number, c: number) => number;
|
|
686
|
+
export const wasmssrfpolicy_new: (a: number, b: number, c: number, d: number, e: number) => number;
|
|
687
|
+
export const wasmssrfpolicy_schemeAllowlist: (a: number) => [number, number];
|
|
687
688
|
export const wasmssrfpolicy_set_allowlist: (a: number, b: any) => void;
|
|
688
689
|
export const wasmssrfpolicy_set_denyPrivate: (a: number, b: number) => void;
|
|
689
690
|
export const wasmssrfpolicy_set_maxRedirects: (a: number, b: number) => void;
|
|
691
|
+
export const wasmssrfpolicy_set_schemeAllowlist: (a: number, b: number, c: number) => void;
|
|
690
692
|
export const wasmhostmatcher_new: () => number;
|
|
691
693
|
export const wasmcrawlconfig_set_requestTimeout: (a: number, b: number, c: bigint) => void;
|
|
692
694
|
export const wasmextractionmeta_set_completionTokens: (a: number, b: number, c: bigint) => void;
|
|
@@ -720,9 +722,9 @@ export const wasmextractionmeta_set_cost: (a: number, b: number, c: number) => v
|
|
|
720
722
|
export const wasmpageaction_set_amount: (a: number, b: number, c: bigint) => void;
|
|
721
723
|
export const wasmscraperesult_set_crawlDelay: (a: number, b: number, c: bigint) => void;
|
|
722
724
|
export const wasmpageaction_new: () => number;
|
|
723
|
-
export const
|
|
724
|
-
export const
|
|
725
|
-
export const
|
|
725
|
+
export const wasm_bindgen__convert__closures_____invoke__h6e6fec37c02cb65f: (a: number, b: number, c: any) => [number, number];
|
|
726
|
+
export const wasm_bindgen__convert__closures_____invoke__hbab77f1211c923b7: (a: number, b: number, c: any, d: any) => void;
|
|
727
|
+
export const wasm_bindgen__convert__closures_____invoke__h1d72c46fe7a75bc3: (a: number, b: number) => void;
|
|
726
728
|
export const __wbindgen_malloc: (a: number, b: number) => number;
|
|
727
729
|
export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
728
730
|
export const __wbindgen_exn_store: (a: number) => void;
|
package/pkg/nodejs/package.json
CHANGED
package/pkg/web/README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<!-- This file is auto-generated by alef — DO NOT EDIT. -->
|
|
2
|
-
<!-- alef:hash:
|
|
2
|
+
<!-- alef:hash:3e2f4a488c2c856faef7619c7da3856ab9b8cdad4534264dea7b27a2ebf8bf35 -->
|
|
3
3
|
<!-- To regenerate: alef readme -->
|
|
4
4
|
<!-- To verify freshness: alef verify -->
|
|
5
5
|
|
|
@@ -1015,10 +1015,11 @@ export class WasmSsrfPolicy {
|
|
|
1015
1015
|
* egress restrictions (network policy, firewall, proxy allowlist) outside the process.
|
|
1016
1016
|
*/
|
|
1017
1017
|
static fromEnv(): WasmSsrfPolicy;
|
|
1018
|
-
constructor(denyPrivate?: boolean | null, allowlist?: any | null, maxRedirects?: number | null);
|
|
1018
|
+
constructor(denyPrivate?: boolean | null, allowlist?: any | null, maxRedirects?: number | null, schemeAllowlist?: string[] | null);
|
|
1019
1019
|
allowlist: any;
|
|
1020
1020
|
denyPrivate: boolean;
|
|
1021
1021
|
maxRedirects: number;
|
|
1022
|
+
schemeAllowlist: string[];
|
|
1022
1023
|
}
|
|
1023
1024
|
|
|
1024
1025
|
/**
|
|
@@ -1754,10 +1755,12 @@ export interface InitOutput {
|
|
|
1754
1755
|
readonly wasmssrfpolicy_denyPrivate: (a: number) => number;
|
|
1755
1756
|
readonly wasmssrfpolicy_fromEnv: () => number;
|
|
1756
1757
|
readonly wasmssrfpolicy_maxRedirects: (a: number) => number;
|
|
1757
|
-
readonly wasmssrfpolicy_new: (a: number, b: number, c: number) => number;
|
|
1758
|
+
readonly wasmssrfpolicy_new: (a: number, b: number, c: number, d: number, e: number) => number;
|
|
1759
|
+
readonly wasmssrfpolicy_schemeAllowlist: (a: number) => [number, number];
|
|
1758
1760
|
readonly wasmssrfpolicy_set_allowlist: (a: number, b: any) => void;
|
|
1759
1761
|
readonly wasmssrfpolicy_set_denyPrivate: (a: number, b: number) => void;
|
|
1760
1762
|
readonly wasmssrfpolicy_set_maxRedirects: (a: number, b: number) => void;
|
|
1763
|
+
readonly wasmssrfpolicy_set_schemeAllowlist: (a: number, b: number, c: number) => void;
|
|
1761
1764
|
readonly wasmhostmatcher_new: () => number;
|
|
1762
1765
|
readonly wasmcrawlconfig_set_requestTimeout: (a: number, b: number, c: bigint) => void;
|
|
1763
1766
|
readonly wasmextractionmeta_set_completionTokens: (a: number, b: number, c: bigint) => void;
|
|
@@ -1791,9 +1794,9 @@ export interface InitOutput {
|
|
|
1791
1794
|
readonly wasmpageaction_set_amount: (a: number, b: number, c: bigint) => void;
|
|
1792
1795
|
readonly wasmscraperesult_set_crawlDelay: (a: number, b: number, c: bigint) => void;
|
|
1793
1796
|
readonly wasmpageaction_new: () => number;
|
|
1794
|
-
readonly
|
|
1795
|
-
readonly
|
|
1796
|
-
readonly
|
|
1797
|
+
readonly wasm_bindgen__convert__closures_____invoke__h6e6fec37c02cb65f: (a: number, b: number, c: any) => [number, number];
|
|
1798
|
+
readonly wasm_bindgen__convert__closures_____invoke__hbab77f1211c923b7: (a: number, b: number, c: any, d: any) => void;
|
|
1799
|
+
readonly wasm_bindgen__convert__closures_____invoke__h1d72c46fe7a75bc3: (a: number, b: number) => void;
|
|
1797
1800
|
readonly __wbindgen_malloc: (a: number, b: number) => number;
|
|
1798
1801
|
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
1799
1802
|
readonly __wbindgen_exn_store: (a: number) => void;
|
|
@@ -7659,13 +7659,25 @@ export class WasmSsrfPolicy {
|
|
|
7659
7659
|
* @param {boolean | null} [denyPrivate]
|
|
7660
7660
|
* @param {any | null} [allowlist]
|
|
7661
7661
|
* @param {number | null} [maxRedirects]
|
|
7662
|
+
* @param {string[] | null} [schemeAllowlist]
|
|
7662
7663
|
*/
|
|
7663
|
-
constructor(denyPrivate, allowlist, maxRedirects) {
|
|
7664
|
-
|
|
7664
|
+
constructor(denyPrivate, allowlist, maxRedirects, schemeAllowlist) {
|
|
7665
|
+
var ptr0 = isLikeNone(schemeAllowlist) ? 0 : passArrayJsValueToWasm0(schemeAllowlist, wasm.__wbindgen_malloc);
|
|
7666
|
+
var len0 = WASM_VECTOR_LEN;
|
|
7667
|
+
const ret = wasm.wasmssrfpolicy_new(isLikeNone(denyPrivate) ? 0xFFFFFF : denyPrivate ? 1 : 0, isLikeNone(allowlist) ? 0 : addToExternrefTable0(allowlist), isLikeNone(maxRedirects) ? 0xFFFFFF : maxRedirects, ptr0, len0);
|
|
7665
7668
|
this.__wbg_ptr = ret;
|
|
7666
7669
|
WasmSsrfPolicyFinalization.register(this, this.__wbg_ptr, this);
|
|
7667
7670
|
return this;
|
|
7668
7671
|
}
|
|
7672
|
+
/**
|
|
7673
|
+
* @returns {string[]}
|
|
7674
|
+
*/
|
|
7675
|
+
get schemeAllowlist() {
|
|
7676
|
+
const ret = wasm.wasmssrfpolicy_schemeAllowlist(this.__wbg_ptr);
|
|
7677
|
+
var v1 = getArrayJsValueFromWasm0(ret[0], ret[1]);
|
|
7678
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
|
|
7679
|
+
return v1;
|
|
7680
|
+
}
|
|
7669
7681
|
/**
|
|
7670
7682
|
* @param {any} value
|
|
7671
7683
|
*/
|
|
@@ -7684,6 +7696,14 @@ export class WasmSsrfPolicy {
|
|
|
7684
7696
|
set maxRedirects(value) {
|
|
7685
7697
|
wasm.wasmssrfpolicy_set_maxRedirects(this.__wbg_ptr, value);
|
|
7686
7698
|
}
|
|
7699
|
+
/**
|
|
7700
|
+
* @param {string[]} value
|
|
7701
|
+
*/
|
|
7702
|
+
set schemeAllowlist(value) {
|
|
7703
|
+
const ptr0 = passArrayJsValueToWasm0(value, wasm.__wbindgen_malloc);
|
|
7704
|
+
const len0 = WASM_VECTOR_LEN;
|
|
7705
|
+
wasm.wasmssrfpolicy_set_schemeAllowlist(this.__wbg_ptr, ptr0, len0);
|
|
7706
|
+
}
|
|
7687
7707
|
}
|
|
7688
7708
|
if (Symbol.dispose) WasmSsrfPolicy.prototype[Symbol.dispose] = WasmSsrfPolicy.prototype.free;
|
|
7689
7709
|
|
|
@@ -8057,7 +8077,7 @@ function __wbg_get_imports() {
|
|
|
8057
8077
|
const a = state0.a;
|
|
8058
8078
|
state0.a = 0;
|
|
8059
8079
|
try {
|
|
8060
|
-
return
|
|
8080
|
+
return wasm_bindgen__convert__closures_____invoke__hbab77f1211c923b7(a, state0.b, arg0, arg1);
|
|
8061
8081
|
} finally {
|
|
8062
8082
|
state0.a = a;
|
|
8063
8083
|
}
|
|
@@ -8345,13 +8365,13 @@ function __wbg_get_imports() {
|
|
|
8345
8365
|
return ret;
|
|
8346
8366
|
},
|
|
8347
8367
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
8348
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx:
|
|
8349
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
8368
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 1074, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
8369
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h6e6fec37c02cb65f);
|
|
8350
8370
|
return ret;
|
|
8351
8371
|
},
|
|
8352
8372
|
__wbindgen_cast_0000000000000002: function(arg0, arg1) {
|
|
8353
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx:
|
|
8354
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
8373
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 950, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
8374
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h1d72c46fe7a75bc3);
|
|
8355
8375
|
return ret;
|
|
8356
8376
|
},
|
|
8357
8377
|
__wbindgen_cast_0000000000000003: function(arg0) {
|
|
@@ -8390,19 +8410,19 @@ function __wbg_get_imports() {
|
|
|
8390
8410
|
};
|
|
8391
8411
|
}
|
|
8392
8412
|
|
|
8393
|
-
function
|
|
8394
|
-
wasm.
|
|
8413
|
+
function wasm_bindgen__convert__closures_____invoke__h1d72c46fe7a75bc3(arg0, arg1) {
|
|
8414
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h1d72c46fe7a75bc3(arg0, arg1);
|
|
8395
8415
|
}
|
|
8396
8416
|
|
|
8397
|
-
function
|
|
8398
|
-
const ret = wasm.
|
|
8417
|
+
function wasm_bindgen__convert__closures_____invoke__h6e6fec37c02cb65f(arg0, arg1, arg2) {
|
|
8418
|
+
const ret = wasm.wasm_bindgen__convert__closures_____invoke__h6e6fec37c02cb65f(arg0, arg1, arg2);
|
|
8399
8419
|
if (ret[1]) {
|
|
8400
8420
|
throw takeFromExternrefTable0(ret[0]);
|
|
8401
8421
|
}
|
|
8402
8422
|
}
|
|
8403
8423
|
|
|
8404
|
-
function
|
|
8405
|
-
wasm.
|
|
8424
|
+
function wasm_bindgen__convert__closures_____invoke__hbab77f1211c923b7(arg0, arg1, arg2, arg3) {
|
|
8425
|
+
wasm.wasm_bindgen__convert__closures_____invoke__hbab77f1211c923b7(arg0, arg1, arg2, arg3);
|
|
8406
8426
|
}
|
|
8407
8427
|
|
|
8408
8428
|
|
|
Binary file
|
|
@@ -683,10 +683,12 @@ export const wasmssrfpolicy_default: () => number;
|
|
|
683
683
|
export const wasmssrfpolicy_denyPrivate: (a: number) => number;
|
|
684
684
|
export const wasmssrfpolicy_fromEnv: () => number;
|
|
685
685
|
export const wasmssrfpolicy_maxRedirects: (a: number) => number;
|
|
686
|
-
export const wasmssrfpolicy_new: (a: number, b: number, c: number) => number;
|
|
686
|
+
export const wasmssrfpolicy_new: (a: number, b: number, c: number, d: number, e: number) => number;
|
|
687
|
+
export const wasmssrfpolicy_schemeAllowlist: (a: number) => [number, number];
|
|
687
688
|
export const wasmssrfpolicy_set_allowlist: (a: number, b: any) => void;
|
|
688
689
|
export const wasmssrfpolicy_set_denyPrivate: (a: number, b: number) => void;
|
|
689
690
|
export const wasmssrfpolicy_set_maxRedirects: (a: number, b: number) => void;
|
|
691
|
+
export const wasmssrfpolicy_set_schemeAllowlist: (a: number, b: number, c: number) => void;
|
|
690
692
|
export const wasmhostmatcher_new: () => number;
|
|
691
693
|
export const wasmcrawlconfig_set_requestTimeout: (a: number, b: number, c: bigint) => void;
|
|
692
694
|
export const wasmextractionmeta_set_completionTokens: (a: number, b: number, c: bigint) => void;
|
|
@@ -720,9 +722,9 @@ export const wasmextractionmeta_set_cost: (a: number, b: number, c: number) => v
|
|
|
720
722
|
export const wasmpageaction_set_amount: (a: number, b: number, c: bigint) => void;
|
|
721
723
|
export const wasmscraperesult_set_crawlDelay: (a: number, b: number, c: bigint) => void;
|
|
722
724
|
export const wasmpageaction_new: () => number;
|
|
723
|
-
export const
|
|
724
|
-
export const
|
|
725
|
-
export const
|
|
725
|
+
export const wasm_bindgen__convert__closures_____invoke__h6e6fec37c02cb65f: (a: number, b: number, c: any) => [number, number];
|
|
726
|
+
export const wasm_bindgen__convert__closures_____invoke__hbab77f1211c923b7: (a: number, b: number, c: any, d: any) => void;
|
|
727
|
+
export const wasm_bindgen__convert__closures_____invoke__h1d72c46fe7a75bc3: (a: number, b: number) => void;
|
|
726
728
|
export const __wbindgen_malloc: (a: number, b: number) => number;
|
|
727
729
|
export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
728
730
|
export const __wbindgen_exn_store: (a: number) => void;
|