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",
|
||||
"@iconify-json/ph": "^1.2.0",
|
||||
"@mercuryworkshop/bare-mux": "1.1.1",
|
||||
"@mercuryworkshop/epoxy-tls": "2.0.0-3",
|
||||
"@mercuryworkshop/epoxy-transport": "2.0.1",
|
||||
"@mercuryworkshop/libcurl-transport": "1.3.2",
|
||||
"@mercuryworkshop/epoxy-transport": "^2.1.13",
|
||||
"@mercuryworkshop/libcurl-transport": "^1.3.10",
|
||||
"@rubynetwork/rammerhead": "^1.3.5",
|
||||
"@rubynetwork/rammerhead-browser": "^1.0.9",
|
||||
"@titaniumnetwork-dev/ultraviolet": "3.1.2",
|
||||
"astro": "^4.15.9",
|
||||
"astro": "^4.15.11",
|
||||
"astro-icon": "^1.1.1",
|
||||
"concurrently": "^8.2.2",
|
||||
"express": "^4.21.0",
|
||||
|
|
@ -36,7 +37,7 @@
|
|||
"libcurl.js-new": "npm:libcurl.js@^0.6.16",
|
||||
"multer": "1.4.5-lts.1",
|
||||
"nanostores": "^0.10.3",
|
||||
"sequelize": "^6.37.3",
|
||||
"sequelize": "^6.37.4",
|
||||
"sqlite3": "^5.1.7",
|
||||
"svelte": "^4.2.19",
|
||||
"svelte-french-toast": "^1.2.0",
|
||||
|
|
@ -46,6 +47,7 @@
|
|||
"wisp-server-node": "^1.1.7"
|
||||
},
|
||||
"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,14 +40,14 @@ function setTransport(transport?: string) {
|
|||
return new Promise<void>((resolve) => {
|
||||
switch (transport) {
|
||||
case "epoxy":
|
||||
BareMux.SetTransport("EpxMod.EpoxyClient", {
|
||||
BareMux.SetTransport("EpxMod.default", {
|
||||
wisp: wispServer ? WispServerURLS[wispServer] : WispServerURLS.default
|
||||
});
|
||||
break;
|
||||
case "libcurl":
|
||||
BareMux.SetTransport("CurlMod.LibcurlClient", {
|
||||
BareMux.SetTransport("CurlMod.default", {
|
||||
wisp: wispServer ? WispServerURLS[wispServer] : WispServerURLS.default
|
||||
});
|
||||
});
|
||||
break;
|
||||
}
|
||||
resolve();
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
import { setTransport as transportSet } from "./registerSW";
|
||||
const wispUrl = (location.protocol === "https:" ? "wss://" : "ws://") + location.host + "/wisp/";
|
||||
const TabSettings = {
|
||||
tabCloak: "nebula||tabCloak",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue