@frontmcp/testing 1.9.3 → 1.9.5

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/README.md CHANGED
@@ -95,11 +95,11 @@ Apache-2.0 — see [LICENSE](../../LICENSE).
95
95
 
96
96
  <!-- links -->
97
97
 
98
- [docs-overview]: https://docs.agentfront.dev/frontmcp/testing/overview
99
- [docs-tools]: https://docs.agentfront.dev/frontmcp/testing/api-reference
100
- [docs-tool-ui]: https://docs.agentfront.dev/frontmcp/testing/api-reference
101
- [docs-resources]: https://docs.agentfront.dev/frontmcp/testing/api-reference
102
- [docs-prompts]: https://docs.agentfront.dev/frontmcp/testing/api-reference
103
- [docs-auth]: https://docs.agentfront.dev/frontmcp/testing/authentication
104
- [docs-transports]: https://docs.agentfront.dev/frontmcp/testing/overview
105
- [docs-mocking]: https://docs.agentfront.dev/frontmcp/testing/http-mocking
98
+ [docs-overview]: https://frontmcp.dev/reference/testing
99
+ [docs-tools]: https://frontmcp.dev/reference/testing
100
+ [docs-tool-ui]: https://frontmcp.dev/reference/testing
101
+ [docs-resources]: https://frontmcp.dev/reference/testing
102
+ [docs-prompts]: https://frontmcp.dev/reference/testing
103
+ [docs-auth]: https://frontmcp.dev/reference/testing/auth
104
+ [docs-transports]: https://frontmcp.dev/reference/testing
105
+ [docs-mocking]: https://frontmcp.dev/reference/testing/interceptors#httpmock
package/esm/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@frontmcp/testing",
3
- "version": "1.9.3",
3
+ "version": "1.9.5",
4
4
  "description": "E2E testing framework for FrontMCP servers - MCP client, auth mocks, Playwright integration",
5
5
  "author": "AgentFront <info@agentfront.dev>",
6
- "homepage": "https://docs.agentfront.dev",
6
+ "homepage": "https://frontmcp.dev/reference/testing",
7
7
  "license": "Apache-2.0",
8
8
  "keywords": [
9
9
  "mcp",
@@ -87,9 +87,9 @@
87
87
  "./esm": null
88
88
  },
89
89
  "peerDependencies": {
90
- "@frontmcp/lazy-zod": "1.9.3",
91
- "@frontmcp/sdk": "1.9.3",
92
- "@frontmcp/ui": "1.9.3",
90
+ "@frontmcp/lazy-zod": "1.9.5",
91
+ "@frontmcp/sdk": "1.9.5",
92
+ "@frontmcp/ui": "1.9.5",
93
93
  "@jest/globals": "^29.0.0 || ^30.0.0",
94
94
  "@playwright/test": "^1.40.0",
95
95
  "jest": "^29.0.0 || ^30.0.0"
@@ -112,8 +112,8 @@
112
112
  "node": ">=24.0.0"
113
113
  },
114
114
  "dependencies": {
115
- "@frontmcp/protocol": "1.9.3",
116
- "@frontmcp/utils": "1.9.3",
115
+ "@frontmcp/protocol": "1.9.5",
116
+ "@frontmcp/utils": "1.9.5",
117
117
  "@swc/core": "~1.15.41",
118
118
  "@swc/jest": "~0.2.38",
119
119
  "jose": "^6.0.11",
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@frontmcp/testing",
3
- "version": "1.9.3",
3
+ "version": "1.9.5",
4
4
  "description": "E2E testing framework for FrontMCP servers - MCP client, auth mocks, Playwright integration",
5
5
  "author": "AgentFront <info@agentfront.dev>",
6
- "homepage": "https://docs.agentfront.dev",
6
+ "homepage": "https://frontmcp.dev/reference/testing",
7
7
  "license": "Apache-2.0",
8
8
  "keywords": [
9
9
  "mcp",
@@ -87,9 +87,9 @@
87
87
  "./esm": null
88
88
  },
89
89
  "peerDependencies": {
90
- "@frontmcp/lazy-zod": "1.9.3",
91
- "@frontmcp/sdk": "1.9.3",
92
- "@frontmcp/ui": "1.9.3",
90
+ "@frontmcp/lazy-zod": "1.9.5",
91
+ "@frontmcp/sdk": "1.9.5",
92
+ "@frontmcp/ui": "1.9.5",
93
93
  "@jest/globals": "^29.0.0 || ^30.0.0",
94
94
  "@playwright/test": "^1.40.0",
95
95
  "jest": "^29.0.0 || ^30.0.0"
@@ -112,8 +112,8 @@
112
112
  "node": ">=24.0.0"
113
113
  },
114
114
  "dependencies": {
115
- "@frontmcp/protocol": "1.9.3",
116
- "@frontmcp/utils": "1.9.3",
115
+ "@frontmcp/protocol": "1.9.5",
116
+ "@frontmcp/utils": "1.9.5",
117
117
  "@swc/core": "~1.15.41",
118
118
  "@swc/jest": "~0.2.38",
119
119
  "jose": "^6.0.11",
@@ -8,7 +8,7 @@
8
8
  * - `ui/mimeType`: MIME type for the HTML content
9
9
  * - `ui`: Nested UI object with resourceUri, csp, etc.
10
10
  *
11
- * @see {@link https://docs.agentfront.dev/docs/servers/tools#tool-ui | Tool UI Documentation}
11
+ * @see {@link https://frontmcp.dev/reference/ui | Tool UI Documentation}
12
12
  *
13
13
  * @example
14
14
  * ```typescript
@@ -20,8 +20,8 @@
20
20
  * UIAssertions.assertDataBinding(html, result.json(), ['location', 'temperature']);
21
21
  * ```
22
22
  */
23
- import type { ToolResultWrapper } from '../client/mcp-test-client.types';
24
- import type { TestPlatformType } from '../platform/platform-types';
23
+ import { type ToolResultWrapper } from '../client/mcp-test-client.types';
24
+ import { type TestPlatformType } from '../platform/platform-types';
25
25
  /**
26
26
  * UI-specific assertion helpers.
27
27
  * Use these for imperative-style assertions with detailed error messages.
@@ -1 +1 @@
1
- {"version":3,"file":"ui-assertions.d.ts","sourceRoot":"","sources":["../../src/ui/ui-assertions.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AACzE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAsBnE;;;GAGG;AACH,eAAO,MAAM,YAAY;IACvB;;;;;OAKG;6BACsB,iBAAiB,GAAG,MAAM;IA2BnD;;;;;;OAMG;4BACqB,MAAM,UAAU,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,QAAQ,MAAM,EAAE,GAAG,IAAI;IAsBtF;;;;OAIG;wBACiB,MAAM,GAAG,IAAI;IAoBjC;;;;OAIG;oCAC6B,MAAM,GAAG,IAAI;IAe7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AC6B,MAAM,GAAG,IAAI;IAe7C;;;;;OAKG;gCACyB,MAAM,OAAO,MAAM,GAAG,IAAI;IAQtD;;;;;OAKG;4BACqB,MAAM,aAAa,MAAM,GAAG,IAAI;IAQxD;;;;;;OAMG;+BACwB,MAAM,WAAW,MAAM,GAAG,IAAI;IASzD;;;;;OAKG;iCAC0B,iBAAiB,GAAG,IAAI;IAiBrD;;;;;;OAMG;0BACmB,iBAAiB,cAAc,MAAM,EAAE,GAAG,MAAM;IA2BtE;;;;;OAKG;6BACsB,iBAAiB,GAAG,IAAI;IAIjD;;;;;OAKG;8BACuB,iBAAiB,GAAG,IAAI;IAIlD;;;;;OAKG;yBACkB,iBAAiB,GAAG,IAAI;IAI7C;;;;;OAKG;+BACwB,iBAAiB,YAAY,gBAAgB,GAAG,IAAI;IAgC/E;;;;;OAKG;oCAC6B,iBAAiB,qBAAqB,MAAM,GAAG,IAAI;IAkBnF;;;;;OAKG;mCAC4B,iBAAiB,YAAY,gBAAgB,GAAG,IAAI;IAoBnF;;;;;;OAMG;+BACwB,iBAAiB,YAAY,gBAAgB,GAAG,MAAM;IAqBjF;;;;;;OAMG;oCAC6B,iBAAiB,YAAY,gBAAgB,GAAG,MAAM;CAUvF,CAAC"}
@@ -8,7 +8,7 @@
8
8
  * - `ui/mimeType`: MIME type for the HTML content
9
9
  * - `ui`: Nested UI object with resourceUri, csp, etc.
10
10
  *
11
- * @see {@link https://docs.agentfront.dev/docs/servers/tools#tool-ui | Tool UI Documentation}
11
+ * @see {@link https://frontmcp.dev/reference/ui | Tool UI Documentation}
12
12
  *
13
13
  * @example
14
14
  * ```typescript
@@ -22,8 +22,8 @@
22
22
  * });
23
23
  * ```
24
24
  */
25
- import type { MatcherFunction } from 'expect';
26
- import type { TestPlatformType } from '../platform/platform-types';
25
+ import { type MatcherFunction } from 'expect';
26
+ import { type TestPlatformType } from '../platform/platform-types';
27
27
  /**
28
28
  * All UI matchers as an object for expect.extend()
29
29
  */
@@ -1 +1 @@
1
- {"version":3,"file":"ui-matchers.d.ts","sourceRoot":"","sources":["../../src/ui/ui-matchers.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,QAAQ,CAAC;AAE9C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AA+fnE;;GAEG;AACH,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;CAkBtB,CAAC"}
1
+ {"version":3,"file":"ui-matchers.d.ts","sourceRoot":"","sources":["../../src/ui/ui-matchers.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAEH,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,QAAQ,CAAC;AAG9C,OAAO,EAIL,KAAK,gBAAgB,EACtB,MAAM,4BAA4B,CAAC;AA8fpC;;GAEG;AACH,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;CAkBtB,CAAC"}