@mcp-b/global 2.0.1 → 2.0.2-beta.20260125195014

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": "@mcp-b/global",
3
- "version": "2.0.1",
3
+ "version": "2.0.2-beta.20260125195014",
4
4
  "description": "W3C Web Model Context API polyfill - Let AI agents like Claude, ChatGPT, and Gemini interact with your website via navigator.modelContext",
5
5
  "keywords": [
6
6
  "mcp",
@@ -37,7 +37,7 @@
37
37
  "repository": {
38
38
  "type": "git",
39
39
  "url": "git+https://github.com/WebMCP-org/npm-packages.git",
40
- "directory": "global"
40
+ "directory": "packages/global"
41
41
  },
42
42
  "license": "MIT",
43
43
  "author": "Alex Nahas",
@@ -63,13 +63,19 @@
63
63
  ],
64
64
  "dependencies": {
65
65
  "zod": "4.3.5",
66
- "@mcp-b/webmcp-ts-sdk": "2.0.0",
67
- "@mcp-b/transports": "2.0.0"
66
+ "@mcp-b/transports": "2.0.1-beta.20260125195014",
67
+ "@mcp-b/webmcp-ts-sdk": "2.0.0-beta.20260125195014"
68
68
  },
69
69
  "devDependencies": {
70
70
  "@types/node": "22.17.2",
71
+ "@vitest/browser": "^4.0.18",
72
+ "@vitest/browser-playwright": "^4.0.18",
73
+ "@vitest/coverage-v8": "^4.0.18",
74
+ "fast-check": "^4.0.0",
75
+ "playwright": "^1.58.0",
71
76
  "tsdown": "^0.15.10",
72
- "typescript": "^5.8.3"
77
+ "typescript": "^5.8.3",
78
+ "vitest": "^4.0.18"
73
79
  },
74
80
  "engines": {
75
81
  "node": ">=18"
@@ -86,6 +92,10 @@
86
92
  "lint": "biome lint --write .",
87
93
  "publish:dry": "pnpm publish --access public --dry-run",
88
94
  "publish:npm": "pnpm publish --access public",
95
+ "test": "vitest run",
96
+ "test:browser": "vitest run --browser.headless",
97
+ "test:browser:ui": "vitest --browser",
98
+ "test:watch": "vitest",
89
99
  "typecheck": "tsc --noEmit",
90
100
  "version:major": "pnpm version major --no-git-tag-version",
91
101
  "version:minor": "pnpm version minor --no-git-tag-version",