refactor: use crypto.randomUUID vs uuid.v4 (#249)

* refactor: use randomUUID vs uuidv4

* chore: don't import the node version

* chore: no need to non-null assert here
This commit is contained in:
DanCodes authored and GitHub committed 2024-01-11 23:00:51 +05:30
1 parent 83ef175444
commit 605e2be72d
4 files changed
+4 -26

No files matched your search

-1
View File
@@ -1,6 +1,5 @@
import { RecommendedServerInfo } from "@jellyfin/sdk";
import { Store } from "tauri-plugin-store-api";
import { v4 as uuidv4 } from "uuid";
interface ServerInfo extends RecommendedServerInfo {
id: string;