@seayoo-web/gamer-api 4.5.2 → 4.5.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seayoo-web/gamer-api",
3
- "version": "4.5.2",
3
+ "version": "4.5.4",
4
4
  "description": "agent for gamer api",
5
5
  "license": "MIT",
6
6
  "author": "web@seayoo.com",
@@ -27,17 +27,20 @@
27
27
  },
28
28
  "devDependencies": {
29
29
  "@types/node": "^22.13.1",
30
- "@seayoo-web/request": "4.1.0",
31
- "@seayoo-web/combo-webview": "2.9.7",
32
- "@seayoo-web/tsconfig": "1.0.6",
33
- "@seayoo-web/utils": "4.5.1",
34
- "@seayoo-web/scripts": "4.3.6",
35
- "@seayoo-web/validator": "2.3.0"
30
+ "@vitest/coverage-istanbul": "^4.1.4",
31
+ "happy-dom": "^13.10.1",
32
+ "vitest": "^4.1.4",
33
+ "@seayoo-web/combo-webview": "2.9.8",
34
+ "@seayoo-web/scripts": "4.3.10",
35
+ "@seayoo-web/validator": "2.3.1",
36
+ "@seayoo-web/request": "4.1.3",
37
+ "@seayoo-web/utils": "4.5.5",
38
+ "@seayoo-web/tsconfig": "1.0.6"
36
39
  },
37
40
  "peerDependencies": {
38
- "@seayoo-web/combo-webview": "^2.9.7",
39
- "@seayoo-web/utils": "^4.5.1",
40
- "@seayoo-web/validator": "^2.3.0"
41
+ "@seayoo-web/combo-webview": "^2.9.8",
42
+ "@seayoo-web/utils": "^4.5.5",
43
+ "@seayoo-web/validator": "^2.3.1"
41
44
  },
42
45
  "engines": {
43
46
  "node": ">=22"
@@ -46,8 +49,9 @@
46
49
  "prebuild": "pnpm -F validator build && pnpm -F request build && pnpm -F combo-webview build",
47
50
  "build": "vite build && tsc --emitDeclarationOnly",
48
51
  "type-check": "tsc --noEmit",
52
+ "test": "vitest --dom",
53
+ "coverage": "vitest run --coverage",
49
54
  "lint": "oxlint -c ../../oxlint.config.mjs",
50
- "lint:fix": "oxlint -c ../../oxlint.config.mjs --fix",
51
- "prepublish": "pnpm lint:fix && pnpm build"
55
+ "lint:fix": "oxlint -c ../../oxlint.config.mjs --fix"
52
56
  }
53
57
  }
@@ -1,3 +1,2 @@
1
- export declare const console: Pick<Console, "error" | "log" | "warn">;
2
1
  export declare function isRootEndpoint(path: string): boolean;
3
2
  export declare function getWeixinLoginCode(): Promise<string>;