diff --git a/client/build.sh b/client/build.sh index 5804bde..b71c5cb 100755 --- a/client/build.sh +++ b/client/build.sh @@ -66,7 +66,7 @@ AUTOGENERATED_SNIPPET_PATH=${AUTOGENERATED_SNIPPET_PATH%%$'\''*} # replace a dot at the start of the var with out AUTOGENERATED_SNIPPET=$(base64 -w0 "${AUTOGENERATED_SNIPPET_PATH/#./out}") -AUTOGENERATED_SOURCE=${AUTOGENERATED_SOURCE//${AUTOGENERATED_SNIPPET_PATH}/data:application/javascript$';'base64,${AUTOGENERATED_SNIPPET}} +AUTOGENERATED_SOURCE=${AUTOGENERATED_SOURCE//${AUTOGENERATED_SNIPPET_PATH}/data:text/javascript$';'base64,${AUTOGENERATED_SNIPPET}} # patch for safari OOM errors on safari iOS 16/older devices # also lowers maximum memory from default of 1GB to 512M on non-iOS and to 256M on iOS diff --git a/client/package.json b/client/package.json index 3cd7123..bddaba8 100644 --- a/client/package.json +++ b/client/package.json @@ -1,6 +1,6 @@ { "name": "@mercuryworkshop/epoxy-tls", - "version": "2.1.15-1", + "version": "2.1.15-2", "description": "A wasm library for using raw encrypted tls/ssl/tcp/udp/https/websocket streams on the browser", "scripts": { "build": "./build.sh"