抽取 randomUUID, crypto-browserify

This commit is contained in:
CrescentLeaf
2025-12-06 11:08:24 +08:00
parent d76abcf512
commit d433ceb4a9
7 changed files with 68 additions and 17 deletions

View File

@@ -1,7 +1,7 @@
import { LingChairClient } from 'lingchair-client-protocol'
import data from "./Data.ts"
import { UAParser } from 'ua-parser-js'
import randomUUID from "./utils/randomUUID.ts"
import { randomUUID } from 'lingchair-internal-shared'
if (!data.device_id) {
const ua = new UAParser(navigator.userAgent)