Update transports (epoxy is effing broken)
This commit is contained in:
parent
df96ced6d9
commit
3fd603667d
4 changed files with 744 additions and 377 deletions
14
package.json
14
package.json
|
|
@ -22,11 +22,12 @@
|
||||||
"@fastify/static": "^7.0.4",
|
"@fastify/static": "^7.0.4",
|
||||||
"@iconify-json/ph": "^1.2.0",
|
"@iconify-json/ph": "^1.2.0",
|
||||||
"@mercuryworkshop/bare-mux": "1.1.1",
|
"@mercuryworkshop/bare-mux": "1.1.1",
|
||||||
"@mercuryworkshop/epoxy-tls": "2.0.0-3",
|
"@mercuryworkshop/epoxy-transport": "^2.1.13",
|
||||||
"@mercuryworkshop/epoxy-transport": "2.0.1",
|
"@mercuryworkshop/libcurl-transport": "^1.3.10",
|
||||||
"@mercuryworkshop/libcurl-transport": "1.3.2",
|
"@rubynetwork/rammerhead": "^1.3.5",
|
||||||
|
"@rubynetwork/rammerhead-browser": "^1.0.9",
|
||||||
"@titaniumnetwork-dev/ultraviolet": "3.1.2",
|
"@titaniumnetwork-dev/ultraviolet": "3.1.2",
|
||||||
"astro": "^4.15.9",
|
"astro": "^4.15.11",
|
||||||
"astro-icon": "^1.1.1",
|
"astro-icon": "^1.1.1",
|
||||||
"concurrently": "^8.2.2",
|
"concurrently": "^8.2.2",
|
||||||
"express": "^4.21.0",
|
"express": "^4.21.0",
|
||||||
|
|
@ -36,7 +37,7 @@
|
||||||
"libcurl.js-new": "npm:libcurl.js@^0.6.16",
|
"libcurl.js-new": "npm:libcurl.js@^0.6.16",
|
||||||
"multer": "1.4.5-lts.1",
|
"multer": "1.4.5-lts.1",
|
||||||
"nanostores": "^0.10.3",
|
"nanostores": "^0.10.3",
|
||||||
"sequelize": "^6.37.3",
|
"sequelize": "^6.37.4",
|
||||||
"sqlite3": "^5.1.7",
|
"sqlite3": "^5.1.7",
|
||||||
"svelte": "^4.2.19",
|
"svelte": "^4.2.19",
|
||||||
"svelte-french-toast": "^1.2.0",
|
"svelte-french-toast": "^1.2.0",
|
||||||
|
|
@ -46,6 +47,7 @@
|
||||||
"wisp-server-node": "^1.1.7"
|
"wisp-server-node": "^1.1.7"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@biomejs/biome": "^1.9.3"
|
"@biomejs/biome": "^1.9.3",
|
||||||
|
"bufferutil": "^4.0.8"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
1100
pnpm-lock.yaml
generated
1100
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load diff
|
|
@ -40,12 +40,12 @@ function setTransport(transport?: string) {
|
||||||
return new Promise<void>((resolve) => {
|
return new Promise<void>((resolve) => {
|
||||||
switch (transport) {
|
switch (transport) {
|
||||||
case "epoxy":
|
case "epoxy":
|
||||||
BareMux.SetTransport("EpxMod.EpoxyClient", {
|
BareMux.SetTransport("EpxMod.default", {
|
||||||
wisp: wispServer ? WispServerURLS[wispServer] : WispServerURLS.default
|
wisp: wispServer ? WispServerURLS[wispServer] : WispServerURLS.default
|
||||||
});
|
});
|
||||||
break;
|
break;
|
||||||
case "libcurl":
|
case "libcurl":
|
||||||
BareMux.SetTransport("CurlMod.LibcurlClient", {
|
BareMux.SetTransport("CurlMod.default", {
|
||||||
wisp: wispServer ? WispServerURLS[wispServer] : WispServerURLS.default
|
wisp: wispServer ? WispServerURLS[wispServer] : WispServerURLS.default
|
||||||
});
|
});
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,3 @@
|
||||||
import { setTransport as transportSet } from "./registerSW";
|
|
||||||
const wispUrl = (location.protocol === "https:" ? "wss://" : "ws://") + location.host + "/wisp/";
|
const wispUrl = (location.protocol === "https:" ? "wss://" : "ws://") + location.host + "/wisp/";
|
||||||
const TabSettings = {
|
const TabSettings = {
|
||||||
tabCloak: "nebula||tabCloak",
|
tabCloak: "nebula||tabCloak",
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue