@n24q02m/mcp-relay-server 1.0.8 → 1.1.0
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 +1 -1
- package/tests/sessions.test.ts +2 -2
package/package.json
CHANGED
package/tests/sessions.test.ts
CHANGED
|
@@ -41,8 +41,8 @@ describe('POST /api/sessions', () => {
|
|
|
41
41
|
expect(body.sessionId).toBe('test-1')
|
|
42
42
|
})
|
|
43
43
|
|
|
44
|
-
it('rejects after
|
|
45
|
-
for (let i = 0; i <
|
|
44
|
+
it('rejects after 10 sessions from the same IP (429)', async () => {
|
|
45
|
+
for (let i = 0; i < 10; i++) {
|
|
46
46
|
const res = await fetch(`${baseUrl}/api/sessions`, {
|
|
47
47
|
method: 'POST',
|
|
48
48
|
headers: { 'Content-Type': 'application/json' },
|