diff --git a/Cargo.lock b/Cargo.lock index 5d38665..9c47ae5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -513,7 +513,7 @@ dependencies = [ [[package]] name = "epoxy-client" -version = "2.1.1" +version = "2.1.2" dependencies = [ "async-compression", "async-trait", diff --git a/client/Cargo.toml b/client/Cargo.toml index a81151b..0b44f82 100644 --- a/client/Cargo.toml +++ b/client/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "epoxy-client" -version = "2.1.1" +version = "2.1.2" edition = "2021" [lib] diff --git a/client/package.json b/client/package.json index a3932c3..45799ab 100644 --- a/client/package.json +++ b/client/package.json @@ -1,6 +1,6 @@ { "name": "@mercuryworkshop/epoxy-tls", - "version": "2.1.1-1", + "version": "2.1.2-1", "description": "A wasm library for using raw encrypted tls/ssl/tcp/udp/https/websocket streams on the browser", "scripts": { "build": "./build.sh" diff --git a/client/src/utils.rs b/client/src/utils.rs index 259bb01..08c3d17 100644 --- a/client/src/utils.rs +++ b/client/src/utils.rs @@ -195,7 +195,7 @@ export async function convert_body_inner(body) { } export function entries_of_object_inner(obj) { - Object.entries(obj).map(x => x.map(String)) + return Object.entries(obj).map(x => x.map(String)); } export function define_property(obj, k, v) {