@mercuryworkshop/epoxy-tls
Advanced tools
Comparing version 2.1.8-1 to 2.1.9-1
@@ -1,2 +0,2 @@ | ||
import { object_get, object_set, convert_body_inner, entries_of_object_inner, define_property, ws_key, from_entries, bind_ws_connect } from 'data:application/javascript;base64,CmNsYXNzIFdlYlNvY2tldFN0cmVhbVBvbnlmaWxsIHsKCXVybDsKCW9wZW5lZDsKCWNsb3NlZDsKCWNsb3NlOwoJY29uc3RydWN0b3IodXJsLCBvcHRpb25zID0ge30pIHsKCQlpZiAob3B0aW9ucy5zaWduYWw/LmFib3J0ZWQpIHsKCQkJdGhyb3cgbmV3IERPTUV4Y2VwdGlvbignVGhpcyBvcGVyYXRpb24gd2FzIGFib3J0ZWQnLCAnQWJvcnRFcnJvcicpOwoJCX0KCQl0aGlzLnVybCA9IHVybDsKCQljb25zdCB3cyA9IG5ldyBXZWJTb2NrZXQodXJsLCBvcHRpb25zLnByb3RvY29scyA/PyBbXSk7CgkJd3MuYmluYXJ5VHlwZSA9ICJhcnJheWJ1ZmZlciI7CgkJY29uc3QgY2xvc2VXaXRoSW5mbyA9ICh7IGNsb3NlQ29kZTogY29kZSwgcmVhc29uIH0gPSB7fSkgPT4gd3MuY2xvc2UoY29kZSwgcmVhc29uKTsKCQl0aGlzLm9wZW5lZCA9IG5ldyBQcm9taXNlKChyZXNvbHZlLCByZWplY3QpID0+IHsKCQkJd3Mub25vcGVuID0gKCkgPT4gewoJCQkJcmVzb2x2ZSh7CgkJCQkJcmVhZGFibGU6IG5ldyBSZWFkYWJsZVN0cmVhbSh7CgkJCQkJCXN0YXJ0KGNvbnRyb2xsZXIpIHsKCQkJCQkJCXdzLm9ubWVzc2FnZSA9ICh7IGRhdGEgfSkgPT4gY29udHJvbGxlci5lbnF1ZXVlKGRhdGEpOwoJCQkJCQkJd3Mub25lcnJvciA9IGUgPT4gY29udHJvbGxlci5lcnJvcihlKTsKCQkJCQkJfSwKCQkJCQkJY2FuY2VsOiBjbG9zZVdpdGhJbmZvLAoJCQ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uZWN0KHVybCwgcHJvdG9jb2xzKSB7CglsZXQgd3NzID0gbmV3ICh0eXBlb2YgV2ViU29ja2V0U3RyZWFtICE9PSAidW5kZWZpbmVkIiA/IFdlYlNvY2tldFN0cmVhbSA6IFdlYlNvY2tldFN0cmVhbVBvbnlmaWxsKSh1cmwsIHsgcHJvdG9jb2xzOiBwcm90b2NvbHMgfSk7CglsZXQge3JlYWRhYmxlLCB3cml0YWJsZX0gPSBhd2FpdCB3c3Mub3BlbmVkOwoJcmV0dXJuIHtyZWFkOiByZWFkYWJsZSwgd3JpdGU6IHdyaXRhYmxlfTsKfQoKZXhwb3J0IGZ1bmN0aW9uIGJpbmRfd3NfY29ubmVjdCh1cmwsIHByb3RvY29scykgewoJcmV0dXJuIHdlYnNvY2tldF9jb25uZWN0LmJpbmQodW5kZWZpbmVkLCB1cmwsIHByb3RvY29scyk7Cn0K'; | ||
import { object_get, object_set, convert_body_inner, entries_of_object_inner, define_property, ws_key, from_entries } from 'data:application/javascript;base64,CmV4cG9ydCBmdW5jdGlvbiBvYmplY3RfZ2V0KG9iaiwgaykgeyAKCXRyeSB7CgkJcmV0dXJuIG9ialtrXQoJfSBjYXRjaCh4KSB7CgkJcmV0dXJuIHVuZGVmaW5lZAoJfQp9OwpleHBvcnQgZnVuY3Rpb24gb2JqZWN0X3NldChvYmosIGssIHYpIHsKCXRyeSB7IG9ialtrXSA9IHYgfSBjYXRjaCB7fQp9OwoKZXhwb3J0IGFzeW5jIGZ1bmN0aW9uIGNvbnZlcnRfYm9keV9pbm5lcihib2R5KSB7CglsZXQgcmVxID0gbmV3IFJlcXVlc3QoIiIsIHsgbWV0aG9kOiAiUE9TVCIsIGR1cGxleDogImhhbGYiLCBib2R5IH0pOwoJbGV0IHR5cGUgPSByZXEuaGVhZGVycy5nZXQoImNvbnRlbnQtdHlwZSIpOwoJcmV0dXJuIFtuZXcgVWludDhBcnJheShhd2FpdCByZXEuYXJyYXlCdWZmZXIoKSksIHR5cGVdOwp9CgpleHBvcnQgZnVuY3Rpb24gZW50cmllc19vZl9vYmplY3RfaW5uZXIob2JqKSB7CglyZXR1cm4gT2JqZWN0LmVudHJpZXMob2JqKS5tYXAoeCA9PiB4Lm1hcChTdHJpbmcpKTsKfQoKZXhwb3J0IGZ1bmN0aW9uIGRlZmluZV9wcm9wZXJ0eShvYmosIGssIHYpIHsKCU9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosIGssIHsgdmFsdWU6IHYsIHdyaXRhYmxlOiBmYWxzZSB9KTsKfQoKZXhwb3J0IGZ1bmN0aW9uIHdzX2tleSgpIHsKCWxldCBrZXkgPSBuZXcgVWludDhBcnJheSgxNik7CgljcnlwdG8uZ2V0UmFuZG9tVmFsdWVzKGtleSk7CglyZXR1cm4gYnRvYShBcnJheS5mcm9tKGtleSkubWFwKFN0cmluZy5mcm9tQ2hhckNvZGUpLmpvaW4oJycpKTsKfQoKZXhwb3J0IGZ1bmN0aW9uIGZyb21fZW50cmllcyhlbnRyaWVzKXsKICAgIHZhciByZXQgPSB7fTsKICAgIGZvcih2YXIgaSA9IDA7IGkgPCBlbnRyaWVzLmxlbmd0aDsgaSsrKSByZXRbZW50cmllc1tpXVswXV0gPSBlbnRyaWVzW2ldWzFdOwogICAgcmV0dXJuIHJldDsKfQo='; | ||
@@ -163,2 +163,31 @@ let wasm; | ||
function makeClosure(arg0, arg1, dtor, f) { | ||
const state = { a: arg0, b: arg1, cnt: 1, dtor }; | ||
const real = (...args) => { | ||
// First up with a closure we increment the internal reference | ||
// count. This ensures that the Rust closure environment won't | ||
// be deallocated while we're invoking it. | ||
state.cnt++; | ||
try { | ||
return f(state.a, state.b, ...args); | ||
} finally { | ||
if (--state.cnt === 0) { | ||
wasm.__wbindgen_export_3.get(state.dtor)(state.a, state.b); | ||
state.a = 0; | ||
CLOSURE_DTORS.unregister(state); | ||
} | ||
} | ||
}; | ||
real.original = state; | ||
CLOSURE_DTORS.register(real, state, state); | ||
return real; | ||
} | ||
function __wbg_adapter_34(arg0, arg1) { | ||
wasm._dyn_core__ops__function__Fn_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h484fc966955fbceb(arg0, arg1); | ||
} | ||
function __wbg_adapter_37(arg0, arg1, arg2) { | ||
wasm.closure21_externref_shim(arg0, arg1, arg2); | ||
} | ||
function makeMutClosure(arg0, arg1, dtor, f) { | ||
@@ -188,7 +217,7 @@ const state = { a: arg0, b: arg1, cnt: 1, dtor }; | ||
} | ||
function __wbg_adapter_34(arg0, arg1, arg2) { | ||
wasm.closure193_externref_shim(arg0, arg1, arg2); | ||
function __wbg_adapter_40(arg0, arg1, arg2) { | ||
wasm.closure200_externref_shim(arg0, arg1, arg2); | ||
} | ||
function __wbg_adapter_37(arg0, arg1) { | ||
function __wbg_adapter_43(arg0, arg1) { | ||
wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3f752a1016c99d8b(arg0, arg1); | ||
@@ -247,6 +276,13 @@ } | ||
function notDefined(what) { return () => { throw new Error(`${what} is not defined`); }; } | ||
function __wbg_adapter_159(arg0, arg1, arg2, arg3) { | ||
wasm.closure131_externref_shim(arg0, arg1, arg2, arg3); | ||
function __wbg_adapter_163(arg0, arg1, arg2, arg3) { | ||
wasm.closure138_externref_shim(arg0, arg1, arg2, arg3); | ||
} | ||
function getArrayU8FromWasm0(ptr, len) { | ||
ptr = ptr >>> 0; | ||
return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len); | ||
} | ||
const __wbindgen_enum_BinaryType = ["blob", "arraybuffer"]; | ||
const __wbindgen_enum_ReadableStreamReaderMode = ["byob"]; | ||
@@ -903,3 +939,3 @@ | ||
}; | ||
imports.wbg.__wbg_objectget_0beb0fd04412c614 = function(arg0, arg1, arg2) { | ||
imports.wbg.__wbg_objectget_40ed2c8179ab51e7 = function(arg0, arg1, arg2) { | ||
const ret = object_get(arg0, getStringFromWasm0(arg1, arg2)); | ||
@@ -942,13 +978,2 @@ return ret; | ||
}; | ||
imports.wbg.__wbg_wskey_7997be9cda57b24a = function(arg0) { | ||
const ret = ws_key(); | ||
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); | ||
const len1 = WASM_VECTOR_LEN; | ||
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); | ||
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); | ||
}; | ||
imports.wbg.__wbg_epoxywebsocket_new = function(arg0) { | ||
const ret = EpoxyWebSocket.__wrap(arg0); | ||
return ret; | ||
}; | ||
imports.wbg.__wbg_new_034f913e7636e987 = function() { | ||
@@ -983,3 +1008,3 @@ const ret = new Array(); | ||
}, arguments) }; | ||
imports.wbg.__wbg_defineproperty_250f40545fa790cc = function(arg0, arg1, arg2, arg3) { | ||
imports.wbg.__wbg_defineproperty_7e82f31084e57cb8 = function(arg0, arg1, arg2, arg3) { | ||
define_property(arg0, getStringFromWasm0(arg1, arg2), arg3); | ||
@@ -991,3 +1016,3 @@ }; | ||
}; | ||
imports.wbg.__wbg_objectset_a2167204e2ce19dd = function(arg0, arg1, arg2, arg3) { | ||
imports.wbg.__wbg_objectset_49227fb5127dfbeb = function(arg0, arg1, arg2, arg3) { | ||
object_set(arg0, getStringFromWasm0(arg1, arg2), arg3); | ||
@@ -999,11 +1024,13 @@ }; | ||
}; | ||
imports.wbg.__wbg_cancel_2a3c2f3c115ac7e0 = function(arg0) { | ||
const ret = arg0.cancel(); | ||
return ret; | ||
imports.wbg.__wbg_wskey_6b1ba9d565805fa7 = function(arg0) { | ||
const ret = ws_key(); | ||
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); | ||
const len1 = WASM_VECTOR_LEN; | ||
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); | ||
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); | ||
}; | ||
imports.wbg.__wbg_catch_8097da4375a5dd1b = function(arg0, arg1) { | ||
const ret = arg0.catch(arg1); | ||
imports.wbg.__wbg_epoxywebsocket_new = function(arg0) { | ||
const ret = EpoxyWebSocket.__wrap(arg0); | ||
return ret; | ||
}; | ||
imports.wbg.__wbg_clearTimeout_76877dbc010e786d = typeof clearTimeout == 'function' ? clearTimeout : notDefined('clearTimeout'); | ||
imports.wbg.__wbindgen_cb_drop = function(arg0) { | ||
@@ -1018,2 +1045,11 @@ const obj = arg0.original; | ||
}; | ||
imports.wbg.__wbg_cancel_2a3c2f3c115ac7e0 = function(arg0) { | ||
const ret = arg0.cancel(); | ||
return ret; | ||
}; | ||
imports.wbg.__wbg_catch_8097da4375a5dd1b = function(arg0, arg1) { | ||
const ret = arg0.catch(arg1); | ||
return ret; | ||
}; | ||
imports.wbg.__wbg_clearTimeout_76877dbc010e786d = typeof clearTimeout == 'function' ? clearTimeout : notDefined('clearTimeout'); | ||
imports.wbg.__wbindgen_error_new = function(arg0, arg1) { | ||
@@ -1035,6 +1071,6 @@ const ret = new Error(getStringFromWasm0(arg0, arg1)); | ||
}, arguments) }; | ||
imports.wbg.__wbg_log_1b94444152a2f3b5 = function(arg0, arg1) { | ||
imports.wbg.__wbg_log_cfc7ca7e5c69a01e = function(arg0, arg1) { | ||
console.log(getStringFromWasm0(arg0, arg1)); | ||
}; | ||
imports.wbg.__wbg_convertbodyinner_ca754adacede28c1 = function() { return handleError(function (arg0) { | ||
imports.wbg.__wbg_convertbodyinner_2e966a2a0ebb9e93 = function() { return handleError(function (arg0) { | ||
const ret = convert_body_inner(arg0); | ||
@@ -1047,3 +1083,3 @@ return ret; | ||
}; | ||
imports.wbg.__wbg_entriesofobjectinner_2b7a3e3f9b02e6fd = function(arg0, arg1) { | ||
imports.wbg.__wbg_entriesofobjectinner_c8d3c67aef14492e = function(arg0, arg1) { | ||
const ret = entries_of_object_inner(arg1); | ||
@@ -1059,2 +1095,6 @@ const ptr1 = passArrayJsValueToWasm0(ret, wasm.__wbindgen_malloc); | ||
}; | ||
imports.wbg.__wbg_data_134d3a704b9fca32 = function(arg0) { | ||
const ret = arg0.data; | ||
return ret; | ||
}; | ||
imports.wbg.__wbg_instanceof_Error_a0af335a62107964 = function(arg0) { | ||
@@ -1094,3 +1134,3 @@ let result; | ||
}; | ||
imports.wbg.__wbg_fromentries_3329ceb232c7e83b = function() { return handleError(function (arg0) { | ||
imports.wbg.__wbg_fromentries_9e32d12e39a505b3 = function() { return handleError(function (arg0) { | ||
const ret = from_entries(arg0); | ||
@@ -1106,3 +1146,3 @@ return ret; | ||
try { | ||
return __wbg_adapter_159(a, state0.b, arg0, arg1); | ||
return __wbg_adapter_163(a, state0.b, arg0, arg1); | ||
} finally { | ||
@@ -1118,16 +1158,28 @@ state0.a = a; | ||
}; | ||
imports.wbg.__wbg_bindwsconnect_3ecf66f29f247843 = function(arg0, arg1, arg2, arg3) { | ||
let deferred0_0; | ||
let deferred0_1; | ||
try { | ||
deferred0_0 = arg0; | ||
deferred0_1 = arg1; | ||
var v1 = getArrayJsValueFromWasm0(arg2, arg3).slice(); | ||
wasm.__wbindgen_free(arg2, arg3 * 4, 4); | ||
const ret = bind_ws_connect(getStringFromWasm0(arg0, arg1), v1); | ||
return ret; | ||
} finally { | ||
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1); | ||
} | ||
imports.wbg.__wbg_send_fe006eb24f5e2694 = function() { return handleError(function (arg0, arg1, arg2) { | ||
arg0.send(getArrayU8FromWasm0(arg1, arg2)); | ||
}, arguments) }; | ||
imports.wbg.__wbg_newwithstrsequence_e105150b01b32f72 = function() { return handleError(function (arg0, arg1, arg2) { | ||
const ret = new WebSocket(getStringFromWasm0(arg0, arg1), arg2); | ||
return ret; | ||
}, arguments) }; | ||
imports.wbg.__wbg_new_d550f7a7120dd942 = function() { return handleError(function (arg0, arg1) { | ||
const ret = new WebSocket(getStringFromWasm0(arg0, arg1)); | ||
return ret; | ||
}, arguments) }; | ||
imports.wbg.__wbg_setbinaryType_2befea8ba88b61e2 = function(arg0, arg1) { | ||
arg0.binaryType = __wbindgen_enum_BinaryType[arg1]; | ||
}; | ||
imports.wbg.__wbg_setonmessage_84cd941c1df08da7 = function(arg0, arg1) { | ||
arg0.onmessage = arg1; | ||
}; | ||
imports.wbg.__wbg_setonopen_c0e1464e3ea28727 = function(arg0, arg1) { | ||
arg0.onopen = arg1; | ||
}; | ||
imports.wbg.__wbg_setonclose_9a28780f7d46ed03 = function(arg0, arg1) { | ||
arg0.onclose = arg1; | ||
}; | ||
imports.wbg.__wbg_setonerror_e16deca7fd15a59c = function(arg0, arg1) { | ||
arg0.onerror = arg1; | ||
}; | ||
imports.wbg.__wbindgen_is_object = function(arg0) { | ||
@@ -1266,2 +1318,8 @@ const val = arg0; | ||
}; | ||
imports.wbg.__wbg_close_cfd08d9cf9f36856 = function() { return handleError(function (arg0) { | ||
arg0.close(); | ||
}, arguments) }; | ||
imports.wbg.__wbg_enqueue_e693a6fb4f3261c1 = function() { return handleError(function (arg0, arg1) { | ||
arg0.enqueue(arg1); | ||
}, arguments) }; | ||
imports.wbg.__wbg_byobRequest_86ac467c94924d3c = function(arg0) { | ||
@@ -1294,8 +1352,2 @@ const ret = arg0.byobRequest; | ||
}; | ||
imports.wbg.__wbg_close_cfd08d9cf9f36856 = function() { return handleError(function (arg0) { | ||
arg0.close(); | ||
}, arguments) }; | ||
imports.wbg.__wbg_enqueue_e693a6fb4f3261c1 = function() { return handleError(function (arg0, arg1) { | ||
arg0.enqueue(arg1); | ||
}, arguments) }; | ||
imports.wbg.__wbg_sethighWaterMark_10a9c5bcdaa54044 = function(arg0, arg1) { | ||
@@ -1336,14 +1388,25 @@ arg0.highWaterMark = arg1; | ||
}; | ||
imports.wbg.__wbindgen_closure_wrapper1204 = function(arg0, arg1, arg2) { | ||
const ret = makeMutClosure(arg0, arg1, 106, __wbg_adapter_34); | ||
imports.wbg.__wbg_close_9e3b743c528a8d31 = function() { return handleError(function (arg0) { | ||
arg0.close(); | ||
}, arguments) }; | ||
imports.wbg.__wbindgen_closure_wrapper412 = function(arg0, arg1, arg2) { | ||
const ret = makeClosure(arg0, arg1, 18, __wbg_adapter_34); | ||
return ret; | ||
}; | ||
imports.wbg.__wbindgen_closure_wrapper1628 = function(arg0, arg1, arg2) { | ||
const ret = makeMutClosure(arg0, arg1, 106, __wbg_adapter_37); | ||
imports.wbg.__wbindgen_closure_wrapper414 = function(arg0, arg1, arg2) { | ||
const ret = makeClosure(arg0, arg1, 18, __wbg_adapter_37); | ||
return ret; | ||
}; | ||
imports.wbg.__wbindgen_closure_wrapper3899 = function(arg0, arg1, arg2) { | ||
const ret = makeMutClosure(arg0, arg1, 106, __wbg_adapter_37); | ||
imports.wbg.__wbindgen_closure_wrapper1274 = function(arg0, arg1, arg2) { | ||
const ret = makeMutClosure(arg0, arg1, 113, __wbg_adapter_40); | ||
return ret; | ||
}; | ||
imports.wbg.__wbindgen_closure_wrapper1738 = function(arg0, arg1, arg2) { | ||
const ret = makeMutClosure(arg0, arg1, 113, __wbg_adapter_43); | ||
return ret; | ||
}; | ||
imports.wbg.__wbindgen_closure_wrapper4005 = function(arg0, arg1, arg2) { | ||
const ret = makeMutClosure(arg0, arg1, 113, __wbg_adapter_43); | ||
return ret; | ||
}; | ||
imports.wbg.__wbindgen_init_externref_table = function() { | ||
@@ -1432,2 +1495,2 @@ const table = wasm.__wbindgen_export_2; | ||
export default __wbg_init; | ||
export const info = { version: "2.1.8-1", minimal: 0===1, release: 1===1 }; | ||
export const info = { version: "2.1.9-1", minimal: 0===1, release: 1===1 }; |
@@ -1,2 +0,2 @@ | ||
import { object_get, object_set, convert_body_inner, entries_of_object_inner, define_property, from_entries, bind_ws_connect } from 'data:application/javascript;base64,CmNsYXNzIFdlYlNvY2tldFN0cmVhbVBvbnlmaWxsIHsKCXVybDsKCW9wZW5lZDsKCWNsb3NlZDsKCWNsb3NlOwoJY29uc3RydWN0b3IodXJsLCBvcHRpb25zID0ge30pIHsKCQlpZiAob3B0aW9ucy5zaWduYWw/LmFib3J0ZWQpIHsKCQkJdGhyb3cgbmV3IERPT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b3J0IGZ1bmN0aW9uIGJpbmRfd3NfY29ubmVjdCh1cmwsIHByb3RvY29scykgewoJcmV0dXJuIHdlYnNvY2tldF9jb25uZWN0LmJpbmQodW5kZWZpbmVkLCB1cmwsIHByb3RvY29scyk7Cn0K'; | ||
import { object_get, object_set, convert_body_inner, entries_of_object_inner, define_property, from_entries } from 'data:application/javascript;base64,CmV4cG9ydCBmdW5jdGlvbiBvYmplY3RfZ2V0KG9iaiwgaykgeyAKCXRyeSB7CgkJcmV0dXJuIG9ialtrXQoJfSBjYXRjaCh4KSB7CgkJcmV0dXJuIHVuZGVmaW5lZAoJfQp9OwpleHBvcnQgZnVuY3Rpb24gb2JqZWN0X3NldChvYmosIGssIHYpIHsKCXRyeSB7IG9ialtrXSA9IHYgfSBjYXRjaCB7fQp9OwoKZXhwb3J0IGFzeW5jIGZ1bmN0aW9uIGNvbnZlcnRfYm9keV9pbm5lcihib2R5KSB7CglsZXQgcmVxID0gbmV3IFJlcXVlc3QoIiIsIHsgbWV0aG9kOiAiUE9TVCIsIGR1cGxleDogImhhbGYiLCBib2R5IH0pOwoJbGV0IHR5cGUgPSByZXEuaGVhZGVycy5nZXQoImNvbnRlbnQtdHlwZSIpOwoJcmV0dXJuIFtuZXcgVWludDhBcnJheShhd2FpdCByZXEuYXJyYXlCdWZmZXIoKSksIHR5cGVdOwp9CgpleHBvcnQgZnVuY3Rpb24gZW50cmllc19vZl9vYmplY3RfaW5uZXIob2JqKSB7CglyZXR1cm4gT2JqZWN0LmVudHJpZXMob2JqKS5tYXAoeCA9PiB4Lm1hcChTdHJpbmcpKTsKfQoKZXhwb3J0IGZ1bmN0aW9uIGRlZmluZV9wcm9wZXJ0eShvYmosIGssIHYpIHsKCU9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosIGssIHsgdmFsdWU6IHYsIHdyaXRhYmxlOiBmYWxzZSB9KTsKfQoKZXhwb3J0IGZ1bmN0aW9uIHdzX2tleSgpIHsKCWxldCBrZXkgPSBuZXcgVWludDhBcnJheSgxNik7CgljcnlwdG8uZ2V0UmFuZG9tVmFsdWVzKGtleSk7CglyZXR1cm4gYnRvYShBcnJheS5mcm9tKGtleSkubWFwKFN0cmluZy5mcm9tQ2hhckNvZGUpLmpvaW4oJycpKTsKfQoKZXhwb3J0IGZ1bmN0aW9uIGZyb21fZW50cmllcyhlbnRyaWVzKXsKICAgIHZhciByZXQgPSB7fTsKICAgIGZvcih2YXIgaSA9IDA7IGkgPCBlbnRyaWVzLmxlbmd0aDsgaSsrKSByZXRbZW50cmllc1tpXVswXV0gPSBlbnRyaWVzW2ldWzFdOwogICAgcmV0dXJuIHJldDsKfQo='; | ||
@@ -163,2 +163,31 @@ let wasm; | ||
function makeClosure(arg0, arg1, dtor, f) { | ||
const state = { a: arg0, b: arg1, cnt: 1, dtor }; | ||
const real = (...args) => { | ||
// First up with a closure we increment the internal reference | ||
// count. This ensures that the Rust closure environment won't | ||
// be deallocated while we're invoking it. | ||
state.cnt++; | ||
try { | ||
return f(state.a, state.b, ...args); | ||
} finally { | ||
if (--state.cnt === 0) { | ||
wasm.__wbindgen_export_3.get(state.dtor)(state.a, state.b); | ||
state.a = 0; | ||
CLOSURE_DTORS.unregister(state); | ||
} | ||
} | ||
}; | ||
real.original = state; | ||
CLOSURE_DTORS.register(real, state, state); | ||
return real; | ||
} | ||
function __wbg_adapter_34(arg0, arg1, arg2) { | ||
wasm.closure4_externref_shim(arg0, arg1, arg2); | ||
} | ||
function __wbg_adapter_37(arg0, arg1) { | ||
wasm._dyn_core__ops__function__Fn_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h704723396dd04e08(arg0, arg1); | ||
} | ||
function makeMutClosure(arg0, arg1, dtor, f) { | ||
@@ -188,7 +217,7 @@ const state = { a: arg0, b: arg1, cnt: 1, dtor }; | ||
} | ||
function __wbg_adapter_34(arg0, arg1, arg2) { | ||
wasm.closure168_externref_shim(arg0, arg1, arg2); | ||
function __wbg_adapter_40(arg0, arg1, arg2) { | ||
wasm.closure175_externref_shim(arg0, arg1, arg2); | ||
} | ||
function __wbg_adapter_37(arg0, arg1) { | ||
function __wbg_adapter_43(arg0, arg1) { | ||
wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h52a3e68b4f1c95ef(arg0, arg1); | ||
@@ -247,6 +276,13 @@ } | ||
function notDefined(what) { return () => { throw new Error(`${what} is not defined`); }; } | ||
function __wbg_adapter_146(arg0, arg1, arg2, arg3) { | ||
wasm.closure104_externref_shim(arg0, arg1, arg2, arg3); | ||
function __wbg_adapter_150(arg0, arg1, arg2, arg3) { | ||
wasm.closure111_externref_shim(arg0, arg1, arg2, arg3); | ||
} | ||
function getArrayU8FromWasm0(ptr, len) { | ||
ptr = ptr >>> 0; | ||
return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len); | ||
} | ||
const __wbindgen_enum_BinaryType = ["blob", "arraybuffer"]; | ||
const __wbindgen_enum_ReadableStreamReaderMode = ["byob"]; | ||
@@ -773,3 +809,3 @@ | ||
}; | ||
imports.wbg.__wbg_objectget_0beb0fd04412c614 = function(arg0, arg1, arg2) { | ||
imports.wbg.__wbg_objectget_40ed2c8179ab51e7 = function(arg0, arg1, arg2) { | ||
const ret = object_get(arg0, getStringFromWasm0(arg1, arg2)); | ||
@@ -786,2 +822,12 @@ return ret; | ||
}, arguments) }; | ||
imports.wbg.__wbg_instanceof_ArrayBuffer_74945570b4a62ec7 = function(arg0) { | ||
let result; | ||
try { | ||
result = arg0 instanceof ArrayBuffer; | ||
} catch (_) { | ||
result = false; | ||
} | ||
const ret = result; | ||
return ret; | ||
}; | ||
imports.wbg.__wbindgen_string_get = function(arg0, arg1) { | ||
@@ -799,7 +845,3 @@ const obj = arg1; | ||
}; | ||
imports.wbg.__wbindgen_string_new = function(arg0, arg1) { | ||
const ret = getStringFromWasm0(arg0, arg1); | ||
return ret; | ||
}; | ||
imports.wbg.__wbg_convertbodyinner_ca754adacede28c1 = function() { return handleError(function (arg0) { | ||
imports.wbg.__wbg_convertbodyinner_2e966a2a0ebb9e93 = function() { return handleError(function (arg0) { | ||
const ret = convert_body_inner(arg0); | ||
@@ -826,2 +868,6 @@ return ret; | ||
}; | ||
imports.wbg.__wbindgen_string_new = function(arg0, arg1) { | ||
const ret = getStringFromWasm0(arg0, arg1); | ||
return ret; | ||
}; | ||
imports.wbg.__wbg_of_7e03bb557d6a64cc = function(arg0, arg1) { | ||
@@ -859,3 +905,3 @@ const ret = Array.of(arg0, arg1); | ||
}, arguments) }; | ||
imports.wbg.__wbg_defineproperty_250f40545fa790cc = function(arg0, arg1, arg2, arg3) { | ||
imports.wbg.__wbg_defineproperty_7e82f31084e57cb8 = function(arg0, arg1, arg2, arg3) { | ||
define_property(arg0, getStringFromWasm0(arg1, arg2), arg3); | ||
@@ -867,3 +913,3 @@ }; | ||
}; | ||
imports.wbg.__wbg_objectset_a2167204e2ce19dd = function(arg0, arg1, arg2, arg3) { | ||
imports.wbg.__wbg_objectset_49227fb5127dfbeb = function(arg0, arg1, arg2, arg3) { | ||
object_set(arg0, getStringFromWasm0(arg1, arg2), arg3); | ||
@@ -875,2 +921,11 @@ }; | ||
}; | ||
imports.wbg.__wbindgen_cb_drop = function(arg0) { | ||
const obj = arg0.original; | ||
if (obj.cnt-- == 1) { | ||
obj.a = 0; | ||
return true; | ||
} | ||
const ret = false; | ||
return ret; | ||
}; | ||
imports.wbg.__wbg_cancel_2a3c2f3c115ac7e0 = function(arg0) { | ||
@@ -885,11 +940,2 @@ const ret = arg0.cancel(); | ||
imports.wbg.__wbg_clearTimeout_76877dbc010e786d = typeof clearTimeout == 'function' ? clearTimeout : notDefined('clearTimeout'); | ||
imports.wbg.__wbindgen_cb_drop = function(arg0) { | ||
const obj = arg0.original; | ||
if (obj.cnt-- == 1) { | ||
obj.a = 0; | ||
return true; | ||
} | ||
const ret = false; | ||
return ret; | ||
}; | ||
imports.wbg.__wbindgen_error_new = function(arg0, arg1) { | ||
@@ -907,6 +953,6 @@ const ret = new Error(getStringFromWasm0(arg0, arg1)); | ||
}, arguments) }; | ||
imports.wbg.__wbg_log_1b94444152a2f3b5 = function(arg0, arg1) { | ||
imports.wbg.__wbg_log_cfc7ca7e5c69a01e = function(arg0, arg1) { | ||
console.log(getStringFromWasm0(arg0, arg1)); | ||
}; | ||
imports.wbg.__wbg_entriesofobjectinner_2b7a3e3f9b02e6fd = function(arg0, arg1) { | ||
imports.wbg.__wbg_entriesofobjectinner_c8d3c67aef14492e = function(arg0, arg1) { | ||
const ret = entries_of_object_inner(arg1); | ||
@@ -922,2 +968,6 @@ const ptr1 = passArrayJsValueToWasm0(ret, wasm.__wbindgen_malloc); | ||
}; | ||
imports.wbg.__wbg_data_134d3a704b9fca32 = function(arg0) { | ||
const ret = arg0.data; | ||
return ret; | ||
}; | ||
imports.wbg.__wbg_instanceof_Error_a0af335a62107964 = function(arg0) { | ||
@@ -949,12 +999,2 @@ let result; | ||
}; | ||
imports.wbg.__wbg_instanceof_ArrayBuffer_74945570b4a62ec7 = function(arg0) { | ||
let result; | ||
try { | ||
result = arg0 instanceof ArrayBuffer; | ||
} catch (_) { | ||
result = false; | ||
} | ||
const ret = result; | ||
return ret; | ||
}; | ||
imports.wbg.__wbg_write_8516d1ea4c89b39d = function(arg0, arg1) { | ||
@@ -968,20 +1008,32 @@ const ret = arg0.write(arg1); | ||
}; | ||
imports.wbg.__wbg_fromentries_3329ceb232c7e83b = function() { return handleError(function (arg0) { | ||
imports.wbg.__wbg_fromentries_9e32d12e39a505b3 = function() { return handleError(function (arg0) { | ||
const ret = from_entries(arg0); | ||
return ret; | ||
}, arguments) }; | ||
imports.wbg.__wbg_bindwsconnect_3ecf66f29f247843 = function(arg0, arg1, arg2, arg3) { | ||
let deferred0_0; | ||
let deferred0_1; | ||
try { | ||
deferred0_0 = arg0; | ||
deferred0_1 = arg1; | ||
var v1 = getArrayJsValueFromWasm0(arg2, arg3).slice(); | ||
wasm.__wbindgen_free(arg2, arg3 * 4, 4); | ||
const ret = bind_ws_connect(getStringFromWasm0(arg0, arg1), v1); | ||
return ret; | ||
} finally { | ||
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1); | ||
} | ||
imports.wbg.__wbg_send_fe006eb24f5e2694 = function() { return handleError(function (arg0, arg1, arg2) { | ||
arg0.send(getArrayU8FromWasm0(arg1, arg2)); | ||
}, arguments) }; | ||
imports.wbg.__wbg_newwithstrsequence_e105150b01b32f72 = function() { return handleError(function (arg0, arg1, arg2) { | ||
const ret = new WebSocket(getStringFromWasm0(arg0, arg1), arg2); | ||
return ret; | ||
}, arguments) }; | ||
imports.wbg.__wbg_new_d550f7a7120dd942 = function() { return handleError(function (arg0, arg1) { | ||
const ret = new WebSocket(getStringFromWasm0(arg0, arg1)); | ||
return ret; | ||
}, arguments) }; | ||
imports.wbg.__wbg_setbinaryType_2befea8ba88b61e2 = function(arg0, arg1) { | ||
arg0.binaryType = __wbindgen_enum_BinaryType[arg1]; | ||
}; | ||
imports.wbg.__wbg_setonmessage_84cd941c1df08da7 = function(arg0, arg1) { | ||
arg0.onmessage = arg1; | ||
}; | ||
imports.wbg.__wbg_setonopen_c0e1464e3ea28727 = function(arg0, arg1) { | ||
arg0.onopen = arg1; | ||
}; | ||
imports.wbg.__wbg_setonclose_9a28780f7d46ed03 = function(arg0, arg1) { | ||
arg0.onclose = arg1; | ||
}; | ||
imports.wbg.__wbg_setonerror_e16deca7fd15a59c = function(arg0, arg1) { | ||
arg0.onerror = arg1; | ||
}; | ||
imports.wbg.__wbg_new_1073970097e5a420 = function(arg0, arg1) { | ||
@@ -994,3 +1046,3 @@ try { | ||
try { | ||
return __wbg_adapter_146(a, state0.b, arg0, arg1); | ||
return __wbg_adapter_150(a, state0.b, arg0, arg1); | ||
} finally { | ||
@@ -1139,8 +1191,2 @@ state0.a = a; | ||
}; | ||
imports.wbg.__wbg_close_cfd08d9cf9f36856 = function() { return handleError(function (arg0) { | ||
arg0.close(); | ||
}, arguments) }; | ||
imports.wbg.__wbg_enqueue_e693a6fb4f3261c1 = function() { return handleError(function (arg0, arg1) { | ||
arg0.enqueue(arg1); | ||
}, arguments) }; | ||
imports.wbg.__wbg_byobRequest_86ac467c94924d3c = function(arg0) { | ||
@@ -1173,2 +1219,8 @@ const ret = arg0.byobRequest; | ||
}; | ||
imports.wbg.__wbg_close_cfd08d9cf9f36856 = function() { return handleError(function (arg0) { | ||
arg0.close(); | ||
}, arguments) }; | ||
imports.wbg.__wbg_enqueue_e693a6fb4f3261c1 = function() { return handleError(function (arg0, arg1) { | ||
arg0.enqueue(arg1); | ||
}, arguments) }; | ||
imports.wbg.__wbg_setTimeout_fba1b48a90e30862 = function() { return handleError(function (arg0, arg1, arg2) { | ||
@@ -1192,14 +1244,25 @@ const ret = arg0.setTimeout(arg1, arg2); | ||
}; | ||
imports.wbg.__wbindgen_closure_wrapper711 = function(arg0, arg1, arg2) { | ||
const ret = makeMutClosure(arg0, arg1, 90, __wbg_adapter_34); | ||
imports.wbg.__wbg_close_9e3b743c528a8d31 = function() { return handleError(function (arg0) { | ||
arg0.close(); | ||
}, arguments) }; | ||
imports.wbg.__wbindgen_closure_wrapper228 = function(arg0, arg1, arg2) { | ||
const ret = makeClosure(arg0, arg1, 5, __wbg_adapter_34); | ||
return ret; | ||
}; | ||
imports.wbg.__wbindgen_closure_wrapper1105 = function(arg0, arg1, arg2) { | ||
const ret = makeMutClosure(arg0, arg1, 90, __wbg_adapter_37); | ||
imports.wbg.__wbindgen_closure_wrapper230 = function(arg0, arg1, arg2) { | ||
const ret = makeClosure(arg0, arg1, 5, __wbg_adapter_37); | ||
return ret; | ||
}; | ||
imports.wbg.__wbindgen_closure_wrapper3191 = function(arg0, arg1, arg2) { | ||
const ret = makeMutClosure(arg0, arg1, 90, __wbg_adapter_37); | ||
imports.wbg.__wbindgen_closure_wrapper774 = function(arg0, arg1, arg2) { | ||
const ret = makeMutClosure(arg0, arg1, 97, __wbg_adapter_40); | ||
return ret; | ||
}; | ||
imports.wbg.__wbindgen_closure_wrapper1208 = function(arg0, arg1, arg2) { | ||
const ret = makeMutClosure(arg0, arg1, 97, __wbg_adapter_43); | ||
return ret; | ||
}; | ||
imports.wbg.__wbindgen_closure_wrapper3297 = function(arg0, arg1, arg2) { | ||
const ret = makeMutClosure(arg0, arg1, 97, __wbg_adapter_43); | ||
return ret; | ||
}; | ||
imports.wbg.__wbindgen_init_externref_table = function() { | ||
@@ -1288,2 +1351,2 @@ const table = wasm.__wbindgen_export_2; | ||
export default __wbg_init; | ||
export const info = { version: "2.1.8-1", minimal: 1===1, release: 1===1 }; | ||
export const info = { version: "2.1.9-1", minimal: 1===1, release: 1===1 }; |
{ | ||
"name": "@mercuryworkshop/epoxy-tls", | ||
"version": "2.1.8-1", | ||
"version": "2.1.9-1", | ||
"description": "A wasm library for using raw encrypted tls/ssl/tcp/udp/https/websocket streams on the browser", | ||
@@ -5,0 +5,0 @@ "scripts": { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
4716900
15743