refactor: Use Tauri WebSocket

This commit is contained in:
MystiPanda
2024-01-14 17:30:18 +08:00
parent 99740c1324
commit ba7242a815
9 changed files with 142 additions and 47 deletions

22
pnpm-lock.yaml generated
View File

@@ -92,6 +92,9 @@ dependencies:
tar:
specifier: ^6.2.0
version: 6.2.0
tauri-plugin-websocket-api:
specifier: github:tauri-apps/tauri-plugin-websocket#v1
version: github.com/tauri-apps/tauri-plugin-websocket/ef0af116e47eea18af92b27629f00db996fd2e15
devDependencies:
"@actions/github":
@@ -1711,6 +1714,14 @@ packages:
engines: { node: ">= 14.6.0", npm: ">= 6.6.0", yarn: ">= 1.19.1" }
dev: false
/@tauri-apps/api@1.5.3:
resolution:
{
integrity: sha512-zxnDjHHKjOsrIzZm6nO5Xapb/BxqUq1tc7cGkFXsFkGTsSWgCPH1D8mm0XS9weJY2OaR73I3k3S+b7eSzJDfqA==,
}
engines: { node: ">= 14.6.0", npm: ">= 6.6.0", yarn: ">= 1.19.1" }
dev: false
/@tauri-apps/cli-darwin-arm64@1.5.6:
resolution:
{
@@ -4090,3 +4101,14 @@ packages:
}
engines: { node: ">= 6" }
dev: false
github.com/tauri-apps/tauri-plugin-websocket/ef0af116e47eea18af92b27629f00db996fd2e15:
resolution:
{
tarball: https://codeload.github.com/tauri-apps/tauri-plugin-websocket/tar.gz/ef0af116e47eea18af92b27629f00db996fd2e15,
}
name: tauri-plugin-websocket-api
version: 0.0.0
dependencies:
"@tauri-apps/api": 1.5.3
dev: false