@taiga-ai/mcp-server 0.18.0-rc.445 → 0.19.0-dev.451

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": "@taiga-ai/mcp-server",
3
- "version": "0.18.0-rc.445",
3
+ "version": "0.19.0-dev.451",
4
4
  "description": "MCP server for Taiga -- gives AI assistants access to documents and products",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -154,9 +154,9 @@ describe('TaigaClient', () => {
154
154
  it('drops tenantId at every depth and keeps an own __proto__ key as data', () => {
155
155
  const parsed = JSON.parse(
156
156
  '{"__proto__": {"x": 1}, "tenantId": "t", "a": {"tenantId": "t", "b": [{"tenantId": "t", "c": 1}, 2, null]}, "d": "s"}'
157
- ) as Record<string, unknown>;
157
+ ) as { tenantId: string; a: unknown; d: string };
158
158
 
159
- const out = withoutTenant(parsed) as Record<string, unknown>;
159
+ const out = withoutTenant(parsed);
160
160
 
161
161
  expect(JSON.stringify(out)).not.toContain('tenantId');
162
162
  expect(out.a).toEqual({ b: [{ c: 1 }, 2, null] });