Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@mercuryworkshop/epoxy-tls

Package Overview
Dependencies
Maintainers
5
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mercuryworkshop/epoxy-tls - npm Package Compare versions

Comparing version 1.4.2 to 1.5.0

test.sh

2

package.json
{
"name": "@mercuryworkshop/epoxy-tls",
"version": "1.4.2",
"version": "1.5.0",
"description": "A wasm library for using raw encrypted tls/ssl/https/websocket streams on the browser",

@@ -5,0 +5,0 @@ "scripts": {

@@ -271,3 +271,2 @@ declare namespace wasm_bindgen {

readonly __wbg_epxwebsocket_free: (a: number) => void;
readonly __wbg_get_epxwebsocket_url: (a: number, b: number) => void;
readonly __wbg_get_epxwebsocket_protocols: (a: number, b: number) => void;

@@ -292,2 +291,18 @@ readonly __wbg_get_epxwebsocket_origin: (a: number, b: number) => void;

readonly epoxyclient_fetch: (a: number, b: number, c: number, d: number) => number;
readonly __wbg_get_epxwebsocket_url: (a: number, b: number) => void;
readonly __wbg_get_epxudpstream_url: (a: number, b: number) => void;
readonly __wbg_intounderlyingbytesource_free: (a: number) => void;
readonly intounderlyingbytesource_type: (a: number, b: number) => void;
readonly intounderlyingbytesource_autoAllocateChunkSize: (a: number) => number;
readonly intounderlyingbytesource_start: (a: number, b: number) => void;
readonly intounderlyingbytesource_pull: (a: number, b: number) => number;
readonly intounderlyingbytesource_cancel: (a: number) => void;
readonly __wbg_intounderlyingsource_free: (a: number) => void;
readonly intounderlyingsource_pull: (a: number, b: number) => number;
readonly intounderlyingsource_cancel: (a: number) => void;
readonly __wbg_intounderlyingsink_free: (a: number) => void;
readonly intounderlyingsink_write: (a: number, b: number) => number;
readonly intounderlyingsink_close: (a: number) => number;
readonly intounderlyingsink_abort: (a: number, b: number) => number;
readonly ring_core_0_17_8_bn_mul_mont: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
readonly BrotliDecoderCreateInstance: (a: number, b: number, c: number) => number;

@@ -313,29 +328,14 @@ readonly BrotliDecoderSetParameter: (a: number, b: number, c: number) => void;

readonly BrotliDecoderVersion: () => number;
readonly ring_core_0_17_8_bn_mul_mont: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
readonly __wbg_intounderlyingbytesource_free: (a: number) => void;
readonly intounderlyingbytesource_type: (a: number, b: number) => void;
readonly intounderlyingbytesource_autoAllocateChunkSize: (a: number) => number;
readonly intounderlyingbytesource_start: (a: number, b: number) => void;
readonly intounderlyingbytesource_pull: (a: number, b: number) => number;
readonly intounderlyingbytesource_cancel: (a: number) => void;
readonly __wbg_intounderlyingsource_free: (a: number) => void;
readonly intounderlyingsource_pull: (a: number, b: number) => number;
readonly intounderlyingsource_cancel: (a: number) => void;
readonly __wbg_intounderlyingsink_free: (a: number) => void;
readonly intounderlyingsink_write: (a: number, b: number) => number;
readonly intounderlyingsink_close: (a: number) => number;
readonly intounderlyingsink_abort: (a: number, b: number) => number;
readonly __wbg_get_epxudpstream_url: (a: number, b: number) => void;
readonly memory: WebAssembly.Memory;
readonly __wbindgen_export_1: (a: number, b: number) => number;
readonly __wbindgen_export_2: (a: number, b: number, c: number, d: number) => number;
readonly __wbindgen_malloc: (a: number, b: number) => number;
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
readonly __wbindgen_export_3: WebAssembly.Table;
readonly __wbindgen_export_4: (a: number, b: number) => void;
readonly __wbindgen_export_5: (a: number, b: number, c: number) => void;
readonly __wbindgen_export_6: (a: number, b: number, c: number) => void;
readonly __wbindgen_export_7: (a: number, b: number) => void;
readonly _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hcf15e45acd03083a: (a: number, b: number, c: number) => void;
readonly _dyn_core__ops__function__Fn_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hbddcba3628805da8: (a: number, b: number) => void;
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h5e7d1634d3169729: (a: number, b: number) => void;
readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h8040eeb2d38cb52f: (a: number, b: number, c: number) => void;
readonly __wbindgen_add_to_stack_pointer: (a: number) => number;
readonly __wbindgen_export_8: (a: number, b: number, c: number) => void;
readonly __wbindgen_export_9: (a: number) => void;
readonly __wbindgen_export_10: (a: number, b: number, c: number, d: number) => void;
readonly __wbindgen_free: (a: number, b: number, c: number) => void;
readonly __wbindgen_exn_store: (a: number) => void;
readonly wasm_bindgen__convert__closures__invoke2_mut__h3c710623d1a70dc0: (a: number, b: number, c: number, d: number) => void;
readonly __wbindgen_thread_destroy: (a?: number, b?: number) => void;

@@ -342,0 +342,0 @@ readonly __wbindgen_start: () => void;

@@ -10,2 +10,20 @@ let epoxy;

const cachedTextDecoder = (typeof TextDecoder !== 'undefined' ? new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }) : { decode: () => { throw Error('TextDecoder not available') } } );
if (typeof TextDecoder !== 'undefined') { cachedTextDecoder.decode(); };
let cachedUint8Memory0 = null;
function getUint8Memory0() {
if (cachedUint8Memory0 === null || cachedUint8Memory0.buffer !== wasm.memory.buffer) {
cachedUint8Memory0 = new Uint8Array(wasm.memory.buffer);
}
return cachedUint8Memory0;
}
function getStringFromWasm0(ptr, len) {
ptr = ptr >>> 0;
return cachedTextDecoder.decode(getUint8Memory0().slice(ptr, ptr + len));
}
const heap = new Array(128).fill(undefined);

@@ -15,2 +33,13 @@

let heap_next = heap.length;
function addHeapObject(obj) {
if (heap_next === heap.length) heap.push(heap.length + 1);
const idx = heap_next;
heap_next = heap[idx];
heap[idx] = obj;
return idx;
}
function getObject(idx) { return heap[idx]; }

@@ -20,11 +49,2 @@

let cachedUint8Memory0 = null;
function getUint8Memory0() {
if (cachedUint8Memory0 === null || cachedUint8Memory0.buffer !== wasm.memory.buffer) {
cachedUint8Memory0 = new Uint8Array(wasm.memory.buffer);
}
return cachedUint8Memory0;
}
const cachedTextEncoder = (typeof TextEncoder !== 'undefined' ? new TextEncoder('utf-8') : { encode: () => { throw Error('TextEncoder not available') } } );

@@ -93,22 +113,2 @@

const cachedTextDecoder = (typeof TextDecoder !== 'undefined' ? new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }) : { decode: () => { throw Error('TextDecoder not available') } } );
if (typeof TextDecoder !== 'undefined') { cachedTextDecoder.decode(); };
function getStringFromWasm0(ptr, len) {
ptr = ptr >>> 0;
return cachedTextDecoder.decode(getUint8Memory0().slice(ptr, ptr + len));
}
let heap_next = heap.length;
function addHeapObject(obj) {
if (heap_next === heap.length) heap.push(heap.length + 1);
const idx = heap_next;
heap_next = heap[idx];
heap[idx] = obj;
return idx;
}
function dropObject(idx) {

@@ -218,8 +218,8 @@ if (idx < 132) return;

}
function __wbg_adapter_36(arg0, arg1) {
wasm.__wbindgen_export_4(arg0, arg1);
function __wbg_adapter_36(arg0, arg1, arg2) {
wasm._dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hcf15e45acd03083a(arg0, arg1, addHeapObject(arg2));
}
function __wbg_adapter_39(arg0, arg1, arg2) {
wasm.__wbindgen_export_5(arg0, arg1, addHeapObject(arg2));
function __wbg_adapter_39(arg0, arg1) {
wasm._dyn_core__ops__function__Fn_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hbddcba3628805da8(arg0, arg1);
}

@@ -251,8 +251,8 @@

}
function __wbg_adapter_42(arg0, arg1, arg2) {
wasm.__wbindgen_export_6(arg0, arg1, addHeapObject(arg2));
function __wbg_adapter_42(arg0, arg1) {
wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h5e7d1634d3169729(arg0, arg1);
}
function __wbg_adapter_47(arg0, arg1) {
wasm.__wbindgen_export_7(arg0, arg1);
function __wbg_adapter_45(arg0, arg1, arg2) {
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h8040eeb2d38cb52f(arg0, arg1, addHeapObject(arg2));
}

@@ -329,2 +329,4 @@

function notDefined(what) { return () => { throw new Error(`${what} is not defined`); }; }
function handleError(f, args) {

@@ -334,11 +336,6 @@ try {

} catch (e) {
wasm.__wbindgen_export_9(addHeapObject(e));
wasm.__wbindgen_exn_store(addHeapObject(e));
}
}
function __wbg_adapter_149(arg0, arg1, arg2, arg3) {
wasm.__wbindgen_export_10(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
}
function notDefined(what) { return () => { throw new Error(`${what} is not defined`); }; }
function getArrayU8FromWasm0(ptr, len) {

@@ -348,2 +345,5 @@ ptr = ptr >>> 0;

}
function __wbg_adapter_235(arg0, arg1, arg2, arg3) {
wasm.wasm_bindgen__convert__closures__invoke2_mut__h3c710623d1a70dc0(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
}

@@ -397,3 +397,3 @@ const EpoxyClientFinalization = (typeof FinalizationRegistry === 'undefined')

var v1 = getCachedStringFromWasm0(r0, r1);
if (r0 !== 0) { wasm.__wbindgen_export_8(r0, r1, 1); }
if (r0 !== 0) { wasm.__wbindgen_free(r0, r1, 1); }
return v1;

@@ -408,3 +408,3 @@ } finally {

set useragent(arg0) {
const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_export_1, wasm.__wbindgen_export_2);
const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
const len0 = WASM_VECTOR_LEN;

@@ -432,5 +432,5 @@ wasm.__wbg_set_epoxyclient_useragent(this.__wbg_ptr, ptr0, len0);

constructor(ws_url, useragent, redirect_limit) {
const ptr0 = passStringToWasm0(ws_url, wasm.__wbindgen_export_1, wasm.__wbindgen_export_2);
const ptr0 = passStringToWasm0(ws_url, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
const len0 = WASM_VECTOR_LEN;
const ptr1 = passStringToWasm0(useragent, wasm.__wbindgen_export_1, wasm.__wbindgen_export_2);
const ptr1 = passStringToWasm0(useragent, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
const len1 = WASM_VECTOR_LEN;

@@ -451,7 +451,7 @@ const ret = wasm.epoxyclient_new(ptr0, len0, ptr1, len1, redirect_limit);

connect_ws(onopen, onclose, onerror, onmessage, url, protocols, origin) {
const ptr0 = passStringToWasm0(url, wasm.__wbindgen_export_1, wasm.__wbindgen_export_2);
const ptr0 = passStringToWasm0(url, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
const len0 = WASM_VECTOR_LEN;
const ptr1 = passArrayJsValueToWasm0(protocols, wasm.__wbindgen_export_1);
const ptr1 = passArrayJsValueToWasm0(protocols, wasm.__wbindgen_malloc);
const len1 = WASM_VECTOR_LEN;
const ptr2 = passStringToWasm0(origin, wasm.__wbindgen_export_1, wasm.__wbindgen_export_2);
const ptr2 = passStringToWasm0(origin, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
const len2 = WASM_VECTOR_LEN;

@@ -470,3 +470,3 @@ const ret = wasm.epoxyclient_connect_ws(this.__wbg_ptr, addHeapObject(onopen), addHeapObject(onclose), addHeapObject(onerror), addHeapObject(onmessage), ptr0, len0, ptr1, len1, ptr2, len2);

connect_tls(onopen, onclose, onerror, onmessage, url) {
const ptr0 = passStringToWasm0(url, wasm.__wbindgen_export_1, wasm.__wbindgen_export_2);
const ptr0 = passStringToWasm0(url, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
const len0 = WASM_VECTOR_LEN;

@@ -485,3 +485,3 @@ const ret = wasm.epoxyclient_connect_tls(this.__wbg_ptr, addHeapObject(onopen), addHeapObject(onclose), addHeapObject(onerror), addHeapObject(onmessage), ptr0, len0);

connect_udp(onopen, onclose, onerror, onmessage, url) {
const ptr0 = passStringToWasm0(url, wasm.__wbindgen_export_1, wasm.__wbindgen_export_2);
const ptr0 = passStringToWasm0(url, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
const len0 = WASM_VECTOR_LEN;

@@ -497,3 +497,3 @@ const ret = wasm.epoxyclient_connect_udp(this.__wbg_ptr, addHeapObject(onopen), addHeapObject(onclose), addHeapObject(onerror), addHeapObject(onmessage), ptr0, len0);

fetch(url, options) {
const ptr0 = passStringToWasm0(url, wasm.__wbindgen_export_1, wasm.__wbindgen_export_2);
const ptr0 = passStringToWasm0(url, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
const len0 = WASM_VECTOR_LEN;

@@ -552,3 +552,3 @@ const ret = wasm.epoxyclient_fetch(this.__wbg_ptr, ptr0, len0, addHeapObject(options));

var v1 = getCachedStringFromWasm0(r0, r1);
if (r0 !== 0) { wasm.__wbindgen_export_8(r0, r1, 1); }
if (r0 !== 0) { wasm.__wbindgen_free(r0, r1, 1); }
return v1;

@@ -588,3 +588,3 @@ } finally {

_assertClass(tcp, EpoxyClient);
const ptr0 = passStringToWasm0(url, wasm.__wbindgen_export_1, wasm.__wbindgen_export_2);
const ptr0 = passStringToWasm0(url, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
const len0 = WASM_VECTOR_LEN;

@@ -658,3 +658,3 @@ const ret = wasm.epxtlsstream_connect(tcp.__wbg_ptr, addHeapObject(onopen), addHeapObject(onclose), addHeapObject(onerror), addHeapObject(onmessage), ptr0, len0);

var v1 = getCachedStringFromWasm0(r0, r1);
if (r0 !== 0) { wasm.__wbindgen_export_8(r0, r1, 1); }
if (r0 !== 0) { wasm.__wbindgen_free(r0, r1, 1); }
return v1;

@@ -694,3 +694,3 @@ } finally {

_assertClass(tcp, EpoxyClient);
const ptr0 = passStringToWasm0(url, wasm.__wbindgen_export_1, wasm.__wbindgen_export_2);
const ptr0 = passStringToWasm0(url, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
const len0 = WASM_VECTOR_LEN;

@@ -762,7 +762,7 @@ const ret = wasm.epxudpstream_connect(tcp.__wbg_ptr, addHeapObject(onopen), addHeapObject(onclose), addHeapObject(onerror), addHeapObject(onmessage), ptr0, len0);

const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
wasm.__wbg_get_epxwebsocket_url(retptr, this.__wbg_ptr);
wasm.__wbg_get_epxtlsstream_url(retptr, this.__wbg_ptr);
var r0 = getInt32Memory0()[retptr / 4 + 0];
var r1 = getInt32Memory0()[retptr / 4 + 1];
var v1 = getCachedStringFromWasm0(r0, r1);
if (r0 !== 0) { wasm.__wbindgen_export_8(r0, r1, 1); }
if (r0 !== 0) { wasm.__wbindgen_free(r0, r1, 1); }
return v1;

@@ -783,3 +783,3 @@ } finally {

var v1 = getArrayJsValueFromWasm0(r0, r1).slice();
wasm.__wbindgen_export_8(r0, r1 * 4, 4);
wasm.__wbindgen_free(r0, r1 * 4, 4);
return v1;

@@ -800,3 +800,3 @@ } finally {

var v1 = getCachedStringFromWasm0(r0, r1);
if (r0 !== 0) { wasm.__wbindgen_export_8(r0, r1, 1); }
if (r0 !== 0) { wasm.__wbindgen_free(r0, r1, 1); }
return v1;

@@ -838,7 +838,7 @@ } finally {

_assertClass(tcp, EpoxyClient);
const ptr0 = passStringToWasm0(url, wasm.__wbindgen_export_1, wasm.__wbindgen_export_2);
const ptr0 = passStringToWasm0(url, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
const len0 = WASM_VECTOR_LEN;
const ptr1 = passArrayJsValueToWasm0(protocols, wasm.__wbindgen_export_1);
const ptr1 = passArrayJsValueToWasm0(protocols, wasm.__wbindgen_malloc);
const len1 = WASM_VECTOR_LEN;
const ptr2 = passStringToWasm0(origin, wasm.__wbindgen_export_1, wasm.__wbindgen_export_2);
const ptr2 = passStringToWasm0(origin, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
const len2 = WASM_VECTOR_LEN;

@@ -853,3 +853,3 @@ const ret = wasm.epxwebsocket_connect(tcp.__wbg_ptr, addHeapObject(onopen), addHeapObject(onclose), addHeapObject(onerror), addHeapObject(onmessage), ptr0, len0, ptr1, len1, ptr2, len2);

send_text(payload) {
const ptr0 = passStringToWasm0(payload, wasm.__wbindgen_export_1, wasm.__wbindgen_export_2);
const ptr0 = passStringToWasm0(payload, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
const len0 = WASM_VECTOR_LEN;

@@ -905,3 +905,3 @@ const ret = wasm.epxwebsocket_send_text(this.__wbg_ptr, ptr0, len0);

var v1 = getCachedStringFromWasm0(r0, r1);
if (r0 !== 0) { wasm.__wbindgen_export_8(r0, r1, 1); }
if (r0 !== 0) { wasm.__wbindgen_free(r0, r1, 1); }
return v1;

@@ -1065,11 +1065,5 @@ } finally {

imports.wbg = {};
imports.wbg.__wbg_instanceof_ArrayBuffer_836825be07d4c9d2 = function(arg0) {
let result;
try {
result = getObject(arg0) instanceof ArrayBuffer;
} catch (_) {
result = false;
}
const ret = result;
return ret;
imports.wbg.__wbindgen_string_new = function(arg0, arg1) {
const ret = getStringFromWasm0(arg0, arg1);
return addHeapObject(ret);
};

@@ -1079,3 +1073,3 @@ imports.wbg.__wbindgen_string_get = function(arg0, arg1) {

const ret = typeof(obj) === 'string' ? obj : undefined;
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_export_1, wasm.__wbindgen_export_2);
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
var len1 = WASM_VECTOR_LEN;

@@ -1093,6 +1087,13 @@ getInt32Memory0()[arg0 / 4 + 1] = len1;

};
imports.wbg.__wbg_epoxyclient_new = function(arg0) {
const ret = EpoxyClient.__wrap(arg0);
imports.wbg.__wbindgen_object_clone_ref = function(arg0) {
const ret = getObject(arg0);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_is_array = function(arg0) {
const ret = Array.isArray(getObject(arg0));
return ret;
};
imports.wbg.__wbindgen_object_drop_ref = function(arg0) {
takeObject(arg0);
};
imports.wbg.__wbindgen_cb_drop = function(arg0) {

@@ -1107,11 +1108,12 @@ const obj = takeObject(arg0).original;

};
imports.wbg.__wbindgen_object_drop_ref = function(arg0) {
takeObject(arg0);
imports.wbg.__wbg_debug_a499bb5f54e80143 = function(arg0, arg1) {
var v0 = getCachedStringFromWasm0(arg0, arg1);
console.debug(v0);
};
imports.wbg.__wbindgen_object_clone_ref = function(arg0) {
const ret = getObject(arg0);
return addHeapObject(ret);
imports.wbg.__wbg_log_8e4271f5d4321473 = function(arg0, arg1) {
var v0 = getCachedStringFromWasm0(arg0, arg1);
console.log(v0);
};
imports.wbg.__wbg_new_63b92bc8671ed464 = function(arg0) {
const ret = new Uint8Array(getObject(arg0));
imports.wbg.__wbg_epxtlsstream_new = function(arg0) {
const ret = EpxTlsStream.__wrap(arg0);
return addHeapObject(ret);

@@ -1127,114 +1129,6 @@ };

};
imports.wbg.__wbg_epxtlsstream_new = function(arg0) {
const ret = EpxTlsStream.__wrap(arg0);
imports.wbg.__wbg_epoxyclient_new = function(arg0) {
const ret = EpoxyClient.__wrap(arg0);
return addHeapObject(ret);
};
imports.wbg.__wbg_close_acd9532ff5c093ea = function() { return handleError(function (arg0) {
getObject(arg0).close();
}, arguments) };
imports.wbg.__wbindgen_string_new = function(arg0, arg1) {
const ret = getStringFromWasm0(arg0, arg1);
return addHeapObject(ret);
};
imports.wbg.__wbg_entries_95cc2c823b285a09 = function(arg0) {
const ret = Object.entries(getObject(arg0));
return addHeapObject(ret);
};
imports.wbg.__wbg_of_647f9238b4d5407a = function(arg0, arg1) {
const ret = Array.of(getObject(arg0), getObject(arg1));
return addHeapObject(ret);
};
imports.wbg.__wbg_new_16b304a2cfa7ff4a = function() {
const ret = new Array();
return addHeapObject(ret);
};
imports.wbg.__wbg_push_a5b05aedc7234f9f = function(arg0, arg1) {
const ret = getObject(arg0).push(getObject(arg1));
return ret;
};
imports.wbg.__wbg_newwithstrsequence_9bc178264d955680 = function() { return handleError(function (arg0, arg1, arg2) {
var v0 = getCachedStringFromWasm0(arg0, arg1);
const ret = new WebSocket(v0, getObject(arg2));
return addHeapObject(ret);
}, arguments) };
imports.wbg.__wbg_new_6c74223c77cfabad = function() { return handleError(function (arg0, arg1) {
var v0 = getCachedStringFromWasm0(arg0, arg1);
const ret = new WebSocket(v0);
return addHeapObject(ret);
}, arguments) };
imports.wbg.__wbg_setbinaryType_b0cf5103cd561959 = function(arg0, arg1) {
getObject(arg0).binaryType = takeObject(arg1);
};
imports.wbg.__wbg_setonmessage_2af154ce83a3dc94 = function(arg0, arg1) {
getObject(arg0).onmessage = getObject(arg1);
};
imports.wbg.__wbg_setonopen_ce7a4c51e5cf5788 = function(arg0, arg1) {
getObject(arg0).onopen = getObject(arg1);
};
imports.wbg.__wbg_setonclose_b9929b1c1624dff3 = function(arg0, arg1) {
getObject(arg0).onclose = getObject(arg1);
};
imports.wbg.__wbg_setonerror_39a785302b0cd2e9 = function(arg0, arg1) {
getObject(arg0).onerror = getObject(arg1);
};
imports.wbg.__wbg_debug_37eeb630d67bdf3d = function(arg0, arg1) {
var v0 = getCachedStringFromWasm0(arg0, arg1);
console.debug(v0);
};
imports.wbg.__wbg_new_72fb9a18b5ae2624 = function() {
const ret = new Object();
return addHeapObject(ret);
};
imports.wbg.__wbg_data_3ce7c145ca4fbcdc = function(arg0) {
const ret = getObject(arg0).data;
return addHeapObject(ret);
};
imports.wbg.__wbg_log_39f196200ba0fe69 = function(arg0, arg1) {
var v0 = getCachedStringFromWasm0(arg0, arg1);
console.log(v0);
};
imports.wbg.__wbg_new_81740750da40724f = function(arg0, arg1) {
try {
var state0 = {a: arg0, b: arg1};
var cb0 = (arg0, arg1) => {
const a = state0.a;
state0.a = 0;
try {
return __wbg_adapter_149(a, state0.b, arg0, arg1);
} finally {
state0.a = a;
}
};
const ret = new Promise(cb0);
return addHeapObject(ret);
} finally {
state0.a = state0.b = 0;
}
};
imports.wbg.__wbg_headers_abb199c3be8d817c = function(arg0) {
const ret = getObject(arg0).headers;
return addHeapObject(ret);
};
imports.wbg.__wbg_get_0ebaad3318b38f2a = function() { return handleError(function (arg0, arg1, arg2, arg3) {
var v0 = getCachedStringFromWasm0(arg2, arg3);
const ret = getObject(arg1).get(v0);
var ptr2 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_export_1, wasm.__wbindgen_export_2);
var len2 = WASM_VECTOR_LEN;
getInt32Memory0()[arg0 / 4 + 1] = len2;
getInt32Memory0()[arg0 / 4 + 0] = ptr2;
}, arguments) };
imports.wbg.__wbg_instanceof_Headers_e8d8a8f38d11f7d7 = function(arg0) {
let result;
try {
result = getObject(arg0) instanceof Headers;
} catch (_) {
result = false;
}
const ret = result;
return ret;
};
imports.wbg.__wbindgen_number_new = function(arg0) {
const ret = arg0;
return addHeapObject(ret);
};
imports.wbg.__wbg_sethighWaterMark_ea50ed3ec2143088 = function(arg0, arg1) {

@@ -1247,18 +1141,2 @@ getObject(arg0).highWaterMark = arg1;

};
imports.wbg.__wbg_newwithoptreadablestreamandinit_0b825f969ca543d6 = function() { return handleError(function (arg0, arg1) {
const ret = new Response(getObject(arg0), getObject(arg1));
return addHeapObject(ret);
}, arguments) };
imports.wbg.__wbg_defineProperty_cc00e2de8a0f5141 = function(arg0, arg1, arg2) {
const ret = Object.defineProperty(getObject(arg0), getObject(arg1), getObject(arg2));
return addHeapObject(ret);
};
imports.wbg.__wbindgen_is_array = function(arg0) {
const ret = Array.isArray(getObject(arg0));
return ret;
};
imports.wbg.__wbg_from_89e3fc3ba5e6fb48 = function(arg0) {
const ret = Array.from(getObject(arg0));
return addHeapObject(ret);
};
imports.wbg.__wbg_new_abda76e883ba8a5f = function() {

@@ -1270,3 +1148,3 @@ const ret = new Error();

const ret = getObject(arg1).stack;
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export_1, wasm.__wbindgen_export_2);
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
const len1 = WASM_VECTOR_LEN;

@@ -1278,5 +1156,18 @@ getInt32Memory0()[arg0 / 4 + 1] = len1;

var v0 = getCachedStringFromWasm0(arg0, arg1);
if (arg0 !== 0) { wasm.__wbindgen_export_8(arg0, arg1, 1); }
if (arg0 !== 0) { wasm.__wbindgen_free(arg0, arg1, 1); }
console.error(v0);
};
imports.wbg.__wbg_now_2b07afe112e2469e = typeof Date.now == 'function' ? Date.now : notDefined('Date.now');
imports.wbg.__wbg_performance_1430613edb72ce03 = function(arg0) {
const ret = getObject(arg0).performance;
return addHeapObject(ret);
};
imports.wbg.__wbg_now_eab901b1d3b8a295 = function(arg0) {
const ret = getObject(arg0).now();
return ret;
};
imports.wbg.__wbg_setTimeout_fba1b48a90e30862 = function() { return handleError(function (arg0, arg1, arg2) {
const ret = getObject(arg0).setTimeout(getObject(arg1), arg2);
return ret;
}, arguments) };
imports.wbg.__wbg_crypto_d05b68a3572bb8ca = function(arg0) {

@@ -1286,2 +1177,7 @@ const ret = getObject(arg0).crypto;

};
imports.wbg.__wbindgen_is_object = function(arg0) {
const val = getObject(arg0);
const ret = typeof(val) === 'object' && val !== null;
return ret;
};
imports.wbg.__wbg_process_b02b3570280d0366 = function(arg0) {

@@ -1315,33 +1211,153 @@ const ret = getObject(arg0).process;

};
imports.wbg.__wbg_newwithlength_e9b4878cebadb3d3 = function(arg0) {
const ret = new Uint8Array(arg0 >>> 0);
imports.wbg.__wbg_randomFillSync_b70ccbdf4926a99d = function() { return handleError(function (arg0, arg1) {
getObject(arg0).randomFillSync(takeObject(arg1));
}, arguments) };
imports.wbg.__wbg_getRandomValues_7e42b4fb8779dc6d = function() { return handleError(function (arg0, arg1) {
getObject(arg0).getRandomValues(getObject(arg1));
}, arguments) };
imports.wbg.__wbg_queueMicrotask_3cbae2ec6b6cd3d6 = function(arg0) {
const ret = getObject(arg0).queueMicrotask;
return addHeapObject(ret);
};
imports.wbg.__wbindgen_is_object = function(arg0) {
const val = getObject(arg0);
const ret = typeof(val) === 'object' && val !== null;
imports.wbg.__wbindgen_link_fc1eedd35dc7e0a6 = function(arg0) {
const ret = "data:application/javascript," + encodeURIComponent(`onmessage = function (ev) {
let [ia, index, value] = ev.data;
ia = new Int32Array(ia.buffer);
let result = Atomics.wait(ia, index, value);
postMessage(result);
};
`);
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
const len1 = WASM_VECTOR_LEN;
getInt32Memory0()[arg0 / 4 + 1] = len1;
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
};
imports.wbg.__wbindgen_number_new = function(arg0) {
const ret = arg0;
return addHeapObject(ret);
};
imports.wbg.__wbg_queueMicrotask_481971b0d87f3dd4 = function(arg0) {
queueMicrotask(getObject(arg0));
};
imports.wbg.__wbg_waitAsync_5d743fc9058ba01a = function() {
const ret = Atomics.waitAsync;
return addHeapObject(ret);
};
imports.wbg.__wbindgen_is_undefined = function(arg0) {
const ret = getObject(arg0) === undefined;
return ret;
};
imports.wbg.__wbindgen_memory = function() {
const ret = wasm.memory;
imports.wbg.__wbg_waitAsync_46d5c36955b71a79 = function(arg0, arg1, arg2) {
const ret = Atomics.waitAsync(getObject(arg0), arg1, arg2);
return addHeapObject(ret);
};
imports.wbg.__wbg_buffer_12d079cc21e14bdb = function(arg0) {
const ret = getObject(arg0).buffer;
imports.wbg.__wbg_async_19c0400d97cc72fe = function(arg0) {
const ret = getObject(arg0).async;
return ret;
};
imports.wbg.__wbg_value_571d60108110e917 = function(arg0) {
const ret = getObject(arg0).value;
return addHeapObject(ret);
};
imports.wbg.__wbg_newwithbyteoffsetandlength_aa4a17c33a06e5cb = function(arg0, arg1, arg2) {
const ret = new Uint8Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0);
imports.wbg.__wbg_instanceof_Headers_e8d8a8f38d11f7d7 = function(arg0) {
let result;
try {
result = getObject(arg0) instanceof Headers;
} catch (_) {
result = false;
}
const ret = result;
return ret;
};
imports.wbg.__wbg_get_0ebaad3318b38f2a = function() { return handleError(function (arg0, arg1, arg2, arg3) {
var v0 = getCachedStringFromWasm0(arg2, arg3);
const ret = getObject(arg1).get(v0);
var ptr2 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
var len2 = WASM_VECTOR_LEN;
getInt32Memory0()[arg0 / 4 + 1] = len2;
getInt32Memory0()[arg0 / 4 + 0] = ptr2;
}, arguments) };
imports.wbg.__wbg_data_3ce7c145ca4fbcdc = function(arg0) {
const ret = getObject(arg0).data;
return addHeapObject(ret);
};
imports.wbg.__wbg_randomFillSync_b70ccbdf4926a99d = function() { return handleError(function (arg0, arg1) {
getObject(arg0).randomFillSync(takeObject(arg1));
imports.wbg.__wbg_byobRequest_72fca99f9c32c193 = function(arg0) {
const ret = getObject(arg0).byobRequest;
return isLikeNone(ret) ? 0 : addHeapObject(ret);
};
imports.wbg.__wbg_close_184931724d961ccc = function() { return handleError(function (arg0) {
getObject(arg0).close();
}, arguments) };
imports.wbg.__wbg_subarray_a1f73cd4b5b42fe1 = function(arg0, arg1, arg2) {
const ret = getObject(arg0).subarray(arg1 >>> 0, arg2 >>> 0);
imports.wbg.__wbg_view_7f0ce470793a340f = function(arg0) {
const ret = getObject(arg0).view;
return isLikeNone(ret) ? 0 : addHeapObject(ret);
};
imports.wbg.__wbg_respond_b1a43b2e3a06d525 = function() { return handleError(function (arg0, arg1) {
getObject(arg0).respond(arg1 >>> 0);
}, arguments) };
imports.wbg.__wbg_close_a994f9425dab445c = function() { return handleError(function (arg0) {
getObject(arg0).close();
}, arguments) };
imports.wbg.__wbg_enqueue_ea194723156c0cc2 = function() { return handleError(function (arg0, arg1) {
getObject(arg0).enqueue(getObject(arg1));
}, arguments) };
imports.wbg.__wbg_headers_abb199c3be8d817c = function(arg0) {
const ret = getObject(arg0).headers;
return addHeapObject(ret);
};
imports.wbg.__wbg_getRandomValues_7e42b4fb8779dc6d = function() { return handleError(function (arg0, arg1) {
getObject(arg0).getRandomValues(getObject(arg1));
imports.wbg.__wbg_newwithstrandinit_3fd6fba4083ff2d0 = function() { return handleError(function (arg0, arg1, arg2) {
var v0 = getCachedStringFromWasm0(arg0, arg1);
const ret = new Request(v0, getObject(arg2));
return addHeapObject(ret);
}, arguments) };
imports.wbg.__wbg_arrayBuffer_8a7388e2f90d7e79 = function() { return handleError(function (arg0) {
const ret = getObject(arg0).arrayBuffer();
return addHeapObject(ret);
}, arguments) };
imports.wbg.__wbg_newwithoptreadablestreamandinit_0b825f969ca543d6 = function() { return handleError(function (arg0, arg1) {
const ret = new Response(getObject(arg0), getObject(arg1));
return addHeapObject(ret);
}, arguments) };
imports.wbg.__wbg_setonopen_ce7a4c51e5cf5788 = function(arg0, arg1) {
getObject(arg0).onopen = getObject(arg1);
};
imports.wbg.__wbg_setonerror_39a785302b0cd2e9 = function(arg0, arg1) {
getObject(arg0).onerror = getObject(arg1);
};
imports.wbg.__wbg_setonclose_b9929b1c1624dff3 = function(arg0, arg1) {
getObject(arg0).onclose = getObject(arg1);
};
imports.wbg.__wbg_setonmessage_2af154ce83a3dc94 = function(arg0, arg1) {
getObject(arg0).onmessage = getObject(arg1);
};
imports.wbg.__wbg_setbinaryType_b0cf5103cd561959 = function(arg0, arg1) {
getObject(arg0).binaryType = takeObject(arg1);
};
imports.wbg.__wbg_new_6c74223c77cfabad = function() { return handleError(function (arg0, arg1) {
var v0 = getCachedStringFromWasm0(arg0, arg1);
const ret = new WebSocket(v0);
return addHeapObject(ret);
}, arguments) };
imports.wbg.__wbg_newwithstrsequence_9bc178264d955680 = function() { return handleError(function (arg0, arg1, arg2) {
var v0 = getCachedStringFromWasm0(arg0, arg1);
const ret = new WebSocket(v0, getObject(arg2));
return addHeapObject(ret);
}, arguments) };
imports.wbg.__wbg_close_acd9532ff5c093ea = function() { return handleError(function (arg0) {
getObject(arg0).close();
}, arguments) };
imports.wbg.__wbg_send_5fcd7bab9777194e = function() { return handleError(function (arg0, arg1, arg2) {
getObject(arg0).send(new Uint8Array(getArrayU8FromWasm0(arg1, arg2)));
}, arguments) };
imports.wbg.__wbg_setonmessage_503809e5bb51bd33 = function(arg0, arg1) {
getObject(arg0).onmessage = getObject(arg1);
};
imports.wbg.__wbg_new_d1187ae36d662ef9 = function() { return handleError(function (arg0, arg1) {
var v0 = getCachedStringFromWasm0(arg0, arg1);
const ret = new Worker(v0);
return addHeapObject(ret);
}, arguments) };
imports.wbg.__wbg_postMessage_7380d10e8b8269df = function() { return handleError(function (arg0, arg1) {
getObject(arg0).postMessage(getObject(arg1));
}, arguments) };
imports.wbg.__wbg_self_ce0dbfc45cf2f5be = function() { return handleError(function () {

@@ -1363,6 +1379,2 @@ const ret = self.self;

}, arguments) };
imports.wbg.__wbindgen_is_undefined = function(arg0) {
const ret = getObject(arg0) === undefined;
return ret;
};
imports.wbg.__wbg_newnoargs_e258087cd0daa0ea = function(arg0, arg1) {

@@ -1377,2 +1389,6 @@ var v0 = getCachedStringFromWasm0(arg0, arg1);

}, arguments) };
imports.wbg.__wbg_get_bd8e338fbd5f5cc8 = function(arg0, arg1) {
const ret = getObject(arg0)[arg1 >>> 0];
return addHeapObject(ret);
};
imports.wbg.__wbg_length_cd7af8117672b8b8 = function(arg0) {

@@ -1382,4 +1398,4 @@ const ret = getObject(arg0).length;

};
imports.wbg.__wbg_get_bd8e338fbd5f5cc8 = function(arg0, arg1) {
const ret = getObject(arg0)[arg1 >>> 0];
imports.wbg.__wbg_new_16b304a2cfa7ff4a = function() {
const ret = new Array();
return addHeapObject(ret);

@@ -1391,2 +1407,37 @@ };

}, arguments) };
imports.wbg.__wbg_new_72fb9a18b5ae2624 = function() {
const ret = new Object();
return addHeapObject(ret);
};
imports.wbg.__wbg_from_89e3fc3ba5e6fb48 = function(arg0) {
const ret = Array.from(getObject(arg0));
return addHeapObject(ret);
};
imports.wbg.__wbg_of_647f9238b4d5407a = function(arg0, arg1) {
const ret = Array.of(getObject(arg0), getObject(arg1));
return addHeapObject(ret);
};
imports.wbg.__wbg_of_6a70eed8d41f469c = function(arg0, arg1, arg2) {
const ret = Array.of(getObject(arg0), getObject(arg1), getObject(arg2));
return addHeapObject(ret);
};
imports.wbg.__wbg_push_a5b05aedc7234f9f = function(arg0, arg1) {
const ret = getObject(arg0).push(getObject(arg1));
return ret;
};
imports.wbg.__wbg_instanceof_ArrayBuffer_836825be07d4c9d2 = function(arg0) {
let result;
try {
result = getObject(arg0) instanceof ArrayBuffer;
} catch (_) {
result = false;
}
const ret = result;
return ret;
};
imports.wbg.__wbg_new_28c511d9baebfa89 = function(arg0, arg1) {
var v0 = getCachedStringFromWasm0(arg0, arg1);
const ret = new Error(v0);
return addHeapObject(ret);
};
imports.wbg.__wbg_call_b3ca7c6051f9bec1 = function() { return handleError(function (arg0, arg1, arg2) {

@@ -1396,2 +1447,10 @@ const ret = getObject(arg0).call(getObject(arg1), getObject(arg2));

}, arguments) };
imports.wbg.__wbg_defineProperty_cc00e2de8a0f5141 = function(arg0, arg1, arg2) {
const ret = Object.defineProperty(getObject(arg0), getObject(arg1), getObject(arg2));
return addHeapObject(ret);
};
imports.wbg.__wbg_entries_95cc2c823b285a09 = function(arg0) {
const ret = Object.entries(getObject(arg0));
return addHeapObject(ret);
};
imports.wbg.__wbg_fromEntries_c9d8ec8925e677a8 = function() { return handleError(function (arg0) {

@@ -1405,29 +1464,34 @@ const ret = Object.fromEntries(getObject(arg0));

}, arguments) };
imports.wbg.__wbg_then_0c86a60e8fcfe9f6 = function(arg0, arg1) {
const ret = getObject(arg0).then(getObject(arg1));
imports.wbg.__wbg_buffer_12d079cc21e14bdb = function(arg0) {
const ret = getObject(arg0).buffer;
return addHeapObject(ret);
};
imports.wbg.__wbg_set_a47bac70306a19a7 = function(arg0, arg1, arg2) {
getObject(arg0).set(getObject(arg1), arg2 >>> 0);
imports.wbg.__wbg_new_81740750da40724f = function(arg0, arg1) {
try {
var state0 = {a: arg0, b: arg1};
var cb0 = (arg0, arg1) => {
const a = state0.a;
state0.a = 0;
try {
return __wbg_adapter_235(a, state0.b, arg0, arg1);
} finally {
state0.a = a;
}
};
const ret = new Promise(cb0);
return addHeapObject(ret);
} finally {
state0.a = state0.b = 0;
}
};
imports.wbg.__wbg_length_c20a40f15020d68a = function(arg0) {
const ret = getObject(arg0).length;
return ret;
imports.wbg.__wbg_resolve_b0083a7967828ec8 = function(arg0) {
const ret = Promise.resolve(getObject(arg0));
return addHeapObject(ret);
};
imports.wbg.__wbg_now_2b07afe112e2469e = typeof Date.now == 'function' ? Date.now : notDefined('Date.now');
imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
const ret = debugString(getObject(arg1));
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export_1, wasm.__wbindgen_export_2);
const len1 = WASM_VECTOR_LEN;
getInt32Memory0()[arg0 / 4 + 1] = len1;
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
imports.wbg.__wbg_then_0c86a60e8fcfe9f6 = function(arg0, arg1) {
const ret = getObject(arg0).then(getObject(arg1));
return addHeapObject(ret);
};
imports.wbg.__wbindgen_throw = function(arg0, arg1) {
throw new Error(getStringFromWasm0(arg0, arg1));
};
imports.wbg.__wbindgen_rethrow = function(arg0) {
throw takeObject(arg0);
};
imports.wbg.__wbg_waitAsync_5d743fc9058ba01a = function() {
const ret = Atomics.waitAsync;
imports.wbg.__wbg_then_a73caa9a87991566 = function(arg0, arg1, arg2) {
const ret = getObject(arg0).then(getObject(arg1), getObject(arg2));
return addHeapObject(ret);

@@ -1439,65 +1503,29 @@ };

};
imports.wbg.__wbg_waitAsync_46d5c36955b71a79 = function(arg0, arg1, arg2) {
const ret = Atomics.waitAsync(getObject(arg0), arg1, arg2);
imports.wbg.__wbg_newwithbyteoffsetandlength_aa4a17c33a06e5cb = function(arg0, arg1, arg2) {
const ret = new Uint8Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0);
return addHeapObject(ret);
};
imports.wbg.__wbg_async_19c0400d97cc72fe = function(arg0) {
const ret = getObject(arg0).async;
return ret;
};
imports.wbg.__wbg_value_571d60108110e917 = function(arg0) {
const ret = getObject(arg0).value;
imports.wbg.__wbg_new_63b92bc8671ed464 = function(arg0) {
const ret = new Uint8Array(getObject(arg0));
return addHeapObject(ret);
};
imports.wbg.__wbindgen_link_fc1eedd35dc7e0a6 = function(arg0) {
const ret = "data:application/javascript," + encodeURIComponent(`onmessage = function (ev) {
let [ia, index, value] = ev.data;
ia = new Int32Array(ia.buffer);
let result = Atomics.wait(ia, index, value);
postMessage(result);
};
`);
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export_1, wasm.__wbindgen_export_2);
const len1 = WASM_VECTOR_LEN;
getInt32Memory0()[arg0 / 4 + 1] = len1;
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
imports.wbg.__wbg_set_a47bac70306a19a7 = function(arg0, arg1, arg2) {
getObject(arg0).set(getObject(arg1), arg2 >>> 0);
};
imports.wbg.__wbg_new_d1187ae36d662ef9 = function() { return handleError(function (arg0, arg1) {
var v0 = getCachedStringFromWasm0(arg0, arg1);
const ret = new Worker(v0);
return addHeapObject(ret);
}, arguments) };
imports.wbg.__wbg_setonmessage_503809e5bb51bd33 = function(arg0, arg1) {
getObject(arg0).onmessage = getObject(arg1);
imports.wbg.__wbg_length_c20a40f15020d68a = function(arg0) {
const ret = getObject(arg0).length;
return ret;
};
imports.wbg.__wbg_of_6a70eed8d41f469c = function(arg0, arg1, arg2) {
const ret = Array.of(getObject(arg0), getObject(arg1), getObject(arg2));
imports.wbg.__wbg_newwithlength_e9b4878cebadb3d3 = function(arg0) {
const ret = new Uint8Array(arg0 >>> 0);
return addHeapObject(ret);
};
imports.wbg.__wbg_postMessage_7380d10e8b8269df = function() { return handleError(function (arg0, arg1) {
getObject(arg0).postMessage(getObject(arg1));
}, arguments) };
imports.wbg.__wbg_queueMicrotask_3cbae2ec6b6cd3d6 = function(arg0) {
const ret = getObject(arg0).queueMicrotask;
imports.wbg.__wbg_buffer_dd7f74bc60f1faab = function(arg0) {
const ret = getObject(arg0).buffer;
return addHeapObject(ret);
};
imports.wbg.__wbg_resolve_b0083a7967828ec8 = function(arg0) {
const ret = Promise.resolve(getObject(arg0));
imports.wbg.__wbg_subarray_a1f73cd4b5b42fe1 = function(arg0, arg1, arg2) {
const ret = getObject(arg0).subarray(arg1 >>> 0, arg2 >>> 0);
return addHeapObject(ret);
};
imports.wbg.__wbg_then_a73caa9a87991566 = function(arg0, arg1, arg2) {
const ret = getObject(arg0).then(getObject(arg1), getObject(arg2));
return addHeapObject(ret);
};
imports.wbg.__wbg_queueMicrotask_481971b0d87f3dd4 = function(arg0) {
queueMicrotask(getObject(arg0));
};
imports.wbg.__wbg_byobRequest_72fca99f9c32c193 = function(arg0) {
const ret = getObject(arg0).byobRequest;
return isLikeNone(ret) ? 0 : addHeapObject(ret);
};
imports.wbg.__wbg_view_7f0ce470793a340f = function(arg0) {
const ret = getObject(arg0).view;
return isLikeNone(ret) ? 0 : addHeapObject(ret);
};
imports.wbg.__wbg_byteLength_58f7b4fab1919d44 = function(arg0) {

@@ -1507,14 +1535,2 @@ const ret = getObject(arg0).byteLength;

};
imports.wbg.__wbg_close_184931724d961ccc = function() { return handleError(function (arg0) {
getObject(arg0).close();
}, arguments) };
imports.wbg.__wbg_new_28c511d9baebfa89 = function(arg0, arg1) {
var v0 = getCachedStringFromWasm0(arg0, arg1);
const ret = new Error(v0);
return addHeapObject(ret);
};
imports.wbg.__wbg_buffer_dd7f74bc60f1faab = function(arg0) {
const ret = getObject(arg0).buffer;
return addHeapObject(ret);
};
imports.wbg.__wbg_byteOffset_81d60f7392524f62 = function(arg0) {

@@ -1524,53 +1540,37 @@ const ret = getObject(arg0).byteOffset;

};
imports.wbg.__wbg_close_a994f9425dab445c = function() { return handleError(function (arg0) {
getObject(arg0).close();
}, arguments) };
imports.wbg.__wbg_enqueue_ea194723156c0cc2 = function() { return handleError(function (arg0, arg1) {
getObject(arg0).enqueue(getObject(arg1));
}, arguments) };
imports.wbg.__wbg_setTimeout_fba1b48a90e30862 = function() { return handleError(function (arg0, arg1, arg2) {
const ret = getObject(arg0).setTimeout(getObject(arg1), arg2);
return ret;
}, arguments) };
imports.wbg.__wbg_performance_1430613edb72ce03 = function(arg0) {
const ret = getObject(arg0).performance;
return addHeapObject(ret);
imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
const ret = debugString(getObject(arg1));
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
const len1 = WASM_VECTOR_LEN;
getInt32Memory0()[arg0 / 4 + 1] = len1;
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
};
imports.wbg.__wbg_now_eab901b1d3b8a295 = function(arg0) {
const ret = getObject(arg0).now();
return ret;
imports.wbg.__wbindgen_throw = function(arg0, arg1) {
throw new Error(getStringFromWasm0(arg0, arg1));
};
imports.wbg.__wbg_respond_b1a43b2e3a06d525 = function() { return handleError(function (arg0, arg1) {
getObject(arg0).respond(arg1 >>> 0);
}, arguments) };
imports.wbg.__wbg_newwithstrandinit_3fd6fba4083ff2d0 = function() { return handleError(function (arg0, arg1, arg2) {
var v0 = getCachedStringFromWasm0(arg0, arg1);
const ret = new Request(v0, getObject(arg2));
imports.wbg.__wbindgen_rethrow = function(arg0) {
throw takeObject(arg0);
};
imports.wbg.__wbindgen_memory = function() {
const ret = wasm.memory;
return addHeapObject(ret);
}, arguments) };
imports.wbg.__wbg_arrayBuffer_8a7388e2f90d7e79 = function() { return handleError(function (arg0) {
const ret = getObject(arg0).arrayBuffer();
};
imports.wbg.__wbindgen_closure_wrapper464 = function(arg0, arg1, arg2) {
const ret = makeClosure(arg0, arg1, 8, __wbg_adapter_36);
return addHeapObject(ret);
}, arguments) };
imports.wbg.__wbg_send_5fcd7bab9777194e = function() { return handleError(function (arg0, arg1, arg2) {
getObject(arg0).send(new Uint8Array(getArrayU8FromWasm0(arg1, arg2)));
}, arguments) };
imports.wbg.__wbindgen_closure_wrapper450 = function(arg0, arg1, arg2) {
const ret = makeClosure(arg0, arg1, 9, __wbg_adapter_36);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper452 = function(arg0, arg1, arg2) {
const ret = makeClosure(arg0, arg1, 9, __wbg_adapter_39);
imports.wbg.__wbindgen_closure_wrapper466 = function(arg0, arg1, arg2) {
const ret = makeClosure(arg0, arg1, 8, __wbg_adapter_39);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper3839 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 9, __wbg_adapter_42);
imports.wbg.__wbindgen_closure_wrapper3435 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 955, __wbg_adapter_42);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper3854 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 9, __wbg_adapter_42);
imports.wbg.__wbindgen_closure_wrapper4663 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 1385, __wbg_adapter_45);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper4007 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 9, __wbg_adapter_47);
imports.wbg.__wbindgen_closure_wrapper4665 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 1385, __wbg_adapter_45);
return addHeapObject(ret);

@@ -1583,3 +1583,3 @@ };

function __wbg_init_memory(imports, maybe_memory) {
imports.wbg.memory = maybe_memory || new WebAssembly.Memory({initial:23,maximum:16384,shared:true});
imports.wbg.memory = maybe_memory || new WebAssembly.Memory({initial:25,maximum:16384,shared:true});
}

@@ -1586,0 +1586,0 @@

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc