Compare commits

...

5 Commits

Author SHA1 Message Date
手瓜一十雪
5667e6aaee fix 2024-12-30 16:34:01 +08:00
Mlikiowa
fbd626131d release: v4.2.52 2024-12-30 08:17:53 +00:00
手瓜一十雪
7b82444338 fix 2024-12-30 16:17:29 +08:00
Mlikiowa
8108b9f565 release: v4.2.51 2024-12-30 08:15:48 +00:00
手瓜一十雪
c6ddd00cd9 Merge pull request #675 from NapNeko/test
fix: 重写远程遥测
2024-12-30 16:14:48 +08:00
4 changed files with 6 additions and 5 deletions

View File

@@ -4,7 +4,7 @@
"name": "NapCatQQ", "name": "NapCatQQ",
"slug": "NapCat.Framework", "slug": "NapCat.Framework",
"description": "高性能的 OneBot 11 协议实现", "description": "高性能的 OneBot 11 协议实现",
"version": "4.2.50", "version": "4.2.52",
"icon": "./logo.png", "icon": "./logo.png",
"authors": [ "authors": [
{ {

View File

@@ -2,7 +2,7 @@
"name": "napcat", "name": "napcat",
"private": true, "private": true,
"type": "module", "type": "module",
"version": "4.2.50", "version": "4.2.52",
"scripts": { "scripts": {
"build:universal": "npm run build:webui && vite build --mode universal || exit 1", "build:universal": "npm run build:webui && vite build --mode universal || exit 1",
"build:framework": "npm run build:webui && vite build --mode framework || exit 1", "build:framework": "npm run build:webui && vite build --mode framework || exit 1",

View File

@@ -6,7 +6,7 @@ export class UmamiTraceCore {
qqversion = '1.0.0'; qqversion = '1.0.0';
guid = 'default-user'; guid = 'default-user';
heartbeatInterval: NodeJS.Timeout | null = null; heartbeatInterval: NodeJS.Timeout | null = null;
website: string = '1fabb2b1-c3a3-4416-b1be-31e2cbdce978'; website: string = '596cbbb2-1740-4373-a807-cf3d0637bfa7';
referrer: string = 'https://trace.napneko.icu/'; referrer: string = 'https://trace.napneko.icu/';
hostname: string = 'trace.napneko.icu'; hostname: string = 'trace.napneko.icu';
ua: string = ''; ua: string = '';
@@ -55,9 +55,10 @@ export class UmamiTraceCore {
hostname: this.hostname, hostname: this.hostname,
referrer: this.referrer, referrer: this.referrer,
website: this.website, website: this.website,
language: language || 'es-US', language: language || 'en-US',
napcat_version: this.napcatVersion, napcat_version: this.napcatVersion,
qq_version: this.qqversion, qq_version: this.qqversion,
...data
}; };
this.sendRequest(payload); this.sendRequest(payload);
} }

View File

@@ -1 +1 @@
export const napCatVersion = '4.2.50'; export const napCatVersion = '4.2.52';