mirror of
https://github.com/MercuryWorkshop/epoxy-tls.git
synced 2025-05-12 22:10:01 -04:00
bump
This commit is contained in:
parent
5a7917f292
commit
c1cece693a
5 changed files with 110 additions and 143 deletions
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "epoxy-client"
|
||||
version = "2.1.15"
|
||||
version = "2.1.16"
|
||||
edition = "2021"
|
||||
|
||||
[lints]
|
||||
|
|
|
@ -12,7 +12,7 @@ else
|
|||
CARGOFLAGS=""
|
||||
fi
|
||||
|
||||
WBG="wasm-bindgen 0.2.95"
|
||||
WBG="wasm-bindgen 0.2.99"
|
||||
if [ "$(wasm-bindgen -V)" != "$WBG" ]; then
|
||||
echo "Incorrect wasm-bindgen version: '$(wasm-bindgen -V)' != '$WBG'"
|
||||
exit 1
|
||||
|
|
|
@ -19,6 +19,7 @@ import initEpoxy, { EpoxyClient, EpoxyClientOptions, EpoxyHandlers, info as epox
|
|||
const wisp_v1 = params.has("v1");
|
||||
const wisp_udp = params.has("udp_extension");
|
||||
const disable_certverif = params.has("disable_certverif");
|
||||
const arraybuffer = params.has("arraybuffer");
|
||||
console.log(
|
||||
"%cWASM is significantly slower with DevTools open!",
|
||||
"color:red;font-size:3rem;font-weight:bold"
|
||||
|
@ -332,7 +333,11 @@ import initEpoxy, { EpoxyClient, EpoxyClientOptions, EpoxyHandlers, info as epox
|
|||
console.time();
|
||||
let resp = await epoxy_client.fetch(test_url);
|
||||
console.log(resp, resp.rawHeaders);
|
||||
log(await resp.arrayBuffer());
|
||||
if (arraybuffer) {
|
||||
log(await resp.arrayBuffer());
|
||||
} else {
|
||||
log(await resp.text());
|
||||
}
|
||||
console.timeEnd();
|
||||
}
|
||||
log("done");
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@mercuryworkshop/epoxy-tls",
|
||||
"version": "2.1.15-2",
|
||||
"version": "2.1.16-1",
|
||||
"description": "A wasm library for using raw encrypted tls/ssl/tcp/udp/https/websocket streams on the browser",
|
||||
"scripts": {
|
||||
"build": "./build.sh"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue